CN110599150B - Order display method, device, equipment and storage medium - Google Patents

Order display method, device, equipment and storage medium Download PDF

Info

Publication number
CN110599150B
CN110599150B CN201910860288.2A CN201910860288A CN110599150B CN 110599150 B CN110599150 B CN 110599150B CN 201910860288 A CN201910860288 A CN 201910860288A CN 110599150 B CN110599150 B CN 110599150B
Authority
CN
China
Prior art keywords
order
equipment
information
face
face terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910860288.2A
Other languages
Chinese (zh)
Other versions
CN110599150A (en
Inventor
王少鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910860288.2A priority Critical patent/CN110599150B/en
Publication of CN110599150A publication Critical patent/CN110599150A/en
Application granted granted Critical
Publication of CN110599150B publication Critical patent/CN110599150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/206Point-of-sale [POS] network systems comprising security or operator identification provisions, e.g. password entry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses an order display method, an order display device, order display equipment and a storage medium, and belongs to the technical field of networks. The method comprises the following steps: after face information of a second user is acquired, payment account information is acquired according to the face information, wherein the payment account information is used for indicating an account number of the second user for paying to a first user; sending the payment account information to the collection equipment, and initiating a payment request for an order to a server by the collection equipment according to the payment account information; acquiring order information of the order from the server according to the equipment identifier of the collection equipment, wherein the server records a corresponding relation between the equipment identifier of the collection equipment and the order information of the order; and displaying the acquired order information. The method and the device can meet the requirement that the customer sees the currently paid order on the face terminal.

Description

Order display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to an order display method, an order display device, and a storage medium.
Background
Face payment refers to the fact that face information is utilized to finish payment during payment. With the popularity of face payment, more and more merchants access to a face payment service, and a terminal provided by the face payment service may be called a face terminal, which is used for collecting face information of a customer, and the face terminal often needs to be used with a POS (Point of sales) machine of the merchant.
At present, after a cashier of a merchant generates an order for a customer on a POS machine, the customer can select a face payment mode on a face terminal to trigger a face payment instruction, the face terminal can acquire face information of the customer through a camera after receiving the face payment instruction, acquire a corresponding payment code, send the payment code to the POS machine, and finish payment of the order based on the payment code, but the face terminal cannot display the currently paid order and cannot meet the requirement that the customer sees the currently paid order on the face terminal.
Disclosure of Invention
The embodiment of the application provides an order display method, an order display device, order display equipment and a storage medium, which can solve the problem that the related technology cannot meet the requirement that a customer sees a currently paid order on a face terminal. The technical scheme is as follows:
In one aspect, there is provided an order display method, the method comprising:
the face terminal is applied to a face terminal of a first user, the face terminal is used for providing a face payment function for a second user, the face terminal is in communication connection with a collection device of the first user, and the method comprises the following steps:
acquiring payment account information according to face information after the face information of the second user is acquired, wherein the payment account information is used for indicating an account number of the second user for paying to the first user;
sending the payment account information to the collection equipment, and initiating a payment request for an order to a server by the collection equipment according to the payment account information;
acquiring order information of the order from the server according to the equipment identifier of the collection equipment, wherein the server records a corresponding relation between the equipment identifier of the collection equipment and the order information of the order;
and displaying the acquired order information.
In one possible implementation manner, the face terminal also records a device identifier of a collection device historically connected with the face terminal;
before the order information of the order is acquired from the server according to the equipment identifier of the collection equipment, the method further comprises:
And acquiring the equipment identifier with the nearest time from the at least one equipment identifier according to the time stamp of the at least one equipment identifier recorded on the face terminal, wherein the equipment identifier is used as the equipment identifier of the collecting equipment.
In one possible implementation manner, the obtaining, from the server, order information of the order according to the device identifier of the collecting device includes:
sending a query request to the server, wherein the query request carries a device identifier of the collection device;
and receiving order information of the order returned by the server based on the query request and the corresponding relation.
In one possible implementation manner, the obtaining, from the server, order information of the order according to the device identifier of the collecting device includes:
and periodically sending a query request to the server until receiving order information of the order returned by the server based on the query request and the corresponding relation, wherein the query request carries the equipment identifier of the collection equipment.
In one aspect, an order display method is provided and applied to a server, and the method includes:
receiving a payment request for an order from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and order information of the order, the payment account information is obtained according to face information of a second user acquired by a face terminal of the first user, and the payment account information is used for indicating an account number paid by the second user to the first user;
Establishing a corresponding relation between the equipment identifier of the collection equipment and order information of the order;
when a query request for the order is received from the face terminal, the order information of the order is returned to the face terminal based on the query request and the corresponding relation, wherein the query request carries the equipment identifier of the collection equipment;
the face terminal is used for providing a face payment function for the second user.
In one possible implementation manner, when receiving a query request for the order from the face terminal, returning order information of the order to the face terminal based on the query request and the correspondence relationship includes:
when a query request for the order is received from the face terminal, the corresponding relation is queried according to the equipment identifier of the collection equipment carried in the query request, and the queried order information of the order is returned to the face terminal.
In one possible implementation manner, the querying the correspondence according to the device identifier of the collecting device carried in the query request, and returning the queried order information of the order to the face terminal includes:
Inquiring at least one corresponding relation according to the equipment identifier of the collection equipment carried in the inquiry request to obtain at least one order information, wherein the at least one corresponding relation comprises a second corresponding relation between the equipment identifier of the collection equipment and the at least one order information;
and screening order information meeting a target condition from the at least one order information, and returning the order information to the face terminal, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal.
In one aspect, there is provided an order display device, the device comprising:
the acquisition module is used for acquiring payment account information according to the face information after acquiring the face information of the second user, wherein the payment account information is used for indicating an account number of the second user for paying to the first user;
the sending module is used for sending the payment account information to the collection equipment, and the collection equipment initiates a payment request for an order to a server according to the payment account information;
the acquisition module is further used for acquiring order information of the order from the server according to the equipment identifier of the collection equipment, and the server records the corresponding relation between the equipment identifier of the collection equipment and the order information of the order;
And the display module is used for displaying the acquired order information.
In one possible implementation manner, the face terminal records a device identifier of a collection device currently connected with the face terminal;
the acquisition module is also used for acquiring the equipment identifier recorded on the face terminal as the equipment identifier of the collection equipment.
In one possible implementation manner, the face terminal also records a device identifier of a collection device historically connected with the face terminal;
the acquisition module is further configured to acquire, from at least one device identifier recorded on the face terminal, a device identifier whose timestamp is closest to a current time from the at least one device identifier, as a device identifier of the collecting device.
In one possible implementation, the apparatus further includes:
and the recording module is used for recording the acquired equipment identification when the equipment identification of the collection equipment input on the face terminal is acquired.
In one possible implementation manner, the applet provided by the first user runs on the face terminal, and the applet is a program running depending on a host program; the recording module is used for:
Displaying an interface of the applet, wherein the interface is used for prompting to input a device identifier of a collection device currently connected with the face terminal;
and when the equipment identification of the collection equipment input on the interface is acquired, recording the acquired equipment identification.
In one possible implementation manner, the applet provided by the first user runs on the face terminal, and the applet is a program running depending on a host program;
the sending module is also used for sending the payment account information to the applet;
the acquisition module is used for acquiring order information of the order from the server according to the equipment identifier of the collection equipment through the applet.
In one possible implementation manner, the acquiring module is configured to:
sending a query request to the server, wherein the query request carries a device identifier of the collection device;
and receiving order information of the order returned by the server based on the query request and the corresponding relation.
In one possible implementation manner, the acquiring module is configured to:
and periodically sending a query request to the server until receiving order information of the order returned by the server based on the query request and the corresponding relation, wherein the query request carries the equipment identifier of the collection equipment.
In one aspect, there is provided an order display device, the device comprising:
the receiving module is used for receiving a payment request for an order from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and order information of the order, the payment account information is obtained according to face information of a second user acquired by a face terminal of the first user, and the payment account information is used for indicating an account number of the second user for paying to the first user;
the establishing module is used for establishing a corresponding relation between the equipment identifier of the collection equipment and the order information of the order;
the sending module is used for returning order information of the order to the face terminal based on the query request and the corresponding relation when the query request of the order is received from the face terminal, wherein the query request carries the equipment identifier of the collection equipment;
the face terminal is used for providing a face payment function for the second user.
In one possible implementation manner, the sending module is configured to query the corresponding relationship according to the device identifier of the collection device carried in the query request when receiving the query request for the order from the face terminal, and return the queried order information of the order to the face terminal.
In one possible implementation, the sending module is configured to:
inquiring at least one corresponding relation according to the equipment identifier of the collection equipment carried in the inquiry request to obtain at least one order information, wherein the at least one corresponding relation comprises a second corresponding relation between the equipment identifier of the collection equipment and the at least one order information;
and screening order information meeting a target condition from the at least one order information, and returning the order information to the face terminal, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal.
In one aspect, an electronic device is provided, the electronic device including a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, at least one program, a set of codes, or a set of instructions being loaded and executed by the processor to implement operations performed by the … order display method described above.
In one aspect, a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set loaded and executed by a processor to implement operations performed by an order display method as described above is provided.
The beneficial effects that technical scheme that this application embodiment provided include at least:
through recording the corresponding relation between the equipment identification of the collecting equipment and the order information of the order at the server, after the face terminal acquires the payment account information according to the acquired face information, the payment account information can be sent to the collecting equipment, the collecting equipment initiates a payment request for the order to the server according to the payment account information, and the face terminal can acquire and display the currently paid order information from the server according to the equipment identification of the collecting equipment, so that the requirement that a customer sees the currently paid order at the face terminal can be met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system diagram of an order display system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative architecture of a distributed system 200 for use in a blockchain system according to embodiments of the present application;
FIG. 3 is a schematic diagram of an alternative block structure according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of an order display method provided in an embodiment of the present application;
fig. 5 is a flowchart of a scheme for displaying order information on a face terminal through an applet according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an order display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an order display device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device 800 according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a system schematic diagram of an order display system provided in an embodiment of the present application, and referring to fig. 1, the system may include a face terminal 101, a cash register 102, a first server 103, and a second server 104. The face terminal 101 and the collection device 102 are provided by a merchant, and a communication connection is established between the face terminal 101 and the collection device 102, and the communication connection may be a wired connection, for example, a USB wired connection. The face terminal 101 is configured to provide a face payment function for a customer, the collection device 102 may be a POS machine of a merchant, the first server 103 may be a merchant back-end server, and the second server 104 may be a payment back-end server.
The face terminal 101 may collect face information of a customer, send the face information to the second server 104, obtain corresponding payment account information, such as a payment code, from the second server 104, and then send the payment account information to the collection device 102. After receiving the payment account information, the collection device 102 may initiate a payment request to the first server 103 based on the payment account information to complete payment of the order.
The system according to the embodiments of the present application may be a distributed system formed by connecting a client and a plurality of nodes (any form of computing device in an access network, such as a server and a terminal) through a form of network communication.
Taking the distributed system as a blockchain system as an example, the face terminal 101, the collection device 102, the first server 103, and the second server 104 may all be a node in the blockchain system. Various data related to the embodiments of the present application, such as face information, payment account information, device identification, order information, etc., may be stored in the blockchain.
Referring To fig. 2, fig. 2 is an optional structural schematic diagram of a distributed system 200 applied To a blockchain system according To an embodiment of the present invention, which is formed by a plurality of nodes 300 (any form of computing devices in an access network, such as servers, terminals) and clients 400, where a Peer-To-Peer (P2P) network is formed between the nodes, and the P2P protocol is an application layer protocol running on top of a transmission control protocol (TCP, transmission Control Protocol) protocol. In a distributed system, any machine, such as a server, a terminal, may join to become a node, including a hardware layer, an intermediate layer, an operating system layer, and an application layer.
Referring to the functionality of each node in the blockchain system shown in fig. 2, the functions involved include:
1) The routing, the node has basic functions for supporting communication between nodes.
Besides the routing function, the node can also have the following functions:
2) The application is used for being deployed in a block chain to realize specific service according to actual service requirements, recording data related to the realization function to form recorded data, carrying a digital signature in the recorded data to represent the source of task data, sending the recorded data to other nodes in the block chain system, and adding the recorded data into a temporary block when the source and the integrity of the recorded data are verified by the other nodes.
For example, the services implemented by the application include:
2.1 Wallet for providing electronic money transactions, including initiating a transaction (i.e., sending a transaction record of the current transaction to other nodes in the blockchain system, the other nodes, after verification, storing record data of the transaction in a temporary block of the blockchain in response to acknowledging that the transaction is valid; of course, the wallet also supports inquiry of remaining electronic money in the electronic money address;
2.2 The shared account book is used for providing the functions of storing, inquiring, modifying and the like of account data, sending record data of the operation on the account data to other nodes in the blockchain system, and after the other nodes verify to be effective, storing the record data into a temporary block as a response for acknowledging that the account data is effective, and also sending confirmation to the node initiating the operation.
2.3 A computerized agreement that can execute the terms of a contract, implemented by code deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions based on actual business demand codes, such as querying the physical distribution status of the goods purchased by the buyer, transferring the electronic money of the buyer to the merchant's address after the buyer signs for the goods; of course, the smart contract is not limited to executing the contract for the transaction, and may execute a contract that processes the received information.
3) The blockchain comprises a series of blocks (blocks) which are connected with each other according to the generated sequence time, the new blocks are not removed once being added into the blockchain, and record data submitted by nodes in the blockchain system are recorded in the blocks.
Referring to fig. 3, fig. 3 is an optional schematic diagram of a Block Structure (Block Structure) according to an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a blockchain. In addition, the block may include information such as a time stamp at the time of block generation. The Blockchain (Blockchain), which is essentially a de-centralized database, is a string of data blocks that are generated in association using cryptographic methods, each of which contains associated information that is used to verify the validity (anti-counterfeiting) of its information and to generate the next block.
Fig. 4 is a flowchart of an order display method according to an embodiment of the present application. Based on interactions between the face terminal, the checkout device, and a server, which may be a merchant back-end server, see fig. 4, the method may include:
401. after face information of the second user is acquired, the face terminal of the first user acquires payment account information according to the face information, wherein the payment account information is used for indicating an account number of the second user for payment to the first user.
The face terminal is used for providing a face payment function for a second user, and the face terminal of a first user is in communication connection with the collection device of the first user. The first user may be a merchant and the second user may be a customer.
After the cash register generates an order for a customer, a second user can select a face payment mode on the face terminal to trigger a face payment instruction, and after the face terminal receives the face payment instruction, the face information of the customer can be acquired through the camera, and the face information can be a face image. The face terminal may send the face information to a payment back-end server, and the payment back-end server may confirm identity information of the customer according to the face information, and then obtain payment account information according to the identity information, where the payment account information may be in a form of a payment code, for example, generate the payment code according to an account corresponding to the identity information.
402. The face terminal sends the payment account information to the collection device.
The face terminal may send the payment account information to the collection device based on a communication connection between the face terminal and the collection device.
403. After receiving the payment account information, the collection device initiates a payment request for the order to the server according to the payment account information, wherein the payment request carries the payment account information, the device identification of the collection device and the order information of the order.
Wherein the device identification of the collection device is used to uniquely identify the collection device, for example, the device identification of the collection device may be a device number. Order information for an order may include merchandise information, payment amount, merchant information, order generation time, order number, etc.
After receiving the payment account information, the collecting device can initiate a payment request for the order to the server by combining the previously generated order and the device identifier of the collecting device, wherein the payment request carries the payment account information, the order information of the order and the device identifier of the collecting device.
404. After receiving a payment request for an order from a collection device of a first user, the server establishes a correspondence between a device identifier of the collection device and order information of the order.
After receiving the payment request, the server can establish a corresponding relation between the equipment identifier and the order information of the collection equipment carried in the payment request, and record the currently established corresponding relation in the server. For example, the server may store the correspondence to the blockchain.
Because the server may have received other payment requests before, the server may establish and record a correspondence with respect to the device identifier and the order information of the collection device carried in each payment request, so that the server may record at least one correspondence.
After receiving the payment request, the server may complete payment of the order according to the payment request, for example, the server may send the payment request to a payment back-end server, and the payment back-end server transfers a target value from an account indicated by the payment account information to an account of the merchant, where the target value is a value that the order should pay, that is, a payment amount.
405. The face terminal sends a query request to the server, wherein the query request carries the equipment identifier of the collection equipment.
Because the corresponding relation recorded by the server comprises the corresponding relation between the equipment identifier of the collection equipment and the order information, the face terminal can carry the equipment identifier of the collection equipment in a query request and send the query request to the server so as to query the order information corresponding to the equipment identifier of the collection equipment.
In one possible implementation manner, the equipment identifier of the collecting equipment currently connected with the face terminal is recorded on the face terminal, and the equipment identifier recorded on the face terminal can be obtained as the equipment identifier of the collecting equipment before the face terminal obtains the order information of the order from the server according to the equipment identifier of the collecting equipment.
The store clerk of the merchant can inquire the equipment identifier of the collection equipment on the collection equipment currently connected with the face terminal, then input the equipment identifier of the collection equipment on the face terminal, and when the equipment identifier of the collection equipment input on the face terminal is acquired, the face terminal can record the acquired equipment identifier. By locally recording the equipment identifier of the collection equipment at the face terminal, the face terminal can directly acquire the equipment identifier of the collection equipment from the local, and the efficiency of acquiring the equipment identifier of the collection equipment by the face terminal is improved.
In one possible implementation manner, the face terminal runs an applet provided by the first user, where the applet is a program running in dependence on a host program, and accordingly, when acquiring a device identifier of a receiving device input on the face terminal, the face terminal records the acquired device identifier, including: displaying an interface of the applet, wherein the interface is used for prompting to input the equipment identifier of the cash collecting equipment currently connected with the face terminal; when the device identification of the collection device input on the interface is acquired, the acquired device identification is recorded.
The store personnel of the merchant can open an applet on the face terminal, the face terminal can display a main interface of the applet, an entry for inputting equipment identification can be provided in the main interface, when the entry is triggered, the face terminal can display the input interface, the store personnel can input the equipment identification of the cash register equipment currently connected with the face terminal in the input interface, and the face terminal can record the equipment identification input by the store personnel into the applet.
In one possible implementation, the face terminal may record, in addition to the device identifier of the currently connected collection device, a device identifier of the collection device that the face terminal is historically connected to. In this case, before the face terminal obtains the order information of the order from the server according to the device identifier of the collecting device, the device identifier with the closest timestamp to the current time may be obtained from the at least one device identifier according to the timestamp of the at least one device identifier recorded on the face terminal, and the device identifier is used as the device identifier of the collecting device currently connected to the face terminal.
Considering that the face terminal may replace the connected collection device, after each time the face terminal is connected to one collection device, a clerk of the merchant may input the device identifier of the currently connected collection device on the face terminal, the face terminal may record the device identifier of the collection device, and timestamp the device identifier of the currently recorded collection device, so that the face terminal may record the device identifier of at least one collection device and the timestamp of each device identifier, and thus the face terminal may screen out the device identifier with the latest timestamp from the at least one device identifier recorded by the face terminal according to the timestamp, and consider the device identifier of the collection device currently connected by the face terminal.
It should be noted that, the steps 403 to 404 and 405 do not represent specific execution sequences, and the steps 403 to 404 and 405 may be executed sequentially or may be executed in parallel, that is, the face terminal may immediately execute the step 405 after executing the step 402, and the embodiment of the present application is not limited to this as to whether the step 403 executed by the collecting device and the step 404 executed by the server occur before the step 405 executed by the face terminal or after the step 405 executed by the face terminal.
406. When a query request for the order is received from the face terminal, the corresponding relation is queried according to the equipment identifier of the collection equipment carried in the query request, and the queried order information of the order is returned to the face terminal.
The server may query the corresponding relationship established in step 404 according to the device identifier of the collecting device carried in the query request, obtain the order information corresponding to the device identifier of the collecting device, and return the queried order information as a response to the query request to the face terminal. If the server stores at least one corresponding relationship, the at least one corresponding relationship includes the corresponding relationship established in step 404, and accordingly, in one possible implementation manner, the querying the corresponding relationship according to the device identifier of the collecting device carried in the query request, and returning the queried order information of the order to the face terminal includes: inquiring at least one corresponding relation according to the equipment identifier of the collection equipment carried in the inquiry request to obtain at least one order information, wherein the at least one corresponding relation comprises a corresponding relation between the equipment identifier of the collection equipment and the at least one order information; and screening order information meeting a target condition from the at least one order information, and returning the order information to the face terminal, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal.
The server can find at least one corresponding relation containing the equipment identifier of the collecting equipment from the recorded corresponding relations according to the equipment identifier of the collecting equipment carried in the query request, obtain at least one order information contained in the at least one corresponding relation, then screen the latest order information which is not synchronized with the face terminal in history from the at least one order information, and return the latest order information to the face terminal. The screening of the order information is carried out by setting the target condition, so that the order information returned by the server to the face terminal is the current order information of the cash collecting equipment.
In addition to the above implementation manner, the server may also screen out the corresponding relationship with the latest time from the at least one corresponding relationship, consider the corresponding relationship as the corresponding relationship established in step 404, and then query the corresponding relationship according to the device identifier of the collection device carried in the query request, so as to obtain the corresponding order information.
407. And the face terminal receives order information of the order returned by the server based on the query request and the corresponding relation.
Steps 405 and 407 are one possible implementation of the face terminal obtaining order information for the order from the server according to the device identification of the checkout device. Step 406 is one possible implementation of the server returning order information of the order to the face terminal based on the query request and the correspondence when receiving the query request for the order from the face terminal. The face terminal can receive order information returned by the server by sending a query request to the server, and then the order information can be displayed to the user, so that the requirement that the user sees the currently paid order on the face terminal is met.
In one possible implementation manner, the face terminal may periodically send a query request to the server until receiving order information of the order returned by the server based on the query request and the correspondence, where the query request carries a device identifier of the collecting device.
The face terminal may periodically perform the inquiry process of steps 405 to 407. For example, the face terminal may execute step 405 once every a preset time period until order information returned by the server is received. After the face terminal performs step 402, step 405 may be immediately performed, at this time, the server may not have performed step 404 yet, so that the server cannot query the correspondence established in step 404, and cannot return order information to the face terminal, so the face terminal may perform step 405 again after a preset time period until receiving the order information returned by the server. By periodically inquiring order information from the server, the face terminal can acquire the order information at the highest speed once the server establishes the corresponding relation of the order information.
In one possible implementation manner, the applet provided by the first user runs on the face terminal, and the applet is a program running depending on a host program, and the query process may be specifically executed by the applet on the face terminal. In this case, the face terminal may send the payment account information to the applet after acquiring the payment account information according to the face information. Correspondingly, the face terminal obtains the order information of the order from the server according to the equipment identifier of the collection equipment, and the method comprises the following steps: and acquiring order information of the order from the server according to the equipment identification of the cash register equipment through the applet.
After sending the payment account information to the collection device, the face terminal can return the payment account information to the applet in parallel, and the applet can periodically inquire corresponding order information according to the device identification of the collection device. Referring to fig. 5, a scheme flowchart for displaying order information on a face terminal through an applet is provided, as shown in fig. 5, a clerk of a merchant may manually input a device identifier of a collecting device on the face terminal and record the device identifier into the applet of the face terminal, the face terminal may send payment account information to the collecting device, the collecting device may initiate a payment request to a server after receiving the payment account information, and the server may record a correspondence between the device identifier of the collecting device and the order information in a Database (DB). The applet on the face terminal may obtain corresponding order information from the server according to the device identification of the collecting device.
408. The face terminal displays order information of the order.
After receiving the order information, the face terminal can display the order information on a screen in time, so that a second user can see the order information of current payment.
The face terminal and the collection equipment can be connected through the USB line to realize plug and play without any reconstruction cost, and the merchant service can be self-closed. Aiming at the scene that the merchant has the applet, the process of displaying order information on the face terminal can be realized through the applet, and excessive development resources are not required to be involved. On one hand, the payment experience of the customer on the face terminal can be improved, and on the other hand, the real situation of the merchant is considered, so that the development cost can be reduced.
According to the method provided by the embodiment of the application, through recording the corresponding relation between the equipment identification of the collecting equipment and the order information of the order in the server, after the face terminal acquires the payment account information according to the acquired face information, the payment account information can be sent to the collecting equipment, the collecting equipment initiates a payment request for the order to the server according to the payment account information, and the face terminal can acquire and display the currently paid order information from the server according to the equipment identification of the collecting equipment, so that the requirement that a customer sees the currently paid order on the face terminal can be met.
Fig. 6 is a schematic structural diagram of an order display device according to an embodiment of the present application. Referring to fig. 6, the apparatus includes:
the acquiring module 601 is configured to acquire, after face information of a second user is acquired, payment account information according to the face information, where the payment account information is used to indicate an account number of the second user that pays to a first user;
the sending module 602 is configured to send the payment account information to a collection device, and the collection device initiates a payment request for an order to a server according to the payment account information;
the obtaining module 601 is further configured to obtain, from the server, order information of the order according to the device identifier of the collecting device, where the server records a correspondence between the device identifier of the collecting device and the order information of the order;
and a display module 603, configured to display the acquired order information.
In one possible implementation manner, the face terminal records a device identifier of a collection device currently connected with the face terminal;
the acquiring module 601 is further configured to acquire a device identifier recorded on the face terminal as a device identifier of the collecting device.
In one possible implementation manner, the face terminal also records the equipment identifier of the collection equipment historically connected with the face terminal;
The obtaining module 601 is further configured to obtain, from at least one device identifier recorded on the face terminal, a device identifier whose timestamp is closest to a current time from the at least one device identifier, as a device identifier of the collecting device.
In one possible implementation, the apparatus further includes:
and the recording module is used for recording the acquired equipment identification when the equipment identification of the collection equipment input on the face terminal is acquired.
In one possible implementation manner, the face terminal is provided with an applet provided by the first user, and the applet is a program running depending on a host program; the recording module is used for:
displaying an interface of the applet, wherein the interface is used for prompting to input the equipment identifier of the cash collecting equipment currently connected with the face terminal;
when the device identification of the collection device input on the interface is acquired, the acquired device identification is recorded.
In one possible implementation manner, the face terminal is provided with an applet provided by the first user, and the applet is a program running depending on a host program;
the sending module 602 is further configured to send the payment account information to the applet;
The acquiring module 601 is configured to acquire order information of the order from the server according to the device identifier of the collecting device through the applet.
In one possible implementation, the obtaining module 601 is configured to:
sending a query request to the server, wherein the query request carries the equipment identifier of the collection equipment;
order information of the order returned by the server based on the query request and the corresponding relation is received.
In one possible implementation, the obtaining module 601 is configured to:
and periodically sending a query request to the server until receiving order information of the order returned by the server based on the query request and the corresponding relation, wherein the query request carries the equipment identifier of the collection equipment.
Fig. 7 is a schematic structural diagram of an order display device according to an embodiment of the present application. Referring to fig. 7, the apparatus includes:
a receiving module 701, configured to receive a payment request for an order from a collection device of a first user, where the payment request carries payment account information, a device identifier of the collection device, and order information of the order, where the payment account information is obtained according to face information of a second user acquired by a face terminal of the first user, and the payment account information is used to indicate an account number paid by the second user to the first user;
The establishing module 702 is configured to establish a correspondence between the device identifier of the collecting device and order information of the order;
a sending module 703, configured to, when receiving a query request for the order from the face terminal, return order information of the order to the face terminal based on the query request and the correspondence, where the query request carries an equipment identifier of the collecting device;
the face terminal is used for providing a face payment function for the second user.
In one possible implementation manner, the sending module 703 is configured to, when receiving a query request for the order from the face terminal, query the corresponding relationship according to the device identifier of the collection device carried in the query request, and return the queried order information of the order to the face terminal.
In one possible implementation, the sending module 703 is configured to:
inquiring at least one corresponding relation according to the equipment identifier of the collection equipment carried in the inquiry request to obtain at least one order information, wherein the at least one corresponding relation comprises a second corresponding relation between the equipment identifier of the collection equipment and the at least one order information;
And screening order information meeting a target condition from the at least one order information, and returning the order information to the face terminal, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
It should be noted that: in order display, the order display device provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the order display device and the order display method provided in the foregoing embodiments belong to the same concept, and detailed implementation processes of the order display device and the order display method are detailed in the method embodiments, which are not repeated herein.
Fig. 8 is a schematic structural diagram of an electronic device 800 provided in an embodiment of the present application, where the electronic device may be provided as a face terminal or a server, where the electronic device 800 may be relatively different due to configuration or performance, and may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, where at least one instruction is stored in the memories 802, and the at least one instruction is loaded and executed by the processors 801 to implement the methods provided in the foregoing method embodiments. Of course, the electronic device may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
In an exemplary embodiment, a computer readable storage medium, such as a memory including at least one instruction, at least one program, a set of codes, or a set of instructions that can be loaded and executed by a processor to perform the order display method in the above embodiment, is also provided. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-Access Memory (RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the above storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but rather is intended to cover any and all modifications, equivalents, alternatives, and improvements within the spirit and principles of the present application.

Claims (10)

1. The order display method is characterized by being applied to a face terminal of a first user, wherein the face terminal is used for providing a face payment function for a second user, and communication connection is established between the face terminal and a collection device of the first user, and the method comprises the following steps:
acquiring payment account information according to face information after the face information of the second user is acquired, wherein the payment account information is used for indicating an account number of the second user for paying to the first user;
sending the payment account information to the collection equipment, and initiating a payment request for an order to a server by the collection equipment according to the payment account information, wherein the payment request carries the payment account information, equipment identification of the collection equipment and order information of the order;
acquiring order information of an order meeting a target condition from the server according to the equipment identifier of the collection equipment, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal, and the server records the corresponding relation between the equipment identifier of the collection equipment and the order information of the order based on the payment request, wherein the equipment identifier of the collection equipment is stored in the local area of the face terminal;
And displaying the acquired order information.
2. The method of claim 1, wherein the face terminal has recorded thereon a device identification of a collection device to which the face terminal is currently connected;
before the order information of the order is acquired from the server according to the equipment identifier of the collection equipment, the method further comprises:
and acquiring the equipment identifier recorded on the face terminal as the equipment identifier of the collection equipment.
3. The method according to claim 2, wherein before the obtaining the device identifier recorded on the face terminal, the method further comprises:
when the equipment identification of the collection equipment input on the face terminal is acquired, recording the acquired equipment identification.
4. A method according to claim 3, wherein the face terminal has the first user-provided applet running thereon, the applet being a host-dependent program running;
when the device identifier of the collection device input on the face terminal is obtained, recording the obtained device identifier, wherein the method comprises the following steps:
displaying an interface of the applet, wherein the interface is used for prompting to input a device identifier of a collection device currently connected with the face terminal;
And when the equipment identification of the collection equipment input on the interface is acquired, recording the acquired equipment identification.
5. The method of claim 1, wherein the first user-provided applet is running on the face terminal, the applet being a host-dependent program;
after the payment account information is obtained according to the face information, the method further comprises the following steps:
sending the payment account information to the applet;
the step of obtaining order information of the order from the server according to the equipment identifier of the collection equipment comprises the following steps:
and acquiring order information of the order from the server according to the equipment identifier of the collection equipment through the applet.
6. An order display method, applied to a server, comprising:
receiving a payment request for an order from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and order information of the order, the payment account information is obtained according to face information of a second user acquired by a face terminal of the first user, and the payment account information is used for indicating an account number paid by the second user to the first user;
Based on the payment request, establishing a corresponding relationship between the equipment identifier of the collection equipment and order information of the order;
when a query request for the order is received from the face terminal, returning order information of the order meeting a target condition to the face terminal based on the query request and the corresponding relation, so that the face terminal displays the acquired order information, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal, the query request carries a device identifier of the collection device, and the device identifier of the collection device is stored in the local area of the face terminal;
the face terminal is used for providing a face payment function for the second user.
7. An order display device, the device comprising:
the acquisition module is used for acquiring payment account information according to the face information after acquiring the face information of the second user, wherein the payment account information is used for indicating an account number of the second user for paying to the first user;
The sending module is used for sending the payment account information to the collection equipment, and the collection equipment initiates a payment request for an order to a server according to the payment account information, wherein the payment request carries the payment account information, equipment identification of the collection equipment and order information of the order;
the acquisition module is further used for acquiring order information of an order meeting a target condition from the server according to the equipment identifier of the collection equipment, wherein the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal, and the server records the corresponding relation between the equipment identifier of the collection equipment and the order information of the order based on the payment request, wherein the equipment identifier of the collection equipment is stored in the local area of the face terminal;
and the display module is used for displaying the acquired order information.
8. An order display device, the device comprising:
the receiving module is used for receiving a payment request for an order from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and order information of the order, the payment account information is obtained according to face information of a second user acquired by a face terminal of the first user, and the payment account information is used for indicating an account number of the second user for paying to the first user;
The establishing module is used for establishing a corresponding relation between the equipment identifier of the collection equipment and the order information of the order based on the payment request;
the sending module is used for returning order information of an order meeting a target condition to the face terminal based on the query request and the corresponding relation when the query request of the order is received from the face terminal, so that the face terminal displays the acquired order information, the target condition is that the order generation time is closest to the current time and the history is not returned to the face terminal, the query request carries the equipment identifier of the collection equipment, and the equipment identifier of the collection equipment is stored in the local area of the face terminal;
the face terminal is used for providing a face payment function for the second user.
9. An electronic device comprising a processor and a memory having stored therein at least one instruction, at least one program, code set, or instruction set that is loaded and executed by the processor to implement the order display method of any of claims 1 to 6.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by a processor to implement the order display method of any one of claims 1 to 6.
CN201910860288.2A 2019-09-11 2019-09-11 Order display method, device, equipment and storage medium Active CN110599150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910860288.2A CN110599150B (en) 2019-09-11 2019-09-11 Order display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910860288.2A CN110599150B (en) 2019-09-11 2019-09-11 Order display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110599150A CN110599150A (en) 2019-12-20
CN110599150B true CN110599150B (en) 2023-07-28

Family

ID=68858880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910860288.2A Active CN110599150B (en) 2019-09-11 2019-09-11 Order display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110599150B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112270424B (en) * 2020-10-16 2022-06-21 南京领行科技股份有限公司 Order processing method and device, electronic equipment and storage medium
CN112819582B (en) * 2021-02-04 2022-09-09 苏州达家迎信息技术有限公司 Order data display method and device, storage medium and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599122A (en) * 2013-10-31 2015-05-06 腾讯科技(深圳)有限公司 Quick payment method, related equipment and related system
CN105516068B (en) * 2014-09-26 2019-06-04 阿里巴巴集团控股有限公司 Correlating method, the device of information exchange and human body biological characteristics data and account
CN109118215B (en) * 2018-06-12 2021-04-27 创新先进技术有限公司 Payment processing method and device and server
CN110163588B (en) * 2018-06-21 2022-09-27 腾讯科技(深圳)有限公司 Payment system, method, device and readable medium
CN109377234A (en) * 2018-09-20 2019-02-22 阿里巴巴集团控股有限公司 A kind of brush face method of payment and equipment
CN110135823B (en) * 2019-04-09 2022-04-08 浙江禾平数据技术有限公司 Order processing method and device, computer equipment and readable storage medium
CN110189132A (en) * 2019-04-19 2019-08-30 北京百度网讯科技有限公司 Face payment mechanism, method, system and machine readable storage medium
CN110223077A (en) * 2019-06-13 2019-09-10 深圳前海微众银行股份有限公司 Register method, device, equipment and the readable storage medium storing program for executing of face payment account

Also Published As

Publication number Publication date
CN110599150A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110570179B (en) Order display method, device, equipment and storage medium
AU2017288112A1 (en) Digital asset account management
US20090313147A1 (en) Alternative payment implementation for electronic retailers
CN109598598A (en) Transaction processing method and device, electronic equipment based on block chain
CN110910230A (en) Accounting method, accounting system and storage medium
CN110598934B (en) Method for recommending shopping routes and related device
CN110599323A (en) Resource processing method and processing equipment
CN110599150B (en) Order display method, device, equipment and storage medium
CN106096926B (en) Event processing method, device, electronic device and storage medium
KR20190036154A (en) Tax management system and method for business transaction using electronic cash
CN112613877A (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN112561510A (en) Payment system, method, device, equipment and storage medium
CN110599170B (en) Transaction information processing method and system based on block chain and storage medium
JP6721724B2 (en) Methods and devices that facilitate the expansion of payment entities
JP6999386B2 (en) Information processing equipment, information processing methods, programs and information processing systems
CN108876339B (en) E-pet transaction method and device based on certificate
CN113496395B (en) Payment method and system
JP2005115872A (en) Point management device, information reader, and point management system using them
CN113095821A (en) Method and device for interaction of property rights
JP5812645B2 (en) Electronic commerce system
CN112446787A (en) Resource transfer method, device, equipment and storage medium
TWI649704B (en) Payment integration method and server for integrated payment
CN113032036A (en) Service data processing method, device, system, computer equipment and storage medium
CN110599272A (en) Method for issuing electronic invoice and related product
CN110852891A (en) Data processing method and device based on rolling difference and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant