CN110599150A - Order display method, device, equipment and storage medium - Google Patents
Order display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110599150A CN110599150A CN201910860288.2A CN201910860288A CN110599150A CN 110599150 A CN110599150 A CN 110599150A CN 201910860288 A CN201910860288 A CN 201910860288A CN 110599150 A CN110599150 A CN 110599150A
- Authority
- CN
- China
- Prior art keywords
- order
- information
- equipment
- face
- user
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/202—Interconnection 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/206—Point-of-sale [POS] network systems comprising security or operator identification provisions, e.g. password entry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Probability & Statistics with Applications (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
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 the face information of a second user is collected, acquiring payment account information according to the face information, wherein the payment account information is used for indicating an account paid to a first user by the second user; sending the payment account information to the collection equipment, and initiating a payment request for the order to a server by the collection equipment according to the payment account information; according to the equipment identification of the money receiving equipment, obtaining order information of the order from the server, wherein the server records the corresponding relation between the equipment identification of the money receiving equipment and the order information of the order; and displaying the acquired order information. The method and the device can meet the requirement that a customer sees the current payment order on the face terminal.
Description
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying an order.
Background
The face payment means that the payment is completed by using face information during payment. With the popularization of face payment, more and more merchants access face payment services, terminals provided by the face payment services can be called face terminals and used for collecting face information of customers, and the face terminals are often used in cooperation with Point of Sale (POS) machines of the merchants.
At present, after a cashier of a merchant generates an order for a customer on a POS, the customer can select a face payment mode on a face terminal and trigger a face payment instruction, after the face terminal receives the face payment instruction, the face terminal can acquire face information of the customer through a camera to obtain a corresponding payment code, and send the payment code to the POS, so that payment of the order is completed 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, and 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, an order display method is provided, and the method includes:
the face terminal is applied to 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 money receiving device of the first user, and the method comprises the following steps:
after the face information of the second user is collected, acquiring payment account information according to the face information, wherein the payment account information is used for indicating an account paid to the first user by the second user;
sending the payment account information to the collection equipment, and initiating a payment request for the order to a server by the collection equipment according to the payment account information;
according to the equipment identification of the money receiving equipment, obtaining order information of the order from the server, wherein the server records the corresponding relation between the equipment identification of the money receiving equipment and the order information of the order;
and displaying the acquired order information.
In a possible implementation manner, the face terminal further records an equipment identifier of a money receiving equipment historically connected to the face terminal;
before the obtaining the order information of the order from the server according to the device identifier of the money receiving device, the method further includes:
and according to the timestamp of at least one equipment identifier recorded on the face terminal, acquiring the equipment identifier with the timestamp closest to the current time from the at least one equipment identifier as the equipment identifier of the money receiving equipment.
In a possible implementation manner, the obtaining, from the server, order information of the order according to the device identifier of the money receiving device includes:
sending a query request to the server, wherein the query request carries the equipment identifier of the money receiving equipment;
and receiving order information of the order returned by the server based on the query request and the corresponding relation.
In a possible implementation manner, the obtaining, from the server, order information of the order according to the device identifier of the money receiving device includes:
and sending a query request to the server periodically until order information of the order returned by the server based on the query request and the corresponding relation is received, wherein the query request carries the equipment identifier of the money receiving 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 form from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and the order form information of the order form, the payment account information is obtained according to face information of a second user collected by a face terminal of the first user, and the payment account information is used for indicating an account number paid to the first user by the second user;
establishing a corresponding relation between the equipment identifier of the money receiving equipment and the order information of the order;
when receiving a query request for the order form from the face terminal, returning order form information of the order form to the face terminal based on the query request and the corresponding relation, wherein the query request carries the equipment identification of the money receiving equipment;
the money receiving equipment is in communication connection with the face terminal, and the face terminal is used for providing a face payment function for the second user.
In a possible implementation manner, when receiving a query request for the order from the face terminal, the returning order information of the order to the face terminal based on the query request and the correspondence includes:
when receiving a query request for the order from the face terminal, querying the corresponding relation according to the equipment identifier of the money receiving equipment carried in the query request, and returning the queried order information of the order to the face terminal.
In a possible implementation manner, the querying, according to the device identifier of the money receiving device carried in the query request, the correspondence, 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 money receiving 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 money receiving equipment and the at least one order information;
and screening out 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 order display apparatus is provided, the apparatus comprising:
the acquisition module is used for acquiring payment account information according to the face information after the face information of a second user is acquired, wherein the payment account information is used for indicating an account paid to the first user by the second 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 the order to the server according to the payment account information;
the acquisition module is further configured to acquire order information of the order from the server according to the device identifier of the money receiving device, where the server records a correspondence between the device identifier of the money receiving device and the order information of the order;
and the display module is used for displaying the acquired order information.
In a possible implementation manner, an equipment identifier of a money receiving equipment currently connected with the face terminal is recorded on the face terminal;
the acquisition module is further configured to acquire an equipment identifier recorded on the face terminal, and the equipment identifier is used as the equipment identifier of the money receiving equipment.
In a possible implementation manner, the face terminal further records an equipment identifier of a money receiving equipment historically connected to the face terminal;
the acquisition module is further configured to acquire, from the at least one device identifier, a device identifier whose timestamp is closest to the current time according to the timestamp of the at least one device identifier recorded on the face terminal, and use the device identifier as the device identifier of the money receiving device.
In one possible implementation, the apparatus further includes:
and the recording module is used for recording the acquired equipment identifier when the equipment identifier of the money receiving equipment input on the face terminal is acquired.
In one possible implementation manner, an applet provided by the first user runs on the face terminal, and the applet runs in dependence on a host program; the recording module is used for:
displaying an interface of the small program, wherein the interface is used for prompting to input an equipment identifier of a money receiving equipment currently connected with the face terminal;
and when the device identification of the money receiving device input on the interface is acquired, recording the acquired device identification.
In one possible implementation manner, an applet provided by the first user runs on the face terminal, and the applet runs in dependence 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 the order information of the order from the server through the small program according to the equipment identifier of the money receiving equipment.
In one possible implementation, the obtaining module is configured to:
sending a query request to the server, wherein the query request carries the equipment identifier of the money receiving equipment;
and receiving order information of the order returned by the server based on the query request and the corresponding relation.
In one possible implementation, the obtaining module is configured to:
and sending a query request to the server periodically until order information of the order returned by the server based on the query request and the corresponding relation is received, wherein the query request carries the equipment identifier of the money receiving equipment.
In one aspect, an order display apparatus is provided, the apparatus comprising:
the receiving module is used for receiving a payment request for an order form from a receiving device of a first user, wherein the payment request carries payment account information, a device identifier of the receiving device and the order form information of the order form, the payment account information is obtained according to face information of a second user, which is acquired by a face terminal of the first user, and the payment account information is used for indicating an account number paid to the first user by the second user;
the establishment module is used for establishing a corresponding relation between the equipment identifier of the money receiving equipment and the order information of the order;
a sending module, 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 a device identifier of the money receiving device;
the money receiving equipment is in communication connection with the face terminal, and the face terminal is used for providing a face payment function for the second user.
In a possible implementation manner, the sending module 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 money receiving 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 is configured to:
inquiring at least one corresponding relation according to the equipment identifier of the money receiving 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 money receiving equipment and the at least one order information;
and screening out 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 and includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by the processor to implement the operations performed by the … order display method.
In one aspect, a computer-readable storage medium is provided, having at least one instruction, at least one program, set of codes, or set of instructions stored therein, which is loaded and executed by a processor to perform operations as performed by the above order display method.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the corresponding relation between the equipment identification of the collection equipment and the order information of the order is recorded in the server, the face terminal acquires the payment account information according to the acquired face information and then can send the payment account information to the collection equipment, the collection equipment initiates a payment request for the order to the server according to the payment account information, the face terminal can acquire and display the order information of the current payment from the server according to the equipment identification of the collection equipment, and the requirement that a customer sees the order of the current payment on the face terminal can be met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a system diagram of an order display system according to an embodiment of the present disclosure;
fig. 2 is an alternative structural diagram of a distributed system 200 applied to a blockchain system according to an embodiment of the present disclosure;
FIG. 3 is an alternative block diagram according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an order display method according to an embodiment of the present application;
fig. 5 is a flowchart of a scheme for displaying order information on a face terminal by an applet according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an order display apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an order display apparatus 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
To make the objects, technical solutions and advantages of the present application more clear, 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 according to an embodiment of the present disclosure, and referring to fig. 1, the system may include a face terminal 101, a money receiving device 102, a first server 103, and a second server 104. The face terminal 101 and the payment receiving device 102 are provided by a merchant, and a communication connection is established between the face terminal 101 and the payment receiving device 102, where the communication connection may be a wired connection, such as a USB connection. The face terminal 101 is used for providing a face payment function for a customer, the payment receiving device 102 may be a POS of a merchant, the first server 103 may be a merchant backend server, and the second server 104 may be a payment backend server.
The face terminal 101 may collect face information of the 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 send the payment account information to the payment receiving device 102. After receiving the payment account information, the receiving 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 related to the embodiment of the application can be a distributed system formed by connecting a client, a plurality of nodes (computing devices in any form in an access network, such as servers and terminals) through a network communication form.
Taking a distributed system as an example of a blockchain system, the face terminal 101, the payee 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 embodiment of the application, such as face information, payment account information, equipment identification, order information and the like, can be stored in the block chain.
Referring To fig. 2, fig. 2 is an optional structural diagram of the distributed system 200 applied To a blockchain system according To an embodiment of the present invention, and the distributed system is formed by a plurality of nodes 300 (any form of computing devices in an access network, such as servers and terminals) and a client 400, a Peer-To-Peer (P2P, Peer-To-Peer) network is formed between the nodes, and the P2P Protocol is an application layer Protocol running on top of a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Referring to the functions of each node in the blockchain system shown in fig. 2, the functions involved include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
and 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
Referring to fig. 3, fig. 3 is an optional schematic diagram of a Block Structure (Block Structure) provided in the 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 Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
Fig. 4 is a flowchart of an order display method according to an embodiment of the present application. Based on the interaction among the face terminal, the payment receiving device and the server, the server may be a merchant back-end server, referring to fig. 4, the method may include:
401. and after the face information of the second user is collected, 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 paid to the first user by the second user.
The face terminal is used for providing a face payment function for a second user, and the face terminal of the first user is in communication connection with the money collecting device of the first user. The first user may be a merchant and the second user may be a customer.
After the money receiving equipment generates an order for a customer, a second user can select a face payment mode on a face terminal to trigger a face payment instruction, and after the face terminal receives the face payment instruction, face information of the customer can be collected through a camera, wherein the face information can be a face image. The face terminal can send the face information to the payment back-end server, and the payment back-end server can confirm the identity information of the customer according to the face information and then acquire payment account information according to the identity information, wherein the payment account information can be in the form of a payment code, for example, a payment code is generated according to an account corresponding to the identity information.
402. And the face terminal sends the payment account information to the collection equipment.
The face terminal can send the payment account information to the collection device based on the 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 identifier of the collection device and the order information of the order.
The device identifier of the payment apparatus is used to uniquely identify the payment apparatus, and for example, the device identifier of the payment apparatus may be a device number. The order information of the order may include commodity information, payment amount, merchant information, order generation time, order number, and the like.
After receiving the payment account information, the receiving device may initiate a payment request for the order to the server in combination with the previously generated order and the device identifier of the receiving device, where the payment request carries the payment account information, the order information of the order, and the device identifier of the receiving device.
404. After receiving a payment request for an order from a collection device of a first user, a server establishes a corresponding relationship between a device identifier of the collection device and order information of the order.
After receiving the payment request, the server may establish a correspondence between the device identifier of the payment receiving device and the order information according to the device identifier of the payment receiving device and the order information carried in the payment request, and record the currently established correspondence in the server. For example, the server may store the correspondence to the blockchain.
Since the server may have received other payment requests before, the server may establish and record a corresponding relationship for the device identifier and the order information of the money receiving device carried in each payment request, so that the server may record at least one corresponding relationship.
After receiving the payment request, the server may establish the corresponding relationship, and may also complete payment of the order according to the payment request, for example, the server may send the payment request to a payment backend server, and the payment backend server transfers a target value to an account of the merchant from an account indicated by the payment account information, where the target value is a value to be paid by the order, that is, a payment amount.
405. The face terminal sends a query request to the server, and the query request carries the equipment identifier of the collection equipment.
Because the corresponding relation recorded by the server includes the corresponding relation between the equipment identifier of the money receiving equipment and the order information, the face terminal can carry the equipment identifier of the money receiving equipment in the query request and send the query request to the server so as to query the order information corresponding to the equipment identifier of the money receiving equipment.
In a possible implementation manner, the face terminal records an equipment identifier of a money receiving equipment currently connected to the face terminal, and the face terminal may obtain the equipment identifier recorded on the face terminal as the equipment identifier of the money receiving equipment before obtaining the order information of the order from the server according to the equipment identifier of the money receiving equipment.
The merchant employee can inquire the equipment identifier of the money collecting equipment on the money collecting equipment currently connected with the face terminal, then input the equipment identifier of the money collecting equipment on the face terminal, and when the equipment identifier of the money collecting equipment input on the face terminal is acquired, the face terminal can record the acquired equipment identifier. The face terminal can directly obtain the equipment identifier of the money collecting equipment from the local part by locally recording the equipment identifier of the money collecting equipment on the face terminal, so that the efficiency of obtaining the equipment identifier of the money collecting equipment by the face terminal is improved.
In a possible implementation manner, the running of the small program provided by the first user on the face terminal, where the small program is a program running depending on a host program, and accordingly, when the device identifier of the money receiving device input on the face terminal is obtained, the recording, by the face terminal, the obtained device identifier includes: displaying an interface of the small program, wherein the interface is used for prompting to input the equipment identifier of the money receiving equipment currently connected with the face terminal; and when the device identification of the money receiving device input on the interface is acquired, recording the acquired device identification.
The shop assistant of the merchant can open the small program on the face terminal, the face terminal can display a main interface of the small program, an entrance for inputting the equipment identification can be provided in the main interface, when the entrance is triggered, the face terminal can display an input interface, the shop assistant can input the equipment identification of the money receiving equipment currently connected with the face terminal in the input interface, and the face terminal can record the equipment identification input by the shop assistant into the small program.
In a possible implementation manner, in addition to the device identifier of the currently connected money collecting device, the device identifier of the historically connected money collecting device of the face terminal may also be recorded on the face terminal. In this case, before the face terminal obtains the order information of the order from the server according to the device identifier of the money receiving device, the face terminal may obtain, from the at least one device identifier, a device identifier whose timestamp is closest to the current time 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 money receiving device currently connected to the face terminal.
Considering that the face terminal may replace the connected money receiving device, after the face terminal is connected with one money receiving device, a clerk of a merchant may input the device identifier of the currently connected money receiving device on the face terminal, and the face terminal may record the device identifier of the money receiving device and stamp the currently recorded device identifier of the money receiving device, so that the face terminal may record the device identifier of at least one money receiving device and the timestamp of each device identifier, and 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 the device identifier is considered as the device identifier of the money receiving device currently connected with the face terminal.
It should be noted that steps 403 to 404 and step 405 do not represent a specific execution sequence, and steps 403 to 404 and step 405 may be executed sequentially or in parallel, that is, after the face terminal executes step 402, step 405 may be executed immediately, and as for whether the step 403 executed by the cash register device and the step 404 executed by the server occur before the face terminal executes step 405 or after the face terminal executes step 405, the present application is not limited in this embodiment.
406. When receiving a query request for the order from the face terminal, querying the corresponding relation according to the device identifier of the money receiving device carried in the query request, and returning the queried order information of the order to the face terminal.
The server may query the correspondence relationship established in step 404 according to the device identifier of the money receiving device carried in the query request, obtain order information corresponding to the device identifier of the money receiving device, and return the queried order information to the face terminal as a response to the query request. If the server stores at least one corresponding relationship, where the at least one corresponding relationship includes the corresponding relationship established in step 404, and accordingly, in a possible implementation manner, the querying, according to the device identifier of the money receiving device carried in the query request, of the corresponding relationship, 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 money receiving equipment carried in the inquiry request to obtain at least one order information, wherein the at least one corresponding relation comprises the corresponding relation between the equipment identifier of the money receiving equipment and the at least one order information; and screening out 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 history is not returned to the face terminal.
The server can find at least one corresponding relation containing the equipment identifier of the money receiving equipment from the recorded corresponding relations according to the equipment identifier of the money receiving 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 to the face terminal in history from the at least one order information, and return the order information to the face terminal. The order information is screened by setting the target conditions, so that the order information returned to the face terminal by the server is the current order information of the money collecting equipment.
In addition to the above implementation manner, the server may also screen out the corresponding relationship with the latest establishment time from the at least one corresponding relationship, which is considered as the corresponding relationship established in step 404, and then query the corresponding relationship according to the device identifier of the money receiving device carried in the query request, so as to obtain corresponding order information.
407. And the face terminal receives the order information of the order returned by the server based on the query request and the corresponding relation.
Step 405 and step 407 are one possible implementation manner for the face terminal to obtain the order information of the order from the server according to the device identifier of the money receiving device. Step 406 is one possible implementation manner of the server returning the order information of the order to the face terminal based on the query request and the corresponding relationship when receiving the query request for the order from the face terminal. The face terminal can receive the order information returned by the server by sending the query request to the server, and further can display the order information to the user, so that the requirement that the user sees the current paid order on the face terminal is met.
In a possible implementation manner, the face terminal may periodically send an inquiry request to the server until order information of the order returned by the server based on the inquiry request and the corresponding relationship is received, where the inquiry request carries the device identifier of the money receiving device.
The face terminal may periodically perform the query process from step 405 to step 407. For example, the face terminal may execute step 405 every preset time until order information returned by the server is received. After the face terminal executes step 402, step 405 may be immediately executed, at this time, the server may not execute step 404, so that the server cannot query the correspondence relationship established in step 404, and cannot return order information to the face terminal, therefore, the face terminal may execute step 405 again after a preset time interval until order information returned by the server is received. By regularly inquiring the order information from the server, once the server establishes the corresponding relation of the order information, the face terminal can acquire the order information as fast as possible.
In a possible implementation manner, the face terminal runs an applet provided by the first user, the applet is a program running in dependence on the 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 step that the face terminal obtains the order information of the order from the server according to the equipment identifier of the money receiving equipment comprises the following steps: and acquiring order information of the order from the server through the applet according to the equipment identifier of the money receiving equipment.
After the face terminal sends the payment account information to the collection equipment, the face terminal can return the payment account information to the applet in parallel, and the applet can inquire corresponding order information regularly according to the equipment identifier of the collection equipment. Referring to fig. 5, a flow chart of a scheme 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 payment receiving 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 payment receiving device, the payment receiving device may initiate a payment request to a server after receiving the payment account information, and the server may record a corresponding relationship between the device identifier of the payment receiving device and the order information in a Database (Database, DB). The small program on the face terminal can obtain corresponding order information from the server according to the equipment identifier of the money receiving equipment.
408. And the face terminal displays the 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 current payment order information.
The method and the device can be applied to a scene that the face terminal is matched with the cash register of the merchant for use, the face terminal and the cash register can be in communication connection through the USB line, plug and play is achieved, any transformation cost is not needed, and the merchant service can be in a self-closed loop. Aiming at the scene that a merchant has an applet, the process of displaying order information on the face terminal can be realized through the applet without involving too many development resources. On one hand, the payment experience of the customer on the face terminal can be improved, on the other hand, the real situation of the merchant is considered at the same time, and the development cost can be reduced.
According to the method provided by the embodiment of the application, the corresponding relation between the equipment identification of the collection equipment and the order information of the order is recorded in the server, the face terminal acquires the payment account information according to the acquired face information and then can send the payment account information to the collection equipment, the collection equipment initiates a payment request for the order to the server according to the payment account information, the face terminal can acquire and display the order information of the current payment from the server according to the equipment identification of the collection equipment, and the requirement that a customer sees the order of the current payment on the face terminal can be met.
Fig. 6 is a schematic structural diagram of an order display apparatus according to an embodiment of the present application. Referring to fig. 6, the apparatus includes:
the obtaining module 601 is configured to obtain payment account information according to face information of a second user after the face information of the second user is collected, where the payment account information is used to indicate an account paid by the second user to the first user;
a sending module 602, configured to send the payment account information to a receiving device, where the receiving 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 order information of the order from the server according to the device identifier of the receiving device, where the server records a corresponding relationship between the device identifier of the receiving device and the order information of the order;
and a display module 603, configured to display the obtained order information.
In a possible implementation manner, the face terminal records an equipment identifier of a money receiving equipment currently connected with the face terminal;
the obtaining module 601 is further configured to obtain a device identifier recorded on the face terminal, as the device identifier of the money receiving device.
In a possible implementation manner, the face terminal also records an equipment identifier of a cash collecting device which is historically connected with the face terminal;
the obtaining module 601 is further configured to obtain, according to a timestamp of at least one device identifier recorded on the face terminal, a device identifier with a timestamp closest to a current time from the at least one device identifier, as the device identifier of the money receiving device.
In one possible implementation, the apparatus further includes:
and the recording module is used for recording the acquired equipment identifier when the equipment identifier of the money receiving equipment input on the face terminal is acquired.
In one possible implementation manner, the face terminal runs an applet provided by the first user, and the applet runs in dependence on the host program; the recording module is used for:
displaying an interface of the small program, wherein the interface is used for prompting to input the equipment identifier of the money receiving equipment currently connected with the face terminal;
and when the device identification of the money receiving device input on the interface is acquired, recording the acquired device identification.
In one possible implementation manner, the face terminal runs an applet provided by the first user, and the applet runs in dependence on the host program;
the sending module 602 is further configured to send the payment account information to the applet;
the obtaining module 601 is configured to obtain order information of the order from the server through the applet according to the device identifier of the payment receiving device.
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 money receiving equipment;
and receiving order information of the order returned by the server based on the query request and the corresponding relation.
In one possible implementation, the obtaining module 601 is configured to:
and sending a query request to the server periodically until order information of the order returned by the server based on the query request and the corresponding relation is received, wherein the query request carries the equipment identifier of the money receiving equipment.
Fig. 7 is a schematic structural diagram of an order display apparatus 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 receiving device of a first user, where the payment request carries payment account information, a device identifier of the receiving device, and order information of the order, the payment account information is obtained according to face information of a second user collected by a face terminal of the first user, and the payment account information is used to indicate an account paid by the second user to the first user;
an establishing module 702, configured to establish a correspondence between the device identifier of the cash collecting device and the 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 corresponding relationship, where the query request carries the device identifier of the money receiving device;
the money receiving device is in communication connection with the face terminal, and the face terminal is used for providing a face payment function for the second user.
In a possible implementation manner, the sending module 703 is configured to, when receiving an inquiry request for the order from the face terminal, inquire the corresponding relationship according to the device identifier of the money receiving device carried in the inquiry request, and return the inquired 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 money receiving 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 money receiving equipment and the at least one order information;
and screening out 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 history is not returned to the face terminal.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
It should be noted that: in order display, the order display apparatus provided in the above embodiment is only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the order display device and the order display method provided by the above embodiments belong to the same concept, and the specific implementation process is described in detail in the method embodiments and is not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device 800 provided in an embodiment of the present application, where the electronic device 800 may be provided as a face terminal or a server, and the electronic device 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the memories 802 store at least one instruction, and the at least one instruction is loaded and executed by the processors 801 to implement the methods provided by the foregoing method embodiments. Of course, the electronic device may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the electronic device may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, a computer readable storage medium is also provided, such as a memory including at least one instruction, at least one program, set of codes, or set of instructions that is loadable and executable by a processor to perform the order display method of the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random-access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an 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 instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.
Claims (10)
1. An order display method is characterized in that the order display method 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 money receiving device of the first user, and the method comprises the following steps:
after the face information of the second user is collected, acquiring payment account information according to the face information, wherein the payment account information is used for indicating an account paid to the first user by the second user;
sending the payment account information to the collection equipment, and initiating a payment request for the order to a server by the collection equipment according to the payment account information;
according to the equipment identification of the money receiving equipment, obtaining order information of the order from the server, wherein the server records the corresponding relation between the equipment identification of the money receiving equipment and the order information of the order;
and displaying the acquired order information.
2. The method according to claim 1, characterized in that the face terminal records the device identifier of the money receiving device currently connected with the face terminal;
before the obtaining the order information of the order from the server according to the device identifier of the money receiving device, the method further includes:
and acquiring the equipment identifier recorded on the face terminal as the equipment identifier of the money collecting equipment.
3. The method according to claim 2, wherein before the obtaining of the device identifier recorded on the face terminal, the method further comprises:
and when the equipment identification of the money receiving equipment input on the face terminal is acquired, recording the acquired equipment identification.
4. The method according to claim 3, wherein an applet provided by the first user is run on the face terminal, and the applet is a program running depending on a host program;
when the device identifier of the money receiving device input on the face terminal is obtained, recording the obtained device identifier, including:
displaying an interface of the small program, wherein the interface is used for prompting to input an equipment identifier of a money receiving equipment currently connected with the face terminal;
and when the device identification of the money receiving device input on the interface is acquired, recording the acquired device identification.
5. The method according to claim 1, wherein an applet provided by the first user is run on the face terminal, and the applet is a program running depending on a host program;
after the payment account information is acquired according to the face information, the method further comprises the following steps:
sending the payment account information to the applet;
the obtaining the order information of the order from the server according to the device identifier of the money receiving device includes:
and acquiring order information of the order from the server through the applet according to the equipment identifier of the money receiving equipment.
6. An order display method is applied to a server, and comprises the following steps:
receiving a payment request for an order form from a collection device of a first user, wherein the payment request carries payment account information, a device identifier of the collection device and the order form information of the order form, the payment account information is obtained according to face information of a second user collected by a face terminal of the first user, and the payment account information is used for indicating an account number paid to the first user by the second user;
establishing a corresponding relation between the equipment identifier of the money receiving equipment and the order information of the order;
when receiving a query request for the order form from the face terminal, returning order form information of the order form to the face terminal based on the query request and the corresponding relation, wherein the query request carries the equipment identification of the money receiving equipment;
the money receiving equipment is in communication connection with the face terminal, and the face terminal is used for providing a face payment function for the second user.
7. An order display apparatus, comprising:
the acquisition module is used for acquiring payment account information according to the face information after the face information of a second user is acquired, wherein the payment account information is used for indicating an account paid to the first user by the second 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 the order to the server according to the payment account information;
the acquisition module is further configured to acquire order information of the order from the server according to the device identifier of the money receiving device, where the server records a correspondence between the device identifier of the money receiving device and the order information of the order;
and the display module is used for displaying the acquired order information.
8. An order display apparatus, comprising:
the receiving module is used for receiving a payment request for an order form from a receiving device of a first user, wherein the payment request carries payment account information, a device identifier of the receiving device and the order form information of the order form, the payment account information is obtained according to face information of a second user, which is acquired by a face terminal of the first user, and the payment account information is used for indicating an account number paid to the first user by the second user;
the establishment module is used for establishing a corresponding relation between the equipment identifier of the money receiving equipment and the order information of the order;
a sending module, 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 a device identifier of the money receiving device;
the money receiving equipment is in communication connection with the face terminal, and 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, wherein at least one instruction, at least one program, set of codes, or set of instructions is stored in the memory, and wherein the at least one instruction, at least one program, set of codes, or set of instructions is loaded and executed by the processor to implement the order display method according to any of claims 1 to 6.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the order display method of any of claims 1 to 6.
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 true CN110599150A (en) | 2019-12-20 |
CN110599150B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112270424A (en) * | 2020-10-16 | 2021-01-26 | 南京领行科技股份有限公司 | Order processing method and device, electronic equipment and storage medium |
CN112598406A (en) * | 2020-12-21 | 2021-04-02 | 中国工商银行股份有限公司 | Automatic payment substituting method based on protocol, acquiring bank server and system |
CN112819582A (en) * | 2021-02-04 | 2021-05-18 | 苏州达家迎信息技术有限公司 | Order data display method and device, storage medium and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599122A (en) * | 2013-10-31 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Quick payment method, related equipment and related system |
US20170195323A1 (en) * | 2014-09-26 | 2017-07-06 | Alibaba Group Holding Limited | Method and device for information interaction and association between human biological feature data and account |
CN109118215A (en) * | 2018-06-12 | 2019-01-01 | 阿里巴巴集团控股有限公司 | payment processing method, device and server |
CN109377234A (en) * | 2018-09-20 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of brush face method of payment and equipment |
CN110135823A (en) * | 2019-04-09 | 2019-08-16 | 浙江禾平数据技术有限公司 | Order processing method, apparatus, computer equipment and readable storage medium storing program for executing |
CN110163588A (en) * | 2018-06-21 | 2019-08-23 | 腾讯科技(深圳)有限公司 | A kind of payment system, method, apparatus and readable 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 |
-
2019
- 2019-09-11 CN CN201910860288.2A patent/CN110599150B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599122A (en) * | 2013-10-31 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Quick payment method, related equipment and related system |
US20170195323A1 (en) * | 2014-09-26 | 2017-07-06 | Alibaba Group Holding Limited | Method and device for information interaction and association between human biological feature data and account |
CN109118215A (en) * | 2018-06-12 | 2019-01-01 | 阿里巴巴集团控股有限公司 | payment processing method, device and server |
CN110163588A (en) * | 2018-06-21 | 2019-08-23 | 腾讯科技(深圳)有限公司 | A kind of payment system, method, apparatus and readable medium |
CN109377234A (en) * | 2018-09-20 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of brush face method of payment and equipment |
CN110135823A (en) * | 2019-04-09 | 2019-08-16 | 浙江禾平数据技术有限公司 | Order processing method, apparatus, computer equipment and readable storage medium storing program for executing |
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112270424A (en) * | 2020-10-16 | 2021-01-26 | 南京领行科技股份有限公司 | Order processing method and device, electronic equipment and storage medium |
CN112270424B (en) * | 2020-10-16 | 2022-06-21 | 南京领行科技股份有限公司 | Order processing method and device, electronic equipment and storage medium |
CN112598406A (en) * | 2020-12-21 | 2021-04-02 | 中国工商银行股份有限公司 | Automatic payment substituting method based on protocol, acquiring bank server and system |
CN112819582A (en) * | 2021-02-04 | 2021-05-18 | 苏州达家迎信息技术有限公司 | Order data display method and device, storage medium and electronic equipment |
CN112819582B (en) * | 2021-02-04 | 2022-09-09 | 苏州达家迎信息技术有限公司 | Order data display method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110599150B (en) | 2023-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110570179B (en) | Order display method, device, equipment and storage medium | |
CN110471986B (en) | Bill real name getting method and device based on block chain and electronic equipment | |
US10157375B2 (en) | Alternative payment implementation for electronic retailers | |
CN110599150B (en) | Order display method, device, equipment and storage medium | |
CN110910230A (en) | Accounting method, accounting system and storage medium | |
CN109598598A (en) | Transaction processing method and device, electronic equipment based on block chain | |
CN111507717B (en) | Data processing method, device, block node and computer readable storage medium | |
CN112613877B (en) | Intelligent contract triggering method and device applied to block chain network and related equipment | |
CN110597922B (en) | Data processing method, device, terminal and storage medium | |
CN112561510A (en) | Payment system, method, device, equipment and storage medium | |
CN110598934A (en) | Method for recommending shopping routes and related device | |
CN110955724A (en) | Data processing method and device based on block chain, node equipment and storage medium | |
CN113935507A (en) | Foreign currency cash exchange reservation method and device based on block chain | |
CN115374175A (en) | Method and device for tracking task execution progress based on micro-service architecture | |
CN110599170B (en) | Transaction information processing method and system based on block chain and storage medium | |
CN115795552A (en) | Authority management method, device, nonvolatile storage medium and electronic equipment | |
CN111415238A (en) | Tax management method and device based on block chain and computer storage medium | |
CN111008251A (en) | Data processing method and equipment | |
CN113139748A (en) | Service information recommendation method and device, electronic equipment and storage medium | |
CN110599272B (en) | Method for issuing electronic invoice and related products | |
CN111047248A (en) | Resource transfer method, device, server and storage medium | |
CN113095821A (en) | Method and device for interaction of property rights | |
CN113919827A (en) | Virtual resource account creating method and device, storage medium and electronic equipment | |
CN113643032A (en) | Information processing method and device based on block chain and data management system | |
US20200013080A1 (en) | Distributed incentive management |
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 |