Commodity delivery tracking method, system, device and storage medium based on blockchain
By recording the information of each link of the product delivery process in the blockchain system, the problem of insufficient information tracking during the delivery process is solved, and standardized management of the delivery process and rapid positioning of the problem is achieved.
Patent Information
- Application Number
- CN202210722257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-06-17
AI Technical Summary
During the delivery process, the lack of tracking of the process leads to shirking responsibility between the picker and the deliveryman, making it difficult to determine the links of misplaced or missing goods, affecting the standardized management of the delivery process.
The blockchain-based product delivery tracking method is adopted to record the relevant information of each link through the blockchain system, and send reminders to the corresponding nodes when problems arise to ensure the consistency and accuracy of the information of each link.
It effectively avoids the phenomenon of wrong delivery of orders and can track down the entire delivery process. Once problems arise, it is easy to find the problem points and ensure the standardized management of the delivery process.
Smart Images

Figure CN115099743B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to a commodity distribution tracking method based on blockchain, a commodity distribution tracking system based on blockchain, a computer device, and a computer-readable storage medium. Background Art
[0002] With the development of the times, people are shopping online more and more. Even vegetables, meat, eggs, fruits, snacks, daily necessities and other daily necessities are purchased online, waiting for the deliveryman to deliver them directly to the door. Especially after large chain fresh supermarkets such as Hema, JD Fresh, Meituan Grocery, and Duodian Convenience provide online shopping and home delivery services, many vegetable and fruit supermarkets near residential areas can now provide convenient online shopping services. This type of online shopping is basically delivered from the nearest supermarket outlets near the residents' homes, which are generally in the same city and not too far from the receiving place.
[0003] However, in the entire distribution process of goods, including sorting, packaging, picking, transportation and delivery, all links are checked by pickers and delivery personnel themselves, which is very inconvenient. Moreover, once goods are misplaced or missing, it is often difficult to determine which link has the problem, resulting in buck-passing and wrangling between pickers and delivery personnel, which is not conducive to the standardized management of the distribution process.
[0004] Therefore, there is an urgent need in the art to propose a solution that can track the commodity delivery process. Summary of the invention
[0005] The present invention is completed in order to at least partially solve the technical problem that in the prior art, the commodity distribution process only relies on the staff to check the commodity information by themselves, but lacks the tracking of the commodity distribution process.
[0006] According to one aspect of the present invention, a commodity delivery tracking method based on blockchain is provided, the method comprising:
[0007] After the picker picks and packs the corresponding goods according to the product order, the picker node uploads the packaged product information to the blockchain system so that the blockchain system records the packaged product information and compares the packaged product information with the corresponding order product information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked products is sent to the picker node.
[0008] Optionally, the method further comprises:
[0009] The picker node receives the reminder information for checking the picked goods sent by the blockchain system;
[0010] After the picker checks the currently packaged goods according to the reminder information of checking the picked goods and finds that there are errors, and re-picks and packs the corresponding goods according to the goods order, the picker node uploads the second-packaged goods information to the blockchain system, so that the blockchain system records the second-packaged goods information and compares the second-packaged goods information with the corresponding order goods information to see if they are consistent. If they are inconsistent, the reminder information of checking the picked goods is sent to the picker node again;
[0011] After the picker checks the current or secondary packaged goods according to the picking goods prompt information and updates the current or secondary packaged goods information, the picker node uploads the updated current or secondary packaged goods information and the picker's confirmation information to the blockchain system, so that the blockchain system associates and records the updated current or secondary packaged goods information and the picker's confirmation information.
[0012] Optionally, the method further comprises:
[0013] After the deliveryman picks up the goods according to the order, the deliveryman node uploads the goods information to the blockchain system, so that the blockchain system records the goods information and compares the goods information with the corresponding packaged goods information to see if they are consistent. If they are inconsistent, a reminder message for checking the goods is sent to the deliveryman node.
[0014] Optionally, the method further comprises:
[0015] The deliveryman node receives the reminder information sent by the blockchain system to check the pickup goods;
[0016] After the deliveryman checks the goods picked up this time and finds that there is something wrong according to the reminder information for checking the goods, and picks up the goods again according to the goods order, the deliveryman node uploads the second-time goods pickup information to the blockchain system, so that the blockchain system records the second-time goods pickup information and compares the second-time goods pickup information with the corresponding packaged goods information to see if they are consistent. If they are inconsistent, the reminder information for checking the goods pickup is sent to the deliveryman node again;
[0017] After the deliveryman checks that the goods picked up this time or the second time are correct and updates the goods information of this time or the second time according to the reminder information for checking the goods to be picked up, the deliveryman node uploads the updated goods information of this time or the second time and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information of this time or the second time and the deliveryman's confirmation information.
[0018] Optionally, after the delivery person node receives the reminder information for checking the pickup goods sent by the blockchain system, the method further includes:
[0019] After the deliveryman checks the pickup goods according to the pickup goods verification prompt information and finds that the goods are incorrect, and contacts the picker to pick and pack the goods again, the deliveryman node and the picker node upload the second pickup goods information and the second packing goods information to the blockchain system respectively, so that the blockchain system records and compares whether the second packing goods information is consistent with the second pickup goods information. If they are inconsistent, the pickup goods verification prompt information is sent to the deliveryman node again.
[0020] Optionally, the method further comprises:
[0021] After the deliveryman arrives at the delivery address according to the product order, the deliveryman node uploads the delivery product information to the blockchain system, so that the blockchain system records the delivery product information and compares the delivery product information with the corresponding pickup product information to see if they are consistent. If they are inconsistent, a reminder message for verifying the delivery product is sent to the deliveryman node.
[0022] Optionally, the method further comprises:
[0023] The deliveryman node receives the reminder information sent by the blockchain system to check the delivered goods;
[0024] After the deliveryman checks the delivery goods according to the delivery goods verification prompt information and finds that the goods are incorrect, and reselects the goods for delivery according to the goods order, the deliveryman node uploads the reselected delivery goods information to the blockchain system, so that the blockchain system records the reselected delivery goods information and compares the reselected delivery goods information with the corresponding pickup goods information to see if they are consistent. If they are inconsistent, the deliveryman node is sent again with the deliveryman node;
[0025] After the deliveryman checks that the goods to be delivered are correct according to the delivery goods verification prompt information and updates the goods information for this or reselected delivery, the deliveryman node uploads the updated goods information for this or reselected delivery and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information for this or reselected delivery and the deliveryman's confirmation information.
[0026] Optionally, the method further comprises:
[0027] After the user verifies that the received goods are incorrect according to the product order, the user node uploads the product order and the incorrect received product information to the blockchain system, so that the blockchain system associates and stores the product order and the incorrect received product information.
[0028] According to another aspect of the present invention, there is provided a commodity delivery tracking system based on blockchain, the system comprising: a picker node;
[0029] The picker node is configured to upload the packaged product information to the blockchain system after the picker picks and packs the corresponding products according to the product order, so that the blockchain system records the packaged product information and compares the packaged product information with the corresponding order product information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked products is sent to the picker node.
[0030] According to another aspect of the present invention, there is provided a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the operations performed by any blockchain node in the aforementioned blockchain-based commodity delivery tracking method.
[0031] According to another aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the operations performed by any blockchain node in the aforementioned blockchain-based commodity delivery tracking method.
[0032] The technical solution provided by the present invention may include the following beneficial effects:
[0033] The blockchain-based commodity delivery tracking method provided by the present invention can effectively avoid the phenomenon of wrong delivery of ordered commodities by recording relevant information of each link in the delivery process of ordered commodities on the blockchain and promptly reminding the corresponding blockchain node to handle each link where problems occur. The entire delivery process of the ordered commodities can be traced, and once a problem occurs, it is convenient to find the problem point, thereby effectively ensuring the standardized management of the entire delivery process.
[0034] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation to the technical solution of the present invention.
[0036] Figure 1 A flowchart of a blockchain-based commodity delivery tracking method provided by an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of the structure of a commodity delivery tracking system based on blockchain provided by an embodiment of the present invention;
[0038] Figure 3 A schematic diagram of the architecture of a blockchain-based commodity distribution platform provided in an embodiment of the present invention;
[0039] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0041] As more and more local online grocery shopping and delivery services are available, some problems have also been exposed. For example, incomplete delivery or wrong delivery of goods requires investigation into which link the problem occurred.
[0042] The current process of local grocery shopping and delivery is that users select products online and place orders and pay; the merchant will assign a picker to find the goods purchased by the user from the shelves one by one, and pack them into bags and put them away. There may be one bag of goods or more; then the deliveryman will pick up the goods at the outlet and deliver all the bagged goods to the user's door.
[0043] In the above process, the pickers may take less than the goods they want to pack. The general solution is to provide the pickers with an electronic list of goods to be delivered. Each time the pickers take a product, they will click on an item in the list until all the goods to be delivered are sorted. However, even in this way, the pickers may take less than the goods they want to pack. For example, they may click on the wrong item when selecting, or accidentally check one or more items when selecting, or they may mistakenly check one or more items due to misoperation, etc., which may result in less than the goods they want to pack.
[0044] After the picker has finished picking the goods, all the goods will be packed. Sometimes the same user buys a lot, and there may be more than one bag of goods when packing. All the packed goods will be placed in one place waiting for the deliveryman to pick them up.
[0045] It is impossible for a deliveryman to deliver only one order. Now, he is assigned several orders at the same time, delivering goods to several users in the same direction or close to each other. When picking up the goods, the deliveryman may miss a bag of goods or accidentally take goods from another order. When delivering goods to the user's home, the deliveryman may miss a bag of goods or deliver the wrong goods to another store.
[0046] Once the wrong order is delivered, the platform will deduct money, but the deliveryman and the picker do not want to bear the loss, so they will blame each other. However, it is impossible to trace who is at fault in the entire delivery process, and there is a lack of corresponding solutions in the prior art to solve the current problem. To this end, the present invention provides a solution that can track the entire delivery process of goods, and can trace all the links of sorting, bagging, picking up, transportation and delivery, so as to find problems and facilitate the standardized management of the entire delivery process. The following is a detailed description through specific embodiments.
[0047] Figure 1 The flowchart of the blockchain-based commodity delivery tracking method provided by the embodiment of the present invention is as follows. Figure 1 As shown, the method includes the following step S101.
[0048] S101. After the picker picks and packs the corresponding goods according to the product order, the picker node uploads the packaged product information to the blockchain system, so that the blockchain system records the packaged product information and compares the packaged product information with the corresponding order product information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked products is sent to the picker node.
[0049] When the user places an order on the user node, the user node will generate the corresponding product order and upload it to the blockchain system. For this kind of online shopping for buying groceries and delivering them in the same city, most of the products purchased are daily necessities such as vegetables, meat, eggs, fruits, snacks, and daily necessities. These products generally have a certain weight. When the blockchain system enters the basic information of the listed products, it can also enter the weight of the corresponding products. After the user node uploads the product order to the blockchain system, the blockchain system can know which products the user has purchased in this order, and at the same time calculate the total weight of all the products in this order and record it on the blockchain chain list. It should be noted that all blockchain nodes can be set to view all information recorded on the blockchain chain list, or only some types of blockchain nodes (such as picker nodes and deliveryman nodes) can be restricted to view all information recorded on the blockchain chain list to ensure that the information is open and transparent and cannot be tampered with.
[0050] The blockchain system sends the product order to the corresponding picker node (the corresponding number of picker nodes can be set for the supermarket according to the scale of the supermarket), and then the picker assigned by the picker node is responsible for sorting out all the products purchased by the user from the corresponding shelves one by one according to the product list in the order. For this kind of online shopping of buying vegetables and delivering them in the same city, online shopping and offline shopping can be carried out at the same time. Users can place orders online or go directly to the store to buy. The goods for sale are pre-arranged on the shelves, and both pickers and offline purchasing users can pick goods from the shelves. After the picker has finished picking all the goods listed on the order, he will pack the goods. Packing means putting the goods into plastic bags according to categories, attaching the same order number to each bag of packaged goods to facilitate the deliveryman to pick up the goods, and then weighing them separately. Then, the picker node records the total number of bags of goods in the order, the weight of each bag of goods, and the total weight of the picked goods, thereby generating the information of this packaged goods, including the order number, the total number of bags of goods, the weight of each bag of goods, and the total weight of the picked goods. The weight of the packaging used for packaging goods (such as plastic bags) can be ignored, and the total weight of the picked goods can be automatically generated based on the weight of each bag of goods and the number of bags of goods. The picker node will upload the information of this packaged goods to the blockchain system.
[0051] In this step, after the picker node uploads the information of the packaged goods to the blockchain system, the blockchain system compares whether the information of the packaged goods is consistent with the corresponding order goods information. Specifically, the absolute value of the difference between the total weight of the picked goods uploaded by the picker node and the total weight of the ordered goods calculated by the system itself exceeds the first preset threshold. If it does not exceed the first preset threshold, it is considered that the packaged goods are correct, and it can be confirmed that the packaged goods information is consistent with the corresponding order goods information, and the delivery person is waiting for the door to pick up the goods; if it exceeds the first preset threshold, it is considered that the packaged goods are wrong, and a prompt message for checking the picked goods is sent to the picker node. Among them, the first preset threshold can be the number of ordered goods N*error amount, and the error amount can be set to 10g~20g.
[0052] The blockchain system will also record the order number uploaded by the picker node, the total number of bags of goods, the weight of each bag of goods and the total weight of the picked goods, the total weight of the order goods calculated by the system, the difference between the total weight of the picked goods uploaded by the picker node and the total weight of the order goods calculated by the system, whether the absolute value of the difference exceeds the first preset threshold, the reminder information for checking the picked goods sent to the corresponding picker node when the first preset threshold is exceeded, and the corresponding time information, etc., in the blockchain linked list for reference by each blockchain node, and can also be actively pushed to each blockchain node in the form of broadcast.
[0053] In a specific implementation, after step S101, the following step S102 is also included.
[0054] S102. After the deliveryman picks up the goods according to the product order, the deliveryman node uploads the product information of this pickup to the blockchain system, so that the blockchain system records the product information of this pickup and compares the product information of this pickup with the corresponding packaged product information to see if they are consistent. If they are inconsistent, a reminder message for checking the pickup products is sent to the deliveryman node.
[0055] The blockchain system will also send the product order to the designated deliveryman node synchronously, and then the corresponding deliveryman will go to the pickup location on the order to pick up the goods according to the product order. When the deliveryman picks up the goods at the store, although he picks up the goods according to the order number, and the same order of goods are generally placed together, it cannot be ruled out that the deliveryman takes more, less or wrong goods when picking up. In order to facilitate tracing in the future when problems arise, the deliveryman will weigh the goods after picking up the goods, and then record the total weight of the picked goods for the order at the deliveryman node, thereby generating the product information for this pickup, including the order number and the total weight of the picked goods. The deliveryman node will upload the product information for this pickup to the blockchain system.
[0056] In this step, after the deliveryman uploads the information of the goods picked up this time to the blockchain system, the blockchain system compares whether the information of the goods picked up this time is consistent with the corresponding packaged goods information. Specifically, the absolute value of the difference between the total weight of the goods picked up uploaded by the deliveryman node and the total weight of the goods picked up uploaded by the picker node exceeds the second preset threshold. If it does not exceed the second preset threshold, it is considered that the goods picked up this time are correct, and it can be confirmed that the goods picked up this time are consistent with the corresponding packaged goods information, and the deliveryman node is notified to start delivering the ordered goods; if it exceeds the second preset threshold, it is considered that the goods picked up this time are incorrect, and a reminder message for checking the goods picked up is sent to the deliveryman node. Among them, the second preset threshold can be set to 10g.
[0057] The blockchain system will also record the order number and the total weight of the picked goods uploaded by the deliveryman node, the difference between the total weight of the picked goods and the total weight of the picked goods uploaded by the picker node, and whether the absolute value of the difference exceeds the second preset threshold. When the second preset threshold is exceeded, a reminder message for checking the picked goods will be sent to the corresponding deliveryman node, as well as the corresponding time information, etc., which are all recorded in the blockchain linked list for reference by each blockchain node, and can also be actively pushed to each blockchain node in the form of broadcast.
[0058] In a specific implementation, after step S101, the following steps S103 to S105 are also included.
[0059] S103. The picker node receives the reminder information for checking the picked goods sent by the blockchain system.
[0060] S104. After the picker checks whether the packaged goods are incorrect according to the reminder information for checking the picked goods, and re-picks and packs the corresponding goods according to the product order, the picker node uploads the second-packaged product information to the blockchain system, so that the blockchain system records the second-packaged product information and compares the second-packaged product information with the corresponding order product information for consistency. If they are inconsistent, the reminder information for checking the picked goods is sent to the picker node again.
[0061] S105. After the picker checks the current or secondary packaged goods according to the picking goods verification prompt information and updates the current or secondary packaged goods information, the picker node uploads the updated current or secondary packaged goods information and the picker's confirmation information to the blockchain system, so that the blockchain system associates and records the updated current or secondary packaged goods information and the picker's confirmation information.
[0062] In this embodiment, after receiving the reminder information for checking the picked goods sent by the blockchain system, the picker node prompts the previously assigned picker to check whether there are any errors in the packaged goods, for example, whether any goods are missed or placed incorrectly.
[0063] If the picker finds that the packaged goods are indeed wrong after checking and needs to be picked again, then according to the goods order, the corresponding goods are picked again and packed and weighed, and the number of bags of goods, the weight of each bag of goods and the total weight of goods are recorded at the picker node after the second packaging of the order, so as to generate the second packaged goods information, which specifically includes the order number, the number of bags of goods, the weight of each bag of goods and the total weight of the second picking goods. The picker node then uploads the second packaged goods information to the blockchain system. The blockchain system compares the second packaged goods information with the corresponding order goods information to see if they are consistent. Specifically, the absolute value of the difference between the total weight of the second picking goods uploaded by the picker node and the total weight of the order goods calculated by the system itself is compared to see if it exceeds the first preset threshold. If it does not exceed the first preset threshold, it can be confirmed that the second packaged goods information is consistent with the corresponding order goods information, and the delivery person is waiting to pick up the goods. Otherwise, the picker node is sent again to check the picked goods prompt information, and then returns to step S103, and then continues to execute step S104 or S105 as appropriate.
[0064] If the picker finds that the goods are correct after checking and there is no need to pick them again, the picker node will update the information of the goods in this or the second package and confirm that they are correct after re-weighing. Then the picker node will upload the updated information of the goods in this or the second package and the information confirmed by the picker to the blockchain system, and the blockchain system will associate the updated information of the goods in this or the second package and the information confirmed by the picker and record them in the blockchain linked list. Among them, the updated information of the goods in this or the second package includes the order number, the total number of bags of goods, the weight of each bag of goods after re-weighing, and the total weight of the picked goods after re-weighing. It can be seen that if the picker rechecks the packaged goods and finds them correct, the system can still pass even if the re-weighed weight does not match the weight calculated by the system. This is because there may be errors in the weight of the goods themselves, and the cumulative error of all goods in the order may exceed the first preset threshold. Moreover, even if the picker rechecks the packaged goods and there is a problem with the packaged goods due to misjudgment, since the relevant information has been recorded on the blockchain, the subsequent deliveryman will deliver the goods according to the product order and the goods packaged by the picker. If there is any problem, it can be directly locked to the picker, and the responsibility is clear.
[0065] The blockchain system also records the order number uploaded by the picker node each time, the total number of bags of goods, the weight of each bag of goods, and the total weight of the picked goods, the difference between the total weight of the picked goods uploaded each time and the total weight of the goods in the order calculated by the system, and whether the absolute value of the difference exceeds the first preset threshold, the reminder information for checking the picked goods sent to the corresponding picker node when the first preset threshold is exceeded, the information on whether the picker chooses to pick again, the confirmation information after the picker chooses not to pick again, the information on whether the picker skips the system prompt, and the corresponding time information, etc., on the blockchain linked list, and can also be actively pushed to each blockchain node in the form of broadcast. In other words, the relevant information after the picker picks each time, as well as the updated information of the goods after choosing not to pick again and the associated confirmation information need to be sent to the blockchain to ensure the integrity of the information record.
[0066] In a specific implementation, after step S102, the following steps S106 to S108 are also included.
[0067] S106. The delivery person node receives the reminder information for checking the goods to be picked up sent by the blockchain system.
[0068] S107. After the deliveryman checks the pickup goods according to the pickup goods verification prompt information and finds that the goods are incorrect, and picks up the goods again according to the goods order, the deliveryman node uploads the second pickup goods information to the blockchain system, so that the blockchain system records the second pickup goods information and compares the second pickup goods information with the corresponding packaged goods information for consistency. If they are inconsistent, the pickup goods verification prompt information is sent to the deliveryman node again.
[0069] S108. After the deliveryman checks that the goods for this or second pickup are correct according to the pickup goods verification prompt information and updates the goods information for this or second pickup, the deliveryman node uploads the updated goods information for this or second pickup and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information for this or second pickup and the deliveryman's confirmation information.
[0070] In this embodiment, after receiving the reminder information for checking the picked-up goods sent by the blockchain system, the deliveryman node prompts the deliveryman to check whether the picked-up goods are correct, for example, whether the deliveryman has taken too much, too little or the wrong goods.
[0071] If the deliveryman finds that the goods picked up this time are indeed wrong after checking, the deliveryman will first check the problem by himself. If he can find out the goods that are taken too much, too little or wrong, he will pick up the goods again according to the goods order and weigh them on the scale to complete the second pick-up of the order. Then the total weight of the picked goods after the second pick-up of the order is recorded at the deliveryman node, thereby generating the second pick-up goods information, which specifically includes the order number and the total weight of the second pick-up goods. The deliveryman node then uploads the second pick-up goods information to the blockchain system. The blockchain system compares the second pick-up goods information with the corresponding packaged goods information to see if they are consistent. Specifically, the absolute value of the difference between the total weight of the second pick-up goods uploaded by the deliveryman node and the total weight of the picked goods finally uploaded by the picker node is compared to see if it exceeds the second preset threshold. If it does not exceed the second preset threshold, it can be confirmed that the second pick-up goods information is consistent with the corresponding packaged goods information, and the deliveryman node is notified to start delivering the order goods. Otherwise, the deliveryman node is sent again to check the pick-up goods prompt information, and then returns to step S106, and then continues to execute step S107 or S108 as appropriate.
[0072] If the deliveryman finds that the goods picked up this time or the second time are correct after inspection and there is no need to pick up the goods again, the deliveryman node will update the goods information of this time or the second time and confirm that it is correct after re-weighing. Then the deliveryman node will upload the updated goods information of this time or the second time and the deliveryman's confirmation information to the blockchain system, and the blockchain system will record the updated goods information of this time or the second time and the deliveryman's confirmation information in the blockchain linked list. Among them, the updated goods information of this time or the second time includes the order number and the total weight of the goods picked up after re-weighing. Of course, if the deliveryman takes out the wrong order goods due to misjudgment when re-checking the goods, since the relevant information has been recorded on the blockchain, when the user receives the order goods and finds problems later, they can directly lock it at the deliveryman to avoid three-party disputes.
[0073] The blockchain system also records the order number and total weight of the picked goods uploaded by the deliveryman node each time, the difference between the total weight of the picked goods uploaded each time and the total weight of the picked goods finally uploaded by the picker node, and whether the absolute value of the difference exceeds the second preset threshold, the reminder information for checking the picked goods sent to the deliveryman node when the second preset threshold is exceeded, whether the deliveryman skips the system prompt, and the corresponding time information, etc. in the blockchain linked list, and can also be actively pushed to each blockchain node in the form of broadcast.
[0074] In a specific implementation, after step S106, the following step S109 is also included.
[0075] S109. After the deliveryman checks the pickup goods according to the pickup goods verification prompt information and finds that the goods are incorrect, and contacts the picker to pick and pack the goods again, the deliveryman node and the picker node upload the second pickup goods information and the second packing goods information to the blockchain system respectively, so that the blockchain system records and compares whether the second packing goods information is consistent with the second pickup goods information. If they are inconsistent, the pickup goods verification prompt information is sent to the deliveryman node again.
[0076] In this embodiment, if the deliveryman finds that the goods picked up this time are indeed wrong after checking, and the deliveryman cannot find or cannot find all the goods corresponding to the goods order (for example, some deliverymen are too anxious to pick up the goods and take the wrong goods of other people's orders, or some deliverymen cannot find the goods of the orders they are responsible for and deliberately take the goods of other deliverymen in order to complete their own pick-up as soon as possible), then contact the picker to solve the problem together, and the picker re-picks and packs the order goods and weighs them, completing the secondary packing of the order, and records the total weight of the packed goods after the secondary picking of the order at the picker node, thereby generating the secondary packing goods information, specifically including the order number, the total number of bags of goods, the weight of each bag of goods and the total weight of the secondary picking goods; at the same time, the deliveryman also weighs the goods, completes the secondary picking of the order, and records the total weight of the picked goods after the secondary picking of the order at the deliveryman node, thereby generating the secondary picking goods information, specifically including the order number and the total weight of the secondary picking goods. Then the deliveryman node and the picker node upload the secondary picking goods information and the secondary packing goods information to the blockchain system respectively. The blockchain system compares whether the secondary packaged product information is consistent with the secondary pickup product information. Specifically, the system compares whether the absolute value of the difference between the total weight of the secondary picked products uploaded by the picker node and the total weight of the secondary picked products uploaded by the deliveryman node exceeds the second preset threshold. If it does not exceed the second preset threshold, it can be confirmed that the secondary packaged product information is consistent with the secondary pickup product information, and the deliveryman node is notified to start delivering the ordered products. Otherwise, a reminder message for checking the pickup products is sent to the deliveryman node again, and then returns to step S106, and then continues to execute steps S107, S108 or S109 as appropriate.
[0077] It can be seen that when the deliveryman finds that the goods picked up this time are indeed incorrect after inspection, if the picker does not re-pick the goods, only the deliveryman node will upload the total weight of the re-picked goods to the blockchain system; if the picker re-picks the goods, the picker node and the deliveryman node will upload the total weight of the re-picked goods and the total weight of the re-picked goods to the blockchain system respectively. Correspondingly, the blockchain system will also record the information of whether the picker re-picks the goods, the total weight of the re-picked goods uploaded by the picker node, the difference between the total weight of the re-picked goods uploaded by the picker node and the total weight of the re-picked goods uploaded by the deliveryman node, and whether the absolute value of the difference exceeds the second preset threshold, the reminder information of checking the picked goods sent to the deliveryman node when the second preset threshold is exceeded, the information of whether the deliveryman skips the system prompt, and the corresponding time information, etc. are all recorded in the blockchain linked list, and can also be actively pushed to each blockchain node in the form of broadcast.
[0078] In a specific implementation, after step S102, the following step S110 is further included.
[0079] S110. After the deliveryman arrives at the delivery address according to the product order, the deliveryman node uploads the product information of this delivery to the blockchain system, so that the blockchain system records the product information of this delivery and compares the product information of this delivery with the corresponding product information of the pickup to see if they are consistent. If they are inconsistent, a reminder message for verifying the delivery product is sent to the deliveryman node.
[0080] In this embodiment, after the deliveryman arrives at the delivery address according to the product order, the deliveryman takes out the product corresponding to the order from the delivery box and weighs it again before delivering it to the user, and then records the total weight of the delivered products of the order at the deliveryman node, thereby generating the product information of this delivery, including the order number and the total weight of the delivered products. The deliveryman node will upload the product information of this delivery to the blockchain system.
[0081] After the deliveryman uploads the information of the delivered goods to the blockchain system, the blockchain system compares whether the information of the delivered goods is consistent with the corresponding information of the picked-up goods. Specifically, the absolute value of the difference between the total weight of the picked-up goods and the total weight of the delivered goods uploaded by the deliveryman node exceeds the third preset threshold. If it does not exceed the third preset threshold, it is considered that the delivered goods are correct, and it can be confirmed that the information of the delivered goods is consistent with the corresponding information of the picked-up goods, and the deliveryman node is notified to deliver the goods to the user; if it exceeds the third preset threshold, it is considered that the delivered goods are incorrect, and a reminder message for checking the delivered goods is sent to the deliveryman node. Among them, the third preset threshold can be set to 10g.
[0082] The blockchain system also records the order number and total weight of the delivered goods uploaded by the deliveryman node, the difference between the total weight of the picked-up goods and the total weight of the delivered goods, and whether the absolute value of the difference exceeds a third preset threshold. When the third preset threshold is exceeded, a reminder message for verifying the delivered goods is sent to the corresponding deliveryman node, as well as the corresponding time information, etc., which are all recorded in the blockchain linked list for reference by each blockchain node and can also be actively pushed to each blockchain node in the form of broadcast.
[0083] In a specific implementation, after step S110, the following steps S111 to S113 are also included.
[0084] S111. The delivery person node receives the reminder information for checking the delivered goods sent by the blockchain system.
[0085] S112. After the deliveryman checks the delivery goods according to the delivery goods verification prompt information and finds that there are errors, and reselects the delivery goods according to the product order, the deliveryman node uploads the reselected delivery goods information to the blockchain system, so that the blockchain system records the reselected delivery goods information and compares the reselected delivery goods information with the corresponding pickup goods information for consistency. If they are inconsistent, the deliveryman node is sent again with the deliveryman node prompt information.
[0086] S113. After the deliveryman checks that the goods to be delivered are correct according to the delivery goods verification prompt information and updates the goods information for this or reselected delivery, the deliveryman node uploads the updated goods information for this or reselected delivery and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information for this or reselected delivery and the deliveryman's confirmation information.
[0087] In this embodiment, after receiving the reminder information for checking the delivered goods sent by the blockchain system, the deliveryman node prompts the deliveryman to check whether there are any errors in the delivered goods, such as whether he has taken too much, too little or the wrong goods.
[0088] If the deliveryman finds that the delivered goods are indeed wrong after checking, the deliveryman reselects the correct delivery goods according to the goods order and weighs them, and records the total weight of the reselected delivery goods of the order at the deliveryman node, thereby generating reselected delivery goods information, specifically including the order number and the total weight of the reselected delivery goods, and the deliveryman node then uploads the reselected delivery goods information to the blockchain system. The blockchain system compares the reselected delivery goods information with the corresponding pickup goods information to see if they are consistent. Specifically, the absolute value of the difference between the total weight of the reselected delivery goods uploaded by the deliveryman node and the total weight of the final pickup goods is compared to see if it exceeds the third preset threshold. If it does not exceed the third preset threshold, it can be confirmed that the reselected delivery goods information is consistent with the corresponding pickup goods information, and the deliveryman node is notified to deliver the goods to the user. Otherwise, the deliveryman node is sent again to check the delivery goods prompt information, and then the process returns to step S111, and then continues to execute step S112 or S113 as appropriate.
[0089] If the deliveryman node finds that the goods delivered this time or reselected are correct after checking, and there is no need to reselect the correct goods, the deliveryman node will update the information of the goods delivered this time or reselected and confirm that they are correct after reweighing. Then the deliveryman node will upload the updated information of the goods delivered this time or reselected and the deliveryman's confirmation information to the blockchain system, and the blockchain system will record the updated information of the goods delivered this time or reselected and the deliveryman's confirmation information in the blockchain linked list. Among them, the updated information of the goods delivered this time or reselected includes the order number and the total weight of the goods delivered after reweighing. Of course, if the deliveryman misjudges the goods when reselecting the goods for delivery and sends out the wrong order, since the relevant information has been recorded on the blockchain, when the subsequent user receives the order goods and finds problems, they can directly lock it at the deliveryman to avoid three-party disputes.
[0090] The blockchain system also records the order number and total weight of the delivered goods uploaded by the deliveryman node each time, the difference between the total weight of the delivered goods uploaded each time and the total weight of the goods finally picked up, and whether the absolute value of the difference exceeds a third preset threshold, the reminder information for checking the delivered goods sent to the deliveryman node when the third preset threshold is exceeded, whether the deliveryman skips the system prompt, and the corresponding time information, etc. in the blockchain linked list, and can also be actively pushed to each blockchain node in the form of broadcast.
[0091] In a specific implementation, after step S102, the following step S114 is also included.
[0092] S114. After the user verifies that the received goods are incorrect according to the product order, the user node uploads the product order and the incorrect received goods information to the blockchain system, so that the blockchain system associates and stores the product order and the incorrect received goods information.
[0093] In this embodiment, after receiving the goods delivered by the deliveryman, the user will check them against his or her order. If there is any error, the user can contact the merchant. The merchant can require the user to upload the incorrect information of the received goods, including the order number and the incorrect total weight of the received goods, so as to facilitate subsequent accountability.
[0094] It should be noted that, because the above-mentioned scheme can effectively avoid problems in the order delivery process, the possibility of users receiving wrong goods is very small, but it cannot completely rule out the possibility of problems with the received goods. However, even if there is a problem, the entire intermediate process of delivery can be traced, and it can also be found out which specific link has the problem. For example, the weight of goods A and B may be similar, and the picker may have picked up the wrong goods when picking them, and the system weighing cannot find the problem, etc. However, this situation is also very rare. In general, if there is a problem, it can be traced back to the system. There are weight records in each link, which makes it easy to find the wrong link. The focus of the present invention is on the tracking record of goods during the entire delivery process rather than on the accountability when problems occur later. Therefore, the scheme of the present invention stops at the user uploading incorrect information about the received goods, and the records of each link in the system can be used to determine where the problem lies.
[0095] It should be noted that the order of the above steps is only a specific example provided to illustrate the embodiment of the present invention. The present invention does not limit the order of the above steps, and those skilled in the art may adjust them as needed in practical applications; and the size of the sequence numbers of the above steps does not limit their execution order.
[0096] The specific process of the blockchain-based commodity delivery tracking method of the present invention is explained below through a specific example.
[0097] 1. The blockchain system records the weight of each item while recording its basic information.
[0098] 2. After the user places an order, the blockchain system knows which products the user has purchased based on the order information, and calculates the total weight of all the products in the order, and sends it to each blockchain node in the blockchain system in the form of a broadcast (that is, it is sent to the blockchain system in the form of a broadcast so that each blockchain node in the blockchain system can see this information. Here, the blockchain nodes that can see this information can be limited to include only the picker nodes and the deliveryman nodes, but not the shopping user nodes), and the information is recorded in the blockchain linked list.
[0099] 3. The picker is responsible for picking the items purchased by the user from the shelf one by one according to the item list in the order. After all the items are picked, the picker is responsible for packing the items, usually by putting them into plastic bags, weighing each bag of goods, and recording the number of bags of goods, the weight of each bag of goods, and the total weight of the goods in the picker node, which is then uploaded to the blockchain system together with the order number by the picker node.
[0100] 4. The blockchain system compares the total weight of the goods uploaded by the picker node with the total weight of the goods purchased by this user calculated by the system. If the error between the two is less than the positive and negative number of goods N*20g (the parameter size can be adjusted), it is considered that there is no problem in the picking of goods. The blockchain system directly passes without prompting, and sends the order number uploaded by the picker node, the total number of bags of goods, the weight of each bag of goods and the total weight of the goods, the weight of the goods calculated by the system, and time and other information in the form of broadcast to each blockchain node in the blockchain system, and records all this information in the blockchain linked list.
[0101] 5. If the error between the total weight of the goods uploaded by the picker node and the total weight of the goods purchased by this user calculated by the blockchain system exceeds the positive and negative number of goods N*20g, the blockchain system will prompt the picker that the weight difference is too large and the picked goods need to be checked. The picker will decide whether to pick the goods again.
[0102] The picker rechecks whether one or some items are missing. If the weight re-weighed after the picker has re-checked the items to make sure that they are not missing still does not meet the requirements, the blockchain system can still pass (because after all, the weight of the goods will be more or less inaccurate, but if there is a mistake, it may be responsible, and the blockchain system has records). If the picker chooses not to pick the goods again, the picker node will broadcast the picker's intermediate re-checking process and the information of each re-picking to each blockchain node in the blockchain system, and the blockchain system will record all this information on the blockchain linked list. The information uploaded by the picker node includes: order number, the total number of bags of goods, the weight of each bag of goods and the total weight of the goods, the weight of the goods and the difference between the weight picked by the picker, the information of whether the picker chooses to pick again, and whether the picker has skipped the system prompt.
[0103] 6. The picker places the packaged goods with the information entered in the designated location. Each bag of packaged goods has the same order number to facilitate the delivery person to pick up the goods.
[0104] 7. The deliveryman goes to the store to pick up the goods according to the order number. The goods are weighed and recorded in the deliveryman's node, which is then uploaded to the blockchain system.
[0105] 8. The blockchain system compares the total weight of the goods picked up by the deliveryman with the total weight of the goods picked up by the picker. If the error between the two is within a few grams (the parameter size is adjustable), it is considered a small error and the two are considered consistent. The blockchain system directly passes it without prompting, and sends the deliveryman's weighing data, time, and order number information to each blockchain node in the blockchain system in the form of a broadcast. The blockchain system records all this information in the blockchain linked list.
[0106] 9. If the error between the total weight of the goods picked up by the deliveryman and the total weight of the goods picked up by the picker exceeds 10g (the parameter size is adjustable), it is considered that there is a problem after the picker picks up the goods and before the deliveryman picks up the goods, and the blockchain system prompts the deliveryman to check the goods to be picked up. First, the deliveryman will check the problem by himself (taking less or more of a packaged product). If he can find the missing product or take more products, he will re-weigh them. If the re-weighed data is consistent with the total weight of the picker's final picking, the blockchain system will pass it directly; if the deliveryman cannot solve it by himself, he will contact the picker to solve it together (the packaged packaging is damaged and the goods are lost or other reasons). If the deliveryman is sure that there is no problem with the goods picked up, he can also choose to skip the system prompt (so that he will be responsible if there is an error). At this time, the deliveryman node can also record the weighing of each time during the pickup process, and send it to each blockchain node in the blockchain system in the form of a broadcast, and the blockchain system will record it on the blockchain linked list. The information uploaded by the deliveryman node includes: order number, weight weighed by the deliveryman, time, weight difference each time, whether the goods are picked up again, weight of the goods picked up again, whether the goods are forgotten, whether the system prompts are skipped, etc.
[0107] 10. The deliveryman delivers the goods to the user according to the address on the order, and picks up the goods from the delivery box according to the order (it is usually impossible for the delivery box to contain only one user's goods, and goods must be taken out from many boxes). Before delivering the goods to the user, the goods are weighed again and recorded in the deliveryman's node, which is then uploaded to the blockchain system by the deliveryman's node.
[0108] 11. The blockchain system compares the total weight of the deliveryman's deliveries with the total weight of the goods picked up. If the error between the two is within a few grams (the parameter size is adjustable), it is considered a small error and the two are considered consistent. The blockchain system directly passes it without prompting, and sends the deliveryman's delivery weighing data, time, and order number information in the form of a broadcast to each blockchain node in the blockchain system, and the blockchain system records all this information in the blockchain linked list.
[0109] 12. If the error between the total weight of the delivery and the total weight of the goods picked up by the deliveryman exceeds 10g (the parameter size is adjustable), it is considered that the deliveryman has taken the wrong goods from the delivery box, and may have taken other users' goods from the box. The blockchain system prompts the deliveryman to check the delivered goods. The deliveryman should be able to easily troubleshoot the problem, weigh again and record it to the deliveryman node. The deliveryman node sends the deliveryman's delivery weighing data, time, order number information, etc. to each blockchain node in the blockchain system in the form of a broadcast, and the blockchain system records this information on the blockchain linked list.
[0110] 13. After the user receives the goods, if there is no problem, he will not contact the merchant. If there is a problem, he will contact the merchant. The merchant will ask the user to upload the weight of the problematic package. The user node will broadcast the order number and the weight of the problematic package to each blockchain node in the blockchain system, and the blockchain system will record it on the blockchain linked list.
[0111] 14. The picker node and the deliveryman node can view all the information recorded in the blockchain list.
[0112] The commodity delivery tracking method based on blockchain provided by the embodiment of the present invention can track the entire delivery process of the ordered commodities. By recording the relevant information of each link in the delivery process of the ordered commodities on the blockchain and promptly reminding the corresponding blockchain node to handle each link where problems occur, the phenomenon of wrong delivery of ordered commodities can be effectively avoided. The entire delivery process of the ordered commodities can be traced, and once a problem occurs, it is convenient to find the problem point, thereby effectively ensuring the standardized management of the entire delivery process.
[0113] Figure 2 This is a schematic diagram of the structure of a blockchain-based commodity delivery tracking system provided by an embodiment of the present invention. Figure 2 As shown, the system includes: a picker node 201.
[0114] Among them, the picker node 201 is configured to upload the packaged product information to the blockchain system after the picker picks and packs the corresponding products according to the product order, so that the blockchain system records the packaged product information and compares the packaged product information with the corresponding order product information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked products is sent to the picker node 201.
[0115] In a specific embodiment, the system further includes: a deliveryman node.
[0116] The deliveryman node is configured to upload the product information of this pickup to the blockchain system after the deliveryman picks up the goods according to the product order, so that the blockchain system records the product information of this pickup and compares the product information of this pickup with the corresponding packaged product information to see if they are consistent. If they are inconsistent, a reminder message for checking the pickup product is sent to the deliveryman node.
[0117] In a specific implementation, the picker node 201 is further configured to receive a reminder message for checking the picked goods sent by the blockchain system; after the picker checks that the packaged goods are incorrect according to the reminder message for checking the picked goods, and re-picks and packs the corresponding goods according to the goods order, the picker node 201 is further configured to upload the secondary packaged goods information to the blockchain system, so that the blockchain system records the secondary packaged goods information, and compares the secondary packaged goods information with the corresponding order goods information for consistency. If they are inconsistent, the reminder message for checking the picked goods is sent to the picker node 201 again; after the picker checks that the packaged goods are correct according to the reminder message for checking the picked goods and updates the packaged goods information, the picker node 201 is further configured to upload the updated packaged goods information and the picker's confirmation information to the blockchain system, so that the blockchain system associates the updated packaged goods information and the picker's confirmation information with each other.
[0118] In a specific implementation, the deliveryman node is also configured to receive a reminder message for checking the pickup goods sent by the blockchain system; after the deliveryman checks that the goods picked up this time are incorrect according to the reminder message for checking the pickup goods, and picks up the goods again according to the goods order, the deliveryman node is also configured to upload the second pickup goods information to the blockchain system, so that the blockchain system records the second pickup goods information, and compares the second pickup goods information with the corresponding packaged goods information for consistency. If they are inconsistent, the reminder message for checking the pickup goods is sent to the deliveryman node again; after the deliveryman checks that the goods picked up this or the second time are correct according to the reminder message for checking the pickup goods and updates the goods picked up this or the second time, the deliveryman node is also configured to upload the updated goods picked up this or the second time and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates the updated goods picked up this or the second time with the deliveryman's confirmation information.
[0119] In a specific implementation, if the deliveryman node receives a reminder message for checking the pickup goods sent by the blockchain system, after the deliveryman checks the pickup goods according to the reminder message for checking the pickup goods and finds that the goods are incorrect, and contacts the picker to pick and pack the goods again, the deliveryman node and the picker node 201 are respectively configured to upload the second pickup goods information and the second packing goods information to the blockchain system, so that the blockchain system records and compares whether the second packing goods information is consistent with the second pickup goods information. If they are inconsistent, the reminder message for checking the pickup goods is sent to the deliveryman node again.
[0120] In a specific implementation, the deliveryman node is also configured to upload the delivery product information to the blockchain system after the deliveryman arrives at the delivery address according to the product order, so that the blockchain system records the delivery product information and compares the delivery product information with the corresponding pickup product information to see if they are consistent. If they are inconsistent, a delivery product verification prompt message is sent to the deliveryman node.
[0121] In a specific implementation, the deliveryman node is further configured to receive a reminder message for checking the delivered goods sent by the blockchain system; after the deliveryman checks that the delivered goods are incorrect according to the reminder message for checking the delivered goods, and reselects the delivered goods according to the goods order, the deliveryman node is further configured to upload the reselected delivery goods information to the blockchain system, so that the blockchain system records the reselected delivery goods information, and compares the reselected delivery goods information with the corresponding pickup goods information to see if they are consistent. If they are inconsistent, the reminder message for checking the delivered goods is sent to the deliveryman node again; after the deliveryman checks that the delivered goods are correct according to the reminder message for checking the delivered goods, and updates the current or reselected delivery goods information, the deliveryman node is further configured to upload the updated current or reselected delivery goods information and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated current or reselected delivery goods information with the deliveryman's confirmation information.
[0122] In a specific implementation, the system further includes a user node.
[0123] The user node is configured to upload the product order and the incorrect product information to the blockchain system after the user checks the product order and finds that the received product is incorrect, so that the blockchain system associates and stores the product order and the incorrect product information.
[0124] The blockchain-based commodity delivery tracking system provided by the embodiment of the present invention can track the entire delivery process of the ordered commodities. By recording the relevant information of each link in the delivery process of the ordered commodities on the blockchain and promptly reminding the corresponding blockchain nodes to handle each link where problems occur, the phenomenon of wrong delivery of ordered commodities can be effectively avoided. The entire delivery process of the ordered commodities can be traced, and once a problem occurs, it is convenient to find the problem point, thereby effectively ensuring the standardized management of the entire delivery process.
[0125] Figure 3 This is a schematic diagram of the architecture of a commodity distribution platform based on blockchain provided by an embodiment of the present invention. Figure 3 As shown, the platform includes: a blockchain system 300, which includes a number of picker nodes 301, a number of deliveryman nodes 302 and a number of user nodes 303. Figure 3 Where n, m and N are all integers.
[0126] Since the picker node, deliveryman node, user node and blockchain system, as well as the data interaction between the picker node, deliveryman node, user node and the blockchain system have been described in detail in the previous embodiments, they will not be repeated here.
[0127] Based on the same technical concept, the embodiment of the present invention also provides a computer device, such as Figure 4 As shown, the computer device includes a memory 41 and a processor 42, wherein the memory 41 stores a computer program. When the processor 42 runs the computer program stored in the memory 41, the processor 42 executes the operations performed by any blockchain node (i.e., a picker node, a deliveryman node, or a user node) in the aforementioned blockchain-based commodity distribution tracking method.
[0128] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes the operations performed by any blockchain node (i.e., picker node, deliveryman node or user node) in the aforementioned blockchain-based commodity distribution tracking method.
[0129] In summary, the blockchain-based commodity delivery tracking method, system, platform, computer device and storage medium provided by the embodiment of the present invention can effectively avoid the phenomenon of wrong delivery of ordered commodities by recording the relevant information of each link in the delivery process of the ordered commodities on the blockchain, and timely reminding the corresponding blockchain node to handle each link where problems occur, and the entire delivery process of the ordered commodities can be traced, and once a problem occurs, it is convenient to find the problem point, which effectively ensures the standardized management of the entire delivery process. Moreover, the use of the technical solution described in the present invention makes the information of the entire process from sorting to delivery to the user transparent and open, and cannot be tampered with, and there is data to check, which effectively reduces the problem of missing delivered commodities. Even if the goods are missing, it can be checked at which link the problem occurs, so that both the picker and the deliveryman can understand the actual situation of the entire delivery process, avoid the phenomenon of shirking responsibility, and cannot deny it, which is convenient for the standardized management of the commodity delivery process.
[0130] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that these modifications or substitutions do not cause the essence of the corresponding technical solution to deviate from the scope of the technical solution of the embodiments of the present invention.
Claims
1. A commodity delivery tracking method based on blockchain, characterized in that: include: After the picker picks and packs the corresponding goods according to the order, the picker node uploads the information of the packed goods to the blockchain system. The information of the packed goods includes the order number, the total number of bags of goods, the weight of each bag of goods, and the total weight of the picked goods, so that the blockchain system can record the information of the packed goods and compare the information of the packed goods with the corresponding order goods information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked goods is sent to the picker node; After the deliveryman picks up the goods according to the commodity order, the deliveryman node uploads the commodity information of this pickup to the blockchain system, wherein the commodity information of this pickup includes the order number and the total weight of the picked-up commodities, so that the blockchain system records the commodity information of this pickup and compares whether the commodity information of this pickup is consistent with the corresponding packaged commodity information, specifically, comparing whether the absolute value of the difference between the total weight of the picked-up commodities uploaded by the deliveryman node and the total weight of the picked-up commodities uploaded by the picker node exceeds the second preset threshold value. If it does not exceed the second preset threshold value, it is confirmed that the commodity information of this pickup is consistent with the corresponding packaged commodity information, and the deliveryman node is notified to start delivering the ordered commodities; If it exceeds the second preset threshold, it is considered that the goods picked up this time are incorrect, and a reminder message for checking the goods picked up is sent to the delivery person node; After the deliveryman arrives at the delivery address according to the product order, the deliveryman node uploads the product information of this delivery to the blockchain system, so that the blockchain system records the product information of this delivery, and compares whether the product information of this delivery is consistent with the corresponding product information of the pickup. Specifically, the absolute value of the difference between the total weight of the pickup products and the total weight of the delivery products uploaded by the deliveryman node respectively exceeds the third preset threshold. If it does not exceed the third preset threshold, it is confirmed that the product information of this delivery is consistent with the corresponding product information of the pickup, and the deliveryman node is notified to deliver the goods to the user. If it exceeds the third preset threshold, it is considered that the product of this delivery is incorrect, and a prompt message for verifying the delivery product is sent to the deliveryman node.
2. The method according to claim 1, characterized in that Also includes: The picker node receives the reminder information for checking the picked goods sent by the blockchain system; After the picker checks the currently packaged goods according to the reminder information of checking the picked goods and finds that there are errors, and re-picks and packs the corresponding goods according to the goods order, the picker node uploads the second-packaged goods information to the blockchain system, so that the blockchain system records the second-packaged goods information and compares the second-packaged goods information with the corresponding order goods information to see if they are consistent. If they are inconsistent, the reminder information of checking the picked goods is sent to the picker node again; After the picker checks the current or secondary packaged goods according to the picking goods prompt information and updates the current or secondary packaged goods information, the picker node uploads the updated current or secondary packaged goods information and the picker's confirmation information to the blockchain system, so that the blockchain system associates and records the updated current or secondary packaged goods information and the picker's confirmation information.
3. The method according to claim 1, characterized in that Also includes: The deliveryman node receives the reminder information sent by the blockchain system to check the pickup goods; After the deliveryman checks the goods picked up this time and finds that there is something wrong according to the reminder information for checking the goods, and picks up the goods again according to the goods order, the deliveryman node uploads the second-time goods pickup information to the blockchain system, so that the blockchain system records the second-time goods pickup information and compares the second-time goods pickup information with the corresponding packaged goods information to see if they are consistent. If they are inconsistent, the reminder information for checking the goods pickup is sent to the deliveryman node again; After the deliveryman checks that the goods picked up this time or the second time are correct and updates the goods information of this time or the second time according to the reminder information for checking the goods to be picked up, the deliveryman node uploads the updated goods information of this time or the second time and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information of this time or the second time and the deliveryman's confirmation information.
4. The method according to claim 3, characterized in that After the delivery person node receives the reminder information sent by the blockchain system to check the pickup goods, it also includes: After the deliveryman checks the pickup goods according to the pickup goods verification prompt information and finds that the goods are incorrect, and contacts the picker to pick and pack the goods again, the deliveryman node and the picker node upload the second pickup goods information and the second packing goods information to the blockchain system respectively, so that the blockchain system records and compares whether the second packing goods information is consistent with the second pickup goods information. If they are inconsistent, the pickup goods verification prompt information is sent to the deliveryman node again.
5. The method according to claim 1, characterized in that: Also includes: The deliveryman node receives the reminder information sent by the blockchain system to check the delivered goods; After the deliveryman checks the delivery goods according to the delivery goods verification prompt information and finds that the goods are incorrect, and reselects the goods for delivery according to the goods order, the deliveryman node uploads the reselected delivery goods information to the blockchain system, so that the blockchain system records the reselected delivery goods information and compares the reselected delivery goods information with the corresponding pickup goods information to see if they are consistent. If they are inconsistent, the deliveryman node is sent again with the deliveryman node; After the deliveryman checks that the goods to be delivered are correct according to the delivery goods verification prompt information and updates the goods information for this or reselected delivery, the deliveryman node uploads the updated goods information for this or reselected delivery and the deliveryman's confirmation information to the blockchain system, so that the blockchain system associates and records the updated goods information for this or reselected delivery and the deliveryman's confirmation information.
6. The method according to claim 1, characterized in that Also includes: After the user verifies that the received goods are incorrect according to the product order, the user node uploads the product order and the incorrect received product information to the blockchain system, so that the blockchain system associates and stores the product order and the incorrect received product information.
7. A commodity distribution tracking system based on blockchain, characterized in that: include: Picker nodes and deliveryman nodes; The picker node is configured to upload the packaged product information to the blockchain system after the picker picks and packs the corresponding products according to the product order. The packaged product information includes the order number, the total number of bags of products, the weight of each bag of products, and the total weight of the picked products, so that the blockchain system records the packaged product information and compares the packaged product information with the corresponding order product information to see if they are consistent. If they are inconsistent, a reminder message for checking the picked products is sent to the picker node; The deliveryman node is configured to upload the product information of this pickup to the blockchain system after the deliveryman picks up the product according to the product order, wherein the product information of this pickup includes the order number and the total weight of the picked-up products, so that the blockchain system records the product information of this pickup and compares whether the product information of this pickup is consistent with the corresponding packaged product information, specifically, comparing whether the absolute value of the difference between the total weight of the picked-up products uploaded by the deliveryman node and the total weight of the picked-up products uploaded by the picker node exceeds a second preset threshold value. If it does not exceed the second preset threshold value, it is confirmed that the product information of this pickup is consistent with the corresponding packaged product information, and the deliveryman node is notified to start delivering the ordered products; If it exceeds the second preset threshold, it is considered that the goods picked up this time are incorrect, and a reminder message for checking the goods picked up is sent to the delivery person node; The deliveryman node is also configured to upload the delivery product information to the blockchain system after the deliveryman arrives at the delivery address according to the product order, so that the blockchain system records the delivery product information and compares whether the delivery product information is consistent with the corresponding pickup product information. Specifically, the absolute value of the difference between the total weight of the pickup products and the total weight of the delivery products uploaded by the deliveryman node is compared to see if it exceeds a third preset threshold. If it does not exceed the third preset threshold, it is confirmed that the delivery product information is consistent with the corresponding pickup product information, and the deliveryman node is notified to deliver the goods to the user. If it exceeds the third preset threshold, it is considered that the delivery product is incorrect, and a reminder message for verifying the delivery product is sent to the deliveryman node.
8. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the operations executed by any blockchain node in the blockchain-based commodity delivery tracking method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor performs the operations performed by any blockchain node in the blockchain-based commodity delivery tracking method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Picking task processing method, electronic device, robot and storage medium
CN110033061A
Logistics information storage method and device based on block chain, medium and electronic equipment
CN110795752A
Cargo distribution method, device and system for unmanned vehicle
CN111401823A
Community vegetable buying distribution method and distribution verification device based on data processing
CN113034086A