CN111199371B - Grain circulation tracing release verification method and system based on blockchain - Google Patents

Grain circulation tracing release verification method and system based on blockchain Download PDF

Info

Publication number
CN111199371B
CN111199371B CN201911372610.3A CN201911372610A CN111199371B CN 111199371 B CN111199371 B CN 111199371B CN 201911372610 A CN201911372610 A CN 201911372610A CN 111199371 B CN111199371 B CN 111199371B
Authority
CN
China
Prior art keywords
transaction
data
identification code
logistics
verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911372610.3A
Other languages
Chinese (zh)
Other versions
CN111199371A (en
Inventor
刘申
张虎成
杨松松
夏炎
龚文瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN201911372610.3A priority Critical patent/CN111199371B/en
Publication of CN111199371A publication Critical patent/CN111199371A/en
Application granted granted Critical
Publication of CN111199371B publication Critical patent/CN111199371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0832Special goods or special handling procedures, e.g. handling of hazardous or fragile goods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0838Historical data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Mining
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a grain circulation tracing release verification method and system based on a block chain, wherein the method comprises the following steps: acquiring transaction data; acquiring a traceability identification code corresponding to the transaction data; calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract; broadcasting the transaction summary to peripheral verification nodes in a blockchain; the verification node which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code; the verification node broadcasts the stored transaction data and the corresponding traceability identification code; the method and the system realize the tracing record of each node through the block chain by utilizing the characteristics of the block chain technology; the method and the system realize recordable grain production, information inquiry, flow direction tracking and quality traceability through grain quality traceability.

Description

Grain circulation tracing release verification method and system based on blockchain
Technical Field
The invention relates to the technical field of information, in particular to a grain circulation tracing release verification method and system based on a block chain.
Background
The grain in China is continuously increased for many years, a solid foundation is laid for guaranteeing the national grain safety, and along with the improvement of the living standard of people, higher requirements on the agricultural product safety are provided. In traditional agriculture, the industry chain is very long, and the process from planting to selling comprises tens of links and pairs of transaction parties, so that the quality tracing of grain products is particularly difficult; in addition, the management of each link is loose, the production record, the logistics information and the quality tracing are difficult, and the reasons for the grain quality problem are still difficult to locate and trace.
Disclosure of Invention
In order to solve the problems of difficult tracking and positioning of grain quality and difficult quality tracing in the background technology, the invention provides a grain circulation tracing, publishing and verifying method and system based on a block chain, wherein the method and system timely store, publish and verify all matters of grain circulation through the block chain by the block chain technology, and promote grain circulation tracing through workload statistics and corresponding rewards; the grain circulation tracing release verification method based on the block chain comprises the following steps:
acquiring transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
acquiring a traceability identification code corresponding to the transaction data;
calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract;
broadcasting the transaction summary to peripheral verification nodes in a blockchain;
the verification node which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
the verification node broadcasts the stored transaction data and the corresponding traceability identification code.
Further, the transaction data sequentially comprises the following steps in sequence through grain circulation time:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
Further, the obtaining the trace back identification code corresponding to the transaction data includes:
when the transaction data is code-endowed transaction data, extracting an identification code in the code-endowed transaction data as a tracing identification code;
when the transaction data is business flow transaction data or stream transaction data, the identification code of the last code-endowing transaction in time sequence, which is the same as the transaction data, of the grain circulation transaction is extracted from the blockchain and is used as the traceability identification code of the transaction data.
Further, the transaction data are acquired through collection and are obtained through issuing transactions by one or more users;
when the user issues a transaction, determining the workload of the user issued this time according to the type of the user issued transaction;
the user corresponding to the verification node passing the verification first determines the workload for the verification according to the type of the verification transaction data and a preset rule;
the workload of each user per release, verification and other operations is accumulated to obtain the total workload of the user.
Further, the other operations include account number operations, daily operations, and transaction operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
Further, broadcasting the transaction digest to the peripheral verification node in the blockchain, further includes:
performing signature operation on the transaction abstract according to a private key of a user to obtain a transaction signature;
broadcasting the transaction signature and the user public key to peripheral verification nodes in a blockchain instead of the transaction digest;
and after the verification node obtains the transaction signature and the user public key, decrypting according to the transaction signature and the user public key to obtain the transaction abstract.
The grain circulation tracing release verification system based on the block chain comprises a platform and a plurality of verification nodes;
the platform comprises a transaction data acquisition unit, a traceability identification code acquisition unit, a transaction abstract calculation unit and a block broadcasting unit;
the transaction data acquisition unit is used for acquiring transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
the traceability identification code acquisition unit is used for acquiring the traceability identification code corresponding to the transaction data;
the transaction abstract calculation unit is used for calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract;
the block broadcasting unit is used for broadcasting the transaction abstract to peripheral verification nodes in a block chain;
the verification node which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
the verification node broadcasts the stored transaction data and the corresponding traceability identification code.
Further, the transaction data sequentially comprises the following steps in sequence through grain circulation time:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
Further, when the transaction data is encoded transaction data, the tracing identifier obtaining unit is configured to extract an identifier in the encoded transaction data as a tracing identifier;
when the transaction data is business transaction data or stream transaction data, the traceability identification code acquisition unit is used for extracting an identification code in the last code-endowing transaction in time sequence, which is the same grain circulation transaction with the transaction data, from the block chain, and taking the identification code as the traceability identification code of the transaction data.
Further, the platform further comprises a workload statistics unit;
the transaction data acquisition unit acquires the transaction data by issuing transactions by one or more users;
when the user issues the transaction, the workload statistics unit is used for determining the workload issued by the user according to the type of the user issued transaction;
the workload statistics unit is used for determining the workload for the verification according to a preset rule for the user corresponding to the verification node which passes the verification first according to the type of the verification transaction data;
the workload statistics unit is used for accumulating the workload of each user for each release, verification and other operation to obtain the total workload of the user.
Further, the other operations include account number operations, daily operations, and transaction operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
Further, the transaction summary calculation unit performs signature operation on the transaction summary according to a private key of a user to obtain a transaction signature;
the block broadcasting unit is used for broadcasting the transaction signature and the user public key to peripheral verification nodes in the block chain instead of the transaction digest;
and after the verification node obtains the transaction signature and the user public key, decrypting according to the transaction signature and the user public key to obtain the transaction abstract.
The beneficial effects of the invention are as follows: according to the technical scheme, the grain circulation tracing release verification method and system based on the block chain are provided, all matters of grain circulation are timely stored, released and verified through the block chain by means of the block chain technology, and grain circulation tracing is promoted through workload statistics and corresponding rewards; the method and the system realize the tracing record of each node through the block chain by utilizing the characteristics of the block chain technology; the method and the system realize recordable grain production, information inquiry, flow direction tracking and quality traceability through grain quality traceability.
Drawings
Exemplary embodiments of the present invention may be more completely understood in consideration of the following drawings:
FIG. 1 is a flow chart of a block chain-based grain circulation traceability issue verification method in accordance with an embodiment of the present invention;
fig. 2 is a block chain-based grain circulation traceability release verification system according to an embodiment of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the examples described herein, which are provided to fully and completely disclose the present invention and fully convey the scope of the invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, like elements/components are referred to by like reference numerals.
Unless otherwise indicated, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. In addition, it will be understood that terms defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
FIG. 1 is a flow chart of a block chain-based grain circulation traceability issue verification method in accordance with an embodiment of the present invention; as shown in fig. 1, the system includes:
step 110, collecting and obtaining transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
in this embodiment, the collecting manner of the transaction data obtained by collecting includes obtaining the transaction data by issuing the transaction by a plurality of users of the platform; the transactions of each link are issued by corresponding users, and transaction data are obtained from the transactions issued by the users through preset rules;
the transaction data has time sequence through grain circulation time, and in the sequence, the adjacent front and back transaction data can have association relation;
the specific transaction data with time sequence sequentially comprises:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
The business transaction establishes a right obligation relationship mainly by contracting business contracts, and is the basis of subsequent grain circulation, logistics transaction and coding transaction; the logistics transaction is logistics data in various cases; and the code-endowing transaction is used for identifying the current state of each node, and the real-time and release of the code-endowing transaction are the basis for realizing the tracing.
Step 120, obtaining a traceability identification code corresponding to the transaction data;
the transaction data has different tracing identification code obtaining methods according to different types of the transaction data;
when the transaction data is code-endowed transaction data, extracting an identification code in the code-endowed transaction data as a tracing identification code;
when the transaction data is business flow transaction data or stream transaction data, the identification code of the last code-endowing transaction in time sequence, which is the same as the transaction data, of the grain circulation transaction is extracted from the blockchain and is used as the traceability identification code of the transaction data.
Step 130, calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract;
step 140, broadcasting the transaction summary to peripheral verification nodes in a blockchain;
further, the content is not tamper-resistant in order to secure the broadcasting; in this embodiment, the method further includes a method of encrypting broadcast by public and private keys, specifically:
performing signature operation on the transaction abstract according to a private key of a user to obtain a transaction signature;
broadcasting the transaction signature and the user public key to peripheral verification nodes in a blockchain instead of the transaction digest; the user here may be the user who issued the transaction;
and after the verification node obtains the transaction signature and the user public key, decrypting according to the transaction signature and the user public key to obtain the transaction abstract.
Step 150, the verification node which passes the verification firstly obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
step 160, the authentication node broadcasts the stored transaction data and the corresponding traceability identification code.
Furthermore, in order to effectively promote the user to issue transactions on the platform and improve the enthusiasm and participation of the user, the workload of the user is cumulatively calculated through issue, verification and other matters, and the workload is used as the judgment basis of the follow-up rewards or authorities; specific:
when the user issues a transaction, determining the workload of the user issued this time according to the type of the user issued transaction;
the user corresponding to the verification node passing the verification first determines the workload for the verification according to the type of the verification transaction data and a preset rule;
the workload of each user per release, verification and other operations is accumulated to obtain the total workload of the user.
Further, the other operations include account number operations, daily operations, and transaction operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
Fig. 2 is a block chain-based grain circulation traceability release verification system according to an embodiment of the present invention. As shown in fig. 2, the system includes:
a platform 210 and a plurality of authentication nodes 220; in fig. 2, only one authentication node 220 is shown;
the platform 210 includes a transaction data acquisition unit 211, a trace back identification code acquisition unit 212, a transaction summary calculation unit 213, and a block broadcasting unit 214;
the transaction data acquisition unit 211 is configured to acquire transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
the trace back identification code obtaining unit 212 is configured to obtain a trace back identification code corresponding to the transaction data;
the transaction summary calculation unit 213 is configured to calculate the transaction data and the corresponding traceback identifier to obtain a transaction summary through a hash function;
the block broadcasting unit 214 is configured to broadcast the transaction summary to the peripheral verification node 220 in a blockchain;
the verification node 220 which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
the authentication node 220 broadcasts the stored transaction data and the corresponding traceback identification code.
Further, the transaction data sequentially comprises the following steps in sequence through grain circulation time:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
Further, when the transaction data is encoded transaction data, the traceback identifier obtaining unit 212 is configured to extract an identifier in the encoded transaction data as a traceback identifier;
when the transaction data is business transaction data or stream transaction data, the traceback identifier obtaining unit 212 is configured to extract, in the blockchain, an identifier of a last encoded transaction in time sequence that is the same grain circulation transaction as the transaction data, as a traceback identifier of the transaction data.
Further, the platform 210 further includes a workload statistics unit 215;
the transaction data acquisition unit 211 obtains the transaction data by issuing a transaction by one or more users;
when the user issues a transaction, the workload statistics unit 215 is configured to determine, according to the type of the user issue transaction, a workload that the user issues this time;
the workload statistics unit 215 is configured to determine, for the user corresponding to the verification node 220 that passes the first verification, the workload for the present verification according to a preset rule according to a type of verification transaction data;
the workload statistics unit 215 is configured to accumulate the workload of each user for each release, verification and other operations, and obtain the total workload of the user.
Further, the other operations include account number operations, daily operations, and transaction operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
Further, the transaction summary calculation unit 213 performs a signature operation on the transaction summary according to the private key of the user, so as to obtain a transaction signature;
the block broadcasting unit 214 is configured to broadcast the transaction signature and the user public key to the peripheral verification node 220 in the blockchain in place of the transaction digest;
after obtaining the transaction signature and the user public key, the verification node 220 decrypts the transaction signature and the user public key to obtain the transaction digest.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Reference to step numbers in this specification is used solely to distinguish between steps and is not intended to limit the time or logical relationship between steps, including the various possible conditions unless the context clearly indicates otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the disclosure and form different embodiments. For example, any of the embodiments claimed in the claims may be used in any combination.
Various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. The present disclosure may also be implemented as an apparatus or system program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present disclosure may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the disclosure, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware.
The foregoing is merely a specific embodiment of the disclosure, and it should be noted that it will be apparent to those skilled in the art that several improvements, modifications, and variations can be made without departing from the spirit of the disclosure, and these improvements, modifications, and variations are to be considered within the scope of the present application.

Claims (8)

1. The block chain-based grain circulation traceability release verification method is characterized by comprising the following steps of:
acquiring transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
acquiring a traceability identification code corresponding to the transaction data;
calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract;
broadcasting the transaction summary to peripheral verification nodes in a blockchain;
the verification node which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
the verification node broadcasts the stored transaction data and the corresponding traceability identification code;
the transaction data are acquired through acquisition and are obtained through issuing transactions by one or more users;
when the user issues a transaction, determining the workload of the user issued this time according to the type of the user issued transaction;
the user corresponding to the verification node passing the verification first determines the workload for the verification according to the type of the verification transaction data and a preset rule;
accumulating the workload of each user for each release, verification and other operation to obtain the total workload of the user;
wherein the other operations include account number operations, daily operations, and business operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
2. The method according to claim 1, characterized in that: the transaction data sequentially comprises the following steps in sequence through grain circulation time:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
3. The method according to claim 2, wherein the obtaining the traceback identifier corresponding to the transaction data includes:
when the transaction data is code-endowed transaction data, extracting an identification code in the code-endowed transaction data as a tracing identification code;
when the transaction data is business flow transaction data or stream transaction data, the identification code of the last code-endowing transaction in time sequence, which is the same as the transaction data, of the grain circulation transaction is extracted from the blockchain and is used as the traceability identification code of the transaction data.
4. The method of claim 1, wherein broadcasting the transaction digest to the peripheral verification node in a blockchain, further comprises:
performing signature operation on the transaction abstract according to a private key of a user to obtain a transaction signature;
broadcasting the transaction signature and the user public key to peripheral verification nodes in a blockchain instead of the transaction digest;
and after the verification node obtains the transaction signature and the user public key, decrypting according to the transaction signature and the user public key to obtain the transaction abstract.
5. Grain circulation traceability release verification system based on block chain, its characterized in that: the system includes a platform and a plurality of authentication nodes;
the platform comprises a transaction data acquisition unit, a traceability identification code acquisition unit, a transaction abstract calculation unit and a block broadcasting unit;
the transaction data acquisition unit is used for acquiring transaction data; the transaction data comprises business flow transaction data, stream transaction data and coding transaction data;
the traceability identification code acquisition unit is used for acquiring the traceability identification code corresponding to the transaction data;
the transaction abstract calculation unit is used for calculating the transaction data and the corresponding traceability identification code through a hash function to obtain a transaction abstract;
the block broadcasting unit is used for broadcasting the transaction abstract to peripheral verification nodes in a block chain;
the verification node which passes the verification first obtains the transaction data and the corresponding traceability identification code according to the transaction abstract, and stores the transaction data and the corresponding traceability identification code;
the verification node broadcasts the stored transaction data and the corresponding traceability identification code;
the platform also comprises a workload statistics unit;
the transaction data acquisition unit acquires the transaction data by issuing transactions by one or more users;
when the user issues the transaction, the workload statistics unit is used for determining the workload issued by the user according to the type of the user issued transaction;
the workload statistics unit is used for determining the workload for the verification according to the type of the verification transaction data and a preset rule for the user corresponding to the verification node which passes the verification first;
the workload statistics unit is used for accumulating the workload of each user for each release, verification and other operation to obtain the total workload of the user;
wherein the other operations include account number operations, daily operations, and business operations;
the account operation comprises data filling, mail box authentication and mobile phone number authentication;
the daily operation comprises logging in and sharing promotion links for N consecutive days;
the transaction operation includes that the posted transaction is browsed, reviewed, or praised.
6. The system according to claim 5, wherein: the transaction data sequentially comprises the following steps in sequence through grain circulation time:
(1) Business flow transaction-sales contract data;
(2) Business transaction-purchase contract data;
(3) Business flow transaction-acquisition contract data;
(4) Coding transaction-grain storage state identification code of bulk grain storage;
(5) Logistics transaction-bulk grain acquisition data;
(6) Logistics transaction-bulk grain warehouse data;
(7) Business flow transaction-transport contract data;
(8) Code assigning transaction-box sealing and checking grain identification code of bulk grain box sealing;
(9) Logistics transaction-bulk grain box sealing data;
(10) Coding transaction-transport history logistics identification code of the origin port;
(11) Logistics transaction-container warehouse data;
(12) Coding transaction-shipping history logistics identification code of trunk channel of shipping company;
(13) Logistics transaction-container trunk channel transportation data;
(14) Coding transaction-transit history logistics identification code;
(15) Logistics transaction-transshipment container warehouse data;
(16) Coding transaction-shipping history logistics identification code of branch channel of shipping company;
(17) Logistics transaction-container branch channel transportation data;
(18) Coding transaction-transport history logistics identification code of destination port;
(19) Logistics transaction-destination port container warehouse data;
(20) Coding transaction-transport history logistics identification code of destination port logistics company;
(21) Logistics transaction-container transportation data;
(22) Logistics transaction-Container unpacking data.
7. The system according to claim 6, wherein:
when the transaction data is code-endowed transaction data, the traceability identification code acquisition unit is used for extracting an identification code in the code-endowed transaction data as a traceability identification code;
when the transaction data is business transaction data or stream transaction data, the traceability identification code acquisition unit is used for extracting an identification code in the last code-endowing transaction in time sequence, which is the same grain circulation transaction with the transaction data, from the block chain, and taking the identification code as the traceability identification code of the transaction data.
8. The system according to claim 5, wherein:
the transaction summary calculation unit performs signature operation on the transaction summary according to a private key of a user to obtain a transaction signature;
the block broadcasting unit is used for broadcasting the transaction signature and the user public key to peripheral verification nodes in the block chain instead of the transaction digest;
and after the verification node obtains the transaction signature and the user public key, decrypting according to the transaction signature and the user public key to obtain the transaction abstract.
CN201911372610.3A 2019-12-27 2019-12-27 Grain circulation tracing release verification method and system based on blockchain Active CN111199371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911372610.3A CN111199371B (en) 2019-12-27 2019-12-27 Grain circulation tracing release verification method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911372610.3A CN111199371B (en) 2019-12-27 2019-12-27 Grain circulation tracing release verification method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN111199371A CN111199371A (en) 2020-05-26
CN111199371B true CN111199371B (en) 2024-02-20

Family

ID=70744367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911372610.3A Active CN111199371B (en) 2019-12-27 2019-12-27 Grain circulation tracing release verification method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN111199371B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101856A (en) * 2020-08-17 2020-12-18 北京康拓红外技术股份有限公司 Railway freight transportation management platform and method based on block chain technology

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN108009830A (en) * 2017-12-14 2018-05-08 上海密尔克卫化工储存有限公司 Products in circulation tracking and system based on block chain
CN108805590A (en) * 2018-06-20 2018-11-13 佛山科学技术学院 A kind of agricultural product traceability system based on block chain
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN109308211A (en) * 2018-09-11 2019-02-05 上海点融信息科技有限责任公司 For handling the method, apparatus and storage medium of Transaction Information in block chain
CN110149322A (en) * 2019-05-06 2019-08-20 山东公链信息科技有限公司 A kind of block chain encryption method that irreversible dynamic failure re-examination is rebuild

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10812270B2 (en) * 2017-04-07 2020-10-20 Citizen Hex Inc. Techniques for increasing the probability that a transaction will be included in a target block of a blockchain
TWI632507B (en) * 2017-06-03 2018-08-11 蔡政育 Product traceability code outputting system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN108009830A (en) * 2017-12-14 2018-05-08 上海密尔克卫化工储存有限公司 Products in circulation tracking and system based on block chain
CN108805590A (en) * 2018-06-20 2018-11-13 佛山科学技术学院 A kind of agricultural product traceability system based on block chain
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN109308211A (en) * 2018-09-11 2019-02-05 上海点融信息科技有限责任公司 For handling the method, apparatus and storage medium of Transaction Information in block chain
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN110149322A (en) * 2019-05-06 2019-08-20 山东公链信息科技有限公司 A kind of block chain encryption method that irreversible dynamic failure re-examination is rebuild

Also Published As

Publication number Publication date
CN111199371A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
US11423351B2 (en) Blockchain-based food product shelf-life management
CN110352425B (en) Cognitive regulatory compliance automation for blockchain transactions
US10373159B2 (en) Concomitance of an asset and identity block of a blockchain
CN106779737B (en) Product traceability verification method based on block chain technology
CN109598540B (en) Advertisement accurate pushing method and advertisement accurate pushing system
CN110879902A (en) Grain, oil and food full supply chain information safety management system and method based on trusted identification and IPFS
WO2007011782A3 (en) System and method for disputing individual items that are the subject of a transaction
CN107798541B (en) Monitoring method and system for online service
CN105023165A (en) Method, device and system for controlling release tasks in social networking platform
CN101383028A (en) National commodity electronic monitoring method based on EPC article networking and system thereof
CN109741482A (en) A kind of information sharing method and device
CN105471889A (en) Combined dual-certification method and system for circulation retracing and authenticity certification of commodity
CN111737343A (en) Information labeling method based on block chain
CN111199371B (en) Grain circulation tracing release verification method and system based on blockchain
CN111178912A (en) Grain quality tracing method and system based on block chain
CN110689348B (en) Revenue verification method, device, terminal and medium based on alliance chain
van den Burg et al. Illegal trade of morphologically distinct populations prior to taxonomic assessment and elevation, with recommendations for future prevention
CN110163750A (en) A kind of electronic evidence certification and exchange method and system based on block chain
CN106202371A (en) The processing method of media file, device and advertisement analysis method
CN111210106A (en) Double-random-based supervision and inspection method and system
CN107256479A (en) The classification of trade mode performs method and device
CN111476640B (en) Authentication method, system, storage medium and big data authentication platform
Bhatnagar et al. Product traceability using blockchain
Sung Prospects and challenges posed by blockchain technology on the copyright legal system
CN108090172A (en) A kind of monitoring and managing method and system of enterprise operation data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant