A consumption circulation profit distribution system based on blockchain technology
The consumer circulation profit distribution system based on blockchain technology solves the problems of insufficient transparency and trust mechanisms in traditional systems, and achieves transparent, accurate and secure profit distribution, which is suitable for consumer circulation environments with many-to-many relationships.
Patent Information
- Application Number
- CN202510505881.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-04-22
AI Technical Summary
In traditional consumer distribution systems, the lack of transparency and trust mechanisms among participants leads to inefficient and error-prone profit distribution, especially in many-to-many relationships. This makes it difficult to effectively address the issue that participants cannot accurately understand the behavior of others, resulting in a lack of fairness in the distribution outcome.
The consumer circulation profit distribution system based on blockchain technology includes a data acquisition and transmission module, a distributed data processing module, a smart contract generation and deployment module, and a profit distribution logic execution module. It records and processes consumer circulation-related data through the blockchain, generates smart contracts and automatically executes profit distribution, and uses a signal-driven correction module for anomaly detection and fund rollback.
The system ensures transparency, accuracy, and security in the profit distribution process, guaranteeing that each participant can view the distribution details. It can handle many-to-many relationships, ensuring real-time data updates and immutability, and preventing data modification or forgery.
Smart Images

Figure CN120317962B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of consumer circulation management, in particular to a consumer circulation profit distribution system based on blockchain technology. BACKGROUND
[0002] With the rapid development of e-commerce, supply chain management and consumer circulation industry, more and more enterprises and participants play different roles in the same supply chain. Traditional consumer circulation systems usually involve multiple participants such as manufacturers, agents, logistics and consumers. The profit distribution among these participants often involves complex calculation and distribution processes. Especially in the context of many-to-many relationships, how to ensure that each participant reasonably obtains profits according to their contribution has become an important problem.
[0003] In traditional profit distribution systems, there is often a lack of effective transparency and trust mechanisms among participants. Profit distribution usually relies on manual calculation or centralized data systems, which are not only inefficient but also prone to errors and even manipulation. Further, in some cases, participants may not be able to accurately understand the behavior of others, such as whether agents inflate prices or logistics companies take detours, which makes the distribution results lack fairness.
[0004] In view of the above problems, it is necessary to propose a consumer circulation profit distribution system based on blockchain technology. SUMMARY
[0005] The purpose of the present application is to solve the problems in the background art and propose a consumer circulation profit distribution system based on blockchain technology.
[0006] The purpose of the present application can be achieved by the following technical solutions:
[0007] A consumer circulation profit distribution system based on blockchain technology, comprising a data acquisition and transmission module, a distributed data processing module, an intelligent contract generation and deployment module, a profit distribution logic execution module and a signal-driven correction module.
[0008] The data acquisition and transmission module is responsible for real-time recording of consumer circulation participants through API interfaces, Internet of Things devices and intelligent sensors, including manufacturers, primary agents, secondary agents, logistics and consumers.
[0009] Among them, the manufacturer refers to an enterprise or entity responsible for producing goods or providing basic services, which is the starting point of consumer circulation;
[0010] Among them, the primary agent refers to an enterprise or individual that directly cooperates with the manufacturer, purchases products through wholesale and sells them to downstream secondary agents or other distributors.
[0011] Among them, the secondary agent refers to cooperating directly with the primary agent, purchasing products through the primary agent, and further selling to consumers, enterprises or individuals;
[0012] Among them, the logistics party refers to an enterprise or service provider responsible for commodity transportation, distribution and storage;
[0013] Among them, the consumer refers to the individual or group that ultimately purchases and uses the goods or services, which is the end point of the consumption circulation.
[0014] Real-time collection of consumption circulation related data about transactions, orders, consumption behavior and logistics management from the participants of the consumption circulation, and uploading the related data to the distributed data processing module.
[0015] The consumption circulation related data includes:
[0016] The unique number of the manufacturer, the primary agent, the secondary agent, the logistics party and the consumer;
[0017] The transaction account balance of the manufacturer, the primary agent, the secondary agent, the logistics party and the consumer;
[0018] The unique number of the upstream and downstream participants of each individual consumption circulation behavior;
[0019] The logistics party transportation volume, transportation input labor cost, transportation time and service quality score of each individual consumption circulation behavior;
[0020] The occurrence time, involved commodity batch number, quantity and transaction price of each individual consumption circulation behavior.
[0021] As a preferred mode of the present application, please refer to Figure 2 , 3 and 4, according to the types of upstream and downstream participants traversed by each batch of goods, the consumption circulation related data is classified;
[0022] As a preferred mode of the present application, the order of the traversed participants is: manufacturer→primary agent→secondary agent→consumer, and the consumption circulation related data is recorded as the first type of data; record the unique number of all manufacturers, primary agents, secondary agents, logistics parties and consumers involved in the flow direction of the consumption circulation behavior in the first type of data, and use a straight line to represent the actual transaction behavior, to generate the first consumption behavior circulation graph.
[0023] As a preferred mode of the present application, the traversal reference party sequence is: the production manufacturer -> the second-level agent -> the consumer, and the consumption circulation related data is recorded as the second type of data; the unique numbers of all the production manufacturers, the second-level agents, the logistics parties and the consumers involved in the flow direction of the consumption circulation behavior in the second type of data are recorded, and the actual transaction behavior is represented by a straight line to generate a second consumption behavior circulation graph.
[0024] As a preferred mode of the present application, the traversal reference party sequence is: the production manufacturer -> the consumer, and the consumption circulation related data is recorded as the third type of data. The unique numbers of all the production manufacturers, the logistics parties and the consumers involved in the flow direction of the consumption circulation behavior in the third type of data are recorded, and the actual transaction behavior is represented by a straight line to generate a third consumption behavior circulation graph.
[0025] The distributed data processing module includes a participant blockchain unit and a commodity batch blockchain unit, which performs distributed processing on the data from the data collection module, shunts and arranges the consumption circulation related data, and obtains the unique blockchain of each consumption circulation participant.
[0026] As a preferred mode of the present application, the participant blockchain unit takes the unique number of the participant as the object, records the consumption circulation behavior of the participants including all the production manufacturers, the first-level agents, the second-level agents, the logistics parties and the consumers. A unique participant blockchain is generated for each consumption circulation participant. All the participant blockchains are numbered in the unique order of the participants and saved in the participant blockchain unit.
[0027] As a preferred mode of the present application, the commodity batch blockchain unit takes the commodity batch number as the object, records each separate consumption circulation behavior. A unique commodity batch blockchain is generated for each commodity circulation batch number. All the commodity batch blockchains are sorted according to the commodity batch numbers and saved in the commodity batch blockchain unit.
[0028] As a preferred mode of the present application, the mapping relationship is constructed between the participant blockchain and the commodity batch blockchain through the first, second and third consumption behavior circulation graphs, the many-to-many relationship between the consumption circulation participants and the commodity batches is saved, and is converted into a mapping relationship hash table. The mapping relationship hash table is saved in the block body. Whenever a consumption circulation transaction behavior is identified, the newly generated consumption circulation transaction behavior is updated in the first, second and third consumption behavior circulation graphs, and the mapping relationship hash table is dynamically updated to generate a new mapping relationship hash table.
[0029] The participant blockchain comprises a block header and a block body, wherein the block header comprises a timestamp, a first hash value, a second hash value and a third hash value; wherein the block body comprises a mapping relationship hash table, all consumption and circulation related data corresponding to the unique number of the participant and all consumption and circulation related data corresponding to the unique number of all other participants. The timestamp represents the update time of the block, the first hash value is obtained by hashing all consumption and circulation related data corresponding to the unique number of the participant in the block body of the previous block in the blockchain; the second hash value is obtained by hashing all consumption and circulation related data corresponding to the unique number of all other participants in the block body of the previous block in the blockchain. The third hash value is obtained by hashing the account balance information in the block body of the previous block in the blockchain.
[0030] The commodity batch blockchain comprises a block header and a block body, wherein the block header comprises a timestamp, a first hash value and a second hash value; wherein the block body comprises a mapping relationship hash table, all consumption and circulation related data corresponding to the unique number of the commodity batch and all consumption and circulation related data corresponding to the unique number of all other commodity batches. The timestamp represents the update time of the block, the first hash value is obtained by hashing all consumption and circulation related data corresponding to the unique number of the commodity batch in the block body of the previous block in the blockchain; the second hash value is obtained by hashing all consumption and circulation related data corresponding to the unique number of all other commodity batches in the block body of the previous block in the blockchain.
[0031] As a preferred mode of the present application, whenever a new consumption and circulation transaction behavior is identified, all participant blockchains are updated, and the update rule is:
[0032] A new block is generated in each participant blockchain, the first hash value and the second hash value are obtained by operating the block body of the previous block, the generation time of the new consumption and circulation transaction behavior is recorded as the timestamp of the new block, the first hash value, the second hash value are included in the block body of the new block, all consumption and circulation related data are reacquired and saved in the block body of the new block. A new mapping relationship hash table is reacquired and saved in the block body of the new block.
[0033] As a preferred mode of the present application, whenever a new consumption and circulation transaction behavior is identified, all commodity batch blockchains are updated, and the update rule is:
[0034] A new block is generated in each commodity batch blockchain, a first hash value and a second hash value are obtained by operating on the block body of the previous block, the generation time of the new consumption circulation transaction behavior is recorded as the timestamp of the new block, the first hash value and the second hash value are included in the block body of the new block, all consumption circulation related data is reacquired and saved in the block body of the new block. A new mapping relationship hash table is reacquired and saved in the block body of the new block.
[0035] As a preferred mode of the present application, all participant blockchains are sent to the respective corresponding consumption circulation participants. Each participant blockchain saves the consumption circulation related data of itself and all other consumption circulation participants.
[0036] The smart contract generation and deployment module automatically generates a corresponding smart contract according to the business rules and deploys it on the blockchain to ensure automatic execution of profit distribution.
[0037] The profit distribution smart contract that saves the transaction circulation behavior records the basis of interest distribution between each consumption circulation participant:
[0038] The profit distribution smart contract is obtained according to the interest distribution file signed between the manufacturer, the first agent, the second agent and the logistics party, and contains the interest distribution result operation rules for the consumption circulation related data.
[0039] The profit distribution smart contract performs numerical operations according to the consumption circulation related data to obtain specific interest distribution ratios and interest distributions.
[0040] The profit distribution smart contract includes:
[0041] The profit distribution smart contract includes:
[0042] The profit distribution smart contract includes:
[0043] The profit distribution logic execution module is responsible for executing specific profit distribution tasks according to the deployed smart contract, updating the profit distribution scheme in real time according to the transaction and behavior data, and recording it on the blockchain. Whenever a global update behavior of the blockchain is identified, the account balances of each participant and the triggered smart contract number are sent to all blockchains, and they are recorded as account balance information and saved in the block body.
[0044] The signal-driven correction module is responsible for triggering specific smart contract correction operations according to external signals and changes in internal system state. It performs fund allocation anomaly detection and triggers a fund rollback operation when abnormal behavior is identified.
[0045] The fund allocation anomaly detection specifically includes:
[0046] Whenever a blockchain undergoes a global update behavior, tamper verification is performed on all blockchains, including mapping relationship tamper verification, hash value tamper verification, and account balance tamper verification.
[0047] The account balance tamper verification specifically includes: every preset time interval, the account balance information of all participants is verified, and the fund verification hash value is obtained through a hash transformation. The fund verification hash value is compared with the third hash value in all blockchains. If the value of the fund verification hash value is inconsistent with the third hash value, it is determined that the fund allocation anomaly detection result is failed, and a fund rollback operation is triggered.
[0048] The fund rollback operation specifically includes: deleting the last block from all blockchains, and returning the transaction account balance of all participants to the account balance information in the previous block.
[0049] Compared with the prior art, the beneficial effects of the present application are:
[0050] 1. By using blockchain technology, the profit distribution, transaction behavior and contribution data of all participants are recorded in real time on the blockchain, ensuring the openness and transparency of the distribution process. Each participant can view the distribution of other participants and the specific distribution basis, avoiding opaque situations;
[0051] 2. The system can handle many-to-many relationships using blockchain technology, ensuring that multiple participants involved in each order can be recorded in real time in their respective blockchains. Whenever a new transaction occurs, all related chains will be automatically updated, ensuring data accuracy and consistency;
[0052] 3. By using the tamper-proof feature of the blockchain, all transaction records are permanently saved, ensuring data security and reliability. Each time the transaction is updated, it is verified by hash value and timestamp, preventing data from being modified or falsified. BRIEF DESCRIPTION OF DRAWINGS
[0053] In order to facilitate understanding by those skilled in the art, the present application will be further described below in conjunction with the accompanying drawings:
[0054] Figure 1 The system block diagram of the present application;
[0055] Figure 2 is a first consumption behavior circulation diagram of the present application;
[0056] Figure 3 is a second consumption behavior circulation diagram of the present application;
[0057] Figure 4 is a third consumption behavior circulation diagram of the present application;
[0058] Figure 5 is a participant block chain diagram of the present application;
[0059] Figure 6 is a commodity batch block chain unit diagram of the present application. DETAILED DESCRIPTION
[0060] The technical solutions of the present application will be described below in conjunction with the embodiments, obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0061] Please refer to Figure 1 As shown in the figure, a consumption circulation profit distribution system based on blockchain technology, comprising a data acquisition and transmission module, a distributed data processing module, an intelligent contract generation and deployment module, a profit distribution logic execution module and a signal driven correction module.
[0062] The data acquisition and transmission module is responsible for recording the participants of the consumption circulation in real time through API interface, Internet of Things devices and intelligent sensors, including manufacturers, primary agents, secondary agents, logistics parties and consumers.
[0063] Among them, the manufacturer refers to an enterprise or entity responsible for producing goods or providing basic services, which is the starting point of consumption circulation;
[0064] Among them, the primary agent refers to an enterprise or individual that cooperates directly with the manufacturer, purchases products through wholesale, and sells products to downstream secondary agents or other distributors.
[0065] Among them, the secondary agent refers to an enterprise or individual that cooperates directly with the primary agent, purchases products through the primary agent, and further sells them to consumers;
[0066] Among them, the logistics party refers to an enterprise or service provider responsible for the transportation, distribution and storage of goods;
[0067] Among them, the consumer refers to an individual or group that ultimately purchases and uses goods or services, which is the end point of consumption circulation.
[0068] Collecting, in real time, consumption circulation related data about transactions, orders, consumption behaviors and logistics management from the participants of the consumption circulation, and uploading the related data to a distributed data processing module.
[0069] The consumption circulation related data includes:
[0070] Unique numbers of the manufacturers, the primary agents, the secondary agents, the logistics parties and the consumers;
[0071] Transaction account balances of the manufacturers, the primary agents, the secondary agents, the logistics parties and the consumers;
[0072] Unique numbers of the upstream participants and the downstream participants of each individual consumption circulation behavior;
[0073] Logistics transportation volume, transportation input labor cost, transportation time and service quality score of each individual consumption circulation behavior;
[0074] Occurrence time, involved batch number, quantity and transaction price of each individual consumption circulation behavior.
[0075] Further, please refer to Figure 2 , 3 and 4, according to the types of the upstream participants and the downstream participants traversed by each batch of goods, classify the consumption circulation related data;
[0076] Please refer to Figure 2 , the consumption circulation related data traversed in the order of: manufacturer→primary agent→secondary agent→consumer is recorded as first type data; record the unique numbers of all the manufacturers, the primary agents, the secondary agents, the logistics parties and the consumers involved in the flow direction of the consumption circulation behaviors in the first type data, and use straight lines to represent the actual transaction behaviors, to generate a first consumption behavior circulation graph.
[0077] Please refer to Figure 3 , the consumption circulation related data traversed in the order of: manufacturer→secondary agent→consumer is recorded as second type data; record the unique numbers of all the manufacturers, the secondary agents, the logistics parties and the consumers involved in the flow direction of the consumption circulation behaviors in the second type data, and use straight lines to represent the actual transaction behaviors, to generate a second consumption behavior circulation graph.
[0078] Please refer to Figure 4 , the consumption circulation related data traversed in the order of: manufacturer→consumer is recorded as third type data. Record the unique numbers of all the manufacturers, the logistics parties and the consumers involved in the flow direction of the consumption circulation behaviors in the third type data, and use straight lines to represent the actual transaction behaviors, to generate a third consumption behavior circulation graph.
[0079] The distributed data processing module includes a participant blockchain unit and a commodity batch blockchain unit, and performs distributed processing on data from the data collection module, and shunts and arranges consumption circulation related data to obtain unique blockchains of participants in each consumption circulation.
[0080] Referring to Figure 5 As shown in the figure, the participant blockchain unit takes the participant unique number as the object, and records the consumption circulation behaviors of the participants in the consumption circulation including all manufacturers, first-level agents, second-level agents, logistics parties and consumers. A unique participant blockchain is generated for each participant in the consumption circulation. All participant blockchains are numbered in the order of participant uniqueness and saved in the participant blockchain unit.
[0081] Referring to Figure 6 As shown in the figure, the commodity batch blockchain unit takes the commodity batch number as the object, and records each separate consumption circulation behavior. A unique commodity batch blockchain is generated for each commodity circulation batch number. All commodity batch blockchains are sorted by commodity batch number and saved in the commodity batch blockchain unit.
[0082] Further, the first, second and third consumption behavior circulation diagrams are used to build a mapping relationship between the participant blockchain and the commodity batch blockchain, save the many-to-many relationship between the participants and the commodity batches in the consumption circulation, and convert it into a mapping relationship hash table. The mapping relationship hash table is saved in the block body. Whenever a consumption circulation transaction behavior is identified, the newly generated consumption circulation transaction behavior is updated in the first, second and third consumption behavior circulation diagrams, and the mapping relationship hash table is dynamically updated to generate a new mapping relationship hash table.
[0083] The participant blockchain includes a block header and a block body, wherein the block header includes a timestamp, a first hash value, a second hash value and a third hash value; wherein the block body includes a mapping relationship hash table, all consumption circulation related data corresponding to the participant unique number, and all consumption circulation related data corresponding to the participant unique number of all other participants. Wherein the timestamp represents the update time of the block, the first hash value is obtained by hashing all consumption circulation related data corresponding to the participant unique number in the block body of the previous block in the blockchain; the second hash value is obtained by hashing all consumption circulation related data corresponding to the participant unique number of all other participants in the block body of the previous block in the blockchain. The third hash value is obtained by hashing the account balance information in the previous block body in the blockchain.
[0084] The commodity batch blockchain includes a block header and a block body, wherein the block header includes a timestamp, a first hash value and a second hash value; wherein the block body includes a mapping relationship hash table, all consumption circulation related data corresponding to the commodity batch unique number and all consumption circulation related data corresponding to all other commodity batch unique numbers. Wherein the timestamp represents the update time of the block, the first hash value is obtained by hashing all consumption circulation related data corresponding to the commodity batch unique number in the block body of the previous block in the blockchain; the second hash value is obtained by hashing all consumption circulation related data corresponding to all other commodity batch unique numbers in the block body of the previous block in the blockchain;
[0085] Further, whenever a new consumption circulation transaction is identified, all participant blockchains are updated, and the update rule is:
[0086] A new block is generated in each participant blockchain, the first hash value and the second hash value are obtained by operating the block body of the previous block, the generation time of the new consumption circulation transaction is recorded as the timestamp of the new block, the first hash value and the second hash value are included in the block body of the new block, all consumption circulation related data are reacquired and saved in the block body of the new block. A new mapping relationship hash table is reacquired and saved in the block body of the new block.
[0087] Further, whenever a new consumption circulation transaction is identified, all commodity batch blockchains are updated, and the update rule is:
[0088] A new block is generated in each commodity batch blockchain, the first hash value and the second hash value are obtained by operating the block body of the previous block, the generation time of the new consumption circulation transaction is recorded as the timestamp of the new block, the first hash value and the second hash value are included in the block body of the new block, all consumption circulation related data are reacquired and saved in the block body of the new block. A new mapping relationship hash table is reacquired and saved in the block body of the new block.
[0089] Further, all participant blockchains are sent to the respective corresponding consumption circulation participants. Each participant blockchain saves its own and all other consumption circulation participants' consumption circulation related data.
[0090] The smart contract generation and deployment module automatically generates the corresponding smart contract according to the business rules and deploys it on the blockchain to ensure the automatic execution of profit distribution.
[0091] The profit distribution smart contract saves the transaction circulation behavior, and records the basis of interest distribution between each consumption circulation participant:
[0092] The interest distribution smart contract is obtained according to an interest distribution file signed by the manufacturer, the first agent, the second agent and the logistics party, and contains an interest distribution result operation rule for consumer circulation related data.
[0093] The interest distribution smart contract performs numerical operation according to the consumer circulation related data to obtain specific interest distribution proportions and interest distribution.
[0094] The interest distribution smart contract includes:
[0095] The interest distribution smart contract includes:
[0096] After the transaction behavior settlement, the account balance of each participant is obtained by processing and calculating the consumer circulation related data through the interest distribution smart contract.
[0097] The profit distribution logic execution module is responsible for executing specific profit distribution tasks according to the deployed smart contract, updating the profit distribution scheme in real time according to the transaction and behavior data, and recording it on the blockchain. Whenever a global update behavior of the blockchain is identified, the account balance of each participant and the triggered smart contract number are sent to all blockchains, and recorded as account balance information, saved in the block body.
[0098] The signal driven correction module is responsible for triggering specific smart contract correction operations according to external signals and changes in internal system state. The fund allocation anomaly detection is executed, and when an abnormal behavior is identified, the fund rollback operation is triggered.
[0099] The fund allocation anomaly detection specifically includes:
[0100] Whenever a global update behavior of the blockchain is identified, tamper verification is performed on all blockchains, including mapping relationship tamper verification, hash value tamper verification and account balance tamper verification.
[0101] The tamper verification of the account balance specifically includes: every time interval, the account balance information of all participants is verified, and the fund verification hash value is obtained through the hash transformation. The fund verification hash value is compared with the third hash value in all blockchains. If the value of the fund verification hash value is not consistent with the third hash value, it is determined that the fund allocation anomaly detection result is failed, and the fund rollback operation is triggered.
[0102] The fund rollback operation is specifically: deleting the last block of all blockchains, and returning the account balance information of all participants to the account balance information in the previous block.
[0103] It should be understood that the terms "comprises" and "comprising", when used in this specification and claims, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0104] It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or", as used herein, refer to and encompass any and all possible combinations of one or more of the associated listed items, as well as the
[0105] The preferred embodiments of the application disclosed above are only to help explain the principles of the present application. The preferred embodiments do not describe all the details of the application, and the application is not limited to the specific embodiments. Obviously, many modifications and variations can be made according to the content of the specification. The specification selects and describes these embodiments in order to better explain the principles and practical application of the application, so that those skilled in the art can well understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.
Claims
1. A blockchain technology-based consumer circulation profit distribution system comprising a distributed data processing module and a smart contract generation and deployment module, characterized in that ; The distributed data processing module includes a participant blockchain unit and a commodity batch blockchain unit, and performs distributed processing on data from the data collection module, shunts and arranges consumption circulation related data, obtains unique blockchains of each consumption circulation participant and unique blockchains of each commodity batch, maps and dynamically updates the blockchains; sends all participant blockchains to the respective corresponding consumption circulation participants; each participant blockchain saves consumption circulation related data of itself and all other consumption circulation participants; The specific process of mapping and association is as follows: The order of traversing the participants is: manufacturer→primary agent→secondary agent→consumer, and the consumption circulation related data of the participants is recorded as first type data; the unique numbers of all manufacturers, primary agents, secondary agents, logistics parties and consumers involved in the flow direction of the consumption circulation behavior in the first type data are recorded, and a straight line is used to represent the actual transaction behavior, and a first consumption behavior circulation graph is generated; The order of traversing the participants is: manufacturer→secondary agent→consumer, and the consumption circulation related data of the participants is recorded as second type data; the unique numbers of all manufacturers, secondary agents, logistics parties and consumers involved in the flow direction of the consumption circulation behavior in the second type data are recorded, and a straight line is used to represent the actual transaction behavior, and a second consumption behavior circulation graph is generated; The order of traversing the participants is: manufacturer→consumer, and the consumption circulation related data of the participants is recorded as third type data; the unique numbers of all manufacturers, logistics parties and consumers involved in the flow direction of the consumption circulation behavior in the third type data are recorded, and a straight line is used to represent the actual transaction behavior, and a third consumption behavior circulation graph is generated; A mapping relationship is constructed between the participant blockchain and the commodity batch blockchain through the first, second and third consumption behavior circulation graphs, a many-to-many relationship between the consumption circulation participants and the commodity batches is saved, and is converted into a mapping relationship hash table; The mapping relationship hash table is saved in a block body, and whenever a consumption circulation transaction behavior is identified, the newly generated consumption circulation transaction behavior is updated in the first, second and third consumption behavior circulation graphs, and the mapping relationship hash table is dynamically updated to generate a new mapping relationship hash table; The smart contract generation and deployment module automatically generates corresponding smart contracts according to business rules, and deploys them on the blockchain to ensure automatic execution of profit distribution; The profit distribution smart contract saves the transaction circulation behavior, and records the basis for interest distribution between each consumption circulation participant. 2.The blockchain-based consumer distribution profit distribution system of claim 1, wherein, It also includes a data collection and transmission module, a profit distribution logic execution module and a signal driven correction module: The data collection and transmission module is responsible for recording the consumption circulation participants in real time through API interfaces, Internet of Things devices and intelligent sensors, including manufacturers, primary agents, secondary agents, logistics parties and consumers; and obtaining consumption circulation related data of the participants, uploading to the distributed data processing module; classifying the consumption circulation related data according to the types of upstream and downstream participants of each batch of commodities; The producer refers to an enterprise or entity responsible for producing goods or providing basic services, which is the starting point of consumer circulation. The first-level agent refers to an enterprise or individual that directly cooperates with the producer, purchases products through wholesale, and sells them to downstream second-level agents or other distributors. The second-level agent refers to an enterprise or individual that directly cooperates with the first-level agent, purchases products through the first-level agent, and further sells them to consumers. The logistics party refers to an enterprise or service provider responsible for goods transportation, distribution, and storage. The consumer refers to an individual or group that ultimately purchases and uses goods or services, which is the end point of consumer circulation. Real-time collection of consumer circulation-related data on transactions, orders, consumer behavior, and logistics management from the participants of consumer circulation, and uploading of the related data to a distributed data processing module. The consumer circulation-related data includes: Unique numbers of producers, first-level agents, second-level agents, logistics parties, and consumers; Transaction account balances of producers, first-level agents, second-level agents, logistics parties, and consumers; Unique numbers of upstream and downstream participants of each individual consumer circulation behavior; Logistics party transportation volume, transportation labor cost, transportation time, and service quality score of each individual consumer circulation behavior; Occurrence time, involved product batch number, quantity, and transaction price of each individual consumer circulation behavior; The profit distribution logic execution module is responsible for executing specific profit distribution tasks according to the deployed smart contract, updating the profit distribution scheme in real time based on transaction and behavior data, and recording it on the blockchain. Whenever a global update behavior is identified on the blockchain, the account balances of each participant and the triggered smart contract number are sent to all blockchains, recorded as account balance information, and saved in the block body. The signal-driven correction module is responsible for triggering specific smart contract correction operations based on external signals and internal system state changes, and performing fund allocation anomaly detection to trigger fund rollback operations when abnormal behavior is identified.
3. The consumer circulation profit distribution system based on blockchain technology according to claim 1, characterized in that: The participant blockchain unit takes the unique number of participants as the object and records the consumer circulation behaviors of all participants including producers, first-level agents, second-level agents, logistics parties, and consumers. A unique participant blockchain is generated for each consumer circulation participant. All participant blockchains are numbered in the order of participant uniqueness and saved in the participant blockchain unit. The product batch blockchain unit takes the product batch number as the object and records each individual consumer circulation behavior. A unique product batch blockchain is generated for each product circulation batch number. All product batch blockchains are sorted by product batch number and saved in the product batch blockchain unit.
4. The consumer circulation profit distribution system based on blockchain technology according to claim 1, characterized in that: The participant blockchain comprises a block header and a block body, wherein the block header comprises a timestamp, a first hash value, a second hash value and a third hash value; the block body comprises a mapping relationship hash table, all consumption and circulation related data corresponding to a unique participant number of a participant and all consumption and circulation related data corresponding to unique participant numbers of all other participants; the timestamp represents the update time of the block, the first hash value is obtained by performing hash transformation on all consumption and circulation related data corresponding to the unique participant number of the participant in the block body of the previous block in the blockchain; the second hash value is obtained by performing hash transformation on all consumption and circulation related data corresponding to unique participant numbers of all other participants in the block body of the previous block in the blockchain; and the third hash value is obtained by performing hash transformation on account balance information in the block body of the previous block in the blockchain. The product batch blockchain comprises a block header and a block body, wherein the block header comprises a timestamp, a first hash value and a second hash value; the block body comprises a mapping relationship hash table, all consumption and circulation related data corresponding to a unique product batch number and all consumption and circulation related data corresponding to unique product batch numbers of all other product batches; the timestamp represents the update time of the block, the first hash value is obtained by performing hash transformation on all consumption and circulation related data corresponding to the unique product batch number in the block body of the previous block in the blockchain; and the second hash value is obtained by performing hash transformation on all consumption and circulation related data corresponding to unique product batch numbers of all other product batches in the block body of the previous block in the blockchain. 5.The consumer flow profit distribution system based on blockchain technology according to claim 1, wherein, The specific process of dynamically updating the blockchain is as follows: A new block is generated in each participant blockchain, the first hash value and the second hash value are obtained by performing operation on the block body of the previous block, the generation time of the new consumption and circulation transaction is recorded as the timestamp of the new block, the first hash value and the second hash value are included in the block body of the new block, all consumption and circulation related data are reacquired and saved in the block body of the new block, and a new mapping relationship hash table is reacquired and saved in the block body of the new block. A new block is generated in each product batch blockchain, the first hash value and the second hash value are obtained by performing operation on the block body of the previous block, the generation time of the new consumption and circulation transaction is recorded as the timestamp of the new block, the first hash value and the second hash value are included in the block body of the new block, all consumption and circulation related data are reacquired and saved in the block body of the new block, and a new mapping relationship hash table is reacquired and saved in the block body of the new block. 6.The consumer flow profit distribution system based on blockchain technology according to claim 2, wherein, The benefit distribution smart contract comprises: A producer-first-level agent benefit distribution smart contract, a first-level agent-second-level agent benefit distribution smart contract, a producer-second-level agent benefit distribution smart contract, a producer-logistics party benefit distribution smart contract, a first-level agent-logistics party benefit distribution smart contract and a second-level agent-logistics party benefit distribution smart contract. The consumption circulation related data is processed and calculated by the benefit distribution smart contract, and after the transaction behavior settlement, the account balances of the various participants are obtained; The benefit distribution smart contract is obtained according to the benefit distribution file signed among the manufacturers, the first-level agents, the second-level agents and the logistics parties, and contains the benefit distribution result operation rules for the consumption circulation related data; The benefit distribution smart contract performs numerical operation according to the consumption circulation related data, and obtains the specific benefit distribution proportion and benefit distribution. 7.The consumer flow profit distribution system based on blockchain technology according to claim 2, characterized in that, The fund distribution anomaly detection specifically comprises: Whenever the overall updating behavior of the blockchain is identified, tamper verification is performed on all the blockchains, including mapping relationship tamper verification, hash value tamper verification and account balance tamper verification; The account balance tamper verification specifically comprises: every preset time interval, the account balance information of all the participants is verified, and the fund verification hash value is obtained through hash transformation; the fund verification hash value is compared with the third hash value in all the blockchains; if the value of the fund verification hash value is inconsistent with the third hash value, it is determined that the fund distribution anomaly detection result is failed, and the fund rollback operation is triggered. 8.The consumer flow profit distribution system based on blockchain technology according to claim 2, characterized in that, The fund rollback operation specifically comprises: All the blockchains delete the last block, and the transaction account balances of all the participants are returned to the account balance information in the previous block.
Citation Information
Patent Citations
Logistics sharing operation platform benefit distribution system and method based on block chain
CN112270554A
Logistics information tracing method and system based on block chain
CN113159676A