Payment method, gateway device, server and storage medium
Embodiments of the present application provide a payment method, a gateway device, a server and a storage medium. The method is applied to the gateway device, and the method includes: obtaining target identification information and payment amount of a target IoT device connected to the gateway device, wherein the target identification information includes a first device identification of the target IoT device and/or a feature identification of a physical layer between the target IoT device and the gateway device; sending a first payment request to the server, wherein the first payment request includes the target identification information, a second device identification of the gateway device and the payment amount, and the first payment request is configured to instruct the server to search a target payment account associated with the target identification information and the second device identification, and to deduct from the target payment account according to the payment amount.
1 . An online payment method applied to a gateway device in an online payment system including the gateway device, at least one Internet of Things (IoT) device connected to the gateway device, a server, and an authorization device of a user, comprising:
obtaining identification information of the at least one Internet of Things (IoT) device connected to the gateway device, wherein the identification information comprises a device identification of the at least one IoT device, a feature identification of a physical layer between the at least one IoT device and the gateway device, or the device identification of the at least one IoT device and the feature identification of the physical layer between the at least one IoT device and the gateway device;
sending a first authorization request to the authorization device of the user, wherein after receiving the first authorization request, the authorization device generates an authorization identification that passes an authentication of the identification information, wherein the first authorization request comprises the identification information, and the authorization identification corresponds to a payment account of the authorization device;
receiving the authorization identification from the authorization device;
sending a second authorization request to the server, wherein after receiving the second authorization request, the server stores and associates the identification information, a second device identification, and the payment account corresponding to the authorization identification, wherein the second authorization request comprises the identification information, the second device identification, and the authorization identification, wherein a registry is setup, by the server, containing association relationships of the identification information, the second device identification, and the authorization identification;
after a target IoT device of the user, being one of the at least one IoT device, generates a payment requirement for an online transaction, obtaining target identification information and payment amount of the target IoT device connected to the gateway device, wherein the target identification information comprises a first device identification of the target IOT device that uniquely represents an identity of the target IoT device, and a feature identification of a physical layer between the target IoT device and the gateway device that uniquely represents a communication link between the target IoT device and the gateway device, wherein different IoT devices connected to the gateway device are separately and uniquely identified for multi-user applications; and
sending a first payment request to a server requesting to search the registry for a target payment account of the user associated with the target identification information and a second device identification of the gateway device, wherein the server deducts from the target payment account according to the payment amount to complete the online transaction for the user without the user providing a payment account number, and wherein the first payment request comprises the target identification information, the second device identification and the payment amount.
2 . The method according to claim 1 , wherein obtaining the target identification information and the payment amount of the target IoT device connected to the gateway device further comprises:
receiving a second payment request from the target IoT device, wherein the second payment request comprises the target identification information and the payment amount.
3 . The method according to claim 1 , wherein the target identification information comprises the feature identification, obtaining the target identification information and the payment amount of the target IoT device connected to the gateway device further comprises:
receiving a third payment request from the target IoT device, wherein the third payment request comprises only the payment amount;
in response to the third payment request, obtaining feature information of the physical layer between the target IoT device and the gateway device; and generating the feature identification according to the feature information instead of the target IoT device generating the feature identification.
4 . The method according to claim 3 , wherein the feature information comprises at least one of a channel feature, a radio frequency fingerprint and a radio frequency watermark.
5 . A gateway device for online payment, comprising:
a processor, and
a memory storing computer instructions, wherein the computer instructions, when executed by the processor, implement operations comprising:
obtaining identification information of at least one Internet of Things (IoT) device connected to the gateway device, wherein the identification information comprises a device identification of the at least one IoT device, a feature identification of a physical layer between the at least one IoT device and the gateway device, or the device identification of the at least one IoT device and the feature identification of the physical layer between the at least one IoT device and the gateway device;
sending a first authorization request to an authorization device of a user, wherein after receiving the first authorization request, the authorization device generates an authorization identification that passes an authentication of the identification information, wherein the first authorization request comprises the identification information, and the authorization identification corresponds to a payment account of the authorization device;
receiving the authorization identification from the authorization device;
sending a second authorization request to a server, wherein after receiving the second authorization request, the server stores and associates the identification information, a second device identification, and the payment account corresponding to the authorization identification, wherein the second authorization request comprises the identification information, the second device identification, and the authorization identification, wherein a registry is setup, by the server, containing association relationships of the identification information, the second device identification, and the authorization identification;
after a target IoT device of the user, being one of the at least one IoT device, generates a payment requirement for an online transaction, obtaining target identification information and payment amount of the target IoT device connected to the gateway device, wherein the target identification information comprises a first device identification of the target IoT device that uniquely represents an identity of the target IoT device, and a feature identification of a physical layer between the target IoT device and the gateway device that uniquely represents a communication link between the target IoT device and the gateway device, wherein different IoT devices connected to the gateway device are separately and uniquely identified for multi-user applications; and
sending a first payment request to a server requesting to search the registry for a target payment account of the user associated with the target identification information and a second device identification of the gateway device, wherein the server deducts from the target payment account according to the payment amount to complete the online transaction for the user without the user providing a payment account number, and wherein the first payment request comprises the target identification information, the second device identification and the payment amount.
6 . The gateway device according to claim 5 , wherein obtaining the target identification information and the payment amount of the target IoT device connected to the gateway device comprises:
receiving a second payment request from the target IoT device, wherein the second payment request comprises the target identification information and the payment amount.
7 . The gateway device according to claim 5 , wherein the target identification information comprises the feature identification, obtaining the target identification information and the payment amount of the target IoT device connected to the gateway device comprises:
receiving a third payment request from the target IoT device, wherein the third payment request comprises only the payment amount;
in response to the third payment request, obtaining feature information of the physical layer between the target IoT device and the gateway device; and generating the feature identification according to the feature information.
8 . The gateway device according to claim 7 , wherein the feature information comprises at least one of a channel feature, a radio frequency fingerprint and a radio frequency watermark.