CN111242530A - Container grain storage state code-assigning block chain data acquisition equipment and method - Google Patents

Container grain storage state code-assigning block chain data acquisition equipment and method Download PDF

Info

Publication number
CN111242530A
CN111242530A CN202010000794.7A CN202010000794A CN111242530A CN 111242530 A CN111242530 A CN 111242530A CN 202010000794 A CN202010000794 A CN 202010000794A CN 111242530 A CN111242530 A CN 111242530A
Authority
CN
China
Prior art keywords
data
code
grain
block chain
container
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.)
Pending
Application number
CN202010000794.7A
Other languages
Chinese (zh)
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 CN202010000794.7A priority Critical patent/CN111242530A/en
Publication of CN111242530A publication Critical patent/CN111242530A/en
Pending legal-status Critical Current

Links

Images

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/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Husbandry (AREA)
  • Agronomy & Crop Science (AREA)
  • Mining & Mineral Resources (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Educational Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device and a system for acquiring data of a code-giving block chain of grain storage states of a container. The method comprises the following steps: acquiring quality data, quantity data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things; according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the bin positions according to the quality data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data; and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain. The method assigns codes to the grain reserve state of the container, extracts, encrypts and issues the reserve state transaction to a block chain, establishes a streaming data acquisition and processing technology, and lays a technical foundation for realizing grain tracing.

Description

Container grain storage state code-assigning block chain data acquisition equipment and method
Technical Field
The invention relates to the technical field of grain logistics, in particular to a container grain storage state code-assigning block chain data acquisition method, device and system.
Background
At present, a plurality of countries and regions establish special departments, establish food safety related laws and regulations, establish a food traceability system and supervise, track and trace the production process of food.
Developed countries such as the United states, Germany, France and the like have built relatively perfect agricultural product information service systems. For example, ADM corporation in the united states forms a full chain of traceability with big data integration. A traceability system of the quality and quantity of the whole chain of the rice-brown rice-rice is established in japan, and related laws are established.
The yield of the food in China is continuously increased for many years, and a solid foundation is laid for guaranteeing the national food safety. Along with the improvement of living standard of people, higher requirements are put forward on the safety of agricultural products. In 2017, the action of 'good grain and oil in China' popularized nationwide is an important measure for deeply promoting structural reform of the supply side of the grain industry, and is dominated by the national food service bureau. All people can eat well, have fragrance and eat safely, and the method is also the main attack direction and the final target of the structural reform of the agricultural supply side to continuously exert strength.
At present, the requirement for carrying out the quality tracing work of grain and oil products is urgent, and the development of the food industry is greatly influenced.
At present, industry traceability attempts based on cloud platforms and big data have been started by management departments at all levels of the domestic food industry, but due to the reasons that the common problem of the application of the cloud computing technology in the food industry is not solved, the supporting effect of the advanced information technology on the industry is restricted.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a container grain storage state code-assigning block chain data acquisition method, device and system, which aim to solve the problem that the container grain storage state data is lacked at present.
In a first aspect, the invention provides a container grain storage state code-assigning block chain data acquisition method, which comprises the following steps:
acquiring quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
according to the inventory identification code compiling rule, generating container grain storage state tracing codes of all the bin positions according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data;
and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
Further, the container grain storage state code-assigning block chain data acquisition method comprises the following steps:
to any container grain reserves state traceability code, generate coding block chain data to issue on coding block chain, include:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
Furthermore, the method for acquiring the data of the code-assigning block chain of the grain storage state of the container,
from sensor equipment and the multi-functional gateway of thing networking for the container grain deposit that sets up at each position in a storehouse, acquire quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and the gas data of grain in each position in a storehouse, include:
the multifunctional gateway of the internet of things receives original quality data, original storage position data, original quantity data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by sensor equipment for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to the embedded industrial control mainboard; after the industrial control mainboard receives the data, according to the configuration condition of the webservice service program running on the mainboard, the original quality data, the original storage position data, the original quantity data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the container grain storage are converted into the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
Furthermore, the method for acquiring the data of the code-assigning block chain of the grain storage state of the container,
the container grain storage state tracing code for each bin position is generated according to the inventory identification code compiling rule and the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data, and comprises the following steps:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
Furthermore, the method for acquiring the data of the code-assigning block chain of the grain storage state of the container,
the varieties of the grains in the bin include: wheat, soybean, corn, indica rice, japonica rice;
the quality data of the grains in the bin comprises:
the rough rate, color, smell, moisture, impurities and yellow rice of the paddy rice are corresponding to 5 indexes;
data corresponding to 5 indexes of volume weight, imperfect grains, color, smell, moisture and impurities of the wheat, and data corresponding to 3 indexes of color, smell, gluten water absorption and taste score of the wheat;
data corresponding to 6 indexes of volume weight, imperfect grains, mildewed grains, color, smell, moisture and impurities of the corn, and data corresponding to 2 indexes of color, smell and fatty acid value of the corn;
5 indexes of pure grain rate, broken grains, color and smell, moisture and impurities of the soybeans correspond to data, and 3 indexes of color and smell, crude fatty acid value and protein dissolution rate of the soybeans correspond to data.
In a second aspect, the present invention provides a container grain storage status code-assigning block chain data acquisition device, including:
the grain storage state data acquisition unit of the container is used for:
acquiring quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
a reserve state tracing code generating unit for:
according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the storage positions according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data;
a coded block chain data generation unit for:
and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
Furthermore, the container grain storage state code-assigning block chain data acquisition device,
a coded block chain data generation unit for:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
Furthermore, the container grain storage state code-assigning block chain data acquisition device,
the container grain storage state data acquisition unit is used for:
the multifunctional gateway of the internet of things receives original quality data, original quantity data, original storage position data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by sensor equipment for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to the embedded industrial control mainboard; after the industrial control mainboard receives the data, according to the configuration condition of the webservice service program running on the mainboard, the original quality data, the original quantity data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the grain storage of the container are converted into the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
Further, the container grain reserve state code-assigning block chain data acquisition device, the reserve state traceability code generation unit, is used for:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
In a third aspect, the present invention provides a container grain storage state code-assigning block chain data acquisition system, including:
the sensor equipment for grain storage of the containers and the multifunctional gateway of the Internet of things are arranged at each bin;
the rear-end platform is respectively connected with the chain link points of each coding block;
the rear-end platform receives quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of grains in each bin, which are sent by the multifunctional gateway of the internet of things;
according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the storage positions according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data;
and generating code-assigning block chain data by each code-assigning block chain link point according to the container grain storage state tracing code generated by the rear-end platform connected with the code-assigning block chain link point, and issuing the code-assigning block chain data on the code-assigning block chain.
According to the container grain storage state code assigning block chain data acquisition method, device and system, quality data, quantity data, storage position data, temperature data, humidity data, insect situation data, gas data and the like of different grain varieties are acquired and aggregated through various information sensor devices and an internet of things multifunctional gateway, and storage state transactions are extracted, encrypted and issued to a block chain by using a container grain storage state code assigning module. Based on the inventory identification code and the streaming data acquisition and processing technology, the grain quality tracing technology is researched, a grain storage quantity and quality tracing system is established, and a technical basis is laid for constructing a grain storage quality tracing and information service platform and realizing grain tracing across provincial and policy properties.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
fig. 1 is a schematic flow chart of a container grain storage state code-assigning block chain data acquisition method according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a block chain data acquisition device for assigning codes to the grain storage status of a container according to a preferred embodiment of the present invention;
fig. 3 is a block chain data distribution flow diagram of a container grain stock state code-assigning block chain data acquisition method according to a preferred embodiment of the present invention;
fig. 4 is a flow chart illustrating a block chain data distribution flow of the container grain stock state code-assigning block chain data acquisition method according to the preferred embodiment of the present invention, wherein the method completes a reimbursement closed loop in the system.
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 embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present 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, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those 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.
In traditional agriculture, the industry chain is very long, comprising dozens of links from planting to selling and multiple pairs of trading parties. In such a scenario, the transactions between each pair of trading parties are staked and not trusted by each other, so the entire market is fragmented, unordered. How to promote the healthy and orderly development of the agricultural industry chain through a technical means so as to ensure that food is safely supplied to terminal consumers is a problem to be solved urgently.
By researching the grain quality tracing technology, the grain production can be recorded, the information can be inquired, the flow direction can be traced, the quality can be traced, and the problem that the reason causing the grain quality problem is difficult to locate and trace is expected to be solved. In addition, traceability of grain quality is realized, responsibility is clearer, deterrence effects can be achieved on individuals, enterprises and organizations with bad intentions or low management levels, good coins can be prevented from being expelled by inferior coins, and virtuous-circle industrial atmosphere is created.
As shown in fig. 1, an embodiment of the present invention provides a container grain storage state code-assigning block chain data acquisition method, including:
step S100: acquiring quality data, storage position data, quantity data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
step S200: according to the inventory identification code compiling rule, generating container grain storage state tracing codes of all the bin positions according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data;
step S300: and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
Further, as shown in fig. 3 and 4, the method for acquiring the container grain stock state code-assigning block chain data of the embodiment includes:
to any container grain reserves state traceability code, generate coding block chain data to issue on coding block chain, include:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
Specifically, the transaction signature and the public key corresponding to the grain reserve code of the container are stored on a coding block chain by the verified peripheral node at first; other peripheral nodes download the transaction signature and public key from the chain of coding blocks and save in their local copies.
Further, the container grain storage state code-assigning block chain data acquisition method of this embodiment, obtaining quality data, storage position data, quantity data, temperature data, humidity data, insect pest situation data and gas data of grain in each position from the sensor equipment for container grain storage and the internet of things multifunctional gateway arranged in each position, includes:
the multifunctional gateway of the internet of things receives original quality data, original storage position data, original quantity data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by sensor equipment for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to the embedded industrial control mainboard; after the industrial control mainboard receives the data, according to the configuration condition of the webservice service program running on the mainboard, the original quality data, the original quantity data, the original storage position data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the container grain storage are converted into the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
Further, the container grain storage state code-assigning block chain data acquisition method of the embodiment,
the container grain storage state tracing code for each bin position is generated according to the inventory identification code compiling rule and the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data, and comprises the following steps:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
Further, the container grain storage state code-assigning block chain data acquisition method of the embodiment,
the varieties of the grains in the bin include: wheat, soybean, corn, indica rice, japonica rice;
the quality data of the grains in the bin comprises:
the rough rate, color, smell, moisture, impurities and yellow rice of the paddy rice are corresponding to 5 indexes;
data corresponding to 5 indexes of volume weight, imperfect grains, color, smell, moisture and impurities of the wheat, and data corresponding to 3 indexes of color, smell, gluten water absorption and taste score of the wheat;
data corresponding to 6 indexes of volume weight, imperfect grains, mildewed grains, color, smell, moisture and impurities of the corn, and data corresponding to 2 indexes of color, smell and fatty acid value of the corn;
5 indexes of pure grain rate, broken grains, color and smell, moisture and impurities of the soybeans correspond to data, and 3 indexes of color and smell, crude fatty acid value and protein dissolution rate of the soybeans correspond to data.
In summary, the container grain storage state code-assigning block chain data acquisition method provided by the embodiment of the invention is based on the inventory identification code and the streaming data acquisition and processing technology, researches the grain quality tracing technology, establishes the grain storage quantity and quality tracing system, and lays a technical foundation for constructing the grain storage quality tracing and information service platform and realizing the across-province and policy grain tracing.
According to the container grain storage state code-assigning block chain data acquisition method, quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data, gas data and the like of different grain varieties are acquired and gathered through various information sensor devices and an internet-of-things multifunctional gateway, and storage state transactions are extracted, encrypted and issued to a block chain by using a container grain storage state code-assigning module.
As shown in fig. 2, the container grain storage state code-assigning block chain data acquisition device according to the embodiment of the present invention includes:
a container grain reserve status data acquisition unit 10, configured to:
acquiring quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
a reserve state tracing code generating unit 20, configured to:
according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the storage positions according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data;
a code block chain data generating unit 30, configured to:
and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
Further, the container grain stock state code-assigning block chain data acquisition device of the embodiment, the code-assigning block chain data generation unit, is configured to:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
Furthermore, the container grain storage state code-assigning block chain data acquisition device of the embodiment,
the container grain storage state data acquisition unit is used for:
the multifunctional gateway of the internet of things receives original quality data, original quantity data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by a sensor device for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to an embedded industrial control mainboard; after the industrial control main board receives the data, according to the configuration condition of the webservice service program running on the main board, the original quality data, the original quantity data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the grain storage of the container are converted into the quality data, the quantity data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
Furthermore, the container grain storage state code-assigning block chain data acquisition device of the embodiment,
the reserve state tracing code generating unit is configured to:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
The container grain storage state code-assigning block chain data acquisition system of the embodiment of the invention comprises:
the sensor equipment for grain storage of the containers and the multifunctional gateway of the Internet of things are arranged at each bin;
the rear-end platform is respectively connected with the chain link points of each coding block;
the rear-end platform receives quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of grains in each bin, which are sent by the multifunctional gateway of the internet of things;
according to the inventory identification code compiling rule, generating container grain storage state tracing codes of all the bin positions according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data;
and generating code-assigning block chain data by each code-assigning block chain link point according to the container grain storage state tracing code generated by the rear-end platform connected with the code-assigning block chain link point, and issuing the code-assigning block chain data on the code-assigning block chain.
Specifically, the system for acquiring container grain reserve state code-assigning block chain data according to an embodiment of the present invention includes:
1. sensor equipment for grain storage of container
The grain storage state data of the container comprises: grain quality information, grain quantity information, storage position information and storage environment information.
(1) Grain quality information. And specific data of each quality index of the reserved grains are obtained through a moisture sensor, spectrum on-line sensor on-line equipment and laboratory detection equipment. Specifically, the grain quality indexes of different grain varieties are as follows:
1.1) the quality of the paddy rice has 5 indexes of roughness, color, smell, moisture, impurities, yellow rice and the like.
1.2) the quality of the wheat has 5 indexes of volume weight, imperfect grains, color, smell, moisture, impurities and the like, and the quality has 3 indexes of color, smell, gluten water absorption, taste score value and the like.
1.3) the quality of the corn has 6 indexes of volume weight, imperfect grains, mildewed grains, color, smell, moisture, impurities and the like, and the quality has 3 indexes of color, smell, fatty acid value and the like.
1.4) the quality of the soybean has 5 indexes of pure grain rate, broken grains, color and smell, moisture, impurities and the like, and the quality has 3 indexes of color and smell, crude fatty acid value, protein dissolution rate and the like.
(2) And (4) grain quantity information. Grain quantity information is acquired mainly based on a pressure sensor. And respectively aiming at 4 different grain crops such as rice, wheat, corn, soybean and the like, establishing a data fusion model to process the obtained pressure sensor data to obtain the grain quantity of each goods space. And then the long-term fluctuation data of the grain reserves on each goods position is obtained by monitoring the grain quantity of each goods position in real time.
(3) Storage environment information. The environmental factors of various grain depots are obtained through a temperature sensor, a humidity sensor, a grain insect condition sensor, a grain gas sensor and the like.
(4) Warehousing location information. And acquiring the geographic position data of each grain storage container through the BDS/GPS dual-mode receiving module. The ATGM332D is a high-sensitivity BDS/GPS dual-mode receiver module, supports single-system positioning and dual-system combined positioning of GPS and BDS, and outputs positioning information by using a serial port UART.
2. Multifunctional gateway of Internet of things for grain storage of container
The multifunctional gateway of the Internet of things for the grain storage of the container collects and assembles quality data, quantity data, geographical position data, temperature data, humidity data, insect pest situation data, gas data and the like of different grain varieties.
The hardware part of the multifunctional gateway of the Internet of things comprises a high-performance embedded industrial control mainboard, a switching power supply, a power supply control module, a battery pack, an RJ45 network port module, a signal conversion board, an LED display panel and the like. The software part comprises an embedded WINDOWS operating system, a webservice service program and the like. The multifunctional gateway of the internet of things receives data of various grain storage state acquisition devices on the site of the container through the switchable RS232/485 interface and uniformly controls the various grain storage state acquisition devices.
Specifically, after the multifunctional gateway of the internet of things receives data sent by a sensor through a switchable RS232/485 interface, noise of a signal is filtered, and the filtered signal is transmitted to an embedded industrial control main board; after the industrial control mainboard receives the data, the data of different protocol types are converted into uniform protocol data which can be understood by a rear-end platform according to the configuration condition of a webservice service program running on the mainboard, and the information is transmitted to the rear-end platform through an RJ45 network port through a local area network.
When the back-end platform needs to send data or instructions to the external equipment, the back-end platform only needs to send uniform data or instructions to the gateway; the internet of things multifunctional gateway converts data or instructions into data of different protocol types according to the configuration situation of the webservice service program, and respectively sends the data or instructions to each external device (namely, various grain storage state acquisition devices). In this way, the back-end platform can communicate with devices of different communication protocols and different data types of different manufacturers in a unified way, and can carry out unified management.
This multi-functional gateway of thing networking uses power management module, switches on 220V alternating current, can normal operating.
The multifunctional gateway of the Internet of things runs in an embedded windows operating system. The back-end platform can remotely access the gateway at any time through the network, so that the webservice service program can be upgraded and reconfigured at any time to adapt to newly added external equipment with different communication modes.
The multifunctional gateway of the Internet of things supports an EWF system protection function. When the system, software and data of the gateway are damaged due to an accident, the EWF can automatically restore the gateway to the previous normal state, so that the reliability of the gateway is improved.
3. Container grain storage code
After the food production area signs a sales contract, the food purchasing and selling company determines the goods position information of the current contract, and then can report data regularly. The reported data comprises grain storage state data and manual filling data reported by a container grain storage Internet of things multifunctional gateway.
The grain storage state identification code refers to a container grain storage state identification code for different storage purposes such as acquisition, storage and sale in a production place of grains with a goods location as a unit. The following is a specific definition of each field in the grain reserve state tracing code. Preferably, the grain reserve state tracking code is a number expressed by 256 bits.
a) Grain storage state identification code
English name: GrainReserve Tracing code
Short name: GSTC
Defining: unique identifier of goods position grain in storage process
Data type: composite type
And annotating: selecting the necessary items; the maximum number of occurrences is 1.
Sub-elements: reserved grain identification code being root code + current code
Expanding the Babbitt form: GSTC ═ RtTC, PrTC
b) Root code
English name: RootTracingCode
Short name: RtC
Defining: identity information of reserved grain
Data type: composite type
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: root code is root goods position information + root code sign
Expanding the Babbitt form: rttc ═ RtCI, RtFlg
c) Root goods position information
English name: RootCargoinformation
Short name: rtci
Defining: first goods position code information of reserved grain
Data type: composite type
Value range: see type entity
Cargo space information < < data type > >; if the grain is mixed by different sources to form a goods position, a grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
And annotating: selecting the necessary items; maximum number of occurrences of 1
d) Social credit code
English name: CertificatefortUniformSecial CreditCode
Short name: cUCC
Defining: unified social credit code for grain storage or storage-substituting enterprises
Data type: character type
Value range: is composed of 18 digits or capital English letters.
And annotating: selecting the necessary items; maximum number of occurrences of 1
e) Goods position code
English name: cagocode
Short name: cgCd
Defining: goods position number of stored grain
Data type: character type
Value range: the free text is composed of 11 digits of 4 codes in total, namely a storehouse area code, a storehouse code and a goods space code. Wherein, the storehouse area code, the storehouse code are respectively composed of 3-digit Arabic numeral sequence codes, and the goods yard code is composed of 2-digit Arabic numeral sequence codes.
And annotating: selecting the necessary items; maximum number of occurrences of 1
f) Time of warehousing goods
English name: cagoentrytime
Short name: cEnT
Defining: storage time of reserved grain goods
Data type: time of day type
Value range: executed according to GB/T7408-2005, and the format is CCYY-MM-DD-hh-MM
And annotating: selecting the necessary items; maximum number of occurrences of 1
g) Time of delivery of goods
English name: cagoexittime
Short name: cExT
Defining: time for leaving reserved grain goods space
Data type: time of day type
Value range: executed according to GB/T7408-2005, and the format is CCYY-MM-DD-hh-MM
And annotating: selecting the necessary items; maximum number of occurrences of 1
h) Root code sign
English name: rootFlag
Short name: rtFlg
Defining: whether the grain purchased and warehoused is directly sold from the field production link for the first time is marked to enter the storage link, namely the grain is purchased through a grain broker or directly from farmers, farms, agricultural cooperative organizations and the like.
Data type: character type
Value range: 0-primary, namely the batch of grains are definitely directly sold from the field to the storage link; 1-non-native, i.e., the batch of grain is of unknown origin.
And annotating: selecting the necessary items; maximum number of occurrences of 1
i) Current code
English name: PresntTrancCode
Short name: PrTC
Defining: current information of reserved grain
Data type: composite type
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: current code is current goods position information plus attribute information
Expanding the Babbitt form: PrTC ═ PrCI, AttInfo
j) Current cargo space information
English name: PresentCargoinformation
Short name: PrCI
Defining: current cargo space code information for reserved grain
Data type: composite type
Value range: see type entity goods location information < < data type >
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: the current goods position information is the social credit code + the service number + the goods position code + the goods position warehousing time + the goods position ex-warehouse time + the storage state
Expanding the Babbitt form: PrCI ═ cUCC, plnCd, cgCd, cEnt, cExT, cSAf
k) Service number
English name: planCode
Short name: PlnCd
Defining: plan document number, contract number, enterprise internal service number and corresponding service number batch number issued by upper-level grain administrative management department followed by grain purchasing currently.
Data type: character type
Value range: free text, indefinite length. The system consists of 2 segment codes of planning text number/contract number/enterprise internal business number + batch code. Wherein, when the grain stored in the goods position is policy grain, the plan number is taken; taking a contract number when the grain stored in the goods space is non-policy grain; and when the grain stored in the goods space has no plan text number or contract number, taking the internal business number of the enterprise.
And annotating: selecting the necessary items; maximum number of occurrences of 1
l) reserve status
English name: cargo storage Attribute information
Short name: cSAF
Defining: grain reserve cargo space attributes, i.e. including purchase, inventory and sale
Data type: character type
Value range: 1-Purchase, 2-inventory, 3-sale
And annotating: selecting the necessary items; maximum number of occurrences of 2
m) attribute information
English name: AttributeInformation
Short name: AttInfo
Defining: grain attribute information when the current reserve grain cargo space is sealed
Data type: composite type
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: attribute information, namely grain property, service number, quantity, variety code, production place code, production year and grade code
Expanding the Babbitt form: AttInfo ═ grPrp, qty, kdCd, prdDC, prdYr, clsCd
n) properties of foodstuffs
English name: grainProperty
Short name: grPrp
Defining: properties of current reserve grain cargo space during closing
Data type: character type
Value range: grain property code < < code table >)
And annotating: selecting the necessary items; maximum number of occurrences of 1
TABLE 1 food Property code sheet
Code Name (R)
10 Central storage grain
20 Local storage grain
21 Provincial (autonomous, direct district city, special administrative district) level local grain reserve
22 Local grain reserve in city (region, autonomous state, union) level
23 County (autonomous county, county-level city, flag, autonomous flag, district of city, forest district, special district) level local reserved grain
30 Grain with minimum purchase price
40 National temporary storage grain
50 Other reserved grains
60 National temporary storage imported grain
70 Other imported grain
80 Commercial grain in middle storage system
o) number of
English name: quality
Short name: qty
Defining: storage quantity of current stored grain goods position during warehouse sealing
Data type: numerical type
Value range: number, reserved to 3 digits after decimal point, unit is ton
And annotating: selecting the necessary items; maximum number of occurrences of 1
p) variety code
English name: kidcode
Short name: kndcd
Defining: varieties of currently reserved grains
Data type: character type
Value range: variety code < < code Table >
And annotating: selecting the necessary items; maximum number of occurrences of 1
TABLE 2 variety code table
Figure BDA0002353324450000191
Figure BDA0002353324450000201
q) origin code
English name: producingDistrictCode
Short name: prdDC
Defining: the current production area of the reserved grain; and if the current stored grains are grains from different sources and are mixed to form a goods position, taking the production place of the grain with the longest grain age in the source grains, specifically to the county.
Data type: character type
Value range: the county name of China is executed according to GB/T2260, and the value of a 'digital code' in a code table of provinces, autonomous districts, direct prefectures and special administrative districts is 6 digits according to tables 2-35.
The imported grain origin code is executed according to GB/T2659-2000, and the value of the digital code in the name code table of each country and region in the world is taken, 3 digits are taken, and the front part is supplemented with '000', and the total number is 6 digits. For example: canada has a "number code" of 124 and its imported grain origin code of 000124.
And annotating: an optional item; the maximum number of occurrences is N.
TABLE 3 wheat quality code table
Figure BDA0002353324450000202
Figure BDA0002353324450000211
TABLE 4 corn quality code Table
Code Grade Unit of Index (I)
1 ≥790 g/L Volume weight
2 ≥770 g/L Volume weight
3 ≥750 g/L Volume weight
4 ≥730 g/L Volume weight
5 ≥710 g/L Volume weight
6 <710 g/L Volume weight
1 ≤6.0 Imperfect granule
2 ≤8.0 Imperfect granule
3 ≤10.0 Imperfect granule
4 >10.0 Imperfect granule
1 ≤1.0 Impurities
2 >1.0 Impurities
1 ≤12.5 Moisture content
2 >12.5 Moisture content
1 ≤1.5 Yellow rice
2 >1.5 Yellow rice
1 ≤2.0 Grain-outside brown rice
2 >2.0 Grain-outside brown rice
1 ≤5.0 Rate of intermixing
2 >5.0 Rate of intermixing
1 Is normal - Smell, color and luster
2 Abnormal state - Smell, color and luster
TABLE 5 indica rice quality code table
Figure BDA0002353324450000212
Figure BDA0002353324450000221
TABLE 6 japonica rice quality code table
Figure BDA0002353324450000222
Figure BDA0002353324450000231
TABLE 7 Soybean quality code Table
Figure BDA0002353324450000232
r) year of production
English name: producingYear
Short name: prdYr
Defining: the current production year of the stored grain; and if the current stored grains are different sources of grains and are mixed to form a goods position, taking the production year of the grain with the longest age in the source grains. If the production year of the imported grains cannot be determined, the import year of the grain batch is regarded as the production year of the grain batch.
Data type: date type
Value range: executed according to GB/T7408-2005, format CCYY
And annotating: selecting the necessary items; maximum number of occurrences of 1
s) quality codes
English name: classCode
Short name: clsCd
Defining: grade of current reserve grain cargo space when sealing
Data type: character type
Value range: quality code < < code Table >)
And annotating: selecting the necessary items; maximum number of occurrences of 1
4. Container grain reserve code-assigning transaction block chain issuing, verifying and storing
The back end platform passes through grain deposit thing networking multifunctional gateway, combines container grain deposit state coding module, and extraction, encryption, issue deposit state affairs to block chain module specifically include:
the back-end platform compresses the grain reserve codes of the container into transaction summaries through a hash function, so that later-stage operation and transmission are facilitated;
the back-end platform performs signature operation on the user private key and the transaction abstract to obtain a transaction signature; and storing the transaction signature in the storage node;
the back-end platform broadcasts the transaction signature and the public key to all peripheral nodes for verification, and all the peripheral nodes need to read the state of the block chain layer synchronous block chain;
the verification node retrieves data position information corresponding to the user signature from the local data block chain copy; the verification node returns a verification result to the user;
firstly, the verified peripheral nodes store the transaction abstract information corresponding to the grain reserve codes of the containers;
after the completion, the peripheral node broadcasts the transaction summary information corresponding to the container grain reserve code to all peripheral verification nodes.
It should be understood that the above description is of the data validation steps performed for a single container grain stock record; and when the quantity of the currently accumulated container grain reserve records is enough, starting the container grain reserve records to enter a block chain to be stored in a public account book mode. The embodiment of the invention does not relate to the content of public ledger bookkeeping.
According to the container grain storage code-assigning transaction block chain data acquisition method, device and system, various quality sensors, quantity sensors and environment sensors for acquiring the storage state of the bulk grain in the container are integrated based on the stock identification code principle, manual filling information is combined through the storage internet of things multifunctional gateway, the storage state tracing codes are acquired, cleaned and assembled through a rear-end platform, and unified standardized information of all links of grain circulation is conveniently acquired.
The issuing affairs of the container grain storage state tracing code information are verified, the verified container grain storage state tracing code is stored in a block chain in an encrypted mode, and the whole-process data acquisition and tracing of container grains in the logistics process can be achieved.
According to the container grain storage code-assigning transaction block chain data acquisition method, device and system, quality data, quantity data, temperature data, humidity data, insect pest situation data, gas data and the like of different grain varieties are acquired and gathered through various information sensor devices and an internet of things multifunctional gateway; a storage state tracing code is generated by a container grain storage state code assigning module; and the generated reserve state tracing code is taken as a reserve state transaction to be encrypted and then issued to the block chain module.
The grain storage state code assigning module of the container can support a plurality of upstream cargos to be combined into one cargo space to generate a tracing code and also support one-time ex-warehouse to be decomposed into a plurality of downstream warehousing.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
The invention has been described above by reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a// the [ device, component, etc ]" are to be interpreted openly as at least one instance of a device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

Claims (10)

1. A container grain storage state code-assigning block chain data acquisition method is characterized by comprising the following steps:
acquiring quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
according to the inventory identification code compiling rule, generating container grain storage state tracing codes of all the bin positions according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data;
and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
2. The method for acquiring the container grain reserve state code-assigning block chain data according to claim 1, comprising:
to any container grain reserves state traceability code, generate coding block chain data to issue on coding block chain, include:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
3. The container grain reserve status code-assigning block chain data collection method according to claim 1,
from sensor equipment and the multi-functional gateway of thing networking for the container grain deposit that sets up at each position in a storehouse, acquire quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and the gas data of grain in each position in a storehouse, include:
the multifunctional gateway of the internet of things receives original quality data, original quantity data, original storage position data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by sensor equipment for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to the embedded industrial control mainboard; after the industrial control mainboard receives the data, according to the configuration condition of the webservice service program running on the mainboard, the original quality data, the original quantity data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the grain storage of the container are converted into the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
4. The container grain reserve status code-assigning block chain data collection method according to claim 1,
the container grain storage state tracing code for each bin position is generated according to the inventory identification code compiling rule and the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data, and comprises the following steps:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
5. The container grain reserve status code-assigning block chain data collection method according to claim 1,
the varieties of the grains in the bin include: wheat, soybean, corn, indica rice, japonica rice;
the quality data of the grains in the bin comprises:
the rough rate, color, smell, moisture, impurities and yellow rice of the paddy rice are corresponding to 5 indexes;
data corresponding to 5 indexes of volume weight, imperfect grains, color, smell, moisture and impurities of the wheat, and data corresponding to 3 indexes of color, smell, gluten water absorption and taste score of the wheat;
data corresponding to 6 indexes of volume weight, imperfect grains, mildewed grains, color, smell, moisture and impurities of the corn, and data corresponding to 2 indexes of color, smell and fatty acid value of the corn;
5 indexes of pure grain rate, broken grains, color and smell, moisture and impurities of the soybeans correspond to data, and 3 indexes of color and smell, crude fatty acid value and protein dissolution rate of the soybeans correspond to data.
6. The utility model provides a container grain stock state coding block chain data acquisition device which characterized in that includes:
the grain storage state data acquisition unit of the container is used for:
acquiring quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of the grains in each bin from the sensor equipment for grain storage of the containers arranged in each bin and the multifunctional gateway of the internet of things;
a reserve state tracing code generating unit for:
according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the storage positions according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data;
a coded block chain data generation unit for:
and generating code-assigning block chain data for the grain storage state tracing code of any container, and issuing the data on the code-assigning block chain.
7. The container grain stock state code-assigning block chain data collection device of claim 6,
a coded block chain data generation unit for:
compressing the container grain reserve state tracing code into a transaction abstract through a hash function;
performing signature operation on a user private key of a source node generating the state tracing code and the transaction abstract to generate a transaction signature;
broadcasting the transaction signature and the public key to all peripheral nodes so that each peripheral node reads the transaction signature and the public key;
each peripheral node retrieves data position information corresponding to the transaction signature from a local block chain copy of the peripheral node so as to verify the transaction signature;
and the peripheral node which passes the verification firstly stores the transaction signature corresponding to the grain reserve code of the container on the code-assigning block chain.
8. The container grain stock state code-assigning block chain data collection device of claim 6,
the container grain storage state data acquisition unit is used for:
the multifunctional gateway of the internet of things receives original quality data, original storage position data, original quantity data, original temperature data, original humidity data, original insect pest situation data and original gas data sent by sensor equipment for container grain storage through a switchable RS232/485 interface, filters noise of signals and transmits the filtered signals to the embedded industrial control mainboard; after the industrial control mainboard receives the data, according to the configuration condition of the webservice service program running on the mainboard, the original quality data, the original quantity data, the original temperature data, the original humidity data, the original insect condition data and the original gas data sent by the sensor equipment for the grain storage of the container are converted into the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect condition data and the gas data in the preset protocol format.
9. The container grain stock state code-assigning block chain data collection device of claim 6,
the reserve state tracing code generating unit is configured to:
generating fields of the reserve state tracing codes which accord with the inventory identification code compiling rule according to the quality data, the quantity data, the storage position data, the temperature data, the humidity data, the insect situation data and the gas data by taking the cargo space as a unit;
the fields of the reserve state tracking code include: the method comprises the steps of storing grain identification codes, root codes, current codes, root goods position information, root code marks, current goods position information, attribute information, social credit codes, service numbers, goods position codes, goods position warehousing time, goods position ex-warehousing time and storage states;
wherein, the reserved grain identification code field is formed by combining a root code and a current code;
the root code is formed by combining root goods position information and a root code mark;
the root goods position information is the initial goods position code information of the stored grain, and when the initial goods position code information of the stored grain is determined, if the grain is mixed by grains from different sources to form a goods position, the grain initial goods position code with the longest grain age is selected; if the grains of the same grain age from different sources are mixed to form a goods position, the primary goods position code of the grain with the largest number is taken.
10. The utility model provides a container grain stock state coding block chain data acquisition system which characterized in that includes:
the sensor equipment for grain storage of the containers and the multifunctional gateway of the Internet of things are arranged at each bin;
the rear-end platform is respectively connected with the chain link points of each coding block;
the rear-end platform receives quality data, quantity data, storage position data, temperature data, humidity data, insect pest situation data and gas data of grains in each bin, which are sent by the multifunctional gateway of the internet of things;
according to inventory identification code compiling rules, generating container grain storage state tracing codes of all the storage positions according to the quality data, the storage position data, the quantity data, the temperature data, the humidity data, the insect situation data and the gas data;
and generating code-assigning block chain data by each code-assigning block chain link point according to the container grain storage state tracing code generated by the rear-end platform connected with the code-assigning block chain link point, and issuing the code-assigning block chain data on the code-assigning block chain.
CN202010000794.7A 2020-01-02 2020-01-02 Container grain storage state code-assigning block chain data acquisition equipment and method Pending CN111242530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010000794.7A CN111242530A (en) 2020-01-02 2020-01-02 Container grain storage state code-assigning block chain data acquisition equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010000794.7A CN111242530A (en) 2020-01-02 2020-01-02 Container grain storage state code-assigning block chain data acquisition equipment and method

Publications (1)

Publication Number Publication Date
CN111242530A true CN111242530A (en) 2020-06-05

Family

ID=70864779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010000794.7A Pending CN111242530A (en) 2020-01-02 2020-01-02 Container grain storage state code-assigning block chain data acquisition equipment and method

Country Status (1)

Country Link
CN (1) CN111242530A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798254A (en) * 2020-09-08 2020-10-20 平安国际智慧城市科技股份有限公司 Tracing code generation method, device, equipment and readable storage medium
CN111898951A (en) * 2020-07-29 2020-11-06 张展 Management platform and management method based on grain storage container
CN116452119A (en) * 2023-06-07 2023-07-18 浪潮云洲(山东)工业互联网有限公司 Digital supervision method and device for grain inventory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882265A (en) * 2010-06-11 2010-11-10 北京农业信息技术研究中心 Grain product circulation dynamic tracking and safety tracing system and method
CN108256793A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 A kind of inventory's grain cognizance code generation and related information acquisition method and system
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN110516965A (en) * 2019-08-27 2019-11-29 北京工商大学 The credible retrospect model of oil and foodstuffs full supply chain and construction method based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882265A (en) * 2010-06-11 2010-11-10 北京农业信息技术研究中心 Grain product circulation dynamic tracking and safety tracing system and method
CN108256793A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 A kind of inventory's grain cognizance code generation and related information acquisition method and system
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN110516965A (en) * 2019-08-27 2019-11-29 北京工商大学 The credible retrospect model of oil and foodstuffs full supply chain and construction method based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111898951A (en) * 2020-07-29 2020-11-06 张展 Management platform and management method based on grain storage container
CN111798254A (en) * 2020-09-08 2020-10-20 平安国际智慧城市科技股份有限公司 Tracing code generation method, device, equipment and readable storage medium
CN116452119A (en) * 2023-06-07 2023-07-18 浪潮云洲(山东)工业互联网有限公司 Digital supervision method and device for grain inventory
CN116452119B (en) * 2023-06-07 2024-01-19 浪潮云洲工业互联网有限公司 Digital supervision method and device for grain inventory

Similar Documents

Publication Publication Date Title
CN111242530A (en) Container grain storage state code-assigning block chain data acquisition equipment and method
Muth et al. A systems approach to assessing environmental and economic effects of food loss and waste interventions in the United States
Tukker et al. Towards a global multi-regional environmentally extended input–output database
Stadler et al. EXIOBASE 3
Galler et al. From regional environmental planning to implementation: Paths and challenges of integrating ecosystem services
Van Passel Food miles to assess sustainability: A revision
CN111080213A (en) Container grain sealing inspection coding block chain data acquisition method and system
CN111080212A (en) Container grain historical logistics code-assigning block chain data acquisition method and system
Ferguson Aikins et al. Key factors of carbon footprint in the UK food supply chains: a new perspective of life cycle assessment
Yang et al. A real-time agro-food authentication and supervision system on a novel code for improving traceability credibility
CN110083678A (en) A kind of electric business platform goods matching method, device and readable storage medium storing program for executing
KR102328881B1 (en) Cosmetics company collaboration system based big data
Pham et al. Agricultural sustainability in developing countries: An assessment of the relationships between drivers and indicators in Hoa Binh Province, Vietnam
CN107844923A (en) A kind of ERP management systems and method
Gaitán-Cremaschi et al. Benchmarking the sustainability performance of the Brazilian non-GM and GM soybean meal chains: An indicator-based approach
Baulch et al. The spatial integration of paddy markets in Vietnam
Arnold Energy consumption and environmental impacts associated with cannabis cultivation
Ulimwengu et al. Paving the way for development: The impact of road infrastructure on agricultural production and household wealth in the Democratic Republic of Congo
Schmidt et al. Assessing the land use implications of biodiesel use from an LCA perspective
Zhuangzhuang Study on the construction of traceability system of cold-chain agricultural products based on block-chain: A case study of Ningxia Cabbage
CN114219510A (en) Agricultural product traceability system based on Internet of things and block chain
CN201527676U (en) Supervising database system for food safety tracing
May The role of site-dependent aspects in environmental assessment–a look into the life cycle of three future technologies
Nair Public Distribution System: Are the Customers Satisfied???
Pandit et al. Spatially detailed agricultural and food trade between China and the United States

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