Method and system for improving cash register efficiency
By deploying payment plug-ins in cash registers and deploying management information applications in mobile payment terminals, the problem of low cash register efficiency in offline stores is solved, and the automated processing and accuracy of orders is achieved, reducing the risk of errors and deployment costs.
Patent Information
- Application Number
- CN202111507477.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-12-10
AI Technical Summary
During the cash registering process of offline stores, due to the need to manually query the order information, the processing efficiency is reduced, and errors and missed orders are prone to occur, which will reduce the overall cash registering efficiency.
Deploy payment plug-ins in cash registers and deploy management information applications in mobile payment terminals. By calling payment plug-ins, orders are sent directly to mobile payment terminals, simplifying manual operation processes, and distinguishing orders through payment information to reduce the risk of error operations.
Improve cash register efficiency, ensure transaction accuracy, reduce deployment costs, and enhance the universality of the system.
Smart Images

Figure CN114219561B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of retail cashier technology, and in particular to a method and system for improving cashier efficiency. Background Art
[0002] With the rapid development of Internet technology, the impact of Internet business models on traditional offline businesses has led traditional enterprises to embark on the path of Internet transformation. Among them, cashiering is an important part of offline store operations. Improving cashiering efficiency is of great significance to improving the overall operation level of stores.
[0003] At present, when offline stores conduct cashiering, the cashier system configured in the cash register usually generates and manages order information, and the cashier manually queries the order information from the cashier system through the cashier terminal to complete the transaction. After the transaction is completed, the transaction information is returned to the cashier system through network communication. This results in that when faced with a large number of orders, the cashier obtains order information through manual query, which is bound to reduce the efficiency of processing order information, and is prone to wrong orders and missed orders, which in turn reduces the overall cashier efficiency. Therefore, how to improve cashier efficiency has become an urgent problem to be solved. Summary of the invention
[0004] The purpose of the embodiment of the present invention is to provide a method and system for improving cashier efficiency, so as to improve cashier efficiency. The specific technical solution is as follows:
[0005] A method for improving cash register efficiency, the method comprising:
[0006] In response to the payment request action, the cashier system calls the interface of the payment plug-in and sends a payment instruction to the payment plug-in, wherein the payment plug-in is deployed in the cashier system, and the payment instruction includes a payment amount and payment information.
[0007] The payment plug-in responds to the payment instruction, packages the payment amount and the payment information, obtains a transaction instruction package, converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal.
[0008] The management information application responds to the first communication request instruction, determines whether the first communication request instruction is a transaction request, and if so, calls the payment application in the mobile payment terminal and sends a transaction instruction to the payment application, wherein the management information application is deployed in the mobile payment terminal.
[0009] The payment application completes the transaction in response to the transaction instruction and sends the transaction result to the management information application.
[0010] The management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in.
[0011] The payment plug-in responds to the second communication request instruction, converts the second communication request instruction into the parsed transaction result according to the preset conversion rule, and sends the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
[0012] Optionally, the payment plug-in performs a package operation on the payment amount and the payment information in response to the payment instruction to obtain a transaction instruction package, and converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal, specifically including:
[0013] The payment plug-in extracts tags from the payment amount and the payment information in response to the payment instruction to obtain a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag.
[0014] The payment plug-in performs the packaging operation on the first tag group to obtain the transaction instruction package.
[0015] The payment plug-in converts the transaction instruction packet into the first communication request instruction in the form of a byte array according to the preset conversion rule, and sends the first communication request instruction to the management information application deployed in the mobile payment terminal according to a preset communication method.
[0016] Optionally, the management information application responds to the first communication request instruction, determines whether the first communication request instruction is a transaction request, and if so, calls the payment application of the mobile payment terminal and sends a transaction instruction to the payment application, wherein the management information application is deployed on the mobile payment terminal and includes:
[0017] The management information application responds to the first communication request instruction, reads the instruction length in the header file of the first communication request instruction, and determines whether the instruction length meets a preset threshold. If so, the first communication request instruction is converted into the transaction instruction package according to the preset conversion rule, and the transaction instruction package is parsed. For each tag in the parsed first tag group, the value is extracted according to the tag key corresponding to each tag to obtain the value of each tag.
[0018] The management information application sends the transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, wherein the transaction instruction includes the value of each tag in the first tag group.
[0019] Optionally, the management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in, including:
[0020] The management information application parses the transaction result and extracts the value of the transaction result according to the first tag group to obtain a second tag group including the payment method name tag, the payment method ID tag and the transaction information tag.
[0021] The management information application performs the package assembly operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in according to a preset communication method.
[0022] Optionally, the management information application sends the transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, including:
[0023] The management information application calls the payment plug-in interface of the mobile payment terminal and sends the transaction instruction to the smart desktop of the mobile payment terminal.
[0024] The smart desktop responds to the transaction instruction, searches for the corresponding payment application in the mobile payment terminal according to the value of the payment method ID tag in the transaction instruction, and sends the transaction instruction to the payment application.
[0025] A system for improving cash register efficiency, the system comprising: a payment plug-in, a management information application and a payment application.
[0026] The payment plug-in is configured to: in response to a payment instruction, package the payment amount and payment information to obtain a transaction instruction package, and convert the transaction instruction package into a first communication request instruction according to a preset conversion rule, and send the first communication request instruction to the mobile payment terminal, wherein the payment instruction is an instruction sent by the cash register system to the payment plug-in in response to a payment request action by calling the interface of the payment plug-in, the payment plug-in is deployed in the cash register system, and the payment instruction includes the payment amount and the payment information.
[0027] The management information application is configured to: in response to the first communication request instruction, determine whether the first communication request instruction is a transaction request, and if so, call the payment application in the mobile payment terminal and send a transaction instruction to the payment application, wherein the management information application is deployed in the mobile payment terminal.
[0028] The payment application is configured to complete the transaction in response to the transaction instruction and send the transaction result to the management information application.
[0029] The management information application is further configured to: parse the transaction result, convert the parsed transaction result into a second communication request instruction according to the preset conversion rule, and send the second communication request instruction to the payment plug-in.
[0030] The payment plug-in is also configured to: respond to the second communication request instruction, convert the second communication request instruction into the parsed transaction result according to the preset conversion rule, and send the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
[0031] Optionally, the payment plug-in is specifically configured as follows:
[0032] In response to the payment instruction, tags are extracted from the payment amount and the payment information to obtain a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag.
[0033] The payment plug-in performs the packaging operation on the first tag group to obtain the transaction instruction package.
[0034] The payment plug-in converts the transaction instruction packet into the first communication request instruction in the form of a byte array according to the preset conversion rule, and sends the first communication request instruction to the management information application deployed in the mobile payment terminal according to a preset communication method.
[0035] Optionally, the management information application is configured as:
[0036] In response to the first communication request instruction, the instruction length in the header file of the first communication request instruction is read to determine whether the instruction length meets a preset threshold; if so, the first communication request instruction is converted into the transaction instruction packet according to the preset conversion rule, and the transaction instruction packet is parsed; for each tag in the parsed first tag group, the value is extracted according to the tag key corresponding to each tag to obtain the value of each tag.
[0037] The management information application sends the transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, wherein the transaction instruction includes the value of each tag in the first tag group.
[0038] Optionally, the management information application is further configured to:
[0039] The transaction result is parsed, and values of the transaction result are extracted according to the first tag group to obtain a second tag group including the payment method name tag, the payment method ID tag, and the transaction information tag.
[0040] The management information application performs the package assembly operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in according to a preset communication method.
[0041] Optionally, the management information application is further configured to:
[0042] The payment plug-in interface of the mobile payment terminal is called to send the transaction instruction to the smart desktop of the mobile payment terminal.
[0043] The smart desktop responds to the transaction instruction, searches for the corresponding payment application in the mobile payment terminal according to the value of the payment method ID tag in the transaction instruction, and sends the transaction instruction to the payment application.
[0044] A system for improving cash register efficiency, the system comprising: a cash register and a mobile payment terminal, the cash register is provided with a cash register system, the cash register system is deployed with a payment plug-in, and the mobile payment terminal is configured with a management information application and a payment application.
[0045] The cash register responds to the payment request action through the cash register system, calls the interface of the payment plug-in, and sends a payment instruction to the payment plug-in, wherein the payment instruction includes a payment amount and payment information.
[0046] The payment plug-in in the cash register responds to the payment instruction, packages the payment amount and the payment information, obtains a transaction instruction package, and converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal.
[0047] The mobile payment terminal responds to the first communication request instruction through the management information application, determines whether the first communication request instruction is a transaction request, and if so, calls the payment application of the mobile payment terminal and sends a transaction instruction to the payment application.
[0048] The mobile payment terminal responds to the transaction instruction through the payment application, the transaction is completed, and the transaction result is sent to the management information application.
[0049] The mobile payment terminal parses the transaction result through the management information application, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the cash register.
[0050] The cash register responds to the second communication request instruction through the payment plug-in, converts the second communication request instruction into the parsed transaction result according to the preset conversion rule, and sends the parsed transaction result to the cash register system, so that the cash register system stores the parsed transaction result.
[0051] A method and system for improving cashier efficiency provided by an embodiment of the present invention deploys a payment plug-in in the cash register in advance, and deploys a management information application that can communicate and call with the payment plug-in in the mobile payment terminal, so that compared with the prior art method that requires manual query of orders through the mobile payment terminal, the present invention realizes that the cashier system calls the payment plug-in to directly send the generated order to the mobile payment terminal deployed with the management information application, simplifies the manual operation process, and improves the cashier efficiency. At the same time, by setting the payment information to achieve the distinction and judgment of each order, the present invention reduces the risk of erroneous operation, ensures the accuracy of cashiering, and improves the cashier efficiency compared with the prior art method that requires manual pulling and verification of orders. Finally, because the payment plug-in can communicate with the management information application, compared with the prior art, the present invention does not need to develop an additional communication interface for the cashier system and mobile payment terminal that cannot communicate directly, reduces the deployment cost, and improves the universality of the present invention. It can be seen that the present invention achieves the invention purpose of improving cashier efficiency.
[0052] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A flow chart of a method for improving cash register efficiency provided by an embodiment of the present invention;
[0055] Figure 2 A signaling diagram of a method for improving cashier efficiency provided by an optional embodiment of the present invention;
[0056] Figure 3 A block diagram of a system for improving cash register efficiency provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] The embodiment of the present invention provides a method for improving cashier efficiency, such as Figure 1 As shown, the method includes:
[0059] S101. In response to a payment request action, the cashier system calls an interface of a payment plug-in and sends a payment instruction to the payment plug-in, wherein the payment plug-in is deployed in the cashier system, and the payment instruction includes a payment amount and payment information.
[0060] Optionally, in an optional embodiment of the present invention, the payment plug-in can be a plug-in that supports the same communication rules as the management information application below, and the present invention does not impose too many restrictions on the selection of the payment plug-in.
[0061] The payment plug-in is pre-set to communicate with the following management information application and call the management information application. The above management information application can be a third-party application (Application, APP) based on the Management Information System (MIS), and the management information application can be deployed in the following mobile payment terminal. Among them, the above communication methods include but are not limited to: local area network, Bluetooth and serial port. The types of the above mobile payment terminals include but are not limited to: point of sales terminal (Point of sales terminal, POS) and smart phones.
[0062] The present invention deploys a payment plug-in in the cash register in advance, and deploys a management information application that can communicate and call the payment plug-in in the mobile payment terminal. Compared with the prior art method that requires manual query of orders through the mobile payment terminal, the present invention implements the cash register system to call the payment plug-in and directly send the generated order to the mobile payment terminal deployed with the management information application, thereby simplifying the manual operation process and improving the cash register efficiency. Moreover, since the above-mentioned payment plug-in can communicate with the above-mentioned management information application, compared with the prior art, the present invention does not need to develop an additional communication interface for the cash register system and mobile payment terminal that cannot communicate directly, thereby reducing the deployment cost and improving the universality of the present invention.
[0063] Optionally, in another optional embodiment of the present invention, the cash register system may be a system deployed in a cash register for generating and managing orders, and the cash register system may be an Enterprise Resource Planning (ERP) system.
[0064] Optionally, in another optional embodiment of the present invention, the payment request action may be order information manually input by the cashier through a cash register.
[0065] Optionally, in another optional embodiment of the present invention, the above-mentioned payment information includes but is not limited to: payment method name, payment method ID, transaction order number, transaction authorization code and transaction amount, etc. Among them, the above-mentioned payment method ID can uniquely define a payment method. The above-mentioned transaction order number, transaction authorization code and transaction amount can define a unique order and authorize transaction operations on the order. The present invention realizes the distinction and discrimination of each order by setting the above-mentioned payment information, so that compared with the prior art that requires manual pulling and verification of orders, the present invention reduces the risk of erroneous operation, ensures the accuracy of cashiering, and improves cashiering efficiency.
[0066] S102. The payment plug-in responds to the payment instruction by packaging the payment amount and the payment information to obtain a transaction instruction package, and converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal.
[0067] Optionally, in an optional embodiment of the present invention, the above-mentioned package grouping operation is to combine the above-mentioned payment amount and the information used for transaction in the payment information according to a specific position according to a preset package grouping protocol. Through the above-mentioned package grouping operation, the transmission security of the transaction data is improved.
[0068] Optionally, in another optional embodiment of the present invention, before the payment amount and payment information are packaged, the payment amount and payment information may be subjected to label extraction. The labels used for label extraction include but are not limited to: payment method name labels, payment method ID labels, and transaction information labels. The present invention achieves the purpose of removing useless information and simplifying data structure by performing label extraction on data used for transactions, thereby reducing the time for data analysis and improving overall cashier efficiency.
[0069] Optionally, in another optional embodiment of the present invention, the transaction instruction packet is converted into a first communication request instruction according to a preset conversion rule, and the instruction length is added to the header file of the first communication request instruction, and then the first communication request instruction is sent to the mobile payment terminal. When the management information application deployed by the mobile payment terminal receives the above-mentioned first communication request instruction, it first verifies the instruction length in the instruction header file. If the instruction length does not meet the preset threshold, the conversion and parsing of the instruction is terminated, thereby ensuring the transmission security of the data used for the transaction.
[0070] S103, the management information application responds to the first communication request instruction, determines whether the first communication request instruction is a transaction request, and if so, calls the payment application in the mobile payment terminal and sends a transaction instruction to the payment application, wherein the management information application is deployed in the mobile payment terminal.
[0071] Optionally, in an optional embodiment of the present invention, the process in which the management information application responds to the first communication request instruction and determines whether the first communication request instruction is a transaction request may be: after receiving the first communication request instruction, the management information application first converts the first communication request instruction into the transaction instruction package in the above step S102 using a preset conversion rule, and then uses the above preset package assembly protocol stored locally to verify the verification data in the transaction instruction package header file. After the verification is passed, the management information application performs a second verification on the number and name of tags in the transaction instruction package according to the preset package assembly protocol. Only after all the verifications are passed will the management information application read the data used for the transaction in the transaction instruction package. The present invention ensures the security of the data used for the transaction during the transmission process by performing multiple verifications on the first communication request instruction.
[0072] Optionally, in another optional embodiment of the present invention, after the above-mentioned management information application determines that the first communication request instruction is a transaction request, the transaction instruction is sent to the smart desktop by calling the payment plug-in interface of the above-mentioned mobile payment terminal. After receiving the transaction instruction, the smart desktop finds the payment application deployed on the mobile payment terminal by reflection according to the value of each tag in the transaction instruction, and calls the payment application to conduct the transaction through the web view (WebView). Among them, the above-mentioned reflection method can be a reflection mechanism based on a computer programming language (Java), and the payment application corresponding to the value can be found according to the value of each tag. The above-mentioned web view (WebView) is a visual component that can call the locally deployed application to perform corresponding operations according to the instruction. The present invention realizes the automated operation of finding the payment application and conducting the transaction link by introducing the tag key, tag value, smart desktop and web view, and shortens the time waste caused by traversing the data, thereby improving the cashier efficiency.
[0073] S104: The payment application completes the transaction in response to the transaction instruction and sends the transaction result to the management information application.
[0074] Optionally, in an optional embodiment of the present invention, the payment application may be an APP deployed in the mobile payment terminal for executing transaction actions. The transaction actions include but are not limited to: swiping a card, scanning a code, submitting a transaction, and displaying transaction results. The data in the transaction instruction includes the value of the payment name tag, the value of the payment method ID tag, and the value of the transaction information tag.
[0075] Optionally, in another optional embodiment of the present invention, after the above-mentioned payment application is called by the smart desktop in the above-mentioned step S103, it responds to the transaction instruction sent by the smart desktop and executes the above-mentioned transaction action according to the data in the transaction instruction, so that the present invention realizes the automation of the transaction process, avoids the erroneous operations that may occur when the above-mentioned operations are performed manually, and improves the checkout efficiency.
[0076] S105. The management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to a preset conversion rule, and sends the second communication request instruction to the payment plug-in.
[0077] S106. The payment plug-in responds to the second communication request instruction, converts the second communication request instruction into a parsed transaction result according to a preset conversion rule, and sends the parsed transaction result to the cash register system, so that the cash register system stores the parsed transaction result.
[0078] Optionally, in an optional embodiment of the present invention, the above step S105 may be the reverse operation of the above step S102, and the above step S106 may be the reverse operation of the above step S101. The present invention configures the above management information application and the above payment plug-in to perform the above reverse operation, thereby constructing a cashier closed-loop process in which the cashier system initiates the transaction, the management information application processes the transaction, and the management information application feeds back the transaction result to the cashier system. Compared with the prior art, the present invention avoids the link of manually transmitting transaction information and improves the cashier efficiency.
[0079] The present invention deploys a payment plug-in in the cash register in advance, and deploys a management information application that can communicate and call with the payment plug-in in the mobile payment terminal, so that compared with the prior art that requires manual query of orders through the mobile payment terminal, the present invention realizes that the cash register system calls the payment plug-in to directly send the generated order to the mobile payment terminal deployed with the management information application, simplifies the manual operation process, and improves the cash register efficiency. At the same time, by setting the payment information to achieve the distinction and judgment of each order, the present invention reduces the risk of erroneous operation, ensures the accuracy of cash register, and improves the cash register efficiency compared with the prior art that requires manual pulling and verification of orders. Finally, because the payment plug-in can communicate with the management information application, compared with the prior art, the present invention does not need to develop an additional communication interface for the cash register system and mobile payment terminal that cannot communicate directly, reduces the deployment cost, and improves the universality of the present invention. It can be seen that the present invention achieves the invention purpose of improving cash register efficiency.
[0080] Optionally, the payment plug-in responds to the payment instruction, performs a package operation on the payment amount and the payment information, obtains a transaction instruction package, converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal, specifically including:
[0081] The payment plug-in extracts tags from the payment amount and the payment information in response to the payment instruction, and obtains a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag.
[0082] The payment plug-in performs a package operation on the first tag group to obtain a transaction instruction package.
[0083] The payment plug-in converts the transaction instruction packet into a first communication request instruction in the form of a byte array according to a preset conversion rule, and sends the first communication request instruction to the management information application deployed in the mobile payment terminal according to a preset communication method.
[0084] Optionally, the management information application responds to the first communication request instruction, determines whether the first communication request instruction is a transaction request, and if so, calls a payment application of the mobile payment terminal and sends a transaction instruction to the payment application, wherein the management information application is deployed in the mobile payment terminal and includes:
[0085] The management information application responds to the first communication request instruction, reads the instruction length in the header file of the first communication request instruction, and determines whether the instruction length meets the preset threshold. If so, the first communication request instruction is converted into a transaction instruction packet according to the preset conversion rule, and the transaction instruction packet is parsed. For each tag in the parsed first tag group, the value is extracted according to the tag key corresponding to each tag to obtain the value of each tag.
[0086] The management information application sends a transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, wherein the transaction instruction includes the value of each tag in the first tag group.
[0087] Optionally, the management information application can search for the value of the tag corresponding to each tag key through the tag key corresponding to each tag, thereby avoiding the time waste caused by traversal search and improving cashier efficiency.
[0088] Optionally, the management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to a preset conversion rule, and sends the second communication request instruction to the payment plug-in, including:
[0089] The management information application parses the transaction result and extracts the value of the transaction result according to the first tag group to obtain a second tag group including a payment method name tag, a payment method ID tag and a transaction information tag.
[0090] The management information application performs a package operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to a preset conversion rule, and sends the second communication request instruction to the payment plug-in according to a preset communication method.
[0091] Optionally, the management information application sends a transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, including:
[0092] The management information application calls the payment plug-in interface of the mobile payment terminal and sends a transaction instruction to the smart desktop of the mobile payment terminal.
[0093] In response to the transaction instruction, the smart desktop searches for the corresponding payment application in the mobile payment terminal according to the value of the payment method ID tag in the transaction instruction, and sends the transaction instruction to the payment application.
[0094] To facilitate the understanding of the above method of improving cash register efficiency, please combine Figure 2 An alternative embodiment of the present invention is shown to be understood:
[0095] like Figure 2 As shown, there is a transaction order, and the cashier enters the payment information and payment amount of the order into the cash register.
[0096] Step S201: The cash register system calls the interface of the payment plug-in in response to the input operation.
[0097] Step S202: The cash register system sends a payment instruction to the payment plug-in.
[0098] Step S203: The payment plug-in responds to the payment instruction, packages the payment amount and the payment information, obtains a transaction instruction package, and converts the transaction instruction package into a first communication request instruction.
[0099] Step S204: The payment plug-in sends a first communication request instruction to the management information application.
[0100] Step S205: The management information application receives the first communication request instruction and determines whether the first communication request instruction is a transaction request. If yes, step S206 is triggered, otherwise step S207 is triggered.
[0101] Step S206: The management information application calls the payment plug-in interface and sends a transaction instruction to the smart desktop.
[0102] Step S207: Management information application termination operation.
[0103] Step S208: The smart desktop searches for a corresponding payment application according to the transaction instruction and sends the transaction instruction to the payment application.
[0104] Step S209: The smart desktop sends a transaction instruction to the payment application.
[0105] Step S210: The payment application responds to the transaction instruction and executes the transaction action according to the payment information and payment amount in the transaction instruction.
[0106] Step S211: The payment application sends the transaction result to the smart desktop.
[0107] Step S212: The smart desktop forwards the transaction result to the management information application.
[0108] Step S213: The management information application converts the transaction result into a second communication request instruction.
[0109] Step S214: The management information application sends a second communication request instruction to the payment plug-in.
[0110] Step S215: The payment plug-in receives the second communication request instruction and converts the second communication request instruction into a transaction result.
[0111] Step S216: The payment plug-in sends the transaction result to the cash register system.
[0112] Step S217: The cash register system receives the transaction result and stores the transaction result.
[0113] Optionally, step S201 and step S202 are Figure 1 A specific implementation of step S101 is shown, steps S203 and S204 are Figure 1 A specific implementation of step S102 is shown, steps S205, S206, S207, S208 and S209 are Figure 1 A specific implementation of step S103 is shown, steps S210, S211 and S212 are Figure 1 A specific implementation of step S104 is shown, steps S213 and S214 are Figure 1 A specific implementation of step S105 is shown, steps S215, S216 and S217 are Figure 1 A specific implementation of step S106 is shown.
[0114] The present invention deploys a payment plug-in in the cash register in advance, and deploys a management information application that can communicate and call with the payment plug-in in the mobile payment terminal, so that compared with the prior art that requires manual query of orders through the mobile payment terminal, the present invention realizes that the cash register system calls the payment plug-in to directly send the generated order to the mobile payment terminal deployed with the management information application, simplifies the manual operation process, and improves the cash register efficiency. At the same time, by setting the payment information to achieve the distinction and judgment of each order, the present invention reduces the risk of erroneous operation, ensures the accuracy of cash register, and improves the cash register efficiency compared with the prior art that requires manual pulling and verification of orders. Finally, because the payment plug-in can communicate with the management information application, compared with the prior art, the present invention does not need to develop an additional communication interface for the cash register system and mobile payment terminal that cannot communicate directly, reduces the deployment cost, and improves the universality of the present invention. It can be seen that the present invention achieves the invention purpose of improving cash register efficiency.
[0115] Corresponding to the above-mentioned embodiment of the method for improving cashier efficiency, the present invention also provides a system for improving cashier efficiency, such as Figure 3 As shown, the system includes: a payment plug-in 301, a management information application 302 and a payment application 303.
[0116] The payment plug-in 301 is configured to: respond to a payment instruction, package the payment amount and payment information, obtain a transaction instruction package, and convert the transaction instruction package into a first communication request instruction according to a preset conversion rule, and send the first communication request instruction to the management information application 302, wherein the payment instruction is an instruction sent by the cash register system to the payment plug-in 301 by calling the interface of the payment plug-in 301 in response to the payment request action. The payment plug-in 301 is deployed in the cash register system, and the payment instruction includes the payment amount and payment information.
[0117] The management information application 302 is configured to: respond to the first communication request instruction, determine whether the first communication request instruction is a transaction request, and if so, call the payment application 303 and send a transaction instruction to the payment application, wherein the management information application 302 and the payment application 303 are both deployed in the mobile payment terminal.
[0118] The payment application 303 is configured to respond to the transaction instruction, complete the transaction, and send the transaction result to the management information application 302 .
[0119] The management information application 302 is further configured to: parse the transaction result, convert the parsed transaction result into a second communication request instruction according to a preset conversion rule, and send the second communication request instruction to the payment plug-in 301 .
[0120] The payment plug-in 301 is also configured to: respond to the second communication request instruction, convert the second communication request instruction into a parsed transaction result according to a preset conversion rule, and send the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
[0121] Optionally, the payment plug-in 301 is specifically configured as follows:
[0122] In response to the payment instruction, tags are extracted from the payment amount and the payment information to obtain a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag.
[0123] The payment plug-in 301 performs a package operation on the first tag group to obtain a transaction instruction package.
[0124] The payment plug-in 301 converts the transaction instruction packet into a first communication request instruction in the form of a byte array according to a preset conversion rule, and sends the first communication request instruction to the management information application 302 deployed in the mobile payment terminal according to a preset communication method.
[0125] Optionally, the management information application 302 is configured to:
[0126] In response to the first communication request instruction, the instruction length in the header file of the first communication request instruction is read to determine whether the instruction length meets a preset threshold. If so, the first communication request instruction is converted into a transaction instruction packet according to a preset conversion rule, and the transaction instruction packet is parsed. For each tag in the parsed first tag group, a value is extracted according to the tag key corresponding to each tag to obtain the value of each tag.
[0127] The management information application 302 sends a transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, wherein the transaction instruction includes the value of each tag in the first tag group.
[0128] Optionally, the management information application 302 is further configured to:
[0129] The transaction result is parsed, and the value of the transaction result is extracted according to the first tag group to obtain a second tag group including a payment method name tag, a payment method ID tag, and a transaction information tag.
[0130] The management information application 302 performs a package operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to a preset conversion rule, and sends the second communication request instruction to the payment plug-in 301 according to a preset communication method.
[0131] Optionally, the management information application 302 is further configured to:
[0132] The payment plug-in interface of the mobile payment terminal is called to send a transaction instruction to the smart desktop of the mobile payment terminal.
[0133] In response to the transaction instruction, the smart desktop searches for the corresponding payment application 303 in the mobile payment terminal according to the value of the payment method ID tag in the transaction instruction, and sends the transaction instruction to the payment application 303.
[0134] Corresponding to the above-mentioned embodiment of the method for improving cash register efficiency, the present invention further provides another system for improving cash register efficiency, the system comprising: a cash register and a mobile payment terminal, the cash register is provided with a cash register system, the cash register system is deployed with a payment plug-in, the mobile payment terminal is configured with a management information application and a payment application,
[0135] The cash register responds to the payment request action through the cash register system, calls the interface of the payment plug-in, and sends a payment instruction to the payment plug-in, wherein the payment instruction includes the payment amount and payment information;
[0136] The payment plug-in in the cash register responds to the payment instruction, performs a package operation on the payment amount and the payment information, obtains a transaction instruction package, and converts the transaction instruction package into a first communication request instruction according to a preset conversion rule, and sends the first communication request instruction to the mobile payment terminal;
[0137] The mobile payment terminal responds to the first communication request instruction through the management information application, determines whether the first communication request instruction is a transaction request, and if so, calls the payment application of the mobile payment terminal and sends the transaction instruction to the payment application;
[0138] The mobile payment terminal responds to the transaction instruction through the payment application, the transaction is completed, and the transaction result is sent to the management information application;
[0139] The mobile payment terminal parses the transaction result through the management information application, converts the parsed transaction result into a second communication request instruction according to a preset conversion rule, and sends the second communication request instruction to the cash register;
[0140] The cash register responds to the second communication request instruction through the payment plug-in, converts the second communication request instruction into a parsed transaction result according to a preset conversion rule, and sends the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
[0141] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
[0142] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0144] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0145] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0146] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for improving cash register efficiency, characterized in that: The method comprises: In response to the payment request action, the cashier system calls the interface of the payment plug-in and sends a payment instruction to the payment plug-in, wherein the payment plug-in is deployed in the cashier system, and the payment instruction includes a payment amount and payment information; The payment plug-in extracts tags from the payment amount and the payment information in response to the payment instruction to obtain a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag; performs a package operation on the first tag group to obtain a transaction instruction package; converts the transaction instruction package into a first communication request instruction in the form of a byte array according to a preset conversion rule, and sends the first communication request instruction to a management information application deployed in the mobile payment terminal according to a preset communication method; The management information application responds to the first communication request instruction, reads the instruction length in the header file of the first communication request instruction, and determines whether the instruction length meets a preset threshold value. If so, the first communication request instruction is converted into the transaction instruction package according to the preset conversion rule, and the transaction instruction package is parsed, and for each tag in the parsed first tag group, the value is extracted according to the tag key corresponding to each tag to obtain the value of each tag; the payment plug-in interface of the mobile payment terminal is called to send the transaction instruction to the payment application, wherein the transaction instruction includes the value of each tag in the first tag group; The payment application completes the transaction in response to the transaction instruction and sends the transaction result to the management information application; The management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in; The payment plug-in responds to the second communication request instruction, converts the second communication request instruction into the parsed transaction result according to the preset conversion rule, and sends the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
2. The method according to claim 1, characterized in that The management information application parses the transaction result, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in, including: The management information application parses the transaction result, and extracts the value of the transaction result according to the first tag group to obtain a second tag group including the payment method name tag, the payment method ID tag and the transaction information tag; The management information application performs the package assembly operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in according to a preset communication method.
3. The method according to claim 1, characterized in that The management information application sends the transaction instruction to the payment application by calling the payment plug-in interface of the mobile payment terminal, including: The management information application calls the payment plug-in interface of the mobile payment terminal to send the transaction instruction to the smart desktop of the mobile payment terminal; The smart desktop responds to the transaction instruction, searches for the corresponding payment application in the mobile payment terminal according to the value of the payment method ID tag in the transaction instruction, and sends the transaction instruction to the payment application.
4. A system for improving cashier efficiency, characterized in that: The system includes: a payment plug-in, a management information application and a payment application. The payment plug-in is configured to: in response to a payment instruction, extract tags from the payment amount and payment information to obtain a first tag group including a payment method name tag, a payment method ID tag and a transaction information tag; perform a package operation on the first tag group to obtain a transaction instruction package; according to a preset conversion rule, convert the transaction instruction package into a first communication request instruction in the form of a byte array, and send the first communication request instruction to the management information application deployed in the mobile payment terminal according to a preset communication method, wherein the payment instruction is an instruction sent by the cash register system to the payment plug-in in response to a payment request action by calling the interface of the payment plug-in, and the payment instruction includes the payment amount and the payment information; The management information application is configured to: respond to the first communication request instruction, read the instruction length in the header file of the first communication request instruction, determine whether the instruction length meets a preset threshold, and if so, convert the first communication request instruction into the transaction instruction package according to the preset conversion rule, parse the transaction instruction package, extract the value of each tag in the parsed first tag group according to the tag key corresponding to each tag, and obtain the value of each tag; call the payment plug-in interface of the mobile payment terminal, and send the transaction instruction to the payment application, wherein the transaction instruction includes the value of each tag in the first tag group; The payment application is configured to: complete the transaction in response to the transaction instruction, and send the transaction result to the management information application; The management information application is further configured to: parse the transaction result, convert the parsed transaction result into a second communication request instruction according to the preset conversion rule, and send the second communication request instruction to the payment plug-in; The payment plug-in is also configured to: respond to the second communication request instruction, convert the second communication request instruction into the parsed transaction result according to the preset conversion rule, and send the parsed transaction result to the cash register system so that the cash register system stores the parsed transaction result.
5. The system according to claim 4, characterized in that The management information application is further configured to: Parsing the transaction result, and extracting values from the transaction result according to the first tag group to obtain a second tag group including the payment method name tag, the payment method ID tag, and the transaction information tag; The management information application performs the package assembly operation on the second tag to obtain a transaction result package, converts the transaction result package into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the payment plug-in according to a preset communication method.
6. A system for improving cash register efficiency, characterized in that: The system comprises: a cash register and a mobile payment terminal, wherein the cash register is provided with a cash register system, wherein a payment plug-in is deployed in the cash register system, and wherein the mobile payment terminal is provided with a management information application and a payment application. The cash register responds to the payment request action through the cash register system, calls the interface of the payment plug-in, and sends a payment instruction to the payment plug-in, wherein the payment instruction includes a payment amount and payment information; The payment plug-in in the cash register extracts tags from the payment amount and the payment information in response to the payment instruction to obtain a first tag group including a payment method name tag, a payment method ID tag, and a transaction information tag; performs a package operation on the first tag group to obtain a transaction instruction package; converts the transaction instruction package into a first communication request instruction in the form of a byte array according to a preset conversion rule, and sends the first communication request instruction to a management information application deployed in the mobile payment terminal according to a preset communication method; The mobile payment terminal responds to the first communication request instruction through the management information application, Read the instruction length in the header file of the first communication request instruction, determine whether the instruction length meets a preset threshold, and if so, convert the first communication request instruction into the transaction instruction package according to the preset conversion rule, parse the transaction instruction package, extract the value of each tag in the parsed first tag group according to the tag key corresponding to each tag, and obtain the value of each tag; call the payment plug-in interface of the mobile payment terminal, and send the transaction instruction to the payment application, wherein the transaction instruction includes the value of each tag in the first tag group; The mobile payment terminal responds to the transaction instruction through the payment application, the transaction is completed, and the transaction result is sent to the management information application; The mobile payment terminal parses the transaction result through the management information application, converts the parsed transaction result into a second communication request instruction according to the preset conversion rule, and sends the second communication request instruction to the cash register; The cash register responds to the second communication request instruction through the payment plug-in, converts the second communication request instruction into the parsed transaction result according to the preset conversion rule, and sends the parsed transaction result to the cash register system, so that the cash register system stores the parsed transaction result.
Citation Information
Patent Citations
Collection method, device and equipment and computer readable storage medium
CN110119940A
Antifraud Resilient Transaction Identifier Datastructure Apparatuses, Methods and Systems
US20200402049A1
