Logistics order management system based on blockchain

Using blockchain technology to collect fruit images of farmers' planting areas, count fruit distribution, and allocate orders based on order information and processing conditions, it solves the problem of unreasonable distribution of rural logistics orders and improves the efficiency of agricultural product sales.

CN113408848BActive Publication Date: 2024-09-24SHAANXI XIAOSHENNONG DIGITAL TECHNOLOGY GROUP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110507015.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-12
Publication Date
2024-09-24
Estimated Expiration
2040-05-12

AI Technical Summary

Technical Problem

Existing technology may cause unreasonable order distribution when distributing rural logistics orders, resulting in low efficiency in selling agricultural products.

Method used

Adopting a blockchain-based logistics order management system, through the order information receiving module, order processing management module, fruit planting status management module and order distribution module, it collects fruit images of farmers' planting areas, counts fruit distribution, and based on order information , processing status and fruit distribution status to allocate orders to ensure reasonable distribution.

Benefits of technology

It reduces the arbitrariness of order allocation, promotes fairness and rationality in order allocation, and improves the efficiency of agricultural product sales.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113408848B
    Figure CN113408848B
Patent Text Reader

Abstract

The present invention discloses a logistics order management system based on blockchain, the management system comprises an order information receiving module, an order processing situation management module, a fruit planting situation management module and an order allocation module, the order information receiving module is used for receiving and processing information data of orders to be allocated, the order processing situation management module is used for obtaining the order processing situation of each farmer node, and uploading the order processing situation to the blockchain at preset time intervals, the fruit planting situation management module is used for collecting fruit images of each farmer's planting area and uploading them to the corresponding farmer node of the blockchain, and counting the fruit distribution of each farmer according to the fruit images of the planting area, and the order allocation module allocates the orders to be allocated to the best farmers according to the information data of the orders to be allocated, the order processing situation and the fruit distribution situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain, and in particular to a logistics order management system based on blockchain. Background Art

[0002] Rural logistics is a concept relative to urban logistics. It refers to the general term for all activities related to transportation, handling, loading and unloading, packaging, processing, warehousing and other related activities for the production, life and other economic activities of rural residents. With the rapid development of transportation and logistics, rural logistics has also developed rapidly. The development of rural logistics facilitates the sale of rural agricultural products to other places, which is conducive to the circulation of agricultural products. In order to improve the sales level of agricultural products, farmers often cooperate to jointly sell the agricultural products they grow. However, when allocating orders in the existing technology, there is an unreasonable order allocation. Summary of the invention

[0003] The purpose of the present invention is to provide a blockchain-based logistics order management system and method to solve the problems in the prior art.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] A blockchain-based logistics order management system, the management system comprising an order information receiving module, an order processing status management module, a fruit planting status management module and an order allocation module, the order information receiving module is used to receive and process information data of orders to be allocated, the order processing status management module is used to obtain the order processing status of each farmer node, and upload the order processing status to the blockchain every preset time period, the fruit planting status management module is used to collect fruit images of each farmer's planting area and upload them to the corresponding farmer node of the blockchain, and count the fruit distribution of each farmer based on the fruit images of the planting area, and the order allocation module allocates the orders to be allocated to the best farmers based on the information data, order processing status and fruit distribution of the orders to be allocated.

[0006] More optimally, the fruit planting situation management module includes an image acquisition module, an image upload module, a fruit type identification module and a fruit quantity statistics module. The image acquisition module is used to collect fruit images of each farmer's planting area, the image upload module is used to upload the fruit images of each farmer's planting area to each farmer's node on the blockchain, the fruit type identification module determines the type of fruit based on the collected fruit images, and the fruit quantity statistics module is used to count the number of each type of fruit in each farmer's planting area.

[0007] More optimally, the fruit type discrimination module includes an image extraction module, an area comparison module and a color comparison module. The image extraction module is used to extract the fruit area size and the color distribution of the fruit surface from the fruit image. The area comparison module compares the fruit area size with the fruit area threshold and determines whether the fruit is a growing fruit based on the comparison result. The color comparison module compares the color area of ​​the fruit surface to determine whether the fruit is a to-be-ripened fruit or a ripe fruit.

[0008] More optimally, the order information receiving module includes a data collection module, a logistics day estimation module and a fruit type allocation module, the data collection module collects the destination and the expected amount of fruit in the order to be allocated, the logistics day estimation module obtains the estimated logistics days required for the fruit to be shipped from the farmer's planting area to the destination based on historical logistics records, and the fruit type allocation module allocates to-be-mature fruits or mature fruits to the order to be allocated based on the relationship between the estimated logistics days and the logistics day threshold.

[0009] More optimally, the order processing status management module includes an order number statistics module and an unprocessed order fruit distribution quantity statistics module, the order number statistics module is used to count the number of processed orders and the number of unprocessed orders of each farmer, and the unprocessed order fruit distribution quantity statistics module is used to count the distribution quantity of to-be-ripened fruits and the distribution quantity of ripe fruits in the predetermined amount of fruits in the unprocessed orders; the order distribution module includes a distribution index calculation module and a distribution index sorting module, the distribution index calculation module calculates the distribution index according to the data counted by the order number statistics module, the unprocessed order fruit distribution quantity statistics module and the fruit quantity statistics module, and the distribution index sorting module sorts the distribution index in descending order, selects the farmer ranked first as the best farmer, and distributes the to-be-allocated order to the best farmer.

[0010] A blockchain-based logistics order management method, the management method comprising the following steps:

[0011] Step S1: receiving information data of an order to be distributed, wherein the order information data includes a destination and a predetermined amount of fruit;

[0012] Step S2: Each farmer uploads the order processing status to the blockchain at a preset time period;

[0013] Step S3: Collect the fruit images of each farmer's planting area and upload them to the corresponding node of the blockchain, and count the distribution of each farmer's fruit based on the fruit images of the planting area;

[0014] Step S4: Allocate the orders to be allocated to the best farmers according to the information data of the orders to be allocated, the order processing status, and the fruit distribution status.

[0015] Preferably, step S3 includes:

[0016] Collect fruit images from each farmer’s planting area and upload them to the corresponding farmer’s node on the blockchain;

[0017] Extract the fruit area and color distribution on the fruit surface from the fruit image.

[0018] If the area of ​​a fruit is less than or equal to the fruit area threshold, then the fruit is determined to be a growing fruit;

[0019] If the fruit area is greater than the fruit area threshold, the maturity percentage is obtained according to the color distribution on the fruit surface, where the maturity percentage is the percentage of the area of ​​the first color on the fruit surface to the entire fruit surface area, and the first color is the color of the fruit after maturity.

[0020] If the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a fruit to be matured; if the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a mature fruit;

[0021] Statistics were collected on the amount of growing fruits Zs, the amount of fruits to be matured Zd and the amount of mature fruits Zc in each farmer's planting area.

[0022] Preferably, the step S1 further comprises:

[0023] According to the historical logistics records, the estimated logistics days required for the fruit to be shipped from the farmer's planting area to the destination are obtained. If the estimated logistics days are less than the logistics day threshold, the ripe fruits are allocated to the order to be allocated. If the logistics days are greater than or equal to the logistics day threshold, the unripened fruits are allocated to the order to be allocated.

[0024] Preferably, step S2 further comprises:

[0025] The order processing status includes the status of processed orders and the status of unprocessed orders. The processed order status includes the number Dy of processed orders of each farmer, and the unprocessed order status includes the number Dw of unprocessed orders and the allocation amount Yd of to-be-ripened fruits and the allocation amount Yc of ripe fruits in the predetermined amount of fruits in the unprocessed orders.

[0026] Preferably, step S4 comprises:

[0027] Step S41: Calculate the allocation index of each farmer

[0028] U=0.3*Dy / (Dy+Dw)+0.4*P / [Zs+(Zd-Yd)+(Zc-Yc)]+0.3*[Zs+(Zd-Yd)+(Zc-Yc)] / Za,

[0029] in, , i represents the i-th farmer, n represents the number of farmers,

[0030] When allocating ripe fruits to the order to be allocated, P=Zd-Yd, and when allocating unripe fruits to the order to be allocated, P=Zc-Yc.

[0031] Step S42: sort the allocation indexes in descending order, select the farmer ranked first as the best farmer, and allocate the order to be allocated to the best farmer.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention obtains the distribution of fruit types in each farmer's planting area by collecting fruit images in the farmer's planting area, and allocates orders according to the fruit type distribution in each farmer's planting area and the order processing status of each farmer, thereby reducing the arbitrariness in allocating orders and promoting the fairness and rationality of order allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a module schematic diagram of a blockchain-based logistics order management system of the present invention;

[0034] Figure 2 This is a flow chart of a blockchain-based logistics order management method of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] See also Figures 1-2In an embodiment of the present invention, a blockchain-based logistics order management system includes an order information receiving module, an order processing status management module, a fruit planting status management module and an order allocation module. The order information receiving module is used to receive information data for processing orders to be allocated. The order processing status management module is used to obtain the order processing status of each farmer node, and upload the order processing status to the blockchain every preset time period. The fruit planting status management module is used to collect fruit images of each farmer's planting area and upload them to the corresponding farmer node of the blockchain, and count the fruit distribution of each farmer based on the fruit images of the planting area. The order allocation module allocates the orders to be allocated to the best farmers based on the information data, order processing status and fruit distribution of the orders to be allocated.

[0037] The fruit planting situation management module includes an image acquisition module, an image upload module, a fruit type discrimination module and a fruit quantity statistics module. The image acquisition module is used to collect fruit images of each farmer's planting area, and the image upload module is used to upload the fruit images of each farmer's planting area to each farmer's node on the blockchain. The fruit type discrimination module determines the type of fruit according to the collected fruit images, and the fruit quantity statistics module is used to count the number of each type of fruit in the planting area of ​​each farmer.

[0038] The fruit type discrimination module includes an image extraction module, an area comparison module and a color comparison module. The image extraction module is used to extract the fruit area size and the color distribution of the fruit surface from the fruit image. The area comparison module compares the fruit area size with the fruit area threshold and determines whether the fruit is a growing fruit based on the comparison result. The color comparison module compares the color area of ​​the fruit surface to determine whether the fruit is a to-be-ripened fruit or a ripe fruit.

[0039] The order information receiving module includes a data collection module, a logistics day estimation module and a fruit type allocation module. The data collection module collects the destination and the expected amount of fruit in the order to be allocated. The logistics day estimation module obtains the estimated logistics days required for the fruit to be shipped from the farmer's planting area to the destination based on historical logistics records. The fruit type allocation module allocates ripe fruits or mature fruits to the order to be allocated based on the relationship between the estimated logistics days and the logistics day threshold.

[0040] The order processing situation management module includes an order number statistics module and an unprocessed order fruit distribution quantity statistics module, the order number statistics module is used to count the number of processed orders and the number of unprocessed orders of each farmer, and the unprocessed order fruit distribution quantity statistics module is used to count the distribution quantity of to-be-ripened fruits and the distribution quantity of ripe fruits in the predetermined amount of fruits in the unprocessed orders; the order distribution module includes a distribution index calculation module and a distribution index sorting module, the distribution index calculation module calculates the distribution index according to the data counted by the order number statistics module, the unprocessed order fruit distribution quantity statistics module and the fruit quantity statistics module, and the distribution index sorting module sorts the distribution index in descending order, selects the farmer ranked first as the best farmer, and distributes the order to be distributed to the best farmer.

[0041] A blockchain-based logistics order management method, the management method comprising the following steps:

[0042] Step S1: receiving information data of an order to be distributed, wherein the order information data includes a destination and a predetermined amount of fruit,

[0043] According to historical logistics records, the estimated logistics days required for the fruit to arrive at the destination after being shipped from the farmer's planting area are obtained. If the estimated logistics days are less than the logistics days threshold, the ripe fruits are allocated to the order to be allocated. If the logistics days are greater than or equal to the logistics days threshold, the unripe fruits are allocated to the order to be allocated. Bananas, tomatoes, papayas and other agricultural products are picked before they are ripe, and they can mature after being placed for a few days. Therefore, when the logistics days are long, unripe fruits should be allocated to prevent the fruits from being damaged during transportation. At the same time, the unripe fruits will gradually ripen during transportation, improving the efficiency of fruit planting management. When the logistics days are short, ripe fruits should be allocated. On the one hand, the logistics days are short and the fruits are not easily damaged. On the other hand, it is convenient for customers to enjoy the fruits as soon as they receive them.

[0044] Step S2: Each farmer uploads the order processing status to the blockchain at preset time intervals: the order processing status includes the status of processed orders and the status of unprocessed orders, the processed order status includes the number of processed orders Dy of each farmer, the unprocessed order status includes the number of unprocessed orders Dw and the allocation amount of unripened fruits Yd and the allocation amount of ripe fruits Yc in the predetermined amount of fruits in the unprocessed orders;

[0045] Step S3: Collect the fruit images of each farmer’s planting area and upload them to the corresponding node of the blockchain. Count the distribution of each farmer’s fruit based on the fruit images of the planting area.

[0046] Collect fruit images from each farmer’s planting area and upload them to the corresponding farmer’s node on the blockchain;

[0047] Extract the fruit area and color distribution on the fruit surface from the fruit image.

[0048] If the area of ​​a fruit is less than or equal to the fruit area threshold, then the fruit is determined to be a growing fruit;

[0049] If the fruit area is greater than the fruit area threshold, the maturity percentage is obtained according to the color distribution on the fruit surface, where the maturity percentage is the percentage of the area of ​​the first color on the fruit surface to the entire fruit surface area, and the first color is the color of the fruit after maturity.

[0050] If the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a fruit to be matured; if the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a mature fruit;

[0051] Count the amount of growing fruits Zs, the amount of fruits to be mature Zd and the amount of mature fruits Zc in each farmer's planting area;

[0052] Step S4: Allocate the orders to be allocated to the best farmers according to the information data of the orders to be allocated, the order processing status, and the fruit distribution status:

[0053] Step S41: Calculate the allocation index of each farmer

[0054] U=0.3*Dy / (Dy+Dw)+0.4*P / [Zs+(Zd-Yd)+(Zc-Yc)]+0.3*[Zs+(Zd-Yd)+(Zc-Yc)] / Za, where, , i represents the i-th farmer, n represents the number of farmers, Zs i represents the amount of fruit grown in the planting area of ​​the i-th farmer, Zd i represents the amount of ripe fruits in the planting area of ​​the i-th farmer, Zc i represents the amount of mature fruits in the planting area of ​​the i-th farmer, Yd i represents the amount of fruit to be ripened in the scheduled amount of fruit in the unprocessed order of the i-th farmer, Yc i represents the allocation of ripe fruits in the scheduled amount of fruits in the unprocessed orders of the i-th farmer,

[0055] When allocating ripe fruits to the order to be allocated, P=Zd-Yd, and when allocating unripe fruits to the order to be allocated, P=Zc-Yc.

[0056] Step S42: Sort the allocation indexes in descending order, select the farmer ranked first as the best farmer, and allocate the order to be allocated to the best farmer. When allocating orders, the processing of the orders allocated to the farmers and the conditions of the fruits grown by the farmers are comprehensively considered, which can prevent the farmers from having too many unprocessed orders and too many agricultural products of a certain farmer, making the allocation of orders more fair.

[0057] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A blockchain-based logistics order management system, characterized by: The management system includes an order information receiving module, an order processing situation management module, a fruit planting situation management module and an order allocation module. The order information receiving module is used to receive information data of orders to be allocated, the order processing situation management module is used to obtain the order processing situation of each farmer node, and upload the order processing situation to the blockchain at preset time intervals. The fruit planting situation management module is used to collect fruit images of each farmer's planting area and upload them to the corresponding farmer node of the blockchain, and count the fruit distribution of each farmer based on the fruit images of the planting area. The order allocation module allocates the order to be allocated to the best farmer based on the information data of the order to be allocated, the order processing situation, and the fruit distribution situation. The management method of the logistics order management system comprises the following steps: Step S1: receiving information data of an order to be distributed, wherein the order information data includes a destination and a predetermined amount of fruit; Step S2: Each farmer uploads the order processing status to the blockchain at a preset time period; Step S3: Collect the fruit images of each farmer's planting area and upload them to the corresponding node of the blockchain, and count the distribution of each farmer's fruit based on the fruit images of the planting area; Step S4: allocating the orders to be allocated to the best farmers according to the information data of the orders to be allocated, the order processing status, and the fruit distribution status; The step S3 comprises: Collect fruit images from each farmer’s planting area and upload them to the corresponding farmer’s node on the blockchain; Extract the fruit area and color distribution on the fruit surface from the fruit image. If the area of ​​a fruit is less than or equal to the fruit area threshold, then the fruit is determined to be a growing fruit; If the fruit area is greater than the fruit area threshold, the maturity percentage is obtained according to the color distribution on the fruit surface, where the maturity percentage is the percentage of the area of ​​the first color on the fruit surface to the entire fruit surface area, and the first color is the color of the fruit after maturity. If the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a fruit to be matured; if the maturity percentage of a certain fruit is less than or equal to the maturity percentage threshold, then the fruit is determined to be a mature fruit; Statistics were collected on the amount of growing fruits Zs, the amount of fruits to be matured Zd and the amount of mature fruits Zc in each farmer's planting area.

Citation Information

Patent Citations

  • A method and system for manage agricultural products base on Internet of things and block chain technology

    CN109214750A

  • Logistics order allocation method and system based on block chain

    CN110705754A

  • Computer system for conducting a new product campaign and method

    EP3614328A1

  • Order receipt and distribution management system

    JP2009026030A