A distribution method, device and storage medium based on blockchain

By determining the main body of the distribution logistics process on the blockchain platform and deploying smart contracts, the problem of poor information continuity and low execution efficiency in the collaborative information in the distribution information between traditional enterprises, and realized the automation inventory management and efficient distribution information information Cooperation.

CN112613824BActive Publication Date: 2025-01-24INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011583690.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2025-01-24
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

During the process of distribution information coordination between traditional enterprises, the information continuity is poor and the information execution efficiency is low.

Method used

By determining the main body of each stage in the process of distribution logistics, it is determined to be a number of nodes of the blockchain platform, and the preset smart contracts are deployed, including smart contracts and smart contracts to be distributed. Essence

Benefits of technology

Improving the efficiency of information execution, reducing the dependence of manual processing, avoiding unexpected situations and other emergencies, and enhancing the ability to cope with emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112613824B_ABST
    Figure CN112613824B_ABST
Patent Text Reader

Abstract

The present application discloses a distribution method, device and storage medium based on blockchain, the distribution method includes: determining the execution subjects of each stage in the logistics process of distribution as several nodes of the blockchain platform; deploying preset smart contracts to the blockchain platform; the preset smart contracts include preset smart contracts for goods to be distributed and preset distribution smart contracts; according to the preset smart contracts for goods to be distributed, determining the order to be distributed, and sending the order to be distributed; according to the preset distribution smart contracts, based on the order to be distributed, determining the distribution information of the order to be distributed. The embodiment of the present application realizes the intelligentization of the collaborative process of automated inventory management and distribution information by presetting the smart contracts for goods to be distributed and the preset distribution smart contracts, saving a lot of manpower and material resources for supply chain data processing and analysis, improving the efficiency of information execution, and effectively avoiding emergencies such as untimely distribution and insufficient ability to deal with emergencies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a distribution method, device and storage medium based on blockchain. Background Art

[0002] With the advent of the big data era, market demand is unpredictable. Enterprises must form a true alliance to enhance overall synergy and achieve win-win results through coordinated resources and information.

[0003] Intelligent information collaboration among enterprises is a new requirement of the "Internet of Everything". Especially in the process of purchasing goods, it poses a greater challenge to information collaboration among enterprises. However, in the process of distribution information collaboration among traditional enterprises, the information continuity between enterprises is poor, and the related processes rely too much on manual processing, resulting in the formation of information islands between enterprises. Summary of the invention

[0004] The embodiments of the present application provide a distribution method, device and storage medium based on blockchain, which are used to solve the following technical problems in the prior art: in the process of goods distribution information coordination between traditional enterprises, the information continuity between enterprises is poor and the information execution efficiency is low.

[0005] On the one hand, an embodiment of the present application provides a distribution method based on blockchain, which includes: determining the execution entities of each stage in the logistics process of distribution as several nodes of the blockchain platform; deploying a preset smart contract to the blockchain platform; the preset smart contract includes a preset smart contract for goods to be distributed and a preset distribution smart contract; according to the preset smart contract for goods to be distributed, determining the order to be distributed, and sending the order to be distributed; according to the preset distribution smart contract, based on the order to be distributed, determining the distribution information of the order to be distributed.

[0006] Optionally, according to a preset smart contract for goods to be allocated, determining the order to be allocated includes: receiving parameters of the preset smart contract for goods to be allocated; the parameters are related to the inventory information of the goods; when the preset conditions of the preset smart contract for goods to be allocated are met, obtaining the order to be allocated to be verified; verifying the order to be allocated to be verified, and determining the order to be allocated.

[0007] Optionally, a smart contract for goods to be distributed is preset, specifically including: preset response conditions and preset response rules; wherein the preset response conditions include that the inventory quantity of the goods is lower than a preset inventory threshold; the preset response rules include sending an order for goods to be distributed.

[0008] Optionally, the preset inventory threshold is related to the order information of the commodity; the order information of the commodity includes the order quantity of the commodity.

[0009] Optionally, the preset cargo distribution smart contract includes any one of the following: a preset delivery smart contract, a preset inventory management smart contract, and a preset vehicle allocation smart contract.

[0010] Optionally, according to the preset distribution smart contract, based on the order to be distributed, the distribution information of the order to be distributed is determined, specifically including: the distribution information includes distribution order information, the picking record of the distribution order information and the vehicle allocation information; wherein, according to the preset distribution smart contract, respond to the information of the order to be distributed, and determine the distribution order information corresponding to the order to be distributed; according to the preset inventory management smart contract, respond to the distribution order information, and determine the picking information and vehicle allocation record of the distribution order information; according to the preset vehicle allocation smart contract, respond to the vehicle allocation record and determine the vehicle allocation information of the order to be distributed.

[0011] Optionally, when the order to be distributed is not obtained, the order information and inventory quantity of the goods within a preset period are obtained; the order to be distributed of the goods is determined based on the order information and inventory quantity of the goods; wherein the order information of the goods includes the identification of the goods, the identification of the distributor, and the order quantity of the goods.

[0012] Optionally, the several nodes of the blockchain platform include at least one of the following: suppliers, distributors.

[0013] On the other hand, an embodiment of the present application provides a blockchain-based distribution device, which includes a processor, a memory, and execution instructions stored in the aforementioned memory, and the aforementioned execution instructions are configured to enable the aforementioned distribution device to execute the distribution method of any of the above-mentioned technical solutions when executed by the aforementioned processor.

[0014] On the other hand, an embodiment of the present application provides a storage medium, which stores execution instructions, and the execution instructions are configured to enable the electronic device to execute the distribution method of any of the above-mentioned technical solutions when executed by a processor of the electronic device.

[0015] Those skilled in the art will appreciate that the embodiments of the present application, by determining the executors of each stage in the logistics process of distribution as several nodes of the blockchain platform, and deploying preset smart contracts to the blockchain platform, realize automated inventory management and intelligent distribution information collaboration processes through preset smart contracts for goods to be distributed and preset smart contracts for distribution, thereby saving a large amount of manpower and material resources for supply chain data processing and analysis, improving information execution efficiency, and effectively avoiding emergencies such as untimely distribution and insufficient ability to cope with emergencies. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solution of the present application, some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings, in which:

[0017] Figure 1 This is a flowchart of a distribution method based on blockchain provided in an embodiment of the present application;

[0018] Figure 2 This is a flow chart of a method for determining an order to be distributed provided by an embodiment of the present application;

[0019] Figure 3 It is a flow chart of a method for determining the distribution information of an order to be distributed provided by an embodiment of the present application;

[0020] Figure 4 is a flow chart of another method for determining an order to be distributed provided by an embodiment of the present application;

[0021] Figure 5 It is a structural schematic diagram of a blockchain-based distribution device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. It should be understood by those skilled in the art that the embodiments described in the specific implementation manner of this section are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments described in the specific implementation manner of this section, all other embodiments obtained by ordinary technicians in this field without making creative work will not deviate from the technical principles of the present application, and therefore should fall within the scope of protection of the present application.

[0023] Some embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0024] Figure 1 This is a flow chart of a distribution method based on blockchain provided in an embodiment of the present application.

[0025] like Figure 1 As shown, S101, the execution entities of each stage in the logistics process of distribution are determined as several nodes of the blockchain platform.

[0026] Among them, several nodes of the blockchain platform include at least suppliers and distributors.

[0027] S102: deploy the preset smart contract to the blockchain platform.

[0028] Specifically, the preset smart contracts include preset smart contracts for goods to be distributed and preset smart contracts for distribution.

[0029] Among them, in the logistics process of distribution, after the distributor node and the supplier node are registered and authenticated on the blockchain platform respectively, the distributor node executes the preset smart contract for distribution to complete the replenishment needs of the goods, and the supplier node executes the preset distribution smart contract to send replenishment goods to the distributor node according to the replenishment needs of the distributor node.

[0030] S103: Determine the order to be allocated according to the preset smart contract for the goods to be allocated, and send the order to be allocated.

[0031] Specifically, the distributor node enters the blockchain platform, sets the contract for the block, and obtains the preset smart contract for goods to be allocated. In addition, the distributor node can also add any other contracts according to specific needs. After setting the preset smart contract for goods to be allocated, when the preset conditions of the preset smart contract for goods to be allocated are met, the preset smart contract for goods to be allocated is executed, the order for goods to be allocated for replenishment is determined, and the order for goods to be allocated is sent to the supplier node.

[0032] How to determine the order to be delivered in the embodiment of the present application will be Figure 2 Provide explanations and illustrations.

[0033] S104. According to the preset distribution smart contract, based on the order to be distributed, determine the distribution information of the order to be distributed.

[0034] Specifically, the supplier node determines the distribution information of the order to be distributed according to the preset distribution smart contract and based on the order to be distributed.

[0035] The preset cargo distribution smart contract at least includes a preset delivery smart contract, a preset inventory management smart contract, and a preset vehicle allocation smart contract.

[0036] How to determine the delivery information of the order to be delivered in the embodiment of the present application will be described in detail. Figure 3 Provide explanations and illustrations.

[0037] Based on the foregoing description, it can be understood by those skilled in the art that the embodiment of the present application determines the execution entities of each stage in the logistics process of distribution as several nodes of the blockchain platform, and deploys the preset smart contracts to the blockchain platform, and realizes the intelligentization of the automated inventory management and the distribution information collaboration process through the preset smart contracts for goods to be distributed and the preset smart contracts for distribution, thereby saving a lot of manpower and material resources for supply chain data processing and analysis, improving the efficiency of information execution, and effectively avoiding emergencies such as untimely distribution and insufficient ability to deal with emergencies.

[0038] Next, we will continue to explain how to determine the orders to be delivered in the embodiment of the present application.

[0039] like Figure 2 As shown, Figure 2 It is a flow chart of a method for determining orders to be distributed provided in an embodiment of the present application.

[0040] S201. Receive the parameters of the preset smart contract for goods to be distributed.

[0041] In some embodiments of the present application, the distributor node inputs the parameters of the preset smart contract for goods to be allocated into the corresponding block, wherein the parameters of the preset smart contract for goods to be allocated are related to the inventory information of the goods.

[0042] Specifically, the inventory system of the distributor node traverses the inventory information of each commodity in real time, automatically issues a transaction request, inputs the inventory information of each commodity into the block of the preset smart contract for goods to be distributed, interacts with the preset smart contract for goods to be distributed, and determines whether replenishment is needed.

[0043] S202: When the preset conditions of the preset smart contract for goods to be distributed are met, the order for goods to be distributed to be verified is obtained.

[0044] Specifically, when the distributor node is in the process of identifying the transaction request by the preset distribution smart contract and meets the preset conditions of the preset distribution smart contract, it runs the contract code to obtain the distribution orders to be verified for each product.

[0045] Among them, the preset smart contract for goods to be distributed includes at least: preset response conditions and preset response rules.

[0046] Furthermore, the preset response condition includes that the inventory quantity of the product is lower than a preset inventory threshold, and the preset response rule includes sending an order to be delivered.

[0047] Furthermore, the preset inventory threshold is related to the order information of the product, and the order information of the product at least includes the order quantity of the product.

[0048] Specifically, within a preset update threshold period, the preset inventory threshold of each commodity is updated.

[0049] Among them, referring to the order history curve chart of each commodity in each month of the previous year, the order trend of each commodity in the near future is predicted.

[0050] Furthermore, a preset inventory threshold of the current inventory of the product is determined based on the current order quantity of the product and the predicted recent order quantity.

[0051] S203: Verify the orders to be delivered and confirm the orders to be delivered.

[0052] Specifically, the orders to be verified are broadcast to other nodes. After being verified by other nodes, the orders to be verified are determined and automatically sent to the supplier node.

[0053] Based on the foregoing description, those skilled in the art will understand that the embodiments of the present application automatically initiate distribution order requests by presetting the smart contract for goods to be distributed, so that the distributor node can effectively respond to market demand and make decisions in a timely manner.

[0054] Furthermore, by using the order history curve chart of each commodity, the recent predicted order quantity can be obtained, and the preset inventory threshold can be updated to better respond to market demand and avoid the phenomenon of untimely replenishment.

[0055] Next, we will continue to explain how to determine the delivery information of the order to be delivered in the embodiment of the present application.

[0056] like Figure 3 As shown, Figure 3 It is a flow chart of a method for determining the distribution information of an order to be distributed provided in an embodiment of the present application.

[0057] S301. According to the preset delivery smart contract, respond to the information of the order to be distributed and determine the distribution order information corresponding to the order to be distributed.

[0058] Specifically, the supplier node sends the order information to be distributed into the block, and shares the order information to be distributed to the database of the blockchain platform.

[0059] Furthermore, through the preset delivery smart contract in the database, the information of the order to be distributed is responded to, the distribution order information corresponding to the order to be distributed is generated, and the distribution order information is shared to the database of the blockchain platform.

[0060] S302. According to the preset inventory management smart contract, respond to the distribution order information and determine the pick-up information and vehicle allocation record of the distribution order information.

[0061] Specifically, the supplier node responds to the distribution order information through the preset inventory management smart contract in the database of the blockchain platform, generates the pick-up information and vehicle allocation record of the distribution order information, and shares the pick-up information and vehicle allocation record to the database of the blockchain platform.

[0062] S303. According to the preset vehicle allocation smart contract, respond to the vehicle allocation record and determine the vehicle allocation information of the order to be allocated.

[0063] Specifically, the supplier node responds to the vehicle allocation record through the preset vehicle allocation smart contract in the database of the blockchain platform, generates vehicle allocation information for the order to be allocated, and shares the vehicle allocation information to the database of the blockchain platform.

[0064] Among them, the driver carries the necessary electronic printed documents when departing, and the departure status and other related information are saved in the block and shared in the blockchain database.

[0065] Furthermore, when the goods are being delivered, the supplier node uploads the attributes of the goods to the database of the blockchain platform.

[0066] Among them, the attributes include original information such as type, code, weight, volume, distributor address, supplier address, etc., and the above information is signed by the client private key and sent to the connected nodes, which are then broadcast to all nodes.

[0067] It should be noted that the cargo transportation process includes several transportation nodes. For example, when the cargo needs to be transported through multiple cities, it includes multiple different city transportation nodes.

[0068] The blockchain platform calculates the transportation route based on the properties of the goods and sends real-time planning instructions for the goods to each node on the transportation route.

[0069] Furthermore, after the logistics and transportation information of the goods is synchronized to the management system of the blockchain platform, a cloud order bound to the goods is created through the management system, and a smart contract for preset transportation is created.

[0070] Each cargo transportation node can obtain the cloud order, and the life cycle of the cloud order can be set in each node. When the cargo arrives at a certain node and fails to be processed and sent out within the cloud order life cycle, the blockchain platform will automatically trigger the abnormal record processing and assessment of the preset transportation smart contract, and synchronize the abnormal record to the relevant functions to remind the relevant personnel to handle it in time.

[0071] It should be noted that the smart contract for preset transportation is included in the life cycle of the node. When the goods are not shipped, the status of the goods will be synchronized to the relevant personnel.

[0072] Furthermore, for goods that deviate from the plan, the corresponding transportation node broadcasts it on the management function blockchain so that other affected transportation nodes can make corrections in time.

[0073] Therefore, each cargo transportation processing node can grasp the forecast volume of incoming cargo and the estimated shipment volume of outgoing cargo in real time, so as to timely guide relevant personnel to carry out scheduling, thereby dynamically adjusting the processing plan and shipping plan, ensuring that the cargo is processed and shipped in time, and improving the processing efficiency of cargo transportation in all links.

[0074] In some embodiments of the present application, the distributor node can query the supplier node through the blockchain platform database to obtain raw material information, production schedule, and completion status of orders to be distributed.

[0075] Based on the foregoing description, those skilled in the art will understand that, in the embodiment of the present application, data sharing and data updating are carried out simultaneously through the preset distribution smart contract, so that the supplier node can optimize the operation of each process, reduce the error rate, and ensure the smooth implementation of each link.

[0076] Furthermore, by sharing data to the blockchain, distributor nodes can understand the status of orders to be distributed in real time.

[0077] In some embodiments of the present application, the present application also provides another method flow chart for determining orders to be delivered, such as Figure 4 shown.

[0078] S401. Obtain order information and inventory quantity of goods within a preset period.

[0079] Specifically, the distributor node shares the ordering information and inventory quantity of each product to the blockchain database. The ordering information of the product includes the product identification, the distributor identification, and the order quantity of the product.

[0080] During a preset period, the supplier node regularly queries the blockchain database for the order information and inventory quantity of each commodity.

[0081] S402: Determine the order of goods to be delivered according to the order information and inventory quantity of the goods.

[0082] Specifically, when the order quantity of a commodity is greater than the inventory quantity of the commodity, the supplier node determines the quantity of the commodity to be distributed and generates an order for the commodity to be distributed.

[0083] It can be understood by those skilled in the art that the order quantity of a commodity may experience explosive growth, while the preset inventory threshold of the commodity at the distributor node is not within the preset update threshold period. As a result, replenishment is not timely. The embodiment of the present application enables timely replenishment by regularly querying the order information and inventory quantity of each commodity in the distributor node through the supplier node, thereby further improving information execution efficiency.

[0084] like Figure 5 As shown, the present application also provides a distribution device based on blockchain. The distribution device includes a processor at the hardware level, and optionally also includes a memory and a bus. In addition, the distribution device is also allowed to include hardware required by other businesses.

[0085] The memory is used to store execution instructions, which are specifically executable computer programs. Further, the memory may include a memory and a non-volatile memory, and provide execution instructions and data to the processor. Exemplarily, the memory may be a high-speed random access memory (RAM), and the non-volatile memory may be at least one disk storage.

[0086] The bus is used to connect the processor, memory and network interface to each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Although only one bidirectional arrow is used in the diagram, this does not mean that there is only one bus or only one type of bus.

[0087] In a feasible implementation of the above-mentioned distribution device, the processor may first read the corresponding execution instruction from the non-volatile memory into the memory and then run it, or may first obtain the corresponding execution instruction from other devices and then run it. When the processor executes the execution instruction stored in the memory, it can implement the distribution method in any of the above-mentioned distribution method embodiments of the present application.

[0088] It will be understood by those skilled in the art that the above-mentioned distribution method can be applied to a processor or implemented with the aid of a processor. Exemplarily, a processor is an integrated circuit chip that has the ability to process signals. In the process of the processor executing the above-mentioned distribution method, each step of the above-mentioned distribution can be completed by an integrated logic circuit in the form of hardware or an instruction in the form of software in the processor. Further, the above-mentioned processor can be a general-purpose processor, such as a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, microprocessors, and any other conventional processors.

[0089] Those skilled in the art can also understand that the steps of the above-mentioned distribution method embodiment of the present application can be executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, and other mature storage media in the field. The storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the execution of the steps in the above-mentioned distribution method embodiment.

[0090] Although not shown in the figure, the present application also proposes a storage medium, which stores execution instructions. When the stored execution instructions are executed by the processor of the electronic device, the electronic device can execute the distribution method in any one of the above-mentioned distribution method embodiments of the present application.

[0091] Those skilled in the art will appreciate that the electronic device described in the above embodiments of the present application may be a computer.

[0092] So far, the description of the technical solution of the present application has been completed with reference to the accompanying drawings and in combination with the above embodiments.

[0093] Those skilled in the art will appreciate that the above-mentioned method for allocating goods in the present application can be presented in the form of a method for allocating goods or in the form of a computer program product. Therefore, the technical solution of the present application can be implemented in the form of all hardware, in the form of all software, or in the form of a combination of software and hardware.

[0094] It should be noted that, in order to highlight the differences between the above-mentioned multiple embodiments of the present application, the above-mentioned multiple embodiments of the present application are arranged and described in a parallel manner and / or a progressive manner, and the following embodiments only focus on the differences between them and other embodiments, and the same or similar parts between the various embodiments can refer to each other. For example, for the device / product embodiment, since the device / product embodiment is basically similar to the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the corresponding part of the method embodiment.

[0095] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the technical principle of the present application should all fall within the protection scope of the present application.

Claims

1. A distribution method based on blockchain, characterized in that: The distribution method includes: The execution entities of each stage of the logistics process of distribution are determined as several nodes of the blockchain platform; Deploy a preset smart contract to the blockchain platform; the preset smart contract includes a preset smart contract for goods to be distributed and a preset smart contract for goods distribution; Determine the order to be allocated according to the preset smart contract for the goods to be allocated, and send the order to be allocated; According to the preset distribution smart contract, based on the order to be distributed, determine the distribution information of the order to be distributed; The preset smart contract for goods to be distributed specifically includes: Preset response conditions and preset response rules; The preset response condition includes that the inventory quantity of the product is lower than a preset inventory threshold; the preset response rule includes sending the order to be distributed; The preset inventory threshold is related to the order information of the commodity; the order information of the commodity includes the order quantity of the commodity; Determining the order to be allocated according to the preset intelligent contract to be allocated specifically includes: Receiving parameters of the preset smart contract for goods to be allocated; the parameters are related to the inventory information of the goods; When the preset conditions of the preset smart contract for goods to be distributed are met, an order for goods to be distributed to be verified is obtained; The preset distribution smart contract includes any of the following: Preset delivery smart contract, preset inventory management smart contract, preset vehicle deployment smart contract; The determining, according to the preset distribution smart contract and based on the order to be distributed, distribution information of the order to be distributed specifically includes: The cargo distribution information includes cargo distribution order information, pickup information of the cargo distribution order information and vehicle allocation information; wherein, According to the preset delivery smart contract, respond to the information of the order to be distributed, and determine the distribution order information corresponding to the order to be distributed; According to the preset inventory management smart contract, respond to the distribution order information, and determine the pick-up information and vehicle allocation record of the distribution order information; According to the preset vehicle allocation smart contract, responding to the vehicle allocation record, determining the vehicle allocation information of the order to be allocated; The method further comprises: When the order to be distributed is not obtained, the order information and inventory quantity of the product within a preset period are obtained; Determine the order for the product to be delivered according to the order information and inventory quantity of the product; The order information of the commodity includes the identifier of the commodity, the identifier of the distributor, and the order quantity of the commodity.

2. The method for allocating goods according to claim 1, characterized in that: The plurality of nodes of the blockchain platform include at least one of the following: Suppliers and distributors.

3. A distribution device based on blockchain, characterized in that: The cargo distribution device comprises a processor, a memory and execution instructions stored in the memory, wherein the execution instructions are configured to enable the cargo distribution device to execute the cargo distribution method according to any one of claims 1 to 2 when executed by the processor.

4. A storage medium, characterized in that: The storage medium stores execution instructions, and the execution instructions are configured to enable the electronic device to execute the distribution method according to any one of claims 1 to 2 when executed by a processor of the electronic device.

Citation Information

Patent Citations

  • Block chain-based distribution method and device, electronic equipment and storage medium

    CN111652538A