CN111080213A - Container grain sealing inspection coding block chain data acquisition method and system - Google Patents

Container grain sealing inspection coding block chain data acquisition method and system Download PDF

Info

Publication number
CN111080213A
CN111080213A CN202010000798.5A CN202010000798A CN111080213A CN 111080213 A CN111080213 A CN 111080213A CN 202010000798 A CN202010000798 A CN 202010000798A CN 111080213 A CN111080213 A CN 111080213A
Authority
CN
China
Prior art keywords
container
code
sealing
block chain
grain
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
CN202010000798.5A
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 CN202010000798.5A priority Critical patent/CN111080213A/en
Publication of CN111080213A publication Critical patent/CN111080213A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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

Landscapes

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

Abstract

The invention discloses a method and a system for acquiring data of a code block chain for container grain sealing inspection. The method comprises the following steps: acquiring the sealing state information of each bin from the sensor equipment for container sealing inspection and the Internet of things multifunctional gateway which are arranged at each bin; acquiring state information of intelligent lock equipment; according to a box sealing inspection identification code compiling rule, generating box sealing inspection state tracing codes of all bins according to the box sealing state information and the state information of the intelligent lock equipment; and (4) for any sealing box inspection state tracing code, generating code-assigning block chain data, and issuing the code-assigning block chain data. According to the method and the system, the container packing weighing equipment and the Internet of things multifunctional gateway are used for collecting and gathering the position data and the quantity data of the sealed warehouse of different grain varieties, the intelligent locking equipment is integrated, the grain sealed box state information of the container and the state information of the intelligent locking equipment are stored in a block chain in an encrypted mode, the container sealed box inspection state data are enriched, and a technical basis is laid for grain tracing.

Description

Container grain sealing inspection coding block chain data acquisition method and system
Technical Field
The invention relates to the technical field of grain logistics, in particular to a container grain sealing inspection coding block chain data acquisition method 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 sealing inspection coding block chain data acquisition method and a system thereof, which are used for solving the problem that the container grain sealing inspection state data is lacked at present.
In a first aspect, the invention provides a container grain sealing inspection coding block chain data acquisition method, which comprises the following steps:
acquiring the sealing state information of each bin from the sensor equipment for container sealing inspection and the Internet of things multifunctional gateway which are arranged at each bin; acquiring state information of intelligent lock equipment;
according to a box sealing inspection identification code compiling rule, generating box sealing inspection state tracing codes of all bins according to the box sealing state information and the state information of the intelligent lock equipment;
and (4) for any sealing box inspection state tracing code, generating code-assigning block chain data, and issuing the code-assigning block chain data.
Further, the container grain sealing inspection coding block chain data acquisition method comprises the following steps:
to arbitrary joint sealing inspection state tracking code, generate coding block chain data to issue on coding block chain, include:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain. Furthermore, the container grain sealing inspection coding block chain data acquisition method,
the method comprises the steps that the container sealing state information of each bin is obtained from the sensor equipment for container sealing inspection and the multifunctional gateway of the Internet of things, which are arranged at each bin;
the box sealing state information comprises bin sealing position data and grain quantity data;
the grain quantity is obtained by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format.
Furthermore, the container grain sealing inspection coding block chain data acquisition method,
the method for generating the box sealing inspection state tracing codes of all bins according to the box sealing inspection identification code compiling rule and the box sealing state information and the state information of the intelligent lock equipment comprises the following steps:
generating fields of all box sealing inspection state tracing codes which are in accordance with the box sealing inspection identification code compiling rules according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
Furthermore, the container sealing inspection coding block chain data acquisition method,
after the box sealing inspection is finished, an intelligent lock is additionally arranged on the container;
the intelligent lock comprises a read-write module, a detection module and a control module, wherein the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
In a second aspect, the present invention provides a container grain sealing inspection code-assigning block chain data acquisition system, including:
sensor equipment for container sealing inspection and an internet of things multifunctional gateway which are arranged at each bin,
the cloud platform is connected with the chain link points of each coding block respectively;
the cloud platform acquires the packing state information of each bin from the multifunctional gateway of the Internet of things;
the cloud platform acquires state information of the intelligent lock device;
the cloud platform further generates a box sealing detection state tracing code of each bin according to a box sealing detection identification code compiling rule and according to the box sealing state information and the state information of the intelligent lock equipment;
and generating code-assigning block chain data by each code-assigning block chain link point according to the box sealing inspection state tracing code generated by the cloud platform connected with the code-assigning block chain link point, and releasing the code-assigning block chain data.
Furthermore, the container grain sealing inspection coding block chain data acquisition system,
each coding block chain link point generates coding block chain data according to a box sealing test state tracing code generated by a cloud platform connected with the coding block chain link point, and releases the coding block chain data, and the method comprises the following steps:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain.
Furthermore, the container grain sealing inspection coding block chain data acquisition system,
the cloud platform follows the multi-functional gateway of thing networking acquires the joint sealing state information of each position in a storehouse, include:
the box sealing state information comprises bin sealing position data and grain quantity data;
the grain quantity is obtained by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format and sent to the cloud platform.
Further, container grain joint sealing inspection coding block chain data acquisition system, the cloud platform is according to joint sealing inspection identification code establishment rule, according to the state information of joint sealing state information and intelligent lock equipment, generates the joint sealing inspection state of each position and traces back the sign indicating number, includes:
generating fields of all box sealing inspection state tracing codes which are in accordance with the box sealing inspection identification code compiling rules according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
Further, the container sealing inspection coding block chain data acquisition system further comprises:
an intelligent lock;
after the box sealing inspection is finished, an intelligent lock is additionally arranged for each container or each bin;
the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
According to the container sealing inspection coding block chain data acquisition method and system, the container loading weighing equipment and the Internet of things multifunctional gateway are used for acquiring and gathering the sealing position data and the quantity data of different grain varieties, the intelligent locking equipment is integrated, the container grain sealing state information and the state information of the intelligent locking equipment are stored in the block chain in an encrypted mode, the container sealing inspection state data are enriched, and a technical basis is laid for grain tracing.
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 sealing inspection coding block chain data acquisition method according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of the container sealing inspection code-assigning blockchain data acquisition system according to the preferred embodiment of the present invention;
FIG. 3 is a block chain data distribution flow diagram of a container sealing inspection coding block chain data acquisition method according to a preferred embodiment of the present invention;
fig. 4 is a block chain data distribution flow diagram of a container sealing inspection coding block chain data acquisition method according to a preferred 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 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, the method for acquiring data of a container grain sealing inspection coding block chain according to the embodiment of the present invention includes:
step S100: acquiring the sealing state information of each bin from the sensor equipment for container sealing inspection and the Internet of things multifunctional gateway which are arranged at each bin; acquiring state information of intelligent lock equipment;
step S200: according to a box sealing inspection identification code compiling rule, generating box sealing inspection state tracing codes of all bins according to the box sealing state information and the state information of the intelligent lock equipment;
step S300: and (4) for any sealing box inspection state tracing code, generating code-assigning block chain data, and issuing the code-assigning block chain data.
Specifically, the peripheral node which passes verification firstly stores a transaction signature and a public key corresponding to the box sealing inspection state tracing code on a coding block chain; other peripheral nodes download the transaction signature and public key from the chain of coding blocks and save in their local copies.
According to the container grain sealing inspection coding block chain data acquisition method, the container loading weighing device and the internet of things multifunctional gateway are used for acquiring and gathering sealing position data and quantity data of different grain varieties, the intelligent lock device is integrated, the container grain sealing state information and the state information of the state information intelligent lock device of the intelligent lock device are stored in a block chain in an encrypted mode, container sealing inspection state data are enriched, and a technical basis is laid for grain tracing.
Further, the container grain sealing inspection coding block chain data acquisition method of the embodiment includes:
to arbitrary joint sealing inspection state tracking code, generate coding block chain data to issue on coding block chain, include:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain.
Further, in the container grain sealing inspection coding block chain data acquisition method of the embodiment, the sealing state information of each bin is acquired from the sensor equipment for container sealing inspection and the internet of things multifunctional gateway which are arranged at each bin;
the box sealing state information comprises bin sealing position data and grain quantity data;
the grain quantity is obtained by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format.
Further, the method for acquiring data of container grain sealing inspection coding block chains according to the embodiment includes the steps of compiling rules according to sealing inspection identification codes, generating sealing inspection state tracing codes of all bins according to the sealing state information and the state information of the intelligent lock device, and including:
generating fields of all box sealing inspection state tracing codes which are in accordance with the box sealing inspection identification code compiling rules according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
Further, the container sealing inspection coding block chain data acquisition method of the embodiment,
after the box sealing inspection is finished, an intelligent lock is additionally arranged on the container;
the intelligent lock comprises a read-write module, a detection module and a control module, wherein the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
As shown in fig. 2, the system for acquiring data of container grain sealing inspection code-assigning block chains according to the embodiment of the present invention includes:
the sensor equipment 100 for container sealing inspection and the multifunctional gateway 200 of the internet of things which are arranged at each bin,
a cloud platform 300 connected to each coding block link point 400;
the cloud platform 300 acquires the packing state information of each bin from the multifunctional gateway of the internet of things;
the cloud platform acquires state information of the intelligent lock device;
the cloud platform further generates a box sealing detection state tracing code of each bin according to a box sealing detection identification code compiling rule and according to the box sealing state information and the state information of the intelligent lock equipment;
and generating code-assigning block chain data by each code-assigning block chain link point according to the box sealing inspection state tracing code generated by the cloud platform connected with the code-assigning block chain link point, and releasing the code-assigning block chain data.
Specifically, the sensor device 100 for container sealing inspection is arranged with the bin as the minimum unit, and the multifunctional gateway 200 of the internet of things and the sensor device 100 for container sealing inspection may be in a one-to-many or one-to-one relationship. And the cloud platform 300 and the internet of things multifunctional gateway 200 are generally in a one-to-many relationship. The code block chaining node 400 and the cloud platform 300 may be in a one-to-many or one-to-one relationship. The container grain sealing inspection code-assigning block chain data acquisition system of the embodiment can cover grain containers in a larger physical space, such as sealing inspection state tracing tasks of grain containers in a cross-provincial scope.
Further, the container grain sealing inspection coding block chain data acquisition system of the embodiment,
each coding block chain link point generates coding block chain data according to a box sealing test state tracing code generated by a cloud platform connected with the coding block chain link point, and releases the coding block chain data, and the method comprises the following steps:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain.
Further, the container grain sealing inspection coding block chain data acquisition system of the embodiment,
the cloud platform follows the multi-functional gateway of thing networking acquires the joint sealing state information of each position in a storehouse, include:
the box sealing state information comprises bin sealing position data and grain quantity data;
the grain quantity is obtained by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format and sent to the cloud platform.
Further, the container grain sealing inspection coding block chain data acquisition system of the embodiment,
the cloud platform generates a box sealing inspection state tracing code of each bin according to a box sealing inspection identification code compiling rule and according to box sealing state information and state information of intelligent lock equipment, and the method comprises the following steps:
generating fields of all box sealing inspection state tracing codes which are in accordance with the box sealing inspection identification code compiling rules according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
Further, the container sealing inspection coding block chain data acquisition system of this embodiment still includes:
an intelligent lock;
after the box sealing inspection is finished, an intelligent lock is additionally arranged for each container or each bin;
the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
According to the container grain sealing inspection coding block chain data acquisition method and system, the container loading weighing equipment and the internet of things multifunctional gateway are used for acquiring and gathering sealing position data and quantity data of different grain varieties, integrating intelligent locking equipment, and combining the container grain sealing state coding module to extract, encrypt and release sealing state affairs to a block chain.
The container grain sealing inspection code-assigning block chain data acquisition system of a preferred embodiment of the present invention comprises:
1. sensor equipment for sealing container grain
Container grain joint sealing state data includes: grain quantity data, storage location information, grain quality data, and storage environment data.
(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. The grain quantity is mainly based on a weighing sensor, and the grain quantity of each container is remotely and automatically acquired through warehousing weighing and ex-warehouse weighing aiming at the grain crops in the containers.
(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 sealing inspection 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. Container grain joint sealing thing networking multifunctional gateway
The multifunctional gateway for the container grain sealing Internet of things collects and assembles grain quality data, grain quantity data, storage position information and storage environment data 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 sealing inspection state acquisition equipment on the container site through the switchable RS232/485 interface and controls the various sealing inspection state acquisition equipment uniformly.
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 the cloud platform according to the configuration condition of the webservice service program running on the mainboard, and the information is uploaded to the cloud platform through the RJ45 network port through the local area network.
When the cloud platform needs to send data or instructions to the external equipment, the cloud platform only needs to send uniform data or instructions to the gateway; the multifunctional gateway of the internet of things 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, each sealing box inspection state acquisition device). In this way, the cloud platform can communicate with devices of different communication protocols and different data types of different manufacturers in a unified manner, and can perform 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 cloud 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 in 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. Intelligent lock for container
In order to ensure the safe transportation of the grain in the container in the way, an intelligent container lock is additionally arranged after the sealing inspection is finished.
The intelligent lock is independently powered by a battery in the lock body, and the service life of the battery is prolonged by reducing the power consumption of the system. The intelligent lock monitors the battery electric quantity in real time, and if the battery electric quantity is under-voltage, prompt information is displayed.
The intelligent lock comprises a read-write module, supports reading and writing of a non-contact card, detects whether the card approaches every 1s through infrared rays, and starts the read-write module if the card approaches.
The intelligent lock comprises an optical prompting module used for indicating the RFID read-write state, the whole working state and the NB-IoT network state. If the verification is passed, the motor in the lock body is driven to rotate forward and backward to control the opening and closing of the container door.
The intelligent lock comprises a lock state monitoring unit for dynamically monitoring the state of the lock; if judging that the lock is violently unlocked, an alarm program is started.
The intelligent lock comprises an independently arranged GPS/BDS module which is used for acquiring the current geographical position information of the intelligent lock.
The intelligent lock comprises an NB-IoT module and is used for realizing information interaction such as lock state, time stamp and the like between the intelligent lock and the cloud platform.
4. Grain code-giving for box sealing inspection
The following is a specific definition of each field in the box sealing inspection state tracing code. Preferably, the enclosure check state tracking code is a number identified by 256 bits.
a) Box sealing inspection state identification code
English name: graincontiner SealingCode
Short name: GCSC
Defining: unique identifier of container grain in box sealing process
Data type: composite type
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: seal box inspection grain identification code (root code + current code)
Expanding the Babbitt form: GCSC ═ RtTC, PrTC
b) Root code
English name: RootTracingCode
Short name: RtC
Defining: identity information of boxed 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 boxed 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 sealed grain place
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: time for putting in sealed grain goods position
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 taking out of sealed grain cargo 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 boxed 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 container information
English name: PresentContainnerInformation
Short name: PrCI
Defining: current seal information of container 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 container information is social credit code + container number + lead sealing number + container sealing time
Expanding the Babbitt form: PrCI ═ cUCC, ctCd, lSiT, cEnT
k) Container number
English name: condainercode
Short name: ctCd
Defining: current container number in grain circulation process
Data type: character type
Value range: the free text consists of 11 digits of 4-segment codes including an enterprise box owner or operator, a container type, a box registration code and a check code. The standard container number is composed of 11-bit codes and comprises four parts: the 1 st part is composed of 3-digit English letters, which mainly explain a box owner and an operator. Section 2 consists of 1 bit, indicating the type of container. Part 3 consists of a 6 digit number, which is a container registration code, used to uniquely identify the container holder. The part 4 is a check code which is obtained by the operation of a check rule of the first 4-bit letters and 6-bit numbers and is used for identifying whether an error occurs during checking. I.e., the 11 th digit.
And annotating: selecting the necessary items; maximum number of occurrences of 1
l) lead seal number
English name: leader SealinTime
Short name: lSiT
Defining: lead sealing number of sealing box after container loading is finished in grain circulation process
Data type: character type
Value range: composed of 9 digits of Arabic numerals or capital English letters
And annotating: selecting the necessary items; maximum number of occurrences of 1
m) container sealing time
English name: cagoentrytime
Short name: cEnT
Defining: sealing time of grain container
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
n) identification code of basic information of grain in box
English name: grainconnector TracingCode
Short name: GCTC
Defining: unique identifier of container grain in logistics process
Data type: composite type
And annotating: selecting the necessary items; maximum number of occurrences of 1
Sub-elements: the basic information identification code of the grain in the box is the grain property, the service number, the quantity, the variety code, the production place code, the production year and the grade code
Expanding the Babbitt form: GCTC ═ grPrp, qty, kdCd, prdDC, prdYr, clsCd
o) properties of grains
English name: grainProperty
Short name: grPrp
Defining: properties of current case-sealed grain position during bin sealing
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 Grain sealed in central box
20 Local sealed grain
21 Provincial (autonomous region, direct district city, special administrative region) grade local boxed grain
22 City (region, autonomous state, union) grade local box sealing grain
23 County (autonomous county, county-level city, flag, autonomous flag, district of city, forest district, special district) level local boxed grain
30 Grain with minimum purchase price
40 National temporary storage grain
50 Other boxed grain
60 National temporary storage imported grain
70 Other imported grain
80 Commercial grain in middle storage system
p) number of
English name: quality
Short name: qty
Defining: storage quantity of current case-sealed grain cargo space during bin 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
q) Variety code
English name: kidcode
Short name: kndcd
Defining: varieties of current boxed 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 BDA0002353322460000181
Figure BDA0002353322460000191
r) origin code
English name: producingDistrictCode
Short name: prdDC
Defining: the current production place of the boxed grains; and if the current enclosed grain is a mixed grain from different sources to form a goods space, taking the production place, from the source grain to the county, of the grain with the longest grain age.
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; maximum number of occurrences of N
s) year of production
English name: producingYear
Short name: prdYr
Defining: the current production year of the boxed grain; and if the current enclosed grain is a mixed grain from different sources to form a goods space, taking the production year of the grain with the longest grain age in the source grain. 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
t) quality code
English name: classCode
Short name: clsCd
Defining: grade of current case-sealed grain position during bin sealing
Data type: character type
Value range: quality code < < code Table >)
And annotating: selecting the necessary items; maximum number of occurrences of 1
TABLE 3 wheat quality code table
Code Grade Unit of Index (I)
1 ≥720 g/L Volume weight
2 ≥685 g/L Volume weight
3 ≥650 g/L Volume weight
4 ≥620 g/L Volume weight
5 ≥590 g/L Volume weight
6 <590 g/L Volume weight
1 ≤4.0 Imperfect granule
2 ≤6.0 Imperfect granule
3 ≤8.0 Imperfect granule
4 ≤10.0 Imperfect granule
5 ≤15.0 Imperfect granule
6 >15.0 Imperfect granule
1 ≤1.0 Impurities
2 >1.0 Impurities
1 ≤2.0 Mould-producing granule
2 >2.0 Mould-producing granule
1 ≤14.0 Moisture content
2 >14.0 Moisture content
1 Is normal - Smell, color and luster
2 Abnormal state - Smell, color and luster
TABLE 4 corn quality code Table
Figure BDA0002353322460000201
Figure BDA0002353322460000211
TABLE 5 indica rice quality code table
Figure BDA0002353322460000212
Figure BDA0002353322460000221
TABLE 6 japonica rice quality code table
Code Grade Unit of Index (I)
1 ≥81 Roughness output
2 ≥79 Roughness output
3 ≥77 Roughness output
4 ≥75 Roughness output
5 ≥73 Roughness output
6 <73 Roughness output
1 ≥61 Rate of polished rice
2 ≥58 Rate of polished rice
3 ≥55 Rate of polished rice
4 ≥52 Rate of polished rice
5 ≥49 Rate of polished rice
6 <49 Rate of polished rice
1 ≤1.0 Impurities
2 >1.0 Impurities
1 ≤14.5 Moisture content
2 >14.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 7 Soybean quality code Table
Figure BDA0002353322460000222
Figure BDA0002353322460000231
5. Container grain sealing code-assigning transaction block chain issuing, verifying and storing
The cloud platform passes through grain joint sealing thing networking multifunctional gateway, combines container grain joint sealing state coding module, and extraction, encryption, issue joint sealing state affairs to block chain module specifically include:
the cloud platform compresses container grain container sealing codes into transaction summaries through a hash function, so that later operation and transmission are facilitated;
the cloud platform performs signature operation on a user private key and a transaction abstract to obtain a transaction signature; and storing the transaction signature in the storage node;
the cloud platform broadcasts the transaction signature and the public key to all peripheral verification nodes, and the peripheral nodes need to synchronize the state of the block chain by reading the block chain layer;
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 information is stored through the verified node, and meanwhile, the workload of sending the information is matched with corresponding rewards and is recorded with the verification information together according to the terms in the intelligent contract;
after completion, the node broadcasts information to all peripheral verification nodes.
According to the container grain sealing code block chain data acquisition method, various quality sensors and quantity sensors of container sealing inspection states are intelligently integrated based on an inventory identification code principle, manual filling information is combined through a sealing Internet of things multifunctional gateway, a cloud platform automatically acquires, cleans and assembles a sealing state tracing code, and accordingly standardized information of each link of grain circulation is conveniently acquired; the container grain sealing state information and the state information of the intelligent locking device are encrypted and stored in the block chain, the issued transaction is verified, and the whole-process data acquisition and tracing in the container grain logistics process are promoted.
According to the method, the device and the system for acquiring the block chain data of the container grain sealing inspection coding, disclosed by the embodiment of the invention, the position data and the quantity data of the sealing bins of different grain varieties are acquired and gathered through the container loading weighing equipment and the Internet of things multifunctional gateway, the intelligent locking equipment is integrated, and the block chain data of the sealing state affairs are extracted, encrypted and issued by combining the container grain sealing state coding module.
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. The utility model provides a container grain joint sealing inspection coding block chain data acquisition method which characterized in that includes:
acquiring the sealing state information of each bin from the sensor equipment for container sealing inspection and the Internet of things multifunctional gateway which are arranged at each bin; acquiring state information of intelligent lock equipment;
according to a box sealing inspection identification code compiling rule, generating box sealing inspection state tracing codes of all bins according to the box sealing state information and the state information of the intelligent lock equipment;
and (4) for any sealing box inspection state tracing code, generating code-assigning block chain data, and issuing the code-assigning block chain data.
2. The container grain box sealing inspection coding block chain data acquisition method according to claim 1, comprising:
to arbitrary joint sealing inspection state tracking code, generate coding block chain data to issue on coding block chain, include:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain.
3. The container grain box sealing inspection coding block chain data acquisition method according to claim 1,
the method comprises the steps that the container sealing state information of each bin is obtained from the sensor equipment for container sealing inspection and the multifunctional gateway of the Internet of things, which are arranged at each bin;
the box sealing state information comprises bin sealing position data and grain quantity data, wherein the grain quantity is acquired by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format.
4. The container grain box sealing inspection coding block chain data acquisition method according to claim 1,
the method for generating the box sealing inspection state tracing codes of all bins according to the box sealing inspection identification code compiling rule and the box sealing state information and the state information of the intelligent lock equipment comprises the following steps:
generating fields of all box sealing inspection state tracing codes of a box sealing inspection identification code compiling rule according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
5. The container sealing inspection coding block chain data collection method according to claim 1,
after the box sealing inspection is finished, an intelligent lock is additionally arranged on the container;
the intelligent lock comprises a read-write module, a detection module and a control module, wherein the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
6. The utility model provides a container grain joint sealing inspection coding block chain data acquisition system which characterized in that includes:
sensor equipment for container sealing inspection and an internet of things multifunctional gateway which are arranged at each bin,
the cloud platform is connected with the chain link points of each coding block respectively;
the cloud platform acquires the packing state information of each bin from the multifunctional gateway of the Internet of things;
the cloud platform further generates a box sealing detection state tracing code of each bin according to a box sealing detection identification code compiling rule and according to the box sealing state information and the state information of the intelligent lock equipment;
and generating code-assigning block chain data by each code-assigning block chain link point according to the box sealing inspection state tracing code generated by the cloud platform connected with the code-assigning block chain link point, and releasing the code-assigning block chain data.
7. The container grain box sealing inspection code-assigning block chain data collection system of claim 6,
each coding block chain link point generates coding block chain data according to a box sealing test state tracing code generated by a cloud platform connected with the coding block chain link point, and releases the coding block chain data, and the method comprises the following steps:
compressing the box sealing inspection 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 seal inspection state tracing code on the code assigning block chain.
8. The container grain box sealing inspection code-assigning block chain data collection system of claim 6,
the cloud platform follows the multi-functional gateway of thing networking acquires the joint sealing state information of each position in a storehouse, include:
the box sealing state information comprises bin sealing position data and grain quantity data, and the grain quantity is acquired by a weighing sensor;
the multifunctional gateway of the internet of things receives original sealing position data and original quantity data sent by sensor equipment for container sealing inspection 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, original sealing position data and original quantity data sent by the sensor equipment for container sealing inspection are converted into sealing position data and grain quantity data in a preset protocol format and sent to the cloud platform.
9. The container grain box sealing inspection code-assigning block chain data collection system of claim 6,
the cloud platform generates a box sealing inspection state tracing code of each bin according to a box sealing inspection identification code compiling rule and according to box sealing state information and state information of intelligent lock equipment, and the method comprises the following steps:
generating fields of all box sealing inspection state tracing codes which are in accordance with the box sealing inspection identification code compiling rules according to the box sealing state information and the state information of the intelligent lock equipment by taking the container as a unit;
the field of the box sealing inspection state tracing code comprises: a sealing inspection state identification code, a container number, a lead sealing number, container sealing time, cargo space ex-warehouse time, cargo space in-warehouse time, grain properties, a service number, quantity, a variety code, a production place code, a production year and a grade code;
wherein, the container sealing inspection state identification code is a unique identifier of the container grain in the container sealing process;
the lead seal number is the lead seal number of the seal box after the container is filled.
10. The container sealing inspection assigning code block chain data acquisition system of claim 6, further comprising:
an intelligent lock;
after the box sealing inspection is finished, an intelligent lock is additionally arranged for each container or each bin;
the read-write module of the intelligent lock periodically detects whether an access card approaches;
when the forced unlocking is judged, starting an alarm program;
and the NB-IoT module of the intelligent lock sends the state information of the intelligent lock equipment and the timestamp information of the intelligent lock equipment to the cloud platform.
CN202010000798.5A 2020-01-02 2020-01-02 Container grain sealing inspection coding block chain data acquisition method and system Pending CN111080213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010000798.5A CN111080213A (en) 2020-01-02 2020-01-02 Container grain sealing inspection coding block chain data acquisition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010000798.5A CN111080213A (en) 2020-01-02 2020-01-02 Container grain sealing inspection coding block chain data acquisition method and system

Publications (1)

Publication Number Publication Date
CN111080213A true CN111080213A (en) 2020-04-28

Family

ID=70321678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010000798.5A Pending CN111080213A (en) 2020-01-02 2020-01-02 Container grain sealing inspection coding block chain data acquisition method and system

Country Status (1)

Country Link
CN (1) CN111080213A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837077A (en) * 2021-02-25 2021-05-25 中国科学院合肥物质科学研究院 Method and system for tracing health codes of food
CN113231186A (en) * 2021-04-27 2021-08-10 安徽中科晶格技术有限公司 Steel slag grinding production line management system and method
CN113708940A (en) * 2021-10-29 2021-11-26 深圳百纳维科技有限公司 Container lock data processing method, related equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN110232575A (en) * 2019-05-13 2019-09-13 平安科技(深圳)有限公司 A kind of commodity source tracing method and device based on block chain technology
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment 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
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN110232575A (en) * 2019-05-13 2019-09-13 平安科技(深圳)有限公司 A kind of commodity source tracing method and device based on block chain technology
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment 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
CN112837077A (en) * 2021-02-25 2021-05-25 中国科学院合肥物质科学研究院 Method and system for tracing health codes of food
CN113231186A (en) * 2021-04-27 2021-08-10 安徽中科晶格技术有限公司 Steel slag grinding production line management system and method
CN113231186B (en) * 2021-04-27 2022-07-19 安徽中科晶格技术有限公司 Steel slag grinding production line management system and method
CN113708940A (en) * 2021-10-29 2021-11-26 深圳百纳维科技有限公司 Container lock data processing method, related equipment and storage medium

Similar Documents

Publication Publication Date Title
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
CN102187363B (en) The energy or environment credit that carry out self-polymerising material are carried out to the system and method for monetization and transaction
CN111242530A (en) Container grain storage state code-assigning block chain data acquisition equipment and method
Ogwueleka Survey of household waste composition and quantities in Abuja, Nigeria
CN110930260B (en) Block-level full-core full-verification method and device for planting industry insurance mark
CN101556667A (en) Database-monitoring system and data-processing method thereof used for food safety traceability
CN203773637U (en) Intelligent express delivery and deposit integral cabinet
KR20140077006A (en) System and method for inspection imported food based on harmful prediction based
US20090164264A1 (en) Method Of Communicating The Carbon Footprint For A Particular Product To Consumers
Ferguson Aikins et al. Key factors of carbon footprint in the UK food supply chains: a new perspective of life cycle assessment
CN112884103A (en) Medical waste traceability system and method based on Internet of things technology
CN107844923A (en) A kind of ERP management systems and method
CN111915333A (en) Grain and oil production quality control and tracing platform and construction method
Solis-Guzman et al. Ecological footprint assessment of building construction
CN204576583U (en) Management of farm produce markets system
CN110826844A (en) Population nutrition health industry chain quality tracing system based on block chain
CN112232843B (en) Drug supervision system and method based on big data technology
Arnold Energy consumption and environmental impacts associated with cannabis cultivation
CN102855513A (en) Device and system thereof for generating anti-fake and quality data code
AU2016200407B2 (en) Gas meter reading system and meter reading method
CN111626670A (en) Weather modification ammunition tracking and monitoring system based on Internet of things
CN107064120A (en) The control method of carrying type information terminal and carrying type information terminal
CN105389687A (en) Hospital new technology and new project selection service system and operating method
CN114399386A (en) Carbon transaction system based on carbon emission networking monitoring

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