CN117217751A - Card swiping payment method, device, computer equipment, storage medium and program product - Google Patents

Card swiping payment method, device, computer equipment, storage medium and program product Download PDF

Info

Publication number
CN117217751A
CN117217751A CN202311211231.2A CN202311211231A CN117217751A CN 117217751 A CN117217751 A CN 117217751A CN 202311211231 A CN202311211231 A CN 202311211231A CN 117217751 A CN117217751 A CN 117217751A
Authority
CN
China
Prior art keywords
target
payment
mobile terminal
shopping cart
identifier
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.)
Pending
Application number
CN202311211231.2A
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202311211231.2A priority Critical patent/CN117217751A/en
Publication of CN117217751A publication Critical patent/CN117217751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present application relates to the field of artificial intelligence technology, and in particular, to a card swiping payment method, apparatus, computer device, storage medium, and program product. The method comprises the following steps: receiving a payment request instruction sent by a pos machine, wherein the payment request instruction carries target payment attribute information; inquiring a first information binding database according to the target payment attribute information to obtain a first inquiry result, wherein the first information binding database stores a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification; determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to the target mobile terminal based on the target mobile terminal identifier; and receiving a payment password input by the target mobile terminal based on the password input request, and forwarding the payment password to the pos machine so that the pos machine can execute a payment flow based on the payment password. By adopting the method, the problem that the customers wait before the cash register table all the time, and queuing is blocked when the customers are too many, is avoided.

Description

Card swiping payment method, device, computer equipment, storage medium and program product
Technical Field
The present application relates to the field of artificial intelligence technology, and in particular, to a card swiping payment method, apparatus, computer device, storage medium, and program product.
Background
At present, although the two-dimension code payment mode is common, the payment mode of using pos machine to swipe a bank card is still not few, especially to swipe a credit card, because the credit card has a larger pre-payment amount.
In the process of purchasing by consumers and using pos machines to swipe bank cards, the consumers generally wait for cashiers to input goods into a cashing system, insert the bank cards into the pos machines, and input passwords on the pos machines to finish payment. This payment process requires the consumer to wait all the time before the checkout counter and, therefore, causes some queuing congestion when the consumer is too many.
Disclosure of Invention
Based on this, it is necessary to provide a card swiping payment method, apparatus, computer device, computer readable storage medium and program product in view of the above technical problems.
In a first aspect, the present application provides a card swiping payment method. Applied to a server, the method comprises the following steps: receiving a payment request instruction sent by a pos machine, wherein the payment request instruction carries target payment attribute information; inquiring a first information binding database according to the target payment attribute information to obtain a first inquiry result, wherein the first information binding database stores a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification; determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to the target mobile terminal based on the target mobile terminal identifier; and receiving a payment password input by the target mobile terminal based on the password input request, and forwarding the payment password to the pos machine so that the pos machine can execute a payment process based on the payment password.
In one embodiment, before receiving the payment request command sent by the pos machine, the method further includes: receiving commodity cashing information corresponding to the target shopping cart, which is sent by a cashing system; inquiring a second information binding database according to the target shopping cart identification of the target shopping cart to obtain a second inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the mobile terminal identification are stored in the second information binding database; and determining a target mobile terminal identifier corresponding to the target shopping cart identifier according to the second query result, and sending commodity cashing information to the target mobile terminal based on the target mobile terminal identifier, wherein the commodity cashing information is used for indicating a pos machine to send a payment amount carried by a payment request instruction.
In one embodiment, after forwarding the payment password to the pos machine for the pos machine to perform a payment procedure based on the payment password, the method further comprises: receiving a first shopping cart identification sent by a target mobile terminal; judging whether the first shopping cart identifier is consistent with the target shopping cart identifier; if the information is consistent with the target shopping cart identification, inquiring a third information binding database according to the target shopping cart identification to obtain a third inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the intelligent lock identification are stored in the third information binding database; and determining a target intelligent lock identifier corresponding to the target shopping cart identifier according to the third query result, and sending an unlocking instruction to the target intelligent lock based on the target intelligent lock identifier, wherein the unlocking instruction is used for indicating the target intelligent lock to unlock the process, so that a target user can take out goods from the target shopping cart.
In one embodiment, after sending the unlocking instruction to the target smart lock based on the target smart lock identification, the method further includes: receiving an unbinding instruction sent by a target camera, wherein the unbinding instruction carries a target camera identifier of the target camera; inquiring a fourth information binding database according to the target camera identification to obtain a fourth inquiry result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the camera identification are stored in the fourth information binding database; and determining a target shopping cart identifier corresponding to the target camera identifier according to the fourth query result, and deleting the corresponding relation between the target shopping cart identifier and the target mobile terminal identifier stored in the second information binding database based on the target shopping cart identifier so as to unbind the target shopping cart identifier and the target mobile terminal.
In a second aspect, the present application provides a card swiping payment method. The method is applied to the mobile terminal and comprises the following steps: receiving a password input request sent by a server, wherein the password input request is sent after the server receives a payment request instruction sent by a pos machine, and the payment request instruction carries target payment attribute information; displaying target payment attribute information and a digital panel on an interface of a target mobile terminal; and receiving a payment password input by the target user through the digital panel based on the target payment attribute information, and sending the payment password to the server, so that the server forwards the payment password to the pos machine, and the pos machine executes a payment process based on the payment password.
In one embodiment, before receiving the password input request sent by the server, the method further includes: and receiving commodity cashing information sent by the server, and displaying commodity cashing information on an interface of the target mobile terminal, wherein the commodity cashing information is used for indicating a pos machine to send a payment amount carried by a payment request instruction.
In one embodiment, after sending the payment password to the server, the method further comprises: and acquiring the first shopping cart identifier, and sending the first shopping cart identifier to a server so that the server can judge whether the first shopping cart identifier is consistent with the target shopping cart identifier or not.
In a third aspect, the application further provides a card swiping payment device. Applied to a server, the apparatus comprising: the first receiving module is used for receiving a payment request instruction sent by the pos machine, wherein the payment request instruction carries target payment attribute information; the determining module is used for inquiring the first information binding database according to the target payment attribute information to obtain a first inquiring result, and a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification are stored in the first information binding database; the first sending module is used for determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to the target mobile terminal based on the target mobile terminal identifier; and the second sending module is used for receiving the payment password input by the target mobile terminal based on the password input request and forwarding the payment password to the pos machine so that the pos machine can execute a payment flow based on the payment password.
In a fourth aspect, the application further provides a card swiping payment device. The device is applied to the mobile terminal, and comprises: the second receiving module is used for receiving a password input request sent by the server, wherein the password input request is sent after the server receives a payment request instruction sent by the pos machine, and the payment request instruction carries target payment attribute information; the display module is used for displaying the target payment attribute information and the digital panel on the interface of the target mobile terminal; and the third sending module is used for receiving the payment password input by the target user through the digital panel based on the target payment attribute information and sending the payment password to the server so that the server forwards the payment password to the pos machine, and the pos machine executes a payment process based on the payment password.
In a fifth aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of any one of the methods described above when the processor executes the computer program.
In a sixth aspect, the present application also provides a computer readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the preceding claims.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of the preceding claims.
According to the card swiping payment method, device, computer equipment, storage medium and program product, the server receives the payment request instruction carrying the target payment attribute information sent by the pos machine, then queries the first information binding database according to the target payment attribute information to obtain the first query result, the first information binding database stores a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identifiers, determines the target mobile terminal identifiers corresponding to the target payment attribute information according to the first query result, sends a password input request to the target mobile terminal based on the target mobile terminal identifiers, then receives the payment passwords input by the target mobile terminal based on the password input request, and forwards the payment passwords to the pos machine for the pos machine to execute a payment process based on the payment passwords, so that the pos machine swiping payment is completed without inputting the passwords on the pos machine, and the problem that customers wait for queuing congestion is avoided when the number of the customers is too large in the payment process.
Drawings
FIG. 1 is an application environment diagram of a swipe payment method in one embodiment;
FIG. 2 is a flow chart of a method of swipe payment in one embodiment;
FIG. 3 is a flow diagram of another method of swipe payment in one embodiment;
FIG. 4 is a block diagram of a swipe payment device, in one embodiment;
FIG. 5 is a block diagram of another swipe payment device in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The card swiping payment method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the mobile terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 receives a payment request instruction sent by the pos machine, the payment request instruction carries target payment attribute information, then queries a first information binding database according to the target payment attribute information to obtain a first query result, the first information binding database stores multiple groups of corresponding relations between the payment attribute information and the mobile terminal identifiers, determines a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, sends a password input request to the target mobile terminal 102 based on the target mobile terminal identifier, receives a payment password input by the target mobile terminal 102 based on the password input request, and forwards the payment password to the pos machine for the pos machine to execute a payment process based on the payment password. The target mobile terminal 102 may be, but not limited to, various smart phones, tablet computers, and portable wearable devices, which may be smart watches, smart bracelets, headsets, etc. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a flow chart of a card swiping payment method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
step 201, a payment request instruction sent by a pos machine is received, wherein the payment request instruction carries target payment attribute information.
The pos machine is a terminal device for merchant collection in the market. The target payment attribute information includes a bank card number, a bank card name, a bank card type (e.g., a deposit card or a credit card), and a payment amount.
Optionally, when the cashier inserts the bank card in the target shopping cart into the pos machine, inputs the payment amount on the pos machine, and clicks the confirmation button on the pos machine, the pos machine sends a payment request instruction carrying the target payment attribute information to the server, so that the server receives the payment request instruction sent by the pos machine.
Step 202, inquiring a first information binding database according to the target payment attribute information to obtain a first inquiry result, wherein a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification are stored in the first information binding database.
Wherein the mobile terminal identification includes at least one of a terminal IP address and a card number of a SIM card inserted on the mobile terminal. The first query result may be the terminal IP address, or may be the card number of the SIM card inserted into the mobile terminal.
Optionally, after receiving the payment request instruction, the server queries in the first information binding database according to the target payment attribute information in the payment request instruction, for example, queries the first information binding database according to the card number of the bank card, binds the card number of the SIM card inserted in the mobile terminal with the card number of the bank card, and obtains the first query result.
And 203, determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to the target mobile terminal based on the target mobile terminal identifier.
Optionally, after obtaining the first query result, the server may determine the target mobile terminal identifier according to the first query result, and then send a password input request to the target mobile terminal.
And 204, receiving the payment password input by the target mobile terminal based on the password input request, and forwarding the payment password to the pos machine so that the pos machine can execute a payment process based on the payment password.
Optionally, after receiving the password input request, the target mobile terminal prompts the target user to input a payment password, and when the target mobile terminal detects the input payment password, the payment password is sent to the server, so that the server receives the payment password sent by the target mobile terminal, and then the server sends the received payment password to the pos machine, so that the pos machine can execute a normal payment process based on the payment password, such as sending a deduction amount (payment amount) to an issuing bank, printing a bill, and the like.
In addition, after the pos machine does not receive the payment password within the time threshold, the pos machine outputs payment failure information to prompt the cashier that the payment of the commodity in the target shopping cart is unsuccessful. When the cashier sees that the pos machine outputs the payment failure information, an order number output instruction is input to the cash register, after the cash register receives the order number output instruction, the order number is output, the order number is sent to the server, the server forwards the order number to the target mobile terminal, and the target user can input a payment password on the pos machine again according to the order number to the cash register so as to enable the pos machine to execute a payment flow based on the payment password.
In summary, the server receives the payment request instruction carrying the target payment attribute information sent by the pos machine, then queries the first information binding database according to the target payment attribute information to obtain the first query result, the first information binding database stores multiple groups of corresponding relations between the payment attribute information and the mobile terminal identifiers, determines the target mobile terminal identifiers corresponding to the target payment attribute information according to the first query result, sends a password input request to the target mobile terminal based on the target mobile terminal identifiers, then receives the payment password input by the target mobile terminal based on the password input request, and forwards the payment password to the pos machine for the pos machine to execute the payment process based on the payment password, so that the pos machine swipe card payment is completed without inputting the password on the pos machine, and in the payment process, the problem of queuing congestion caused by too many consumers is avoided without waiting until the cash registering is required.
In one embodiment, before receiving the payment request command sent by the pos machine, the method further includes the steps of:
step 110, receiving commodity cashing information corresponding to the target shopping cart, which is sent by a cashing system;
the cashier system comprises a scanning gun, a code scanner and a cash register, wherein the scanning gun and the code scanner are connected with the cash register; the scanning gun is used for scanning a bar code on the commodity to obtain commodity cashing information, the code scanning device is used for scanning a two-dimensional code on the shopping cart to obtain a shopping cart identification, and the radio is used for displaying the commodity cashing information and sending the commodity cashing information and the shopping cart identification to the server. The shopping cart is a physical cart, and commodity cashing information comprises commodity names, commodity quantity, commodity price and the like.
Optionally, after scanning the two-dimensional code on the target shopping cart by the camping staff through the code scanner, obtaining the target shopping cart identification, and uploading the target shopping cart identification to the server through the cash register. After scanning the bar code on the commodity in the target shopping cart by the cashier, obtaining commodity cashing information, and uploading the commodity cashing information to the server through the cash register, so that the server receives the target shopping cart identification and the commodity cashing information.
Step 111, inquiring a second information binding database according to the target shopping cart identification of the target shopping cart to obtain a second inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the mobile terminal identification are stored in the second information binding database.
The method comprises the steps that a plurality of groups of corresponding relations between shopping cart identifications and mobile terminal identifications are derived from a plurality of users, different mobile terminals scan two-dimensional codes on different shopping carts to obtain different shopping cart identifications, the different mobile terminals upload the mobile terminal identifications and the shopping cart identifications to a server, and the server stores the mobile terminal identifications and the shopping carts uploaded by each mobile terminal as a group of corresponding relations to a second information binding database, so that the purpose of binding the shopping carts with the mobile terminals is achieved.
Optionally, the server queries in the second information binding database according to the target shopping cart identifier, and because the second information binding database stores multiple sets of corresponding relations between the shopping cart identifier and the mobile terminal identifier, the server can query the unique mobile terminal identifier according to the target shopping cart identifier, and thus a second query result is obtained.
And step 112, determining a target mobile terminal identifier corresponding to the target shopping cart identifier according to the second query result, and sending commodity cashing information to the target mobile terminal based on the target mobile terminal identifier, wherein the commodity cashing information is used for indicating a pos machine to send a payment amount carried by a payment request instruction.
Optionally, the server uses the second query result as the target mobile terminal identifier, and then sends the commodity cashing information to the target mobile terminal based on the target mobile terminal identifier, wherein the sum of all commodity prices included in the commodity cashing information is the payment amount, and therefore the cashier inputs the payment amount to the pos machine based on the commodity in the commodity cashing information.
In this embodiment, since the server receives the commodity cashing information corresponding to the target shopping cart sent by the cashing system and sends the commodity cashing information to the target mobile terminal, when the target user puts the commodity and the bank card which want to be purchased into the target shopping cart, the target shopping cart is only required to be pushed to the payment area, the payment progress can be checked on the target mobile terminal, that is, whether the commodity cashing information is displayed or not, and the pos machine card swiping payment is completed on the target mobile terminal, so that queuing waiting at a cash desk is not required, and the problem of queuing congestion caused when too many consumers are avoided.
In one embodiment, after forwarding the payment password to the pos machine for the pos machine to perform a payment procedure based on the payment password, the method further comprises the steps of:
Step 210, receiving a first shopping cart identification sent by a target mobile terminal.
Optionally, after the cashier checks that the pos machine has executed the payment process, that is, after the pos machine prints out the bill, the bank card of the target user and the commodity in the target shopping cart are placed in the target shopping cart together, and locking operation is performed on the intelligent lock on the target shopping cart to lock the target shopping cart, so that the target shopping cart cannot be opened.
When the target user inputs a payment password to the target mobile terminal, and then the commodity extraction area is removed to extract the shopping commodity, the target mobile terminal is required to scan the two-dimensional code on the first shopping cart again to obtain the first shopping cart identification, and then the target mobile terminal uploads the first shopping cart identification to the server, so that the server receives the first shopping cart identification sent by the target mobile terminal.
Step 211, determining whether the first shopping cart identifier is consistent with the target shopping cart identifier.
Optionally, after receiving the first shopping cart identifier sent by the target mobile terminal, the server queries the second information binding database according to the target mobile terminal identifier of the target mobile terminal to obtain a target shopping cart identifier corresponding to the target mobile terminal identifier, and then compares the first shopping cart identifier with the target shopping cart identifier to judge whether the first shopping cart identifier is consistent with the target shopping cart identifier, and if so, the first shopping cart indicating that the target user is ready to unlock is the target shopping cart; if the first shopping cart is inconsistent, the first shopping cart is not the target shopping cart, and the first shopping cart is unlocked, the server sends error information to the target mobile terminal, wherein the error information is used for indicating commodities purchased by the non-target commodity users in the first shopping cart, and the situation that a consumer extracts the purchased commodities from the commodity extraction area in an extraction error mode is avoided.
And step 212, if the target shopping cart identification is consistent, inquiring a third information binding database according to the target shopping cart identification to obtain a third inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the intelligent lock identification are stored in the third information binding database.
The intelligent lock is a lock inserted with the SIM card, and the intelligent lock identification refers to the card number of the SIM card on the intelligent lock.
Optionally, when the server receives the first shopping cart identifier and judges that the first shopping cart identifier is consistent with the target shopping cart identifier, the server queries in the third information binding database according to the target shopping cart identifier to obtain an intelligent lock identifier corresponding to the target shopping cart identifier, that is, to obtain a third query result.
Step 213, determining a target intelligent lock identifier corresponding to the target shopping cart identifier according to the third query result, and sending an unlocking instruction to the target intelligent lock based on the target intelligent lock identifier, wherein the unlocking instruction is used for indicating the target intelligent lock to unlock the process, so that the target user can take out the commodity from the target shopping cart.
Optionally, the server takes the third query result as a target intelligent lock identifier, then sends an unlocking instruction to the target intelligent lock based on the target intelligent lock identifier, after the target intelligent lock obtains the unlocking instruction, performs unlocking operation, and after the target user waits for the target intelligent lock to be unlocked, the purchased commodity can be taken out from the target shopping cart.
In one embodiment, after sending an unlocking instruction to the target smart lock based on the target smart lock identification, the method further comprises the steps of:
step 310, receiving an unbinding instruction sent by the target camera, wherein the unbinding instruction carries the target camera identifier of the target camera.
Optionally, a camera is arranged on the shopping cart, after the commodity in the target shopping cart is taken out, the target camera on the target shopping cart can detect that the target shopping cart is empty, and at the moment, the target camera can send an unbinding instruction carrying the target camera identifier to the server, so that the server can receive the unbinding instruction sent by the target camera.
Step 311, inquiring a fourth information binding database according to the target camera identification to obtain a fourth inquiry result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the camera identification are stored in the fourth information binding database.
Optionally, after receiving the unbinding instruction sent by the target camera, the server queries in a fourth information binding database according to the target camera identifier in the unbinding instruction, and because multiple sets of corresponding relations between the shopping cart identifier and the camera identifier are stored in the fourth information binding database, the target shopping cart identifier can be queried according to the target camera identifier, that is, a fourth query result is obtained.
Step 312, determining a target shopping cart identifier corresponding to the target camera identifier according to the fourth query result, and deleting the corresponding relation between the target shopping cart identifier and the target mobile terminal identifier stored in the second information binding database based on the target shopping cart identifier, so as to unbind the target shopping cart identifier and the target mobile terminal.
Optionally, the server takes the third query result as the target shopping cart identifier, queries in the second binding data according to the target shopping cart identifier to obtain a corresponding relationship between the target shopping cart identifier and the target mobile terminal identifier, and deletes the corresponding relationship to achieve the aim of unbinding the target shopping cart identifier and the target mobile terminal.
In this embodiment, the binding between the target shopping cart identifier and the target mobile terminal is removed through the camera on the shopping cart, so that the next user can smoothly use the target shopping cart.
In another embodiment, as shown in fig. 3, a flow chart of another card swiping payment method is provided. The method is applied to the mobile terminal and comprises the following steps:
step 301, a password input request sent by a server is received, wherein the password input request is sent by the server after receiving a payment request instruction sent by a pos machine, and the payment request instruction carries target payment attribute information.
Optionally, after receiving the payment request instruction sent by the pos machine, the server sends a password input request to the target mobile terminal according to the target payment attribute information carried in the payment request instruction, so that the target mobile terminal receives the password input request sent by the server, and the password input request also carries the target payment attribute information.
And 302, displaying the target payment attribute information and the digital panel on an interface of the target mobile terminal.
Optionally, after receiving the password input request, the target mobile terminal displays the target payment attribute information on an interface of the target mobile terminal, so that the target user can know which bank card is used for payment. The interface of the target mobile terminal is also provided with a digital panel for the target user to input a payment password.
In step 303, the payment password input by the target user through the digital panel based on the target payment attribute information is received, and the payment password is sent to the server, so that the server forwards the payment password to the pos machine, and the pos machine executes the payment process based on the payment password.
Optionally, after the target mobile terminal detects the payment password input by the target user, the payment password is sent to the server, and when the server forwards the payment password to the pos machine, the pos machine executes a payment flow based on the payment password, so that the pos machine swipe card payment can be completed.
In summary, the target mobile terminal receives the password input request sent by the server, where the password input request is sent by the server after receiving the payment request instruction sent by the pos machine, the payment request instruction carries the target payment attribute information, then displays the target payment attribute information and the digital panel on the interface of the target mobile terminal, then receives the payment password input by the target user through the digital panel based on the target payment attribute information, and sends the payment password to the server, so that the server forwards the payment password to the pos machine to allow the pos machine to execute the payment process based on the payment password, thereby avoiding the problem of queuing congestion caused when the number of consumers is too large in the payment process without the need of the consumers waiting for the cash desk all the time.
In one embodiment, before receiving the password input request sent by the server, the method further includes: and receiving commodity cashing information sent by the server, and displaying commodity cashing information on an interface of the target mobile terminal, wherein the commodity cashing information is used for indicating a pos machine to send a payment amount carried by a payment request instruction.
Optionally, when the cashier starts to scan the goods in the target shopping cart, the cashier sends the goods cashing information to the server, the server sends the goods cashing information to the target mobile terminal, so that the target mobile terminal receives the goods cashing information sent by the server and displays the goods cashing information on an interface of the target mobile terminal, so as to prompt the target user that the goods are in scanning, and the target user can check the goods details.
In one embodiment, after sending the payment password to the server, the method further comprises: and acquiring the first shopping cart identifier, and sending the first shopping cart identifier to a server so that the server can judge whether the first shopping cart identifier is consistent with the target shopping cart identifier or not.
Optionally, when the target user inputs a payment password to the target mobile terminal and goes to the commodity extraction area to fetch the purchased commodity, the target user needs to scan the two-dimensional code on the first shopping cart again by using the target mobile terminal, so that the target mobile terminal can acquire the first shopping cart identifier, then the target mobile terminal uploads the first shopping cart identifier to the server, the server can judge whether the first shopping cart identifier is consistent with the target shopping cart identifier, and if so, the server can send an unlocking instruction to the target intelligent lock on the target shopping cart so that the target user can fetch the commodity from the target shopping cart.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a card swiping payment device for realizing the card swiping payment method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the card swiping payment device or devices provided below may be referred to the limitation for card swiping payment above, and will not be repeated here.
In one embodiment, as shown in fig. 4, there is provided a block diagram of a card swiping payment device, applied to a server, the card swiping payment device 400 includes: a first receiving module 401, a determining module 402, a first transmitting module 403, and a second transmitting module 404, wherein:
a first receiving module 401, configured to receive a payment request instruction sent by a pos machine, where the payment request instruction carries target payment attribute information;
the determining module 402 is configured to query a first information binding database according to the target payment attribute information to obtain a first query result, where multiple sets of correspondence between payment attribute information and mobile terminal identifiers are stored in the first information binding database;
a first sending module 403, configured to determine, according to the first query result, a target mobile terminal identifier corresponding to the target payment attribute information, and send a password input request to the target mobile terminal based on the target mobile terminal identifier;
The second sending module 404 is configured to receive the payment password input by the target mobile terminal based on the password input request, and forward the payment password to the pos machine, so that the pos machine executes the payment procedure based on the payment password.
In one embodiment, the first receiving module 401 is further configured to receive commodity cashing information corresponding to the target shopping cart sent by the cashing system; the determining module 402 is further configured to query a second information binding database according to a target shopping cart identifier of the target shopping cart, to obtain a second query result, where a plurality of sets of correspondence between the shopping cart identifier and the mobile terminal identifier are stored in the second information binding database; the first sending module 403 is further configured to determine, according to the second query result, a target mobile terminal identifier corresponding to the target shopping cart identifier, and send commodity cashing information to the target mobile terminal based on the target mobile terminal identifier, where the commodity cashing information is used to instruct the pos machine to send a payment amount carried by the payment request instruction.
In one embodiment, the first receiving module 401 is further configured to receive a first shopping cart identifier sent by the target mobile terminal; the determining module 402 is further configured to determine whether the first shopping cart identifier is consistent with the target shopping cart identifier; if the information is consistent with the target shopping cart identification, inquiring a third information binding database according to the target shopping cart identification to obtain a third inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the intelligent lock identification are stored in the third information binding database; the first sending module 403 is further configured to determine, according to the third query result, a target smart lock identifier corresponding to the target shopping cart identifier, and send an unlocking instruction to the target smart lock based on the target smart lock identifier, where the unlocking instruction is used to instruct the target smart lock to perform an unlocking procedure, so that the target user can take out a commodity from the target shopping cart.
In one embodiment, the first receiving module 401 is further configured to receive an unbinding instruction sent by the target camera, where the unbinding instruction carries a target camera identifier of the target camera; the determining module 402 is further configured to query a fourth information binding database according to the target camera identifier, to obtain a fourth query result, where a plurality of sets of correspondence between the shopping cart identifier and the camera identifier are stored in the fourth information binding database; the first sending module 403 is further configured to determine, according to the fourth query result, a target shopping cart identifier corresponding to the target camera identifier, and delete, based on the target shopping cart identifier, a correspondence between the target shopping cart identifier and the target mobile terminal identifier stored in the second information binding database, so that binding between the target shopping cart identifier and the target mobile terminal is released.
In another embodiment, as shown in fig. 5, there is provided a block diagram of a card swiping payment device, applied to a mobile terminal, the card swiping payment device 500 includes: a second receiving module 501, a display module 502, and a third sending module 503, wherein:
the second receiving module 501 is configured to receive a password input request sent by the server, where the password input request is sent after the server receives a payment request instruction sent by the pos machine, and the payment request instruction carries target payment attribute information.
And the display module 502 is used for displaying the target payment attribute information and the digital panel on the interface of the target mobile terminal.
And a third sending module 503, configured to receive a payment password input by the target user through the digital panel based on the target payment attribute information, and send the payment password to the server, so that the server forwards the payment password to the pos machine, so that the pos machine executes the payment procedure based on the payment password.
In one embodiment, the display module 502 is further configured to receive commodity cashing information sent by the server, and display commodity cashing information on an interface of the target mobile terminal, where the commodity cashing information is used to instruct the pos machine to send a payment amount carried by the payment request instruction.
In one embodiment, the third sending module 503 is further configured to obtain the first shopping cart identifier, and send the first shopping cart identifier to the server, so that the server may determine whether the first shopping cart identifier is consistent with the target shopping cart identifier.
The various modules in the swipe payment device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing a plurality of groups of corresponding relations between payment attribute information and mobile terminal identifiers, a plurality of groups of corresponding relations between shopping cart identifiers and intelligent lock identifiers, a plurality of groups of corresponding relations between shopping cart identifiers and camera identifiers and the like. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a swipe payment method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory having a computer program stored therein and a processor, which when executing the computer program performs the steps of any of the method embodiments described above.
In one embodiment, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
In an embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (12)

1. A swipe payment method, applied to a server, comprising:
receiving a payment request instruction sent by a pos machine, wherein the payment request instruction carries target payment attribute information;
inquiring a first information binding database according to the target payment attribute information to obtain a first inquiry result, wherein a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification are stored in the first information binding database;
Determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to a target mobile terminal based on the target mobile terminal identifier;
and receiving a payment password input by the target mobile terminal based on the password input request, and forwarding the payment password to the pos machine so that the pos machine can execute a payment flow based on the payment password.
2. The method of claim 1, wherein prior to receiving the payment request instructions sent by the pos machine, the method further comprises:
receiving commodity cashing information corresponding to the target shopping cart, which is sent by a cashing system;
inquiring a second information binding database according to the target shopping cart identification of the target shopping cart to obtain a second inquiring result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the mobile terminal identification are stored in the second information binding database;
and determining the target mobile terminal identification corresponding to the target shopping cart identification according to the second query result, and sending commodity cashing information to the target mobile terminal based on the target mobile terminal identification, wherein the commodity cashing information is used for indicating the pos machine to send the payment amount carried by the payment request instruction.
3. The method of claim 2, wherein after forwarding the payment password to the pos machine for the pos machine to perform a payment procedure based on the payment password, the method further comprises:
receiving a first shopping cart identification sent by the target mobile terminal;
judging whether the first shopping cart identifier is consistent with the target shopping cart identifier or not;
if the target shopping cart identification is consistent, a third information binding database is queried according to the target shopping cart identification, a third query result is obtained, and a plurality of groups of corresponding relations of the shopping cart identification and the intelligent lock identification are stored in the third information binding database;
and determining a target intelligent lock identifier corresponding to the target shopping cart identifier according to the third query result, and sending an unlocking instruction to the target intelligent lock based on the target intelligent lock identifier, wherein the unlocking instruction is used for indicating the target intelligent lock to unlock the process so that a target user can take out goods from the target shopping cart.
4. The method of claim 3, wherein after the sending an unlock instruction to the target smart lock based on the target smart lock identification, the method further comprises:
Receiving an unbinding instruction sent by a target camera, wherein the unbinding instruction carries a target camera identifier of the target camera;
inquiring a fourth information binding database according to the target camera identification to obtain a fourth inquiry result, wherein a plurality of groups of corresponding relations of the shopping cart identification and the camera identification are stored in the fourth information binding database;
and determining the target shopping cart identifier corresponding to the target camera identifier according to the fourth query result, and deleting the corresponding relation between the target shopping cart identifier and the target mobile terminal identifier stored in the second information binding database based on the target shopping cart identifier so as to unbind the target shopping cart identifier and the target mobile terminal.
5. A swipe payment method, applied to a mobile terminal, comprising:
receiving a password input request sent by a server, wherein the password input request is sent after the server receives a payment request instruction sent by a pos machine, and the payment request instruction carries target payment attribute information;
displaying target payment attribute information and a digital panel on an interface of a target mobile terminal;
And receiving a payment password input by a target user through the digital panel based on the target payment attribute information, and sending the payment password to the server so that the server forwards the payment password to the pos machine, and the pos machine executes a payment process based on the payment password.
6. The method of claim 5, wherein prior to receiving the password input request sent by the server, the method further comprises:
and receiving commodity cashing information sent by the server, and displaying the commodity cashing information on an interface of the target mobile terminal, wherein the commodity cashing information is used for indicating the pos machine to send the payment amount carried by the payment request instruction.
7. The method of claim 6, wherein after the sending the payment password to the server, the method further comprises:
and acquiring a first shopping cart identifier, and sending the first shopping cart identifier to the server so that the server can judge whether the first shopping cart identifier is consistent with the target shopping cart identifier or not.
8. A swipe payment device, for use with a server, the device comprising:
The first receiving module is used for receiving a payment request instruction sent by the pos machine, wherein the payment request instruction carries target payment attribute information;
the determining module is used for inquiring a first information binding database according to the target payment attribute information to obtain a first inquiring result, wherein a plurality of groups of corresponding relations between the payment attribute information and the mobile terminal identification are stored in the first information binding database;
the first sending module is used for determining a target mobile terminal identifier corresponding to the target payment attribute information according to the first query result, and sending a password input request to a target mobile terminal based on the target mobile terminal identifier;
and the second sending module is used for receiving the payment password input by the target mobile terminal based on the password input request and forwarding the payment password to the pos machine so that the pos machine can execute a payment flow based on the payment password.
9. A swipe payment device, for use with a mobile terminal, the device comprising:
the second receiving module is used for receiving a password input request sent by a server, wherein the password input request is sent after the server receives a payment request instruction sent by a pos machine, and the payment request instruction carries target payment attribute information;
The display module is used for displaying the target payment attribute information and the digital panel on the interface of the target mobile terminal;
and the third sending module is used for receiving a payment password input by a target user through the digital panel based on the target payment attribute information and sending the payment password to the server so that the server forwards the payment password to the pos machine, and the pos machine executes a payment process based on the payment password.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
12. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202311211231.2A 2023-09-19 2023-09-19 Card swiping payment method, device, computer equipment, storage medium and program product Pending CN117217751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311211231.2A CN117217751A (en) 2023-09-19 2023-09-19 Card swiping payment method, device, computer equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311211231.2A CN117217751A (en) 2023-09-19 2023-09-19 Card swiping payment method, device, computer equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN117217751A true CN117217751A (en) 2023-12-12

Family

ID=89049135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311211231.2A Pending CN117217751A (en) 2023-09-19 2023-09-19 Card swiping payment method, device, computer equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN117217751A (en)

Similar Documents

Publication Publication Date Title
CN110135823B (en) Order processing method and device, computer equipment and readable storage medium
US6185542B1 (en) Communication of transaction data via the internet
US11210675B2 (en) Methods and apparatuses for mobile returns
US10157375B2 (en) Alternative payment implementation for electronic retailers
US10169748B2 (en) Alternative payment implementation for electronic retailers
US20140175167A1 (en) Method For Transferring Shopping Cart Contents To A Register From A Mobile Electronic Device
US9330382B2 (en) Method to facilitate an in-store audit after issuance of an electronic receipt
WO2009111562A2 (en) Methods and systems for managing merchant identifiers
CN111612594A (en) Localized merchant retail system
US20230169478A1 (en) Optical-scan triggered electronic funds transfer for purchase transaction
US20140122268A1 (en) Point-Of-Sale-Customer-Identification Apparatus And Method
CN111507669A (en) Java-based warehouse management system and method
CN105844504B (en) Information processing method, device and system
CN113706140A (en) Cloud POS-based intelligent payment and refund method and electronic equipment
US20150317642A1 (en) Process to query electronic sales receipts with a portable computerized device
CN117217751A (en) Card swiping payment method, device, computer equipment, storage medium and program product
CN110738489A (en) Two-dimensional code payment anti-theft method and system, storage medium and terminal
US20170186076A1 (en) Product tracking and management using image recognition
CN101404105A (en) Cashing system and method
CN111260355A (en) Cash register system and electronic equipment
CN112418878B (en) Rights service data processing method, device, equipment and storage medium
US20230267543A1 (en) Trackable product interest system and method
CN116627639A (en) Aggregation transfer method and device for resources, computer equipment and storage medium
CN116664024A (en) Express item checking method, device, computer equipment and storage medium
CN117271563A (en) Data query method, apparatus, computer device, storage medium, and program product

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