Composite settlement system
The shopping cart and warehouse receipt data are obtained by scanning the QR code, and the data settlement module is used for intersection calculation and write-off, which solves the difficulties caused by the coexistence of settlement methods in the e-commerce environment, and realizes fast and accurate product settlement and processing of excess returns and underpayments. Improved settlement efficiency.
Patent Information
- Application Number
- CN202410925836.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-15
AI Technical Summary
In the e-commerce environment, online settlement methods coexist with offline settlement methods, and product settlement methods coexist with warehouse receipt settlement methods, resulting in settlement difficulties, especially when confirming whether the goods in the shopping cart require cash settlement or warehouse receipt settlement, and price differences. When processing and settling multiple warehouse receipts at one time, there are problems that are time-consuming, labor-intensive and error-prone.
Use the QR code scanner to scan the shopping cart products and customer transaction IDs, obtain the data and initiate the data settlement module for retrieval, calculation and comparison, select the intersection as the actual write-off data, confirm the warehouse receipt and calculate the balance of the payment, and support the generation of matches when uploading products code and write-off code, customers can pre-select the store to pick up the warehouse receipts and write off multiple warehouse receipts at one time.
It achieves accurate and fast commodity settlement in a complex settlement environment, simplifies data extraction, matching and calculation processes, improves settlement efficiency, reduces manual write-off errors, and supports the processing of excess refunds and insufficient compensation.
Smart Images

Figure CN118780835A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of e-commerce data processing, and in particular to a composite settlement method, program and device. Background Art
[0002] At present, the known store settlement systems, such as supermarket settlement systems, usually extract data and settle in cash for unpaid goods. With the continuous development of e-commerce, the combination of offline stores and online stores has become a general trend. Under this trend, many offline store goods have been purchased by customers through online payment before they are shipped out, and are in the hands of customers in the form of warehouse receipts (delivery orders). Therefore, when customers go to offline stores to shop, there will naturally be a situation where online settlement methods coexist with offline settlement methods, and commodity settlement methods coexist with warehouse receipt settlement methods. Therefore, in the commodity settlement link, when the settlement clerk faces the goods in the shopping cart, he will face many problems: How to confirm whether a certain item in the shopping cart needs cash settlement or warehouse receipt settlement? How to confirm whether a certain item in the shopping cart is consistent with the item corresponding to the customer's warehouse receipt? When the store product price is inconsistent with the warehouse receipt product price, how to achieve more refunds and less supplements for the payment? How to support customers to pre-select warehouse receipt pick-up stores, and support customers' multiple warehouse receipts to settle at the same store at one time? How to optimize the data extraction, matching, calculation and transmission procedures in the settlement link to shorten the settlement time and improve the settlement efficiency? Obviously, if we manually distinguish certain commodities or warehouse receipts from the seemingly undifferentiated commodities in the shopping cart, and then rely on the settlement clerk's memory of the dazzling array of commodities to verify, settle and process the post-settlement data one by one, it is obviously very difficult. It is not only time-consuming and labor-intensive, but also prone to errors. In short, how to solve the settlement difficulties caused by the coexistence of online settlement methods and offline settlement methods, and the coexistence of commodity settlement methods and warehouse receipt settlement methods, is an urgent problem that needs to be solved in order to accurately and quickly settle commodities in a complex settlement environment. Summary of the invention
[0003] In response to the above-mentioned technical problems in the related art, the present application discloses a composite settlement method, system and device, that is, a composite settlement method, which is characterized by comprising: scanning the barcodes of the goods in the shopping cart with a barcode scanner to obtain the shopping cart product data and the total amount of the shopping cart products; scanning the customer transaction ID barcode with a barcode scanner to obtain the customer warehouse receipt data; at the same time, initiating a data settlement module to retrieve, calculate and compare the shopping cart product data and the customer warehouse receipt data, selecting the intersection of the two sets of data as the actual write-off data, and then confirming the corresponding warehouse receipt in the customer warehouse receipt database according to the actual write-off data and writing it off, and calculating the total amount of warehouse receipt write-off; deducting the total amount of warehouse receipt write-off according to the total amount of the shopping cart products, and adding the difference paid by the customer to obtain the balance of the customer's payable money.
[0004] The composite settlement method is characterized in that, during the process of uploading the goods in the composite settlement system, a matching code is generated using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated together with the product name, quantity, specification, and amount data and the matching code.
[0005] The composite settlement method is characterized in that the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restore the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0006] A composite settlement system, characterized in that it includes: scanning the barcodes of goods in a shopping cart by a barcode scanner to obtain shopping cart product data and the total amount of shopping cart products; scanning the customer transaction ID barcode by a barcode scanner to start a directional settlement system, perform calculations on a specific store product database, take the intersection of customer warehouse receipt data and store product data, and form store and customer intersection data; and initiate real-time retrieval, calculation and comparison of the two groups of data, namely, store and customer intersection data and shopping cart product data, by a data settlement module, and select the intersection of the two groups of data as actual write-off data; confirm the corresponding warehouse receipt in the customer warehouse receipt database according to the actual write-off data and write it off, and calculate the total write-off amount of the warehouse receipt; deduct the total write-off amount of the warehouse receipt according to the total amount of shopping cart products, and add the difference paid by the customer to obtain the balance of the customer's payable money.
[0007] The composite settlement system is characterized in that, during the process of uploading the commodities in the composite settlement system, a matching code is generated with at least one of the brand, category, SPU and SKU of the specific commodity. When a customer purchases the commodity and generates a warehouse receipt, a verification code is generated together with the commodity name, quantity, specification and amount data and the matching code.
[0008] The composite settlement system is characterized in that the customer warehouse receipt data refers to the customer warehouse receipt database that parses the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restores the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0009] A directional settlement system, characterized in that it includes: initiating the establishment of a data intercommunication relationship between the store product database of the selected store and the customer warehouse receipt database by scanning the customer transaction ID barcode on the client, or by retrieving and confirming the store name, and calculating the intersection data of the customer warehouse receipt data and the store product data as the intersection data of the store and the customer.
[0010] The described directional settlement system is characterized in that the commodities in the described composite settlement system generate matching codes with at least one of the brand, category, SPU, and SKU of the specific commodities during the commodity uploading process. When the customer purchases the commodities and generates a warehouse receipt, the verification code is generated together with the commodity name, quantity, specification, and amount data and the matching code.
[0011] The described directional settlement system is characterized in that the described customer warehouse receipt data refers to the customer warehouse receipt database that parses the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restores the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0012] A computer-readable storage medium stores a computer program. When the computer program runs in a processor, the processor executes the method according to any one of claims 1 to 9.
[0013] A computer product, comprising a computer program, wherein the computer program is executed by a processor to execute the method according to any one of claims 1 to 9.
[0014] A computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method described in any one of claims 1 to 9.
[0015] In a possible implementation, a composite settlement method is characterized in that it includes: initiating scanning the barcodes of goods in a shopping cart through a barcode scanner module to obtain shopping cart product data and the total amount of shopping cart products; initiating scanning the customer transaction ID barcode through the barcode scanner module to obtain customer warehouse receipt data and the verification code of each product therein; at the same time, the barcode scanner module calculates the store product data according to the verification code for the store product database, calculates the shopping cart product data according to the verification code for the shopping cart product data, and initiates in real time the data settlement module to retrieve, calculate and compare the three groups of data, namely, the customer warehouse receipt data, the store product data, and the shopping cart product data, and selects the intersection of the three groups of data as the actual verification data; according to the intersection of the actual verification data and the customer warehouse receipt data, confirms the corresponding customer's warehouse receipt in the customer warehouse receipt database and verifies it, and calculates the actual total verification amount; the composite settlement system then deducts the actual total verification amount from the total amount of shopping cart products, and adds the difference paid by the customer to obtain the balance of the customer's payable money.
[0016] In a possible implementation, the composite settlement method is characterized in that the composite settlement system is mainly composed of a shopping cart commodity database, a store commodity database, a customer warehouse receipt database, a barcode scanner module, a data settlement module, a monitoring program, etc. The so-called monitoring program means that in order to obtain barcode scanner data information, a specific library or driver is usually required, and these libraries may provide an API for monitoring scanning events or obtaining the status of the scanner.
[0017] In one possible implementation, the composite settlement method is characterized in that, during the process of uploading the goods in the composite settlement system, a matching code is generated using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated using the product name, quantity, specification, and amount data together with the original matching code.
[0018] The composite settlement method is characterized in that the customer warehouse receipt database in the composite settlement system has the functions of storage, retrieval, calculation, verification, data output and input for customer warehouse receipt data (including matching codes, verification codes and the commodity data contained therein); the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching codes and verification codes of warehouse receipts purchased by customers themselves and warehouse receipts forwarded by other customers, obtaining the information data contained in the verification codes and matching codes, and restoring the commodity data contained in the warehouse receipts: including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodities.
[0019] The composite settlement method is characterized in that the composite settlement system supports full selection or checking of customer warehouse receipts before forming customer warehouse receipt data, supports full selection or checking of customer warehouse receipt data, supports displaying a list of warehouse receipts corresponding to customer warehouse receipt data to customers, and supports customers to restore customer warehouse receipt data to warehouse receipts.
[0020] The composite settlement method is characterized in that the composite settlement system includes a shopping cart commodity database, which has the functions of storing, retrieving, calculating, writing off, and outputting and inputting data of shopping cart commodity data; the shopping cart commodity database has no data before the commodity settlement begins, and the database cooperates with the listening program. When the data of the result of the current writing off is obtained through the listening program, the data in the database is cleared to prepare for the next commodity settlement.
[0021] The composite settlement method is characterized in that the composite settlement system initiates a barcode scanner module to obtain shopping cart product data and a total amount of shopping cart products by scanning barcodes of products in the shopping cart.
[0022] The composite settlement method is characterized in that the composite settlement system initiates the barcode scanner module to obtain the customer warehouse receipt data by scanning the customer transaction ID barcode, and at the same time extracts the verification code of each commodity and feeds it back to the barcode scanner module. The barcode scanner module calculates the store commodity data according to the verification code for the store commodity database, and calculates the shopping cart commodity data according to the verification code for the shopping cart commodity data.
[0023] In a possible implementation, the composite settlement method is characterized in that, in the composite settlement system, the barcode scanner module initiates sending the customer warehouse receipt data, store product data, and shopping cart product data to the data settlement module in real time by scanning the customer transaction ID barcode, and the data settlement module retrieves, calculates, and compares the three sets of data, and selects the product data contained in the intersection of the three sets of data as the actual write-off data. The composite settlement system confirms the corresponding customer's warehouse receipt in the customer warehouse receipt database and writes it off based on the intersection of the actual write-off data and the customer warehouse receipt data, and calculates the total amount of the written-off warehouse receipts as the actual total write-off amount; at the same time, the composite settlement system supports one-time write-off of multiple warehouse receipts of a customer for the same store.
[0024] In one possible implementation, the composite settlement method is characterized in that, while calculating the actual total amount of write-offs, the calculation of excess refund and shortage supplement is performed according to the different prices of the goods and warehouse receipts that need to be written off: when the amount of the goods is equal to the amount of the warehouse receipt, it is written off unconditionally, and at the time of settlement, the difference paid by the customer is calculated as zero; when the amount of the goods is less than the amount of the warehouse receipt, the difference between the two needs to be returned to the account of the warehouse receipt purchaser, and at the time of settlement, the difference paid by the customer is calculated as a negative number; when the amount of the goods is greater than the amount of the warehouse receipt, the difference between the two needs to be paid, and at the time of settlement, the difference paid by the customer is calculated as a positive number.
[0025] In a possible implementation, the composite settlement method is characterized in that the composite settlement system deducts the actual total amount of the goods in the shopping cart and adds the difference paid by the customer to obtain the balance of the payment owed by the customer.
[0026] In a possible implementation, a composite settlement system is characterized by comprising: initiating scanning the barcodes of goods in a shopping cart through a barcode scanner module to obtain shopping cart product data and the total amount of shopping cart products; initiating scanning the customer transaction ID barcode through the barcode scanner module to start a directional settlement system, extracting the verification code of each product from the customer warehouse receipt data, calculating it for the store product database, and obtaining the store product data; then taking the intersection of the customer warehouse receipt data and the store product data to form the store and customer intersection data; the barcode scanner module calculates the shopping cart product data according to the verification code for the shopping cart product data, and initiating in real time the data settlement module to retrieve, calculate and compare the two sets of data, the store and customer intersection data and the shopping cart product data, and select the intersection of the two sets of data as the actual verification data; according to the intersection of the actual verification data and the customer warehouse receipt data, confirm the warehouse receipt of the corresponding customer in the customer warehouse receipt database and verify it, and calculate the total amount of the verified warehouse receipt as the actual verification total amount; according to the total amount of the shopping cart products, deduct the actual verification total amount, and add the difference paid by the customer to obtain the balance of the customer's payable.
[0027] In a possible implementation, the composite settlement system is characterized in that the composite settlement system is mainly composed of a shopping cart product database, a store product database, a customer warehouse receipt database, a directional settlement system, a barcode scanning gun module, and a data settlement module with interoperable data.
[0028] In one possible implementation, the composite settlement system is characterized in that, during the process of uploading the goods in the composite settlement system, a matching code is generated using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated using the product name, quantity, specification, and amount data together with the original matching code.
[0029] In a possible implementation, the composite settlement system is characterized in that the customer warehouse receipt database in the composite settlement system has the functions of storing, retrieving, calculating, writing off, and outputting and inputting data for customer warehouse receipt data; the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching codes and cancellation codes of the warehouse receipts purchased by the customer himself and the warehouse receipts forwarded by other customers, obtaining the information data contained in the cancellation code and the matching code, and restoring the commodity data contained in the warehouse receipt: including at least one of the brands, categories, SPUs, and SKUs to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity. Of course, in a possible implementation, the customer warehouse receipt database can only store the warehouse receipt and its matching code and cancellation code, parse the matching codes and cancellation codes of the warehouse receipts purchased by the customer himself and the warehouse receipts forwarded by other customers, obtain the information data contained in the cancellation code and the matching code, and restore the commodity data contained in the warehouse receipt. This parsing and restoration work is completed by the barcode scanning gun module.
[0030] In one possible implementation, the composite settlement system is characterized in that the composite settlement system supports full selection or checking of customer warehouse receipts before forming customer warehouse receipt data, supports full selection or checking of customer warehouse receipt data, supports displaying a list of warehouse receipts corresponding to customer warehouse receipt data to customers, and supports customers restoring customer warehouse receipt data to warehouse receipts.
[0031] In one possible implementation, the composite settlement system is characterized in that the composite settlement system includes a shopping cart product database, which has the functions of storing, retrieving, calculating, and writing off shopping cart product data, as well as data output and input; the shopping cart product database has no data before the start of product settlement, and the database cooperates with a listening program, and when the data of the verification result is obtained through the listening program, the data in the database is cleared to prepare for the next product settlement.
[0032] In a possible implementation, the composite settlement system is characterized in that the composite settlement system initiates a barcode scanner module to obtain shopping cart product data and a total amount of shopping cart products by scanning barcodes of products in the shopping cart.
[0033] In a possible implementation, the composite settlement system is characterized in that the composite settlement system initiates the barcode scanner module to scan the customer transaction ID barcode, start the directional settlement system, extract the verification code of each commodity from the customer warehouse receipt data, search, calculate and match the store commodity database to obtain the store commodity data, and then take the intersection of the customer warehouse receipt data and the store commodity data to form the store and customer intersection data.
[0034] In a possible implementation, the composite settlement system is characterized in that, in the composite settlement system, the barcode scanning gun module calculates the shopping cart product data based on the verification code, and initiates in real time the data settlement module to retrieve, calculate and compare the two sets of data, namely the store and customer intersection data and the shopping cart product data, and selects the intersection of the two sets of data as the actual verification data.
[0035] In one possible implementation, the composite settlement system is characterized in that, while calculating the actual total amount of write-offs, the calculation of excess refund and shortage supplement is performed according to the different prices of the goods and warehouse receipts that need to be written off: when the amount of the goods is equal to the amount of the warehouse receipt, it is written off unconditionally, and at the time of settlement, the difference paid by the customer is calculated as zero; when the amount of the goods is less than the amount of the warehouse receipt, the difference between the two needs to be returned to the account of the warehouse receipt purchaser, and at the time of settlement, the difference paid by the customer is calculated as a negative number; when the amount of the goods is greater than the amount of the warehouse receipt, the difference between the two needs to be paid, and at the time of settlement, the difference paid by the customer is calculated as a positive number.
[0036] In one possible implementation, the composite settlement system is characterized in that the composite settlement system, based on the intersection of actual write-off data and customer warehouse receipt data, confirms the warehouse receipt of the corresponding customer in the customer warehouse receipt database and extracts its write-off code for write-off, and calculates the total amount of the written-off warehouse receipt as the actual total write-off amount, and deducts the actual total write-off amount from the total amount of goods in the shopping cart and adds the difference paid by the customer to obtain the balance of the customer's payable.
[0037] In a possible implementation, a directional settlement system is characterized in that it includes: starting the directional settlement system by starting a client operation module; the main function of the client operation module of the directional settlement system is that when a customer picks up goods with a warehouse receipt, by scanning the customer transaction ID barcode, or by pre-retrieval of the store name of the pick-up store and confirming it, the data intercommunication relationship between the store commodity database of the selected store and the customer warehouse receipt database is started; at the same time, the verification code of each commodity extracted from the customer warehouse receipt data is retrieved, calculated and matched against the store commodity database to obtain the store commodity data, and the intersection data of the customer warehouse receipt data and the store commodity data is calculated as the intersection data of the store and the customer, and then the data is output.
[0038] In a possible implementation, the directional settlement system is characterized in that the directional settlement system is mainly composed of a store product database, a customer warehouse receipt database, and a client operation module that can communicate data.
[0039] In one possible implementation, the directed settlement system is characterized in that, during the process of uploading goods, matching codes are generated using at least one of the brand, category, SPU, and SKU of the specific goods in the directed settlement system. When a customer purchases goods and generates a warehouse receipt, a verification code is generated using the product name, quantity, specification, and amount data together with the original matching code.
[0040] In a possible implementation, the directed settlement system is characterized in that the customer warehouse receipt database in the directed settlement system has the functions of storing, retrieving, calculating, writing off, and outputting and inputting customer warehouse receipt data; the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching codes and verification codes of warehouse receipts purchased by customers themselves and warehouse receipts forwarded by other customers, obtaining the information data contained in the verification codes and matching codes, and restoring the commodity data contained in the warehouse receipts: including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0041] In a possible implementation, the directed settlement system is characterized in that the main function of the client operation module of the directed settlement system is to, in an e-commerce platform with multiple merchants, pre-retrieve and confirm the store name of the pick-up store when the customer picks up the goods with a warehouse receipt, start establishing a data interoperability relationship between the store product database of the selected store and the customer warehouse receipt database, and extract the verification code of each product from the customer warehouse receipt data.
[0042] In a possible implementation, the directed settlement system is characterized in that the directed settlement system starts the directed settlement system by starting the client operation module, extracts the verification code of each commodity from the customer warehouse receipt data, searches, calculates and matches the store commodity database to obtain the store commodity data, and then takes the intersection of the customer warehouse receipt data and the store commodity data to form store and customer intersection data; the store and customer intersection data described in the present application includes at least one of the commodity category, SPU, and SKU to which each commodity belongs, as well as the name, quantity, specification, and amount data of each commodity.
[0043] In a possible implementation, the directional settlement system is characterized in that the barcode scanning gun module calculates the shopping cart product data based on the verification code, and initiates the data settlement module to retrieve, calculate and compare the two sets of data, namely the store and customer intersection data and the shopping cart product data, in real time, and selects the intersection of the two sets of data as the actual verification data.
[0044] In one possible implementation, the directional settlement system is characterized in that, while calculating the actual total amount of write-offs, the calculation of excess refund and shortage supplement is performed according to the different prices of the goods and warehouse receipts that need to be written off: when the amount of the goods is equal to the amount of the warehouse receipt, it is written off unconditionally, and at the time of settlement, the difference paid by the customer is calculated as zero; when the amount of the goods is less than the amount of the warehouse receipt, the difference between the two needs to be returned to the account of the warehouse receipt purchaser, and at the time of settlement, the difference paid by the customer is calculated as a negative number; when the amount of the goods is greater than the amount of the warehouse receipt, the difference between the two needs to be paid, and at the time of settlement, the difference paid by the customer is calculated as a positive number.
[0045] In a possible implementation, the directed settlement system is characterized in that the directed settlement system supports, through a client operation module, customers on an e-commerce platform with multiple merchants to pre-search and confirm the store name or store number before picking up goods with a warehouse receipt, so as to start the directed settlement system and select the pick-up store; and supports a customer's multiple warehouse receipts to be settled at one time against the same store.
[0046] In a possible implementation, the directed settlement system is characterized in that the directed settlement system supports full selection or checking of customer warehouse receipts before forming customer warehouse receipt data, supports full selection or checking of customer warehouse receipt data, supports displaying a list of warehouse receipts corresponding to customer warehouse receipt data and store and customer intersection data to customers, and supports customers to restore customer warehouse receipt data to warehouse receipts.
[0047] In a possible implementation, the directional settlement system is characterized in that, based on the intersection of the actual write-off data and the customer warehouse receipt data, the directional settlement system confirms the warehouse receipt of the corresponding customer in the customer warehouse receipt database and extracts its write-off code for write-off, and calculates the total amount of the written-off warehouse receipt as the actual write-off total amount, and deducts the actual write-off total amount from the total amount of the shopping cart goods, and adds the difference paid by the customer to obtain the balance of the customer's payable. In a possible implementation, the directional settlement system is characterized in that, for the data output of the intersection data of the store and the customer, the directional settlement system includes outputting the data through an API interface module.
[0048] In a possible implementation, the directed settlement system is characterized in that, for data output of the intersection data of stores and customers, the directed settlement system includes listing and displaying to customers the warehouse receipts of customers corresponding to the group of data; after forming the intersection data of stores and customers, the directed settlement system supports displaying to customers the list of warehouse receipts of customers corresponding to the data, and customers can select all or check them again to update the customer warehouse receipt data.
[0049] In a possible implementation, the directed settlement system is characterized in that, when the customer obtains the store and customer intersection data in advance through the directed settlement system, the directed settlement system should simultaneously freeze or deduct the corresponding inventory quantity in the store commodity database to ensure that there is corresponding inventory when the customer goes to the store to pick up the goods, and the freeze or deduction of the inventory quantity will be lifted after the settlement is completed; the client should also be provided with a function that allows customers to independently choose or cancel the use of the directed settlement system.
[0050] A computer-readable storage medium stores a computer program. When the computer program runs in a processor, the processor executes the composite settlement system method provided in any optional embodiment of the present application.
[0051] A computer product, comprising a computer program, wherein the computer program is executed by a processor to implement the composite settlement system method provided in any optional embodiment of the present application.
[0052] A computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the composite settlement system method provided in any optional embodiment of the present application.
[0053] In a possible implementation, a composite settlement method is mainly characterized in that the composite settlement system is mainly composed of a shopping cart product database, a store product database, a customer warehouse receipt database, a barcode scanning gun module, and a data settlement module with interoperable data; the products in the composite settlement system generate matching codes with at least one of the brand, category, SPU, and SKU of the specific product during the product upload process, and when the customer purchases the product and generates a warehouse receipt, the quantity, unit, and packaging specification data are used together with the original matching code to generate a verification code; the barcode scanning gun module is initiated to obtain the shopping cart product data and the total amount of the shopping cart products by scanning the barcodes of the products in the shopping cart; the barcode scanning gun module is initiated to obtain the customer warehouse receipt data by scanning the customer transaction ID barcode or QR code, and at the same time, the verification code of each product is extracted and reversed The data is fed to the barcode scanner module, which calculates the store product data based on the verification code for the store product database, and calculates the shopping cart product data based on the verification code for the shopping cart product data, and initiates the sending of the customer warehouse receipt data, store product data, and shopping cart product data to the data settlement module in real time. The data settlement module retrieves, calculates and compares the three data, and selects the product data contained in the intersection of the three sets of data as the actual verification data. The composite settlement system confirms the corresponding customer's warehouse receipt in the customer warehouse receipt database based on the intersection of the actual verification data and the customer warehouse receipt data, extracts its verification code for verification, and calculates the total amount of the verified warehouse receipt as the actual verification total amount, and deducts the actual verification total amount based on the total amount of the shopping cart products, plus the difference paid by the customer to obtain the customer's payable balance.
[0054] In a possible implementation, a composite settlement system is characterized in that the composite settlement system is mainly composed of a shopping cart commodity database, a store commodity database, a customer warehouse receipt database, a barcode scanning gun module, a directional settlement system, and a data settlement module with interoperable data; the commodities in the composite settlement system generate matching codes with at least one of the brand, category, SPU, and SKU of the specific commodity during the commodity upload process; when the customer purchases the commodity and generates a warehouse receipt, the quantity, unit, and packaging specification data are used together with the original matching code to generate a verification code; the barcode scanning gun module is initiated to obtain the shopping cart commodity data and the total amount of the shopping cart commodities by scanning the barcodes of the commodities in the shopping cart; the barcode scanning gun module is initiated to start the directional settlement system by scanning the customer transaction ID barcode or QR code, extracts the verification code of each commodity from the customer warehouse receipt data, searches, calculates and matches the store commodity database, and obtains the store commodity. The module then extracts the verification code of each commodity in the customer warehouse receipt data and feeds it back to the barcode scanner module. The barcode scanner module calculates the shopping cart product data according to the verification code for the shopping cart product data, and initiates sending the store and customer intersection data and the shopping cart product data to the data settlement module in real time. The data settlement module retrieves, calculates and compares the two data, and selects the product data contained in the intersection of the two sets of data as the actual verification data. The composite settlement system confirms the warehouse receipt of the corresponding customer in the customer warehouse receipt database according to the intersection of the actual verification data and the customer warehouse receipt data, extracts its verification code for verification, and calculates the total amount of the verification receipt as the actual verification total amount. According to the total amount of the shopping cart products, the actual verification total amount is deducted, and the difference paid by the customer is added to obtain the balance of the customer's payable.
[0055] In a possible implementation, the composite settlement system includes a directional settlement system, characterized in that a directional settlement system is mainly composed of a customer warehouse receipt database, a store commodity database, a client operation module and an API interface module (API (Application Programming Interface) is a set of predefined functions, the purpose of which is to provide application programs and developers with the ability to access a set of routines based on certain software or hardware without having to access the source code or understand the details of the internal working mechanism). The main function of the client operation module is to pre-retrieve and confirm the name of the store where the goods are picked up in order to simplify and optimize the data extraction, matching, calculation and transmission procedures in the settlement process in order to shorten the settlement time and improve the settlement efficiency when the customer picks up the goods with the warehouse receipt in an e-commerce platform with multiple merchants, thereby establishing a data intercommunication relationship between the store commodity database of the selected store and the customer warehouse receipt database; at the same time, the verification code of each commodity extracted from the customer warehouse receipt data is The store product database is searched, calculated and matched to obtain the store product data, and the intersection data of the customer warehouse receipt data and the store product data is calculated as the store and customer intersection data, and then the data is transmitted to the data settlement module through the API interface module, and then the intersection data of the shopping cart product data and the store and customer intersection data is taken as the actual write-off data; the composite settlement system confirms the warehouse receipt of the corresponding customer in the customer warehouse receipt database according to the intersection of the actual write-off data and the customer warehouse receipt data, extracts its write-off code for write-off, and calculates the total amount of the written-off warehouse receipt as the actual write-off total amount, and deducts the actual write-off total amount according to the total amount of the shopping cart products, plus the difference paid by the customer to obtain the customer's payable balance.
[0056] In a possible implementation, the composite settlement system includes a directional settlement system, characterized in that the client operation module of the directional settlement system can establish a data intercommunication relationship between the store commodity database of the selected store and the customer warehouse receipt database through the customer's prior retrieval and confirmation of the name of the store where the goods are to be picked up with the warehouse receipt; at the same time, the directional settlement system supports the customer to select or check all warehouse receipts purchased by the customer himself and warehouse receipts forwarded by other customers, and by parsing the matching codes and verification codes of these warehouse receipts, the corresponding data is stored in the customer warehouse receipt database as customer warehouse receipt data; the directional settlement system will also retrieve, calculate and match the verification code of each commodity extracted from the customer warehouse receipt data against the store commodity database, to obtain The store product data is obtained, and the intersection data of the customer warehouse receipt data and the store product data is calculated as the store and customer intersection data; after the store and customer intersection data is formed, it supports displaying the customer's warehouse receipt list corresponding to the data to the customer, and the customer can select all or check them again to update the customer warehouse receipt data; the purpose of this is that on an e-commerce platform with multiple merchants, when a customer picks up goods with a warehouse receipt, the customer can pre-select the warehouse receipt pick-up store, support multiple warehouse receipts of the customer for one-time settlement for the same store, and obtain the store and customer intersection data and the updated customer warehouse receipt data in advance, thereby simplifying the data extraction, matching, calculation and transmission procedures in the settlement process to shorten the settlement time and improve the settlement efficiency, and also facilitate customers to use warehouse receipts in a planned manner. In one possible implementation, while the customer obtains the store and customer intersection data in advance through the targeted settlement system, the corresponding inventory quantity in the store's product database should be frozen or deducted at the same time to ensure that there is corresponding inventory when the customer goes to the store to pick up the goods, and the freeze or deduction of the inventory quantity should be lifted after the settlement is completed; the client should also be provided with a function that allows the customer to independently cancel the use of the targeted settlement system; the client described in this application includes a terminal device, which includes but is not limited to a mobile phone, a computer, an intelligent voice interaction device, a smart home appliance, a car terminal, etc.
[0057] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a shopping cart product database, which has the functions of storing, retrieving, calculating, verifying, and outputting and inputting the shopping cart product data extracted by the barcode scanner module by scanning the barcodes of the products in the shopping cart; the shopping cart product database has no data before the start of the product settlement, and the database cooperates with the listening program, and when the verification result data is obtained through the listening program, the data in the database is cleared to prepare for the next product settlement. The shopping cart product data refers to the product data in the shopping cart obtained by scanning the barcodes of the products in the shopping cart through the barcode scanner module; the shopping cart product data described in this application refers to the verification code of each product extracted from the customer warehouse receipt data carried by the barcode scanner module, and the product data that conforms to these verification codes is obtained after searching, matching and calculating the shopping cart product data, including the product category, SPU, and SKU to which each product belongs, as well as the name, quantity, specifications, and amount data of each product; the total amount of shopping cart products refers to the total amount of all products in the shopping cart included in the shopping cart product data.
[0058] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a store commodity database, which has the functions of storing, retrieving, calculating, writing off, and outputting and inputting the store commodity data extracted by the barcode scanner module by scanning the customer transaction ID barcode or QR code. The store commodity database described in this application is used to specifically list commodities that can generate warehouse receipts on the user side. The store commodity data described in this application refers to the verification code of each commodity extracted from the customer warehouse receipt data carried by the barcode scanner module, and the store commodity database is retrieved, matched, and calculated based on this, and the obtained data include at least one of the commodity category, SPU, and SKU to which each commodity belongs, as well as the name, quantity, specification, and amount data of each commodity.
[0059] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a customer warehouse receipt database, which has the functions of storing, retrieving, calculating, writing off, and outputting and inputting customer warehouse receipt data extracted by the barcode scanner module by scanning the customer transaction ID barcode or QR code; the customer warehouse receipt data described in this application refers to the customer warehouse receipt database parsing the matching codes and verification codes of warehouse receipts purchased by customers themselves and warehouse receipts forwarded by other customers, obtaining the information data contained in the verification code and the matching code, and restoring the commodity data contained in the warehouse receipt: including at least one of the brand, category, SPU, and SKU to which each commodity belongs, as well as the name, quantity, specification, and amount data of the commodity.
[0060] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a barcode scanner module, which includes a method of obtaining product data by scanning the product barcode through a barcode scanner, and also includes obtaining entity information on the electronic tag through NFC communication, and saving the entity information, and initiating payment based on the entity information, that is, obtaining data by obtaining entity information on the electronic tag through NFC and saving it, and processing and transmitting the data. For example, a handheld scanner emits a light beam through a laser diode, which is irradiated on a rotating prism or a swinging mirror, and the reflected light irradiates the barcode surface through a reading window. The light is reflected by the barcode or reflected in the air and then returns to the card reader, collected and focused by the mirror, and converted into an electrical signal by a photoelectric converter. The signal will be decoded by the decoding software on the scanning cycle or the terminal. In the present application, the barcode scanner module has the above-mentioned decoding software function and data extraction function, as well as the data storage, input, and output functions. In a possible implementation, the composite settlement system includes the following steps: when the barcode scanner scans the customer transaction ID, the customer transaction ID data can be matched one-to-one with the specific customer facial information data through face recognition technology, and the customer warehouse receipt database and the store product database can be directly accessed through the face recognition operation, so that the step of scanning the customer ID with the barcode scanner is omitted in the settlement step. In a possible implementation, the composite settlement system includes the following steps: when the barcode scanner scans the barcode of the product in the shopping cart, the entity information on the electronic tag can be obtained through NFC communication instead, and the entity information can be saved, and payment can be initiated based on the entity information, that is, the entity information on the electronic tag can be obtained and saved through NFC, and input into the shopping cart product database.
[0061] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a data settlement module, and the main function of the data settlement module is to store the shopping cart product data, store product data, and customer warehouse receipt data fed back by the barcode scanning gun module, and to retrieve, match, compare and calculate the three sets of data to obtain the intersection data of the three sets of data as the actual write-off data; then take the intersection data of the actual write-off data and the customer warehouse receipt data, calculate the warehouse receipt corresponding to the intersection data (which can be displayed to the customer in a list), and obtain the write-off codes of these warehouse receipts for write-off; at the same time, calculate the total amount of the written-off warehouse receipts as the actual total write-off amount; while calculating the actual total write-off amount, according to the different prices of the goods and warehouse receipts that need to be written off, perform the steps of over-refund and under-supplement: when the product amount is equal to the warehouse receipt amount, it is written off unconditionally, and at the time of settlement. , the difference paid by the customer is calculated as zero; when the commodity amount is less than the warehouse receipt amount, the difference between the two needs to be returned to the account of the warehouse receipt buyer, and the difference paid by the customer is calculated as a negative number during settlement; when the commodity amount is greater than the warehouse receipt amount, the difference between the two needs to be paid, and the difference paid by the customer is calculated as a positive number during settlement; at the same time, the total amount of the shopping cart goods, minus the actual total amount of write-offs, plus the difference paid by the customer, is equal to the customer's payable balance, and the customer makes cash payment based on this, and finally completes the settlement of this commodity; at the same time, the write-off result data is transmitted to the store commodity database, the customer warehouse receipt database, and the store's entire commodity management database through the barcode scanning gun module, and the database data is updated accordingly, and through the listening program that cooperates with the shopping cart commodity database, when the listening program obtains the write-off result data, the data in the shopping cart commodity database is cleared to prepare for the next settlement.
[0062] In one possible implementation, the verification code described in the present application can be calculated in two steps during the retrieval, calculation and matching process for comparison data (referring to the data for retrieval, calculation and matching or calculation of the intersection of data based on the verification code), as well as in the calculation process of the intersection of commodity data. The first step is the calculation regarding commodity retrieval, and the commodity data that meets the standard is retrieved based on at least one of the brand, category, SPU, and SKU to which the specific commodity belongs, as well as the name, unit, and packaging specifications of the commodity; the second step is the calculation regarding the quantity of the commodity, and there can be two different calculation methods: the first is to calculate based on the comparison data: when the quantity of the comparison data of a certain commodity is less than or equal to the quantity of the commodity on the corresponding warehouse receipt, the calculation is based on the quantity of the comparison data, and the remaining quantity of the warehouse receipt remains in the customer warehouse receipt database. Combined with other data of the commodity, the composite settlement system can generate a new warehouse receipt for the customer based on this remaining quantity; the second is to calculate based on the quantity of a certain commodity in the customer warehouse receipt data: when the quantity of a certain commodity in the comparison data is greater than or equal to the quantity of the commodity on the corresponding warehouse receipt, the calculation is based on the quantity of the commodity on the warehouse receipt. In actual applications, based on general consumption habits, the method of settlement is often adopted based on the quantity of goods on the warehouse receipt.
[0063] In a possible implementation, the composite settlement system is characterized in that the authorization to achieve data intercommunication refers to the following two types of database sharing according to different data sharing methods: one is a shared database, that is, multiple users use the same database, each with different operating permissions, access and operate data at different times or places, such as the ERP system and CRM system used within the enterprise; the other is database replication: copying the content of the original database to other servers so that multiple users can access and operate the same data at different times or places, such as the synchronous backup of regional data centers. The data exchange platform can have a rich set of data processing components built in, which can complete cleaning, row and column conversion, aggregation, data desensitization, Kafka message processing, log incremental data acquisition, data permission setting, etc., and can fully meet offline batch processing and real-time data processing; the composite settlement system is mainly composed of a store product database, a shopping cart product database, a customer warehouse receipt database, a barcode scanning gun module, a data settlement module and a directional settlement system that are authorized to achieve data intercommunication, mainly referring to the authorization to achieve data intercommunication between the above databases, modules and systems. In a possible implementation, the composite settlement system includes the following steps: the shopping cart product database, store product database, customer warehouse receipt database, barcode scanner module, API interface module, data settlement module and directional settlement system that comply with the settlement system can achieve data interoperability through URL (Uniform Resource Identifier), and / or token, and / or API (Application Programming Interface).
[0064] In a possible implementation, the composite settlement system is characterized in that the barcode scanner module, customer warehouse receipt database, store product database, shopping cart product database, directional settlement system, and customer transaction ID are all equipped with a monitoring program and a key password storage module that cooperate with them, and the key password is pre-implanted. When the barcode scanner module scans the customer transaction ID barcode or QR code, the monitoring program executes the startup password storage module to compare the key passwords of both parties: if the key passwords match, data intercommunication is achieved; if the key passwords do not match, data intercommunication is rejected and an error is reported. If the composite settlement system is an e-commerce platform with multiple merchants, the key password can be composed of a unique store code, or other manually set passwords.
[0065] In a possible implementation, the composite settlement system is characterized in that the store commodity database refers to a database of commodities uploaded by the store that can generate warehouse receipts on the user side. Therefore, while the composite settlement system is provided with a store commodity database, it can also be provided with a store commodity management database, which is similar to the common commodity management database currently used in supermarkets, and meets the various needs of the purchase, sale and inventory management of all commodities, as well as the delisting, retrieval, calculation and statistics of commodity data.
[0066] In a possible implementation, the composite settlement system is characterized in that the barcode of the goods in the shopping cart is a graphic identifier that arranges multiple black bars and spaces of different widths according to certain coding rules to express a group of information. Common barcodes are parallel line patterns composed of black bars (referred to as bars) and white bars (referred to as spaces) with very different reflectivity. The product information contained in the barcode in this application includes: at least one of the brand, category, SPU, and SKU to which the product belongs, as well as the product name, quantity, unit, packaging specifications, price, amount, unique product number, etc.
[0067] In a possible implementation, the composite settlement method, composite settlement system, and directional settlement system described in the present application are characterized in that the shopping cart product database, store product database, and customer warehouse receipt database, in addition to containing the verification code data of each product, including the product name and at least one of the brand, category, SPU, and SKU to which the product belongs, as well as the product name, quantity, unit, packaging specifications, etc., also contain price data for each product; the barcode scanning gun module can extract and transmit the price data.
[0068] In a possible implementation, the composite settlement system is characterized in that the customer transaction ID (Transaction ID) is a unique identifier used to identify and distinguish different transactions in the database. It is a number or a string, which is automatically generated and assigned by the database management system. The role of the transaction ID is to ensure the uniqueness and traceability of the transaction so as to perform operations such as concurrency control and fault recovery; the assignment rule of the transaction ID is an important way to ensure the uniqueness and traceability of the transaction; in the database management system, the assignment of the transaction ID must follow the rules of incremental assignment, uniqueness requirements, continuity within the transaction range, high concurrency considerations and fault recovery support. The transaction ID has important applications in concurrency control, transaction rollback, fault recovery, and data backup and recovery. Through reasonable transaction ID assignment rules, the performance and reliability of the database can be improved, and the consistency and integrity of the data can be guaranteed. The customer transaction ID QR code or barcode in this application is generated by the composite settlement system, and its visible transactions include warehouse receipts purchased by the customer himself or forwarded to the customer by others, as well as the customer warehouse receipt database and its data.
[0069] In a possible implementation, the composite settlement system includes the following steps: the warehouse receipt refers to the voucher for the customer to withdraw the warehoused goods issued by the composite settlement system after the customer purchases the goods. When the store uploads the goods, according to the feature vector of the specific goods, such as at least one of the brand, category, SPU (Standard Product Unit), and SKU (Stock Keeping Unit), a matching code is generated and stored in the store product database; the matching code of the product is at least one of the brand, category, SPU, and SKU. After the customer purchases the warehouse receipt, the matching code is combined with the name, quantity, specification, and amount data of the product to form the verification code of the product; the store product database, the customer warehouse receipt database, and the shopping cart product database mainly store, retrieve, calculate, and match the above verification code data. The algorithms of the store product database, the customer warehouse receipt database, and the shopping cart product database can be selected from one or more of the following algorithms: full-text search, fuzzy matching, FastText text classification algorithm, BertSum semantic optimization algorithm, big data, cloud computing, AIGC, artificial intelligence, etc.
[0070] In one possible implementation, the composite settlement system includes the following steps: the client of the composite settlement system is provided with a warehouse receipt generation module, and users can select goods according to the product details displayed in the store, such as according to the text, picture, and video introduction of the goods. At the same time, the composite settlement system generates a matching code according to at least one of the brand, category, SPU, and SKU of the specific product filled in when the product is uploaded. When the customer purchases the warehouse receipt, the original matching code is combined with the name, quantity, unit, packaging specification, etc. of the warehouse receipt product to generate a verification code, and then combined with the price data of the product to finally generate a unique warehouse receipt containing the matching code and the verification code; the warehouse receipt of the composite settlement system can be forwarded between its different customers; in a possible implementation, the present application includes the following steps: when the customer completes the warehouse receipt verification, the composite settlement system calls the customer's receiving address in real time and writes it into the shipping system for possible online delivery and door-to-door delivery.
[0071] In one possible implementation, the composite settlement system includes the following steps: because on an e-commerce platform with multiple stores, when a customer originally purchased a warehouse receipt, the payment for the subscription to the warehouse receipt was actually stored in the account of a banking institution that cooperates with the store, and was not directly given to the store. Therefore, in the cancellation link, the composite settlement system follows the principle of "whoever cancels receives the payment" and transfers the payment from the account of the above-mentioned banking institution to the account of the store that cancels the warehouse receipt in real time when the warehouse receipt is cancelled.
[0072] In one possible implementation, the composite settlement system includes the following steps: the composite settlement system combines the final settlement data, including the details of the purchase: for example, the name, quantity, unit, packaging specification, price of each product, the difference paid by the customer when the warehouse receipt is cancelled, and the total amount paid for the purchase, through the data interface of the barcode scanning gun module, the data settlement module and the printer to print out the customer's shopping receipt; or, through the authorization data exchange and by scanning the customer's transaction ID to obtain the customer's mobile phone number and other contact information, cooperate with operators such as China Mobile and China Telecom to send the data content of the above shopping receipt to the customer's mobile phone in the form of an electronic receipt in the form of WeChat, text messages, etc.
[0073] In one possible implementation, the composite settlement system includes the following steps: when the composite settlement system scans the customer transaction ID through a barcode scanner, it can generate a QR code or a barcode for the customer transaction ID, and pre-store it in the customer's "My" management background for backup, so that it can be presented at any time for scanning.
[0074] In one possible implementation, the composite settlement system includes the following steps: the composite settlement system can integrate the ID of each registered customer and realize unique identification, thereby building a unified and complete customer label system and enhancing the ability to output data to other business applications; in particular, the customer transaction ID is extracted and a QR code or barcode is generated so that the barcode scanner module can obtain the customer warehouse receipt data accordingly.
[0075] In a possible implementation, the composite settlement system includes the following steps: Taking into account the existing store merchandise management systems in many supermarkets, restaurants, brand stores and other stores, the composite settlement system can be prefabricated into a composite settlement system SDK toolkit to connect with the existing store merchandise management systems.
[0076] The beneficial effects of the present application are as follows: the present application discloses a composite settlement system, which is mainly composed of a shopping cart product database, a store product database, a customer warehouse receipt database, a barcode scanner module, a settlement module, and a directional settlement system. It supports customers to pre-select a warehouse receipt pick-up store, and supports a customer's multiple warehouse receipts to perform one-time settlement for the same store; by calculating the intersection of the shopping cart product data, the store product data, and the customer warehouse receipt data, the actual write-off data and the write-off result data (including the customer's payable balance of payment for goods) are obtained; the present application uses a barcode scanner to scan the shopping cart product and the customer's transaction ID twice, and performs composite settlement for multiple transactions such as goods, warehouse receipts, excess refunds and shortage supplements, and directional settlements, and gives the customer the final balance of payment that needs to be paid at one time, which solves the settlement difficulties caused by the coexistence of online and offline settlement methods, and the coexistence of product settlement methods and warehouse receipt settlement methods, and solves the problem of accurate and fast commodity settlement in a complex settlement environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is described in conjunction with the accompanying drawings. The accompanying drawings are incorporated into the specification and constitute a part of the specification, showing the embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Figure 1 It is a schematic flow chart showing a composite settlement system method according to an embodiment of the present application. Figure 2 It is a schematic flow chart of a composite settlement system including a directional settlement system according to an embodiment of the present application. Figure 3 It is a block diagram of a device 0016 for warehouse receipt matching according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0078] The following is a description of the specific implementation methods and drawings of the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings and the same concepts in the present application represent the same or similar elements. The following exemplary implementation methods are only for illustration and are not intended to limit the present application. Figure 1 is a schematic flow chart of a composite settlement system method according to an embodiment of the present application; Figure 2 is a schematic flow chart of a composite settlement system including a directional settlement system according to an embodiment of the present application; Figure 3 It is a block diagram of a device 0016 for warehouse receipt matching according to an exemplary embodiment of the present application. The database, modules, system, and data in the above figure cooperate with each other, interact, and work in coordination.
[0079] In one possible implementation, a composite settlement method is characterized by comprising: scanning the barcodes of items in a shopping cart with a barcode scanner to obtain shopping cart item data and the total amount of items in the shopping cart; scanning the customer transaction ID barcode with a barcode scanner to obtain customer warehouse receipt data; simultaneously initiating a data settlement module to retrieve, calculate and compare the shopping cart item data and customer warehouse receipt data, selecting the intersection of the two sets of data as actual write-off data, and then confirming the corresponding warehouse receipt in the customer warehouse receipt database based on the actual write-off data and writing it off, and calculating the total write-off amount of the warehouse receipt; deducting the total amount of warehouse receipt write-off based on the total amount of items in the shopping cart, and adding the difference paid by the customer to obtain the balance of the customer's payable balance.
[0080] In one possible implementation, the composite settlement method is characterized in that, during the process of uploading the goods in the composite settlement system, a matching code is generated using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated together with the product name, quantity, specification, and amount data and its matching code.
[0081] In a possible implementation, the composite settlement method is characterized in that the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restore the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity. Of course, in a possible implementation, the customer warehouse receipt database can only store warehouse receipts and their matching codes and verification codes, parse the matching codes and verification codes of warehouse receipts purchased by customers themselves and warehouse receipts forwarded by other customers, obtain the information data contained in the verification code and the matching code, and restore the commodity data contained in the warehouse receipt. This parsing and restoration work is completed by the barcode scanning gun module.
[0082] In one possible implementation, a composite settlement system is characterized in that it includes: scanning the barcodes of items in a shopping cart with a barcode scanner to obtain shopping cart item data and the total amount of shopping cart items; scanning the customer transaction ID barcode with a barcode scanner to start a directional settlement system, perform calculations on a specific store product database, take the intersection of customer warehouse receipt data and store product data, and form store and customer intersection data; and initiate real-time retrieval, calculation and comparison of the two sets of data, namely, store and customer intersection data and shopping cart product data, by a data settlement module, and select the intersection of the two sets of data as actual write-off data; confirm the corresponding warehouse receipt in the customer warehouse receipt database according to the actual write-off data and write it off, and calculate the total write-off amount of the warehouse receipt; deduct the total write-off amount of the warehouse receipt according to the total amount of the shopping cart products, and add the difference paid by the customer to obtain the balance of the customer's payable money.
[0083] In a possible implementation, the composite settlement system is characterized in that, during the process of uploading the goods in the composite settlement system, a matching code is generated using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated together with the product name, quantity, specification, and amount data and the matching code.
[0084] In a possible implementation, the composite settlement system is characterized in that the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restore the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0085] In one possible implementation, a directional settlement system is characterized by including: initiating the establishment of a data interoperability relationship between a store product database of a selected store and a customer warehouse receipt database by scanning a customer transaction ID barcode on the client, or by retrieving and confirming a store name, and calculating the intersection data of the customer warehouse receipt data and the store product data as the intersection data of the store and the customer.
[0086] In a possible implementation, the directional settlement system is characterized in that, during the process of uploading goods, a matching code is generated for the goods in the composite settlement system using at least one of the brand, category, SPU, and SKU of the specific goods. When a customer purchases goods and generates a warehouse receipt, a verification code is generated together with the product name, quantity, specification, and amount data and the matching code.
[0087] In a possible implementation, the directional settlement system is characterized in that the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restore the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
[0088] In a possible implementation, a computer-readable storage medium stores a computer program. When the computer program runs in a processor, the processor executes the method according to any one of claims 1 to 9.
[0089] In a possible implementation, a computer product is provided. The computer product includes a computer program. The computer program is used by a processor to execute the method according to any one of claims 1 to 9.
[0090] In one possible implementation, a computer program product or a computer program includes computer instructions stored in a computer-readable storage medium; a processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method described in any one of claims 1 to 9.
[0091] In a possible implementation, the composite settlement system includes the following steps: a composite settlement system, whose main feature is that the composite settlement system is mainly composed of a shopping cart product database, a store product database, a customer warehouse receipt database, a barcode scanning gun module, and a data settlement module with interoperable data; the products in the composite settlement system generate matching codes with at least one of the brand, category, SPU, and SKU of the specific product during the product upload process, and when the customer purchases the product and generates a warehouse receipt, the quantity, unit, and packaging specification data are used together with the original matching code to generate a verification code; the barcode scanning gun module is initiated to obtain the shopping cart product data and the total amount of the shopping cart products by scanning the barcodes of the products in the shopping cart; the barcode scanning gun module is initiated to obtain the customer warehouse receipt data by scanning the customer transaction ID barcode or QR code, and at the same time extract each product therein The verification code is fed back to the barcode scanner module. The barcode scanner module calculates the store product data according to the verification code for the store product database, and calculates the shopping cart product data according to the verification code for the shopping cart product data. It also initiates the sending of the customer warehouse receipt data, store product data, and shopping cart product data to the data settlement module in real time. The data settlement module retrieves, calculates, and compares the three data, and selects the product data contained in the intersection of the three sets of data as the actual verification data. The composite settlement system confirms the corresponding customer's warehouse receipt in the customer warehouse receipt database according to the intersection of the actual verification data and the customer warehouse receipt data, extracts its verification code for verification, and calculates the total amount of the verified warehouse receipt as the actual verification total amount. Based on the total amount of the shopping cart products, the actual verification total amount is deducted, and the difference paid by the customer is added to obtain the customer's payable balance.
[0092] In a possible implementation, the composite settlement system includes the following steps: a composite settlement system, characterized in that the composite settlement system is mainly composed of a shopping cart product database, a store product database, a customer warehouse receipt database, a barcode scanning gun module, a directional settlement system, and a data settlement module with interoperable data; the products in the composite settlement system generate matching codes with at least one of the brand, category, SPU, and SKU of the specific product during the product upload process, and when the customer purchases the product and generates a warehouse receipt, the quantity, unit, and packaging specification data are used together with the original matching code to generate a verification code; the barcode scanning gun module is initiated to obtain the shopping cart product data and the total amount of the shopping cart products by scanning the barcodes of the products in the shopping cart; the barcode scanning gun module is initiated to extract the verification code of each product from the customer warehouse receipt data through the directional settlement system by scanning the customer transaction ID barcode or QR code, and the verification code is retrieved and calculated for the store product database. and match to obtain the store product data, and then take the intersection data of the customer warehouse receipt data and the store product data to form the intersection data of the store and the customer; at the same time, extract the verification code of each product in the customer warehouse receipt data and feed it back to the barcode scanner module, the barcode scanner module calculates the shopping cart product data according to the verification code for the shopping cart product data, and initiates in real time to send the store and customer intersection data and the shopping cart product data to the data settlement module, the data settlement module retrieves, calculates and compares the two data, and selects the product data contained in the intersection of the two sets of data as the actual verification data. The composite settlement system confirms the corresponding customer's warehouse receipt in the customer warehouse receipt database according to the intersection of the actual verification data and the customer warehouse receipt data, extracts its verification code for verification, and calculates the total amount of the verification warehouse receipt as the actual verification total amount, and deducts the actual verification total amount based on the total amount of the shopping cart products, plus the customer's supplementary payment The balance of the customer's payable is obtained.
[0093] In a possible implementation, the composite settlement system includes the following steps: The composite settlement system includes a directional settlement system, characterized in that a directional settlement system is mainly composed of a customer warehouse receipt database, a store commodity database, a client operation module and an API interface module (API (Application Programming Interface) is a set of predefined functions, the purpose of which is to provide application programs and developers with the ability to access a set of routines based on certain software or hardware without having to access the source code or understand the details of the internal working mechanism). The main function of the client operation module is to pre-retrieve and confirm the name of the store where the goods are picked up in order to simplify the data extraction, matching, calculation and transmission procedures in the settlement process in order to shorten the settlement time and improve the settlement efficiency when the customer picks up the goods with the warehouse receipt in an e-commerce platform with multiple merchants. Thus, a data intercommunication relationship between the store commodity database of the selected store and the customer warehouse receipt database is established; at the same time, the verification code of each commodity extracted from the customer warehouse receipt data is used for The store product database is searched, calculated and matched to obtain the store product data, and the intersection data of the customer warehouse receipt data and the store product data is calculated as the store and customer intersection data, and then the data is transmitted to the data settlement module through the API interface module, and then the intersection data of the shopping cart product data and the store and customer intersection data is taken as the actual write-off data; the composite settlement system confirms the warehouse receipt of the corresponding customer in the customer warehouse receipt database according to the intersection of the actual write-off data and the customer warehouse receipt data, extracts its write-off code for write-off, and calculates the total amount of the write-off warehouse receipt as the actual total write-off amount, and deducts the actual total write-off amount according to the total amount of the shopping cart products, plus the difference paid by the customer to obtain the balance of the customer's payable.
[0094] In a possible implementation, the composite settlement system includes a directional settlement system, characterized in that the client operation module of the directional settlement system can establish a data intercommunication relationship between the store commodity database of the selected store and the customer warehouse receipt database through the customer's pre-retrieval and confirmation of the name of the store where the goods are to be picked up with the warehouse receipt; at the same time, the directional settlement system supports the customer to select or check all the warehouse receipts purchased by the customer himself and the warehouse receipts forwarded by other customers, and by parsing the matching codes and cancellation codes of these warehouse receipts, the corresponding data is stored in the customer warehouse receipt database as customer warehouse receipt data; the directional settlement system will also use the cancellation code of each commodity extracted from the customer warehouse receipt data for the store commodity database The database is searched, calculated and matched to obtain the store product data, and the intersection data of the customer warehouse receipt data and the store product data is calculated as the store and customer intersection data; after the store and customer intersection data is formed, it supports displaying the customer's warehouse receipt list corresponding to the data to the customer, and the customer can select all or check them again to update the customer warehouse receipt data; the purpose of this is that on an e-commerce platform with multiple merchants, when picking up goods with a warehouse receipt, the customer can manually select the pick-up store in advance, and obtain the store and customer intersection data and the updated customer warehouse receipt data in advance, thereby simplifying the data extraction, matching, calculation and transmission procedures in the settlement link to shorten the settlement time and improve the settlement efficiency, and it is also convenient for customers to use warehouse receipts in a planned way. In a possible implementation, while the customer obtains the store and customer intersection data in advance through the targeted settlement system, the corresponding inventory quantity in the store's product database should be frozen or deducted at the same time to ensure that there is corresponding inventory when the customer goes to the store to pick up the goods, and the freeze or deduction of the inventory quantity will be lifted after the settlement is completed; the client should also be provided with a function that allows the customer to independently cancel the use of the targeted settlement system; the client operation module targets a client including a terminal device, which includes but is not limited to a mobile phone, a computer, an intelligent voice interaction device, a smart home appliance, a car terminal, etc.
[0095] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a shopping cart product database, which has the functions of storing, retrieving, calculating, verifying, and outputting and inputting the shopping cart product data extracted by the barcode scanner module by scanning the barcodes of the products in the shopping cart; the shopping cart product database has no data before the start of the product settlement, and the database cooperates with the listening program, and when the verification result data is obtained through the listening program, the data in the database is cleared to prepare for the next product settlement. The shopping cart product data refers to the product data in the shopping cart obtained by scanning the barcodes of the products in the shopping cart through the barcode scanner module, including the product name of each product and the product category, SPU, SKU to which it belongs, as well as the quantity, unit, packaging specifications and other data of each product; the shopping cart product data refers to the product data that meets these verification codes obtained by extracting the verification code of each product from the customer warehouse receipt data carried by the barcode scanner module, and searching, matching and calculating the shopping cart product data based on this; the shopping cart product total amount refers to the total amount of all products in the shopping cart included in the shopping cart product data.
[0096] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a store commodity database, which has the functions of storing, retrieving, calculating, writing off, and outputting and inputting the store commodity data extracted by the barcode scanner module by scanning the customer transaction ID barcode or QR code; the store commodity database is used to specifically list commodities that can generate warehouse receipts on the user side. The store commodity data refers to the commodity data that meets these verification codes obtained by extracting the verification code of each commodity from the customer warehouse receipt data carried by the barcode scanner module, and then searching, matching, and calculating the store commodity database.
[0097] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a customer warehouse receipt database, which has the functions of storing, retrieving, calculating, writing off, and outputting and inputting customer warehouse receipt data extracted by the barcode scanner module by scanning the customer transaction ID barcode or QR code; the customer warehouse receipt data refers to the customer warehouse receipt database parsing the matching codes and verification codes of warehouse receipts purchased by customers themselves and warehouse receipts forwarded by other customers, obtaining the information data contained in the verification code and the matching code, and restoring the commodity data contained in the warehouse receipt: including at least one of the brand, category, SPU, and SKU to which the commodity belongs, as well as the name, quantity, specification, and amount data of the commodity.
[0098] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a barcode scanner module, which includes a method of obtaining product data by scanning the product barcode through a barcode scanner, and also includes obtaining entity information on the electronic tag through NFC communication, and saving the entity information, and initiating payment based on the entity information, that is, obtaining data by obtaining entity information on the electronic tag through NFC and saving it, and processing and transmitting the data. For example, a handheld scanner emits a light beam through a laser diode, which is irradiated on a rotating prism or a swinging mirror, and the reflected light irradiates the barcode surface through a reading window. The light is reflected by the barcode or reflected in the air and then returns to the card reader, collected and focused by the mirror, and converted into an electrical signal by a photoelectric converter. The signal will be decoded by the decoding software on the scanning cycle or the terminal. In the present application, the barcode scanner module has the above-mentioned decoding software function and data extraction function, as well as the data storage, input, and output functions. In a possible implementation, the composite settlement system includes the following steps: when the barcode scanner scans the customer transaction ID, the customer transaction ID data can be matched with the specific customer facial information data through face recognition technology, and directly access the customer warehouse receipt database and the store product database through face recognition, so that the step of scanning the customer ID with a barcode scanner is omitted in the settlement step. In a possible implementation, the composite settlement system includes the following steps: when the barcode scanner scans the barcode of the product in the shopping cart, the entity information on the electronic tag can be obtained through NFC communication instead, and the entity information can be saved, and payment can be initiated based on the entity information, that is, the entity information on the electronic tag can be obtained and saved through NFC, and input into the shopping cart product database.
[0099] In a possible implementation, the composite settlement system is characterized in that the composite settlement system includes a data settlement module, and the main function of the data settlement module is to store the shopping cart product data, store product data, and customer warehouse receipt data fed back by the barcode scanning gun module, and to retrieve, match, compare and calculate the three sets of data to obtain the intersection data of the three sets of data as the actual write-off data; then take the intersection data of the actual write-off data and the customer warehouse receipt data, calculate the warehouse receipt corresponding to the intersection data (which can be displayed to the customer in a list), and obtain the write-off codes of these warehouse receipts for write-off; at the same time, calculate the total amount of the written-off warehouse receipts as the actual total write-off amount; while calculating the actual total write-off amount, according to the different prices of the goods and warehouse receipts that need to be written off, perform the steps of over-refund and under-supplement: when the product amount is equal to the warehouse receipt amount, there is no condition When the commodity amount is less than the warehouse receipt amount, the difference between the two shall be refunded to the account of the warehouse receipt purchaser. At the time of settlement, the difference paid by the customer shall be calculated as a negative number; when the commodity amount is greater than the warehouse receipt amount, the difference between the two shall be paid. At the time of settlement, the difference paid by the customer shall be calculated as a positive number. At the same time, the total amount of the shopping cart commodities, minus the actual total amount of write-offs, plus the difference paid by the customer, is equal to the balance of the customer's payable. The customer makes cash payment based on this and finally completes the settlement of this commodity. At the same time, the write-off result data is transmitted to the store commodity database, the customer warehouse receipt database, and the store's entire commodity management database respectively through the barcode scanning gun module, and the database data is updated accordingly. When the listening program cooperates with the shopping cart commodity database, the listening program obtains the write-off result data and clears the shopping cart commodity database to prepare for the next settlement. In one possible implementation, the verification code described in the present application can be calculated in two steps during the retrieval, calculation and matching process for comparison data (referring to the data for retrieval, calculation and matching or calculation of the intersection of data based on the verification code), as well as in the calculation process of the intersection of commodity data. The first step is the calculation regarding commodity retrieval, and the commodity data that meets the standard is retrieved based on at least one of the brand, category, SPU, and SKU to which the specific commodity belongs, as well as the name, unit, and packaging specifications of the commodity; the second step is the calculation regarding the quantity of the commodity, and there can be two different calculation methods: the first is to calculate based on the comparison data: when the quantity of the comparison data of a certain commodity is less than or equal to the quantity of the commodity on the corresponding warehouse receipt, the calculation is based on the quantity of the comparison data, and the remaining quantity of the warehouse receipt remains in the customer warehouse receipt database. Combined with other data of the commodity, the composite settlement system can generate a new warehouse receipt for the customer based on this remaining quantity; the second is to calculate based on the quantity of a certain commodity in the customer warehouse receipt data: when the quantity of a certain commodity in the comparison data is greater than or equal to the quantity of the commodity on the corresponding warehouse receipt, the calculation is based on the quantity of the commodity on the warehouse receipt.
[0100] In a possible implementation, the composite settlement system is characterized in that the authorization to achieve data intercommunication refers to the following two types of database sharing according to different data sharing methods: one is a shared database, that is, multiple users use the same database, each with different operating permissions, access and operate data at different times or places, such as the ERP system and CRM system used within the enterprise; the other is database replication: copying the content of the original database to other servers so that multiple users can access and operate the same data at different times or places, such as the synchronous backup of regional data centers. The data exchange platform can have a rich set of data processing components built in, which can complete cleaning, row and column conversion, aggregation, data desensitization, Kafka message processing, log incremental data acquisition, data permission setting, etc., and can fully meet offline batch processing and real-time data processing; the composite settlement system is mainly composed of a store product database, a shopping cart product database, a customer warehouse receipt database, a barcode scanning gun module, a data settlement module and a directional settlement system that are authorized to achieve data intercommunication, mainly referring to the authorization to achieve data intercommunication between the above databases, modules and systems. In a possible implementation, the composite settlement system includes the following steps: the shopping cart product database, store product database, customer warehouse receipt database, barcode scanner module, API interface module, data settlement module and directional settlement system that comply with the settlement system can achieve data interoperability through URL (Uniform Resource Identifier), and / or token, and / or API (Application Programming Interface).
[0101] In a possible implementation, the composite settlement system is characterized in that the barcode scanner module, customer warehouse receipt database, store product database, shopping cart product database, directional settlement system, and customer transaction ID are all equipped with a monitoring program and a key password storage module that cooperate with them, and the key password is pre-implanted. When the barcode scanner module scans the customer transaction ID barcode or QR code, the monitoring program executes the startup password storage module to compare the key passwords of both parties: if the key passwords match, data intercommunication is achieved; if the key passwords do not match, data intercommunication is rejected and an error is reported. If the composite settlement system is an e-commerce platform with multiple merchants, the key password can be composed of a unique store code, or other manually set passwords.
[0102] In a possible implementation, the composite settlement system is characterized in that the store commodity database refers to a database of commodities uploaded by the store that can generate warehouse receipts on the user side. Therefore, while the composite settlement system is provided with a store commodity database, it can also be provided with a store commodity management database, which is similar to the common commodity management database currently used in supermarkets, and meets the various needs of the purchase, sale and inventory management of all commodities, as well as the delisting, retrieval, calculation and statistics of commodity data.
[0103] In a possible implementation, the composite settlement system is characterized in that the barcode of the goods in the shopping cart is a graphic identifier that arranges multiple black bars and spaces of different widths according to certain coding rules to express a group of information. Common barcodes are parallel line patterns composed of black bars (referred to as bars) and white bars (referred to as spaces) with very different reflectivity. The product information contained in the barcode in this application includes: the product name and at least one of the brand, category, SPU, and SKU to which the product belongs, as well as the product quantity, unit, packaging specifications, price, amount, and unique product number.
[0104] In a possible implementation, the composite settlement system is characterized in that the shopping cart product database, store product database, and customer warehouse receipt database, in addition to containing the verification code data of each product, including the product name and at least one of the brand, category, SPU, and SKU to which the product belongs, as well as the product quantity, unit, packaging specification, and a unique product number, also contain the price data of each product.
[0105] In a possible implementation, the composite settlement system is characterized in that the customer transaction ID (Transaction ID) is a unique identifier used to identify and distinguish different transactions in the database. It is a number or a string, which is automatically generated and assigned by the database management system. The role of the transaction ID is to ensure the uniqueness and traceability of the transaction so as to perform operations such as concurrency control and fault recovery; the assignment rule of the transaction ID is an important way to ensure the uniqueness and traceability of the transaction; in the database management system, the assignment of the transaction ID must follow the rules of incremental assignment, uniqueness requirements, continuity within the transaction range, high concurrency considerations and fault recovery support. The transaction ID has important applications in concurrency control, transaction rollback, fault recovery, and data backup and recovery. Through reasonable transaction ID assignment rules, the performance and reliability of the database can be improved, and the consistency and integrity of the data can be guaranteed. The customer transaction ID QR code or barcode in this application is generated by the composite settlement system, and its visible transactions include warehouse receipts purchased by the customer himself or forwarded to the customer by others, as well as the customer warehouse receipt database and its data.
[0106] In a possible implementation, the composite settlement system includes the following steps: the warehouse receipt refers to the voucher for the customer to withdraw the warehoused goods issued by the composite settlement system after the customer purchases the goods. When the store uploads the goods, according to the feature vector of the specific goods, such as at least one of the brand, category, SPU (Standard Product Unit), and SKU (Stock Keeping Unit), a matching code is generated and stored in the store product database; the matching code of the product is at least one of the brand, category, SPU, and SKU. When the customer purchases the warehouse receipt, the matching code is combined with the name, quantity, specification, and amount data of the product to form the verification code of the product; the store product database, the customer warehouse receipt database, and the shopping cart product database mainly store, retrieve, calculate, and match the above verification code data. The algorithms of the store product database, the customer warehouse receipt database, and the shopping cart product database can be selected from one or more of the following algorithms: full-text search, fuzzy matching, FastText text classification algorithm, BertSum semantic optimization algorithm, big data, cloud computing, AIGC, AI artificial intelligence, etc.
[0107] In one possible implementation, the composite settlement system includes the following steps: the client of the composite settlement system is provided with a warehouse receipt generation module, and users can select commodities according to the commodity details displayed in the store, such as according to the introduction of the commodities in the form of text, pictures, and videos. At the same time, the composite settlement system generates a matching code according to at least one of the brand, category, SPU, and SKU of the commodity filled in when the specific commodity is uploaded. When the customer purchases the warehouse receipt, the original matching code is combined with the name, quantity, unit, and packaging specifications of the warehouse receipt commodity to generate a verification code, and then combined with the price data of the commodity, a unique warehouse receipt containing the matching code and the verification code is finally generated; the warehouse receipt of the composite settlement system can be forwarded between its different customers; in a possible implementation, the composite settlement system includes the following steps: when the customer completes the warehouse receipt verification, the composite settlement system calls the customer's receiving address in real time and writes it into the shipping system for possible online shipping and door-to-door delivery.
[0108] In one possible implementation, the composite settlement system includes the following steps: because on an e-commerce platform with multiple stores, when a customer originally purchased a warehouse receipt, the payment for the subscription to the warehouse receipt was actually stored in the account of a banking institution that cooperates with the store, and was not directly given to the store. Therefore, in the cancellation link, the composite settlement system follows the principle of "whoever cancels receives the payment" and transfers the payment from the account of the above-mentioned banking institution to the account of the store that cancels the warehouse receipt in real time when the warehouse receipt is cancelled.
[0109] In one possible implementation, the composite settlement system includes the following steps: the composite settlement system combines the final settlement data, including the details of the purchase: for example, the name, quantity, unit, packaging specification, price of each product, the difference paid by the customer when the warehouse receipt is cancelled, and the total amount paid for the purchase, through the data interface of the barcode scanning gun module, the data settlement module and the printer to print out the customer's shopping receipt; or, through the authorization data exchange and by scanning the customer's transaction ID to obtain the customer's mobile phone number and other contact information, cooperate with operators such as China Mobile and China Telecom to send the data content of the above shopping receipt to the customer's mobile phone in the form of an electronic receipt in the form of WeChat, text messages, etc.
[0110] In one possible implementation, the composite settlement system includes the following steps: when the composite settlement system scans the customer transaction ID through a barcode scanner, it can generate a QR code or a barcode for the customer transaction ID, and pre-store it in the customer's "My" management background for backup, so that it can be presented at any time for scanning.
[0111] In one possible implementation, the composite settlement system includes the following steps: the composite settlement system can integrate the ID of each registered customer and realize unique identification, thereby building a unified and complete customer label system and enhancing the ability to output data to other business applications; in particular, the customer transaction ID is extracted and a QR code or barcode is generated so that the barcode scanner module can obtain the customer warehouse receipt data accordingly.
[0112] In a possible implementation, the composite settlement system includes the following steps: Taking into account the existing store merchandise management systems in many supermarkets, restaurants, brand stores and other stores, the composite settlement system can be prefabricated into a composite settlement system SDK toolkit to connect with the existing store merchandise management systems.
[0113] On the other hand, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs in a processor, the processor executes the composite settlement system method provided in any optional embodiment of the present application.
[0114] On the other hand, the present application provides a computer product, which includes a computer program, and when the computer program is executed by a processor, it executes the composite settlement system method provided by any optional embodiment of the present application.
[0115] On the other hand, the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the composite settlement system method provided in any optional embodiment of the present application.
[0116] In one possible implementation, Figure 1 It is a schematic flow chart showing a composite settlement system method according to an embodiment of the present application. Steps S01 and S02: initiating scanning of the barcode or QR code of the goods in the shopping cart by the barcode scanner module to obtain shopping cart goods data, wherein the shopping cart goods data refers to the goods data in the shopping cart obtained by scanning the barcode of the goods in the shopping cart by the barcode scanner module, including the name of each product and at least one of the product category, SPU, and SKU to which it belongs, as well as the name, quantity, specification, and amount data of each product; at the same time, obtaining the total amount of the shopping cart goods by calculation in the shopping cart goods database; the total amount of the shopping cart goods refers to the total amount of all the goods in the shopping cart included in the shopping cart goods data; Steps S03 and S06: In order to obtain the data information of the barcode scanner, a specific library or driver is usually required. These libraries may provide an API for monitoring scanning events or obtaining the status of the barcode scanner. In the figure, the barcode scanner module is initiated to scan the barcode (or QR code) of the item in the shopping cart, and the extracted shopping cart item data and the total amount of the shopping cart items are stored in the data settlement module through the monitoring program. Steps S19 and S06: Initiate the barcode scanner module to scan the customer transaction ID barcode (or QR code), obtain the customer warehouse receipt data from the customer warehouse receipt database, and store it in the data settlement module through the monitoring program; Steps S07, S22, S10: The data settlement module calculates the intersection data of the shopping cart product data and the customer warehouse receipt data as the actual write-off data; then calculates the total warehouse receipt write-off amount (i.e., the total amount of the warehouse receipt write-off) from the customer warehouse receipt data based on the actual write-off data; Steps S11 and S21: the data settlement module deducts the total amount of warehouse receipt write-offs from the total amount of goods in the shopping cart to obtain the write-off result data (including the balance of the customer's payable balance); since the warehouse receipts in the customer warehouse receipt database may be used to pick up goods at different pick-up stores, and the same product may have different prices in different pick-up stores, when using warehouse receipts for settlement, the problem of over-refund and under-repayment may be encountered, so "customer pays the difference" will appear: when the commodity amount is equal to the warehouse receipt amount, it will be written off unconditionally, and the customer pays the difference as zero during settlement; when the commodity amount is less than the warehouse receipt amount, the difference between the two needs to be returned to the account of the warehouse receipt purchaser, and the customer pays the difference as a negative number during settlement; when the commodity amount is greater than the warehouse receipt amount, the difference between the two needs to be paid, and the customer pays the difference as a positive number during settlement. Steps S13, S14, S15, and S16: The verification result data includes the customer's payable balance, as well as the data changes caused by the verification. The store product database, customer warehouse receipt database, shopping cart product database, and store's entire product management database (the store contains products that can be settled with warehouse receipts and products that cannot be settled with warehouse receipts) are updated in real time, including clearing the shopping cart product database based on monitoring data to prepare for the next product settlement.
[0117] In one possible implementation, Figure 2 It is a schematic flow chart of a composite settlement system including a directional settlement system according to an embodiment of the present application. Steps S01 and S02: initiating scanning of the barcode or QR code of the goods in the shopping cart by the barcode scanner module to obtain shopping cart goods data, wherein the shopping cart goods data refers to the goods data in the shopping cart obtained by scanning the barcode of the goods in the shopping cart by the barcode scanner module, including the name of each product and at least one of the product category, SPU, and SKU to which it belongs, as well as the name, quantity, specification, and amount data of each product; at the same time, obtaining the total amount of the shopping cart goods by calculation in the shopping cart goods database; the total amount of the shopping cart goods refers to the total amount of all the goods in the shopping cart included in the shopping cart goods data; Steps S03 and S06: In order to obtain the data information of the barcode scanner, a specific library or driver is usually required. These libraries may provide an API for monitoring scanning events or obtaining the status of the barcode scanner. In the figure, the barcode scanner module is initiated to scan the barcode (or QR code) of the item in the shopping cart, and the extracted shopping cart item data and the total amount of the shopping cart items are stored in the data settlement module through the monitoring program. Steps S18, S19, and S06: The customer initiates the establishment of a data intercommunication relationship between the store product database of the selected store and the customer warehouse receipt database by scanning the customer transaction ID barcode on the client side, or by searching and confirming the store name, through the directional settlement system, and calculates the intersection data of the customer warehouse receipt data and the store product data as the intersection data of the store and the customer, and stores it in the data settlement module through the monitoring program; Steps S07, S20, S10: The data settlement module calculates the intersection data of the shopping cart product data and the intersection data of the store and the customer as the actual write-off data; then, based on the actual write-off data, the total write-off amount of the warehouse receipt (i.e., the total amount of the write-off warehouse receipt) is calculated from the intersection data of the store and the customer; Steps S11 and S21: the data settlement module deducts the total amount of warehouse receipt write-offs from the total amount of goods in the shopping cart to obtain the write-off result data (including the balance of the customer's payable balance); since the warehouse receipts in the customer warehouse receipt database may be used to pick up goods at different pick-up stores, and the same product may have different prices in different pick-up stores, when using warehouse receipts for settlement, the problem of over-refund and under-repayment may be encountered, so "customer pays the difference" will appear: when the commodity amount is equal to the warehouse receipt amount, it will be written off unconditionally, and the customer pays the difference as zero during settlement; when the commodity amount is less than the warehouse receipt amount, the difference between the two needs to be returned to the account of the warehouse receipt purchaser, and the customer pays the difference as a negative number during settlement; when the commodity amount is greater than the warehouse receipt amount, the difference between the two needs to be paid, and the customer pays the difference as a positive number during settlement. Steps S13, S14, S15, and S16: The verification result data includes the customer's payable balance, as well as the data changes caused by the verification. The store product database, customer warehouse receipt database, shopping cart product database, and store's entire product management database (the store contains products that can be settled with warehouse receipts and products that cannot be settled with warehouse receipts) are updated in real time, including clearing the shopping cart product database based on monitoring data to prepare for the next product settlement.
[0118] In one possible implementation, Figure 3 0016 is a block diagram of a device for warehouse receipt matching according to an exemplary embodiment of the present application. The present application provides a composite settlement system device 0016, such as Figure 3As shown, the device 0016 includes a processing component 7557 and a memory 8582. Exemplarily, the device 0016 can be provided as a server. The processing component 7557 can include one or more processors. The memory 8582 represents a memory resource, which can store instructions executed by the processing component 7557, such as an application. The application stored in the memory 8582 can include one or more modules, each corresponding to a group of instructions. In addition, the processing component 7557 is configured to execute instructions to execute the composite settlement system method provided in any embodiment of the present application.
[0119] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modified solutions and equivalent replacements made within the ideas and principles of the present application should be included in the protection scope of the present application. It should be understood that the above embodiments are provided to ordinary technicians in the field to implement or use the present application. Without departing from the inventive concept of the present application, ordinary technicians in the field can make various modifications or changes to the above embodiments. Therefore, the protection scope of the present application is not limited by the above embodiments, but should be the maximum scope of the innovative features mentioned in the claims.
Claims
1. A composite settlement method, characterized in that: include: Scan the barcodes of the items in the shopping cart with a barcode scanner to obtain the shopping cart item data and the total amount of the items in the shopping cart; scan the customer transaction ID barcode with a barcode scanner to obtain the customer warehouse receipt data; at the same time, initiate the data settlement module to retrieve, calculate and compare the shopping cart item data and customer warehouse receipt data, select the intersection of the two sets of data as the actual write-off data, and then confirm the corresponding warehouse receipt in the customer warehouse receipt database based on the actual write-off data and write it off, and calculate the total amount of warehouse receipt write-off; based on the total amount of the shopping cart items, deduct the total amount of warehouse receipt write-offs, plus the difference paid by the customer, to obtain the customer's payable balance.
2. The composite settlement method according to claim 1, characterized in that: The commodities in the composite settlement system generate matching codes with at least one of the brand, category, SPU and SKU of the specific commodities during the commodity uploading process. When the customer purchases the commodities and generates a warehouse receipt, the verification code is generated together with the commodity name, quantity, specification and amount data and the matching code.
3. The composite settlement method according to claim 1, characterized in that: The customer warehouse receipt data refers to the customer warehouse receipt database that parses the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restores the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
4. A composite settlement system, characterized in that: include: Scan the barcodes of the items in the shopping cart with a barcode scanner to obtain the shopping cart item data and the total amount of the shopping cart items; scan the customer transaction ID barcode with a barcode scanner to start the directional settlement system, perform calculations on the specific store product database, take the intersection of the customer warehouse receipt data and the store product data, and form the store and customer intersection data; and initiate real-time retrieval, calculation and comparison of the two sets of data, the store and customer intersection data and the shopping cart product data, by the data settlement module, and select the intersection of the two sets of data as the actual write-off data; confirm the corresponding warehouse receipt in the customer warehouse receipt database based on the actual write-off data and write it off, and calculate the total write-off amount of the warehouse receipt; deduct the total write-off amount of the warehouse receipt based on the total amount of the shopping cart products, and add the difference paid by the customer to obtain the balance of the customer's payable money.
5. The composite settlement system according to claim 4, characterized in that: The commodities in the composite settlement system generate matching codes with at least one of the brand, category, SPU and SKU of the specific commodities during the commodity uploading process. When the customer purchases the commodities and generates a warehouse receipt, the verification code is generated together with the commodity name, quantity, specification and amount data and the matching code.
6. The composite settlement system according to claim 4, characterized in that: The customer warehouse receipt data refers to the customer warehouse receipt database that parses the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restores the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
7. A directional settlement system, characterized in that: include: The client initiates the establishment of a data interoperability relationship between the store product database of the selected store and the customer warehouse receipt database by scanning the customer transaction ID barcode or by retrieving and confirming the store name, and calculates the intersection data of the customer warehouse receipt data and the store product data as the intersection data of the store and the customer.
8. The directional settlement system according to claim 7, characterized in that: The commodities in the composite settlement system generate matching codes with at least one of the brand, category, SPU and SKU of the specific commodities during the commodity uploading process. When the customer purchases the commodities and generates a warehouse receipt, the verification code is generated together with the commodity name, quantity, specification and amount data and the matching code.
9. The directional settlement system according to claim 7, characterized in that: The customer warehouse receipt data refers to the customer warehouse receipt database that parses the matching code and the verification code of the warehouse receipt to obtain the information data contained in the matching code and the verification code, and restores the commodity data contained in the warehouse receipt, including at least one of the brand, category, SPU, and SKU to which each commodity belongs, and the name, quantity, specification, and amount data of the commodity.
10. A computer-readable storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed in a processor, the processor executes the method according to any one of claims 1 to 9.
11. A computer product, comprising a computer program, wherein the method according to any one of claims 1 to 9 is executed by a processor.
12. A computer program product or a computer program, which comprises computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method described in any one of claims 1 to 9.
