A transaction system and method based on NFC self-service terminal

By using NFC technology in retail service terminals to realize the end-to-end Internet of Things model, it solves the problems of high traffic costs, high infrastructure costs and low data security, reduces operating costs and improves the security of data interaction.

CN116308688BActive Publication Date: 2024-09-10CHINA HOUSEHOLD ELECTRIC APPLIANCE RES INST +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310591634.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-09-10
Estimated Expiration
2043-05-24

AI Technical Summary

Technical Problem

During the operation of existing retail service terminals, there are problems such as excessive traffic charges, high infrastructure costs, limited use occasions, and low data security.

Method used

Adopt an NFC-based self-service terminal transaction system to realize the end-end IoT model through direct interaction between user terminals, business platforms and self-service terminals, reducing dependence on the cloud. NFC is used for data transmission, encryption and decryption, and generation and verify execution code.

Benefits of technology

It reduces operating costs, improves the security and reliability of data interaction, reduces dependence on network traffic, and enhances data privacy and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116308688B
    Figure CN116308688B
Patent Text Reader

Abstract

The present invention relates to the field of Internet of Things technology, and provides a transaction system and method based on an NFC self-service terminal, the system mainly comprising: a user terminal, a business platform and a self-service terminal; the user terminal is used to generate order information according to user needs, and send the order information to the business platform; the business platform generates an execution code according to the order information, and encrypts the execution code according to a preset algorithm to generate a shopping code, and sends the shopping code to the user terminal; the self-service terminal obtains the shopping code through NFC, decrypts the shopping code, and obtains shopping information. This application realizes an end-to-end Internet of Things mode by constructing direct interaction between object terminals, effectively reducing operating costs, and improving the security and reliability of data interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a transaction system and method based on an NFC self-service terminal. Background Art

[0002] The implementation of the Internet of Things solution is generally data communication between the object end, the cloud end, and the APP end. In most IoT modes, the object end and the APP end are connected to the cloud end respectively, and the cloud end serves as the central node. When facing the APP end, the cloud end receives the control information sent by the user and pushes the status change of the object end; when facing the object end, the cloud end forwards the user control information and receives the status report of the object end.

[0003] Existing retail service terminals basically work based on the cloud-end IoT model, and the types of communication modules used include mobile communication modules, Lora modules, NB-IoT modules, WiFi modules, Bluetooth modules, etc. During the product operation process, the above connection methods have problems such as excessive traffic fees, high infrastructure costs, limited usage occasions, and low data security. Summary of the invention

[0004] The present invention provides a transaction system and method based on NFC self-service terminal, which are used to solve the defects of excessive traffic fees, high infrastructure costs, limited usage occasions and low data security in the product operation process in the prior art, realize the end-to-end Internet of Things mode, effectively reduce the operation cost, and improve the security and reliability of data interaction.

[0005] The present invention provides a transaction system based on an NFC self-service terminal, comprising:

[0006] User terminals, business platforms and self-service terminals;

[0007] The user terminal is used to generate order information according to user needs and send the order information to the business platform;

[0008] The business platform generates an execution code according to the order information, encrypts the execution code according to a preset algorithm, generates a shopping code, and sends the shopping code to the user terminal;

[0009] The self-service terminal obtains the shopping code through NFC, decrypts the shopping code, and obtains shopping information.

[0010] In a possible implementation, the system further includes a payment platform, the payment platform includes a prepayment unit and a notification unit, the business platform includes an order unit and a generation unit, and the user terminal includes a payment unit;

[0011] The order unit generates an initial order according to the order information, and sends the initial order to the prepayment unit;

[0012] The prepayment unit generates a prepayment slip according to the initial order, and sends the prepayment slip to the generating unit;

[0013] The payment unit pays the prepaid bill, generates payment information, and sends the payment information to the notification unit;

[0014] The notification unit generates a payment notification according to the payment information, and sends the payment notification to the generation unit;

[0015] The generating unit generates the execution code according to the initial order, the prepayment slip and the payment notice.

[0016] In a possible implementation, the execution code includes a device code, an order number, a payment time, a payment amount, and a product code.

[0017] In a possible implementation manner, the user terminal further includes a scanning unit;

[0018] The scanning unit is used to scan the sales code, select the required goods, and generate order information.

[0019] In a possible implementation, the self-service terminal includes a decryption unit and a delivery unit;

[0020] The decryption unit decrypts the shopping code to obtain shopping information;

[0021] The shipping unit sends out the merchandise according to the shopping information.

[0022] The present invention also provides a transaction method based on an NFC self-service terminal, comprising:

[0023] Generate order information according to user needs;

[0024] Generate an execution code according to the order information;

[0025] Encrypting the execution code according to a preset encryption method to generate a shopping code;

[0026] The shopping code is obtained through NFC, and the shopping code is decrypted to obtain shopping information.

[0027] In a possible implementation manner, generating an execution code according to the order information specifically includes:

[0028] Generate an initial order according to the order information;

[0029] Generating a prepayment order according to the initial order;

[0030] Pay the prepaid bill and generate payment information;

[0031] Generate payment notification based on payment information;

[0032] The execution code is generated according to the initial order, the prepayment slip and the payment notice.

[0033] In a possible implementation, the execution code includes a device code, an order number, a payment time, a payment amount, and a product code.

[0034] In a possible implementation, generating order information according to user needs specifically includes:

[0035] Scan the sales code, select the required product, and generate order information.

[0036] In a possible implementation manner, the step of obtaining the shopping information further includes:

[0037] The product is delivered according to the shopping information.

[0038] The present invention provides a transaction system and method based on an NFC self-service terminal, which realizes an end-to-end Internet of Things mode by establishing direct interaction between object terminals, effectively reduces operating costs, and improves the security and reliability of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 This is one of the structural schematic diagrams of a transaction system based on an NFC self-service terminal provided by the present invention;

[0041] Figure 2 This is the second structural schematic diagram of a transaction system based on an NFC self-service terminal provided by the present invention;

[0042] Figure 3 This is one of the flow charts of a transaction method based on an NFC self-service terminal provided by the present invention;

[0043] Figure 4 This is the second flow chart of a transaction method based on an NFC self-service terminal provided by the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the implementation of the present invention clearer, the technical solution in the embodiment of the present invention will be described in more detail below with reference to the accompanying drawings in the embodiment of the present invention.

[0045] It should be noted that: in the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of the present invention, not all of the embodiments. In the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the scope of protection of the present invention.

[0047] Reference below Figure 1-2 A first embodiment of a transaction system based on an NFC self-service terminal disclosed in the present invention is described in detail.

[0048] like Figure 1-2 As shown, this embodiment mainly includes a user terminal, a business platform and a self-service terminal, wherein the user terminal is used to generate order information according to user needs and send the order information to the business platform; the business platform generates an execution code according to the order information, encrypts the execution code according to a preset algorithm, generates a shopping code, and sends the shopping code to the user terminal; the self-service terminal obtains the shopping code through NFC, decrypts the shopping code, and obtains the shopping information, thereby realizing the Internet of Things mode as an end-to-end mode (user terminal and self-service terminal), and does not require the cloud (business platform) to be connected to the self-service terminal for a long time, thereby streamlining the cloud business and saving the cloud development and deployment costs.

[0049] In a possible implementation, the system further includes a payment platform, the payment platform includes a prepayment unit and a notification unit, the service platform includes an order unit and a generation unit, and the user terminal includes a payment unit.

[0050] The order unit generates an initial order based on the order information, and sends the initial order to the prepayment unit; the prepayment unit generates a prepayment slip based on the initial order, and sends the prepayment slip to the generation unit; the payment unit pays the prepayment slip, generates payment information, and sends the payment information to the notification unit; the notification unit generates a payment notification based on the payment information, and sends the payment notification to the generation unit; the generation unit generates an execution code based on the initial order, the prepayment slip and the payment notification.

[0051] Specifically, after the business platform obtains the order information, the order unit generates an initial order based on the order information and sends the initial order to the payment platform, where the order information is the product code and the device code, and the initial order is the product code, the device code, the order number and the unit price of the product.

[0052] After the payment platform receives the initial order, the prepayment unit generates a prepayment slip based on the initial order and sends the prepayment slip to the business platform, where the prepayment slip includes the product code, device code, order number and total payment amount.

[0053] After receiving the prepaid order, the business platform notifies the user terminal. After the user terminal receives the prepaid order, the payment unit pays the prepaid order, generates payment information, and sends the payment information to the payment platform. The payment information includes the payment time, which can be accurate to the second through a timestamp.

[0054] After the payment platform receives the payment information, the notification unit generates a payment notification based on the payment information and sends the payment notification to the business platform.

[0055] After the business platform receives the payment notification, the generation unit generates an execution code based on the initial order, prepaid order and payment notification, encrypts the execution code according to a preset algorithm, generates a shopping code, and sends the shopping code to the user terminal. The execution code includes the device code, order number, payment time, payment amount and product code, where the payment amount is the total amount of the order.

[0056] In a possible implementation, the business platform sends the shopping code to the user terminal, and the user terminal converts the transmission content, that is, the shopping code content, into text content through the encryption method specified in the NFC protocol.

[0057] Specifically, the specific content of record3 in the NFC protocol is as follows: the data format is pk={encrypted product code}&wifiMac={device code}&wifiConnected={whether it is connected to the network}&status={status value}&errno={fault code} &order_id ={current order number}, where pk is the hash value of the cloud product code (Product Key, hereinafter referred to as PK). Each time the communication module is powered on, it will ask the MCU for the local Product Key and Product Secret through a handshake instruction for initialization. If the MCU does not provide or respond, the PK value defaults to a string of all "0". In order to prevent the PK value from being exposed to the NFC publicly readable Record, the PK in Record#3 is encrypted. The encryption method is agreed to be ProductKey xor Product Secret, and a bitwise XOR operation is performed once in ASCII format to obtain a binary encryption result, which is then converted into text by base64 encoding and finally stored in the NFC data for public reading (by the user terminal).

[0058] Among them, wifiMac: MAC address of WiFi module (12 bytes);

[0059] wifiConnected: Whether the WiFi module is currently connected to a WiFi network (1 byte), 0 = not connected to WiFi; 1 = connected to WiFi;

[0060] status: the current status of the machine, that is, the current status of the self-service terminal. DONE = the machine is idle and can start accepting new orders; BUSY = the machine has verified that the order is valid and is shipping; ERROR = the machine has a fault and cannot continue to work;

[0061] error: the result of the machine's (last) shipment, 0 = no fault, currently working normally; codes other than 0 indicate various equipment fault codes;

[0062] &order_id: The order number that the machine is processing (when used for NFC touch, the mini program can provide feedback on whether there is an order being executed); if the order_id is recorded in the mini program, it will display "Your order is being processed"; if it is not your order, it will display "Other people's orders are being processed".

[0063] In a possible implementation, the user terminal further includes a scanning unit, and the scanning unit is used to scan the sales code, select the required product, and generate order information.

[0064] Specifically, the user terminal can be an APP or a WeChat applet, which can be used to scan the sales code to launch the mobile applet or APP, select the required product, and generate order information.

[0065] In a possible implementation, the self-service terminal includes a decryption unit and a delivery unit. The decryption unit decrypts the shopping code to obtain shopping information; and the delivery unit delivers the goods according to the shopping information.

[0066] In one possible implementation, the execution code includes a device code, an order number, a payment time, a payment amount, and a product code, and the device code, order number, payment time, payment amount, and product code are contents of a private data area.

[0067] In a possible implementation, the sales code may be a QR code, a bar code or other labels.

[0068] In a possible implementation, the system further includes a management platform, which is connected to the self-service terminal and is used to monitor, manage and maintain the self-service terminal.

[0069] Specifically, the self-service terminal is connected to the management platform, and the management platform monitors the inventory of goods in the self-service terminal and modifies the details of the goods, and monitors the self-service terminal by the sorter operating and reporting information on the mobile phone.

[0070] In one possible implementation, data communication is performed through a communication module in this system. Specifically, the XF.H3861.A development board of Langguo is used. It is a solder-free WIFI+NFC low-power IOT module for communication. This module is mainly used for data communication of Internet devices. It is connected to the IoT device through a standard UART port to provide data transmission capabilities. It also has NFC communication functions and can be used as a dual-interface NFC TAG. It can pass the data obtained by the WIFI SOC to the NFC card reader, and it can also rewrite the data in the NFC built-in memory through the WIFI SOC. Therefore, it has the convenient reading characteristics of NFC and also guarantees the security of writing. XF.H3861.A supports Huawei LiteOS and Hongmeng OS and third-party components, and provides an open and easy-to-use development and debugging environment. The module hardware parameters are shown in Table 1:

[0071]

[0072] In a possible implementation, the NFC chip used in this system is FM11NT081D, which complies with the ISO / IEC14443-A protocol and the NFC Forum Type2 Tag standard, and is a dual-interface NFC tag chip with an I2C or SPI interface. It can be widely used in NFC application expansion of electronic devices, product identity authentication, electronic shelf labels, Bluetooth and WIFI pairing and other fields.

[0073] The chip has the following features:

[0074] Working frequency: 13.56MHz;

[0075] Working mode: contact, non-contact;

[0076] Maximum operating distance: 10cm (related to antenna and card reader power);

[0077] Data transmission rate: 106kbit / s;

[0078] I2C maximum communication rate: 1Mbps.

[0079] In a possible implementation, the WiFi chip module in the system is based on the Hi3601V100 chip design, and the Hi3861 / Hi3881 chip integrates a high-performance 32-bit microprocessor; supports 20MHz standard bandwidth and 5MHz / 10MHz narrow bandwidth, and provides a maximum physical layer rate of 72.2Mbit / s; supports Huawei LiteOS and third-party components, and provides an open and easy-to-use development and debugging environment.

[0080] The IoT model in this application is an end-to-end model. The cloud does not need to provide the function of long-term connection with the self-service terminal, which streamlines the cloud business and saves the development and deployment costs of the cloud. The use of NFC technology for communication makes it more cost-effective and compresses material costs. The self-service terminal does not need to use network traffic, which effectively reduces the operating costs of self-service terminal suppliers. By utilizing the inherent advantages of NFC near-field communication technology, the possibility of data being counterfeited and eavesdropped is greatly reduced compared with other near-field communication methods, which greatly improves the security and reliability of data interaction and has a wide range of applications. By swiping NFC to use retail service terminal equipment, the user experience is novel.

[0081] A transaction method based on an NFC self-service terminal provided by the present invention is described below. The transaction method based on an NFC self-service terminal described below and the transaction system based on an NFC self-service terminal described above can correspond to each other.

[0082] like Figure 3 As shown, this embodiment mainly includes the following steps:

[0083] S1. Generate order information according to user needs.

[0084] In step S1, order information is generated according to user needs, including:

[0085] Scan the sales code, select the required product, and generate order information.

[0086] Specifically, each automatic service terminal is provided with its own unique sales code, which may be in the form of different labels such as a QR code or a bar code. The user uses the user terminal to scan the sales code to obtain a list of goods in the automatic service terminal, selects the goods required according to their needs, confirms the order, and the user terminal generates order information, which includes a product code and a device code, both of which are unique. The user terminal sends the order information to the business platform.

[0087] In a possible implementation, the user terminal may be an APP or a WeChat applet.

[0088] S2. Generate an execution code based on the order information.

[0089] like Figure 4 As shown, in step S2, an execution code is generated according to the order information, specifically including:

[0090] S21. Generate an initial order based on the order information;

[0091] S22. Generate a prepayment order based on the initial order;

[0092] S23, paying the prepaid bill and generating payment information;

[0093] S24. Generate a payment notification based on the payment information;

[0094] S25. Generate an execution code based on the initial order, prepayment order and payment notice.

[0095] Specifically, after receiving the order information, the business platform generates an initial order based on the order information, the initial order including the product code, device code, order number and product unit price, and sends the initial order to the payment platform.

[0096] The payment platform generates a prepayment slip based on the initial order and sends the prepayment slip to the business platform. The prepayment slip includes the product code, device code, order number and payment amount, and the prepayment slip is sent to the business platform.

[0097] The business platform sends the prepaid order to the user terminal, and the user terminal initiates payment to the payment platform and generates payment information, which includes the payment time. The payment platform generates a payment notification based on the payment information and sends the payment notification to the business platform.

[0098] The business platform generates an execution code based on the initial order, prepayment order and payment notice. The execution code includes the device code, order number, payment time, payment amount and product code, where the payment amount is the total amount of the order.

[0099] S3. Encrypt the execution code according to a preset encryption method to generate a shopping code.

[0100] In step S3, the preset encryption method specifically includes:

[0101] The shopping code is sent to the user terminal via the NFC protocol. In order to prevent plain text transmission, the protocol uses bitwise XOR and / or base64 encryption to convert the transmission content into text content.

[0102] Specifically, the business platform generates an execution code based on the initial order, prepaid order and payment notice, encrypts the execution code according to a preset encryption method, generates a shopping code, and sends the shopping code to the user terminal.

[0103] S4. Obtain the shopping code through NFC, decrypt the shopping code, and obtain shopping information.

[0104] In step S4, shopping information is obtained, and then the following steps are further included:

[0105] The goods will be sent out according to the shopping information.

[0106] Specifically, after the user terminal touches the NFC position of the self-service terminal, the shopping code is written into the private data area of ​​the NFC chip of the self-service terminal through NFC, and data analysis is performed to obtain shopping information. According to the shopping information, the product selected by the user is delivered.

[0107] In a possible implementation, the private data area will be set with write-only permission, and the user will not be able to read the order content written into the private data.

[0108] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A transaction system based on NFC self-service terminal, characterized in that: include: User terminals, business platforms and self-service terminals; The user terminal is used to generate order information according to user needs and send the order information to the business platform; the user terminal includes a payment unit; The business platform generates an execution code according to the order information, encrypts the execution code according to a preset algorithm, generates a shopping code, and sends the shopping code to the user terminal; the business platform includes an order unit and a generation unit; The self-service terminal obtains the shopping code through NFC, decrypts the shopping code, and obtains shopping information; Also included is a payment platform, the payment platform including a prepayment unit and a notification unit; The order unit generates an initial order according to the order information, and sends the initial order to the prepayment unit; wherein the order information is a product code and a device code, and the initial order is a product code, a device code, an order number and a unit price of the product; The prepayment unit generates a prepayment slip according to the initial order, and sends the prepayment slip to the generating unit; wherein the prepayment slip includes a product code, a device code, an order number and a total payment amount; The payment unit pays the prepaid bill, generates payment information, and sends the payment information to the notification unit; The notification unit generates a payment notification according to the payment information, and sends the payment notification to the generation unit; wherein the payment information includes the payment time, and the payment time is accurate to the second value in the form of a timestamp; The generating unit generates the execution code according to the initial order, the prepaid bill and the payment notice, encrypts the execution code according to a preset algorithm, generates a shopping code, and sends the shopping code to the user terminal; the execution code includes a device code, an order number, a payment time, a payment amount and a product code, and the device code, order number, payment time, payment amount and product code are the contents of the private data area; the payment amount is the total amount of the order; The business platform sends the shopping code to the user terminal, and the user terminal converts the transmission content, that is, the shopping code content, into text content through the encryption method specified in the NFC protocol. Specifically, the specific content of record3 in the NFC protocol is as follows: The data format is pk = {encrypted product code} & wifiMac = {device code} & wifiConnected = {connected to the network} & status = {status value} & errno = {fault code} & order_id = {current order number}, where pk is the hash value of the cloud product code Product Key. Product Key is hereinafter referred to as PK. Each time the communication module is powered on, it will ask the MCU for the local Product Key and Product Secret through a handshake instruction for initialization. If the MCU does not provide or respond, the PK value defaults to a string of all "0". To prevent the PK value from being exposed in plain text to the NFC publicly readable Record, the PK in Record #3 is encrypted. The encryption method is agreed to be Product Key xor Product Secret. A bitwise XOR operation is performed once in ASCII format to obtain a binary encryption result, which is then converted into text through base64 encoding and finally stored in the NFC data for public reading by the user terminal. Among them, wifiMac: MAC address of WiFi module, 12 bytes; wifiConnected: Whether the WiFi module is currently connected to a WiFi network, 1 byte, 0 = not connected to WiFi; 1 = connected to WiFi; status: the current status of the machine, that is, the current status of the self-service terminal. DONE = the machine is idle and can start accepting new orders; BUSY = the machine has verified that the order is valid and is shipping; ERROR = the machine has a fault and cannot continue to work; errno: The result of the last shipment of the machine. 0 = no fault, currently working normally. Codes other than 0 indicate various equipment fault codes. order_id: The order number that the machine is processing. When the NFC is touched, the mini program can feedback whether there is an order being executed. If the order_id is recorded in the mini program, it will display "Your order is being processed"; if it is not your order, it will display "Other people's orders are being processed"; The user terminal further includes a scanning unit; the scanning unit is used to scan the sales code, select the desired product, and generate order information; the sales code is a QR code or a barcode; the user terminal is an APP or a WeChat applet, and by scanning the sales code, it is used to pull up the mobile phone applet or APP, select the desired product, and generate order information; The self-service terminal includes a decryption unit and a delivery unit; the decryption unit decrypts the shopping code to obtain shopping information; the delivery unit delivers the product according to the shopping information; The system also includes a management platform, which monitors, manages and maintains the self-service terminals through the information reported by the tally clerks on their mobile phones; The system also includes a communication module, through which data communication is performed, which specifically adopts the XF.H3861.A development board of Langguo; The NFC chip used in this system is FM11NT081D; The chip has the following features: Working frequency: 13.56MHz; Working mode: contact, non-contact; Maximum operating distance: 10cm, related to antenna and reader power Data transmission rate: 106kbit / s; I2C maximum communication rate: 1Mbps; The trading methods based on the above trading system include: S1. Generate order information according to user needs; Step S1 specifically includes: scanning a sales code, selecting a desired product, and generating order information; specifically, each self-service terminal is provided with its own unique sales code, which can be a QR code or a bar code or other different labels, and the user uses the user terminal to scan the sales code, obtains a list of products in the self-service terminal, selects the desired product according to his / her needs, confirms the order, and the user terminal generates order information, which includes a product code and a device code, wherein the product code and the device code are both unique, and the user terminal sends the order information to the business platform; S2. Generate an execution code based on the order information; Step S2 specifically includes: S21. Generate an initial order based on the order information; S22. Generate a prepayment order based on the initial order; S23, paying the prepaid bill and generating payment information; S24. Generate a payment notification based on the payment information; S25. Generate an execution code based on the initial order, prepayment order and payment notice; Specifically, after receiving the order information, the business platform generates an initial order based on the order information, the initial order including the product code, device code, order number and product unit price, and sends the initial order to the payment platform; The payment platform generates a prepayment slip based on the initial order and sends the prepayment slip to the business platform. The prepayment slip includes the product code, device code, order number and payment amount, and the prepayment slip is sent to the business platform; The business platform sends the prepaid bill to the user terminal, and the user terminal initiates payment to the payment platform and generates payment information, which includes the payment time. The payment platform generates a payment notification based on the payment information and sends the payment notification to the business platform; The business platform generates an execution code based on the initial order, prepayment order and payment notice. The execution code includes the device code, order number, payment time, payment amount and product code, where the payment amount is the total amount of the order; S3. Encrypt the execution code according to a preset encryption method to generate a shopping code; Step S3 specifically includes: sending the shopping code to the user terminal through the NFC protocol. In order to prevent plain text transmission, the protocol uses bitwise XOR and base64 encryption to convert the transmission content into text content; specifically, the business platform generates an execution code according to the initial order, prepaid bill and payment notice, and encrypts the execution code according to a preset encryption method to generate a shopping code, and sends the shopping code to the user terminal; S4. Obtain the shopping code through NFC, decrypt the shopping code, and obtain shopping information; In step S4, after obtaining the shopping information, it also includes: sending out the goods according to the shopping information; after the user terminal touches the NFC position of the self-service terminal, the shopping code is written into the private data area of ​​the NFC chip of the self-service terminal through NFC, and data analysis is performed to obtain the shopping information, and the goods selected by the user are sent out according to the shopping information; wherein, the private data area is set with write-only permission, and the user will not be able to read the order content written into the private data area.

Citation Information

Patent Citations

  • Electronic payments to non-internet connected devices systems and methods

    CN104662569A

  • Automatic vending system and method

    CN110136324A

  • Online payment method and system, user terminal, server and storage medium

    CN112241886A

  • Payment service apparatus for vending machine, and service system for vending machine including the same

    KR102337752B1

  • Self-service vending terminal device and integrated distribution and vending system

    WO2015131769A1