CN109756526A - Chicken cultivation traceability system and method based on block chain technology - Google Patents

Chicken cultivation traceability system and method based on block chain technology Download PDF

Info

Publication number
CN109756526A
CN109756526A CN201711056531.2A CN201711056531A CN109756526A CN 109756526 A CN109756526 A CN 109756526A CN 201711056531 A CN201711056531 A CN 201711056531A CN 109756526 A CN109756526 A CN 109756526A
Authority
CN
China
Prior art keywords
chicken
data
information
communication module
encryption
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
CN201711056531.2A
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.)
Hangzhou Wopu IoT Technology Co Ltd
Original Assignee
Hangzhou Wopu IoT Technology Co Ltd
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 Hangzhou Wopu IoT Technology Co Ltd filed Critical Hangzhou Wopu IoT Technology Co Ltd
Priority to CN201711056531.2A priority Critical patent/CN109756526A/en
Publication of CN109756526A publication Critical patent/CN109756526A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses chicken cultivation traceability systems and method based on block chain technology, the system includes storage server, several child servers corresponding to each farm, for acquiring the breeding environment of chicken, multiple data collection stations of real-time feed intake and amount of exercise, the intercommunication of each child servers, it is mutually backups, avoid loss of data, every chicken all assigns unique identification number, what data collection station obtained corresponds to the breeding environment of the chicken of specific identity number, real-time feed intake and amount of exercise are sent to child servers and by cryptographic calculation in real time with the storage of block chain technology, it automatically generates, it avoids artificially interfering, and it can not be changed after storing, it ensure that the reliability of data.Every chicken transports the final data information before market sale to and stores to storage server, checks so that consumer calls, can obtain all information of the entire breeding process of this chicken.

Description

Chicken cultivation traceability system and method based on block chain technology
Technical field
The present invention relates to a kind of traceability systems, and in particular to a kind of chicken cultivation traceability system and side based on block chain technology Method.Belong to food safety trace back administrative skill field.
Background technique
Chicken cultivation has very long history, as the improvement of people's living standards, quality safety of the people to cultivation chicken Increasingly pay close attention to.Be confined to technology development in the past, in breeding process the monitoring intelligent, information platform of many links also in More original and passively state, it is main or by being manually monitored and information exchange, either information it is comprehensive also It is that reliability is had a greatly reduced quality.
In the growth course of chicken, the breeding environment of chicken, real-time feed intake, mass motion amount etc. will have a direct impact on chicken Meat undoubtedly can be convenient for consumption if consumer is capable of the entire breeding process of the selected chicken of scene understanding when buying chicken Person selects, and from the explanation of sellers' mouth parched and tongue scorched, can also promote the success rate of dealing, but food tracing information is comprehensive Property, accuracy and authenticity be the bottleneck for restricting food safety trace back always.
Block chain technology is very popular in recent years, is a kind of novel decentralization agreement, can safely store digital goods Coin transaction or other data, information can not be forged and be distorted, and can be performed automatically intelligent contract, without any centralization mechanism Audit.Decentralization and by way of going to trust, collective safeguards authentic data library to block chain, and there is decentralization, distribution to deposit Storage, encryption and it the characteristics such as can recall.
Block chain is calculated and is stored using distributed, and there is no the hardware of centralization or management organization, the power of arbitrary node Benefit and obligation be all it is impartial, data block in system is safeguarded jointly by having the node of maintenance function in whole system.Area The basis of block chain is distributed network, and the data generated on each node are broadcast to other nodes by distributed network, other Node is by proof of work come the authenticity of verify data.
If block chain technology is introduced into the monitoring of chicken breeding process, spy can not be distorted using block chain Point, so that the reliability of traceability system greatly promotes.
Summary of the invention
The purpose of the present invention is to overcome above-mentioned the deficiencies in the prior art, provide a kind of chicken cultivation based on block chain technology Traceability system.
The present invention also provides a kind of corresponding chicken cultivation retroactive methods based on block chain technology of above system.
To achieve the above object, the present invention adopts the following technical solutions:
Chicken based on block chain technology cultivates traceability system, it includes:
Storage server;
Corresponding to several child servers of each farm, they are communicated with storage server, and each child servers include the One communication module, first processor, the arithmetic unit for executing computations and the memory using block chain technology, the first processing Device is communicated with first communication module, arithmetic unit and memory respectively, the intercommunication of each first communication module;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations of amount of exercise, they and every tool There is the chicken of identification number to correspond and be fixed on chicken leg, the child servers of each data collection station and place farm are logical Letter.
One of as a preferred technical scheme, the data collection station includes second communication module, second processor, defends Star positioning device, camera and acceleration transducer, second communication module are communicated with the first communication module of place farm, are defended Star positioning device, camera, acceleration transducer are connect with second processor respectively, and second processor and second communication module connect It connects.
One of as a preferred technical scheme, the data collection station further include record this chicken identification number and The RFID chip of place farm information.
As further preferred one of technical solution, the RFID chip records the tag identity letter assigned in advance It ceases (ID), which has uniqueness, i.e., the only unique corresponding ID of each label.
One of as a preferred technical scheme, the data collection station also has fixed device and self-desttruction equipment, fixed Device is fixedly connected for realizing data collection station and chicken leg, self-desttruction equipment when fixed device is subjected to displacement or is damaged from Dynamic starting in turn results at least one of following result: data acquisition function is lost;And/or the sub-services to place farm Device sends data failure and reminds.
As further preferred one of technical solution, the fixed device is to surround one week close ring of chicken leg, The one side contacted with chicken leg is equipped with elastomer;Second communication module, processor, satellite positioning are embedded in the lateral surface of close ring Device, camera and acceleration transducer.
As one of technical solution still more preferably, the material of the elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will collect Data information be sent to where farm child servers;
(2) first processor transmits the identity information of data information and this chicken that first communication module receives to fortune It calculates device and carries out cryptographic calculation, stored with block chain technology to memory and construct encrypting database;
(3) the received data information of first communication module is sent to arithmetic unit in real time and carries out cryptographic calculation by first processor, more New encrypting database, and this chicken is transported to the final encryption information before market sale and feeds back to storage server storage;
(4) consumer sends inquiry request to storage server using the identity information of this chicken, and storage server calls this The encryption information of chicken is obtained breeding environment, feed intake and the amount of exercise information of this chicken by inverse operation, then counts these It is believed that breath feeds back to consumer.
One of as a preferred technical scheme, the specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device It sets, camera shoots the feeding situation of chicken, and acceleration transducer real-time data collection is sent to second processor analysis and is somebody's turn to do Breeding environment, feed intake and the amount of exercise information of chicken, are then sent to first communication module by second communication module.
One of as a preferred technical scheme, in step (2), the arithmetic unit includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
As further preferred one of technical solution, arithmetic unit is using SM3 hash algorithm and following a kind of or any more The combinational algorithm of kind of algorithm is encrypted: RC4 algorithm, and/or B-M algorithm, and/or MD5 algorithm, and/or A5 algorithm, And/or SEAL algorithm.
One of as a preferred technical scheme, the construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
One of as a preferred technical scheme, in step (3), corresponding cipher processing method is sent to storage by arithmetic unit Server, storage server carry out inverse operation to the data information after the computations received, and decryption obtains data information.
One of as a preferred technical scheme, the update method of encrypting database is in step (3): arithmetic unit is to the chicken Identification number encrypted, generate identity ciphering information, then by the identity ciphering information and corresponding breeding environment, adopt The common secondary encryption of appetite, amount of exercise information forms encryption information, and is stored with block chain technology to memory updating and encrypt number According to library;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory.
Beneficial effects of the present invention:
1, chicken cultivation traceability system of the invention include storage server, corresponding to each farm several child servers, For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations of amount of exercise, between each child servers It is in communication with each other, is mutually backups, avoid loss of data, every chicken all assigns unique identification number, what data collection station obtained Breeding environment, real-time feed intake and the amount of exercise of chicken corresponding to specific identity number are sent to child servers in real time and pass through Cryptographic calculation is automatically generated with the storage of block chain technology, is avoided artificially interfering, and can not be changed after storing, and ensure that data Reliability.Every chicken transports the final data information before market sale to and stores to storage server, checks so that consumer calls, All information of the entire breeding process of this chicken can be obtained.
2, data collection station includes the identification number for recording this chicken and the RFID chip of place farm information, is disappeared Expense person can be convenient the RFID of the identification number for quickly obtaining the chicken and place farm information by RFID reader Chip, and then relevant information inquiry is carried out by the identification number, and can will be in the farm's information that inquired and RFID chip Farm's information of storage is checked again, further increases the accuracy and reliability of data.
3, data collection station has fixed device and a self-desttruction equipment, and self-desttruction equipment is subjected to displacement or damaged in fixed device Self-destruction is realized in Shi Zidong starting, avoids faking.
Detailed description of the invention
Fig. 1 is structural schematic diagram of the invention;
Fig. 2 is the structural schematic diagram of child servers;
Fig. 3 is the structural schematic diagram of data collection station;
Wherein, 1 is storage server, and 2 be child servers, and 21 be first communication module, and 22 be first processor, and 23 be operation Device, 24 be memory, and 3 be data collection station, and 31 be second communication module, and 32 be second processor, and 33 fill for satellite positioning It sets, 34 be camera, and 35 be acceleration transducer.
Specific embodiment
The present invention will be further elaborated with reference to the accompanying drawings and examples, it should which explanation, following the description is only It is not to be defined to its content to explain the present invention.
Embodiment 1:
As shown in Figures 1 to 3, the chicken based on block chain technology cultivates traceability system, it includes:
Storage server 1;
Corresponding to several child servers 2 of each farm, they are communicated with storage server 1, and each child servers 2 include First communication module 21, first processor 22, the arithmetic unit 23 for executing computations and the memory using block chain technology 24, first processor 22 is communicated with first communication module 21, arithmetic unit 23 and memory 24 respectively, each first communication module 21 Intercommunication;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations 3 of amount of exercise, they and every tool There is the chicken of identification number to correspond and is fixed on chicken leg, the child servers 2 of each data collection station 3 and place farm Communication.
Wherein, data collection station 3 includes second communication module 31, second processor 32, satellite positioning device 33, camera shooting Head and acceleration transducer, second communication module are communicated with the first communication module of place farm, satellite positioning device, camera shooting First 34, acceleration transducer 35 is connect with second processor 32 respectively, and second processor 32 is connect with second communication module 31.
Data collection station 3 further includes the identification number for recording this chicken and the RFID chip of place farm information. RFID chip records the tag identity information (ID) assigned in advance, which has uniqueness, i.e., each label is only unique Corresponding ID.
Data collection station 3 also with fixed device and self-desttruction equipment, fixed device for realizing data collection station with Chicken leg is fixedly connected, and when fixed device is subjected to displacement or is damaged, starting in turn results in following result self-desttruction equipment automatically At least one: data acquisition function is lost;And/or data failure is sent to the child servers 2 of place farm and is reminded.Fixed dress It is set to around one week close ring of chicken leg, the one side contacted with chicken leg is equipped with elastomer;It is embedding in the lateral surface of close ring If second communication module, processor, satellite positioning device, camera and acceleration transducer.The material of elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station 3 acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will acquisition To data information be sent to where farm child servers 2;
(2) first processor 22 transmits the identity information of data information and this chicken that first communication module 21 receives Cryptographic calculation is carried out to arithmetic unit 23, is stored with block chain technology to memory 24 and constructs encrypting database;
(3) the received data information of first communication module 21 is sent to arithmetic unit 23 in real time and carries out encryption fortune by first processor 22 It calculates, updates encrypting database, and this chicken is transported to the final encryption information before market sale feed back to storage server 1 and deposit Storage;
(4) consumer sends inquiry request to storage server 1 using the identity information of this chicken, and storage server 1 is called should The encryption information of chicken, breeding environment, feed intake and the amount of exercise information of this chicken is obtained by inverse operation, then by these Data information feeds back to consumer.
The specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device 33, and camera 34 shoots adopting for chicken Eat situation, 35 real-time data collection of acceleration transducer, be sent to second processor 32 analysis obtain this chicken breeding environment, Then feed intake and amount of exercise information are sent to first communication module 21 by second communication module 31.
In step (2), arithmetic unit 23 includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
Arithmetic unit 23 is encrypted using SM3 hash algorithm and the combinational algorithm of RC4 algorithm.
The construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
In step (3), corresponding cipher processing method is sent to storage server 1 by arithmetic unit 23, and storage server 1 is right Data information after the computations received carries out inverse operation, and decryption obtains data information.
The update method of encrypting database is in step (3): arithmetic unit 23 encrypts the identification number of the chicken, raw At identity ciphering information, then by the identity ciphering information and corresponding breeding environment, feed intake, amount of exercise information common two Secondary encryption forms encryption information, and is stored with block chain technology to memory 24 and update encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned by treated the encryption information random division of arithmetic unit 23 at several data blocks One sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory 24.
Embodiment 2:
As shown in Figures 1 to 3, the chicken based on block chain technology cultivates traceability system, it includes:
Storage server 1;
Corresponding to several child servers 2 of each farm, they are communicated with storage server 1, and each child servers 2 include First communication module 21, first processor 22, the arithmetic unit 23 for executing computations and the memory using block chain technology 24, first processor 22 is communicated with first communication module 21, arithmetic unit 23 and memory 24 respectively, each first communication module 21 Intercommunication;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations 3 of amount of exercise, they and every tool There is the chicken of identification number to correspond and is fixed on chicken leg, the child servers 2 of each data collection station 3 and place farm Communication.
Wherein, data collection station 3 includes second communication module 31, second processor 32, satellite positioning device 33, camera shooting Head and acceleration transducer, second communication module are communicated with the first communication module of place farm, satellite positioning device, camera shooting First 34, acceleration transducer 35 is connect with second processor 32 respectively, and second processor 32 is connect with second communication module 31.
Data collection station 3 further includes the identification number for recording this chicken and the RFID chip of place farm information. RFID chip records the tag identity information (ID) assigned in advance, which has uniqueness, i.e., each label is only unique Corresponding ID.
Data collection station 3 also with fixed device and self-desttruction equipment, fixed device for realizing data collection station with Chicken leg is fixedly connected, and when fixed device is subjected to displacement or is damaged, starting in turn results in following result self-desttruction equipment automatically At least one: data acquisition function is lost;And/or data failure is sent to the child servers 2 of place farm and is reminded.Fixed dress It is set to around one week close ring of chicken leg, the one side contacted with chicken leg is equipped with elastomer;It is embedding in the lateral surface of close ring If second communication module, processor, satellite positioning device, camera and acceleration transducer.The material of elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station 3 acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will acquisition To data information be sent to where farm child servers 2;
(2) first processor 22 transmits the identity information of data information and this chicken that first communication module 21 receives Cryptographic calculation is carried out to arithmetic unit 23, is stored with block chain technology to memory 24 and constructs encrypting database;
(3) the received data information of first communication module 21 is sent to arithmetic unit 23 in real time and carries out encryption fortune by first processor 22 It calculates, updates encrypting database, and this chicken is transported to the final encryption information before market sale feed back to storage server 1 and deposit Storage;
(4) consumer sends inquiry request to storage server 1 using the identity information of this chicken, and storage server 1 is called should The encryption information of chicken, breeding environment, feed intake and the amount of exercise information of this chicken is obtained by inverse operation, then by these Data information feeds back to consumer.
The specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device 33, and camera 34 shoots adopting for chicken Eat situation, 35 real-time data collection of acceleration transducer, be sent to second processor 32 analysis obtain this chicken breeding environment, Then feed intake and amount of exercise information are sent to first communication module 21 by second communication module 31.
In step (2), arithmetic unit 23 includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
Arithmetic unit 23 is encrypted using SM3 hash algorithm and the combinational algorithm of B-M algorithm.
The construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
In step (3), corresponding cipher processing method is sent to storage server 1 by arithmetic unit 23, and storage server 1 is right Data information after the computations received carries out inverse operation, and decryption obtains data information.
The update method of encrypting database is in step (3): arithmetic unit 23 encrypts the identification number of the chicken, raw At identity ciphering information, then by the identity ciphering information and corresponding breeding environment, feed intake, amount of exercise information common two Secondary encryption forms encryption information, and is stored with block chain technology to memory 24 and update encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned by treated the encryption information random division of arithmetic unit 23 at several data blocks One sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory 24.
Embodiment 3:
As shown in Figures 1 to 3, the chicken based on block chain technology cultivates traceability system, it includes:
Storage server 1;
Corresponding to several child servers 2 of each farm, they are communicated with storage server 1, and each child servers 2 include First communication module 21, first processor 22, the arithmetic unit 23 for executing computations and the memory using block chain technology 24, first processor 22 is communicated with first communication module 21, arithmetic unit 23 and memory 24 respectively, each first communication module 21 Intercommunication;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations 3 of amount of exercise, they and every tool There is the chicken of identification number to correspond and is fixed on chicken leg, the child servers 2 of each data collection station 3 and place farm Communication.
Wherein, data collection station 3 includes second communication module 31, second processor 32, satellite positioning device 33, camera shooting Head and acceleration transducer, second communication module are communicated with the first communication module of place farm, satellite positioning device, camera shooting First 34, acceleration transducer 35 is connect with second processor 32 respectively, and second processor 32 is connect with second communication module 31.
Data collection station 3 further includes the identification number for recording this chicken and the RFID chip of place farm information. RFID chip records the tag identity information (ID) assigned in advance, which has uniqueness, i.e., each label is only unique Corresponding ID.
Data collection station 3 also with fixed device and self-desttruction equipment, fixed device for realizing data collection station with Chicken leg is fixedly connected, and when fixed device is subjected to displacement or is damaged, starting in turn results in following result self-desttruction equipment automatically At least one: data acquisition function is lost;And/or data failure is sent to the child servers 2 of place farm and is reminded.Fixed dress It is set to around one week close ring of chicken leg, the one side contacted with chicken leg is equipped with elastomer;It is embedding in the lateral surface of close ring If second communication module, processor, satellite positioning device, camera and acceleration transducer.The material of elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station 3 acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will acquisition To data information be sent to where farm child servers 2;
(2) first processor 22 transmits the identity information of data information and this chicken that first communication module 21 receives Cryptographic calculation is carried out to arithmetic unit 23, is stored with block chain technology to memory 24 and constructs encrypting database;
(3) the received data information of first communication module 21 is sent to arithmetic unit 23 in real time and carries out encryption fortune by first processor 22 It calculates, updates encrypting database, and this chicken is transported to the final encryption information before market sale feed back to storage server 1 and deposit Storage;
(4) consumer sends inquiry request to storage server 1 using the identity information of this chicken, and storage server 1 is called should The encryption information of chicken, breeding environment, feed intake and the amount of exercise information of this chicken is obtained by inverse operation, then by these Data information feeds back to consumer.
The specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device 33, and camera 34 shoots adopting for chicken Eat situation, 35 real-time data collection of acceleration transducer, be sent to second processor 32 analysis obtain this chicken breeding environment, Then feed intake and amount of exercise information are sent to first communication module 21 by second communication module 31.
In step (2), arithmetic unit 23 includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
Arithmetic unit 23 is encrypted using SM3 hash algorithm and the combinational algorithm of RC4 algorithm, B-M algorithm.
The construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
In step (3), corresponding cipher processing method is sent to storage server 1 by arithmetic unit 23, and storage server 1 is right Data information after the computations received carries out inverse operation, and decryption obtains data information.
The update method of encrypting database is in step (3): arithmetic unit 23 encrypts the identification number of the chicken, raw At identity ciphering information, then by the identity ciphering information and corresponding breeding environment, feed intake, amount of exercise information common two Secondary encryption forms encryption information, and is stored with block chain technology to memory 24 and update encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned by treated the encryption information random division of arithmetic unit 23 at several data blocks One sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory 24.
Embodiment 4:
As shown in Figures 1 to 3, the chicken based on block chain technology cultivates traceability system, it includes:
Storage server 1;
Corresponding to several child servers 2 of each farm, they are communicated with storage server 1, and each child servers 2 include First communication module 21, first processor 22, the arithmetic unit 23 for executing computations and the memory using block chain technology 24, first processor 22 is communicated with first communication module 21, arithmetic unit 23 and memory 24 respectively, each first communication module 21 Intercommunication;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations 3 of amount of exercise, they and every tool There is the chicken of identification number to correspond and is fixed on chicken leg, the child servers 2 of each data collection station 3 and place farm Communication.
Wherein, data collection station 3 includes second communication module 31, second processor 32, satellite positioning device 33, camera shooting Head and acceleration transducer, second communication module are communicated with the first communication module of place farm, satellite positioning device, camera shooting First 34, acceleration transducer 35 is connect with second processor 32 respectively, and second processor 32 is connect with second communication module 31.
Data collection station 3 further includes the identification number for recording this chicken and the RFID chip of place farm information. RFID chip records the tag identity information (ID) assigned in advance, which has uniqueness, i.e., each label is only unique Corresponding ID.
Data collection station 3 also with fixed device and self-desttruction equipment, fixed device for realizing data collection station with Chicken leg is fixedly connected, and when fixed device is subjected to displacement or is damaged, starting in turn results in following result self-desttruction equipment automatically At least one: data acquisition function is lost;And/or data failure is sent to the child servers 2 of place farm and is reminded.Fixed dress It is set to around one week close ring of chicken leg, the one side contacted with chicken leg is equipped with elastomer;It is embedding in the lateral surface of close ring If second communication module, processor, satellite positioning device, camera and acceleration transducer.The material of elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station 3 acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will acquisition To data information be sent to where farm child servers 2;
(2) first processor 22 transmits the identity information of data information and this chicken that first communication module 21 receives Cryptographic calculation is carried out to arithmetic unit 23, is stored with block chain technology to memory 24 and constructs encrypting database;
(3) the received data information of first communication module 21 is sent to arithmetic unit 23 in real time and carries out encryption fortune by first processor 22 It calculates, updates encrypting database, and this chicken is transported to the final encryption information before market sale feed back to storage server 1 and deposit Storage;
(4) consumer sends inquiry request to storage server 1 using the identity information of this chicken, and storage server 1 is called should The encryption information of chicken, breeding environment, feed intake and the amount of exercise information of this chicken is obtained by inverse operation, then by these Data information feeds back to consumer.
The specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device 33, and camera 34 shoots adopting for chicken Eat situation, 35 real-time data collection of acceleration transducer, be sent to second processor 32 analysis obtain this chicken breeding environment, Then feed intake and amount of exercise information are sent to first communication module 21 by second communication module 31.
In step (2), arithmetic unit 23 includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
Arithmetic unit 23 is encrypted using SM3 hash algorithm and the combinational algorithm of MD5 algorithm, A5 algorithm.
The construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
In step (3), corresponding cipher processing method is sent to storage server 1 by arithmetic unit 23, and storage server 1 is right Data information after the computations received carries out inverse operation, and decryption obtains data information.
The update method of encrypting database is in step (3): arithmetic unit 23 encrypts the identification number of the chicken, raw At identity ciphering information, then by the identity ciphering information and corresponding breeding environment, feed intake, amount of exercise information common two Secondary encryption forms encryption information, and is stored with block chain technology to memory 24 and update encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned by treated the encryption information random division of arithmetic unit 23 at several data blocks One sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory 24.
Embodiment 5:
As shown in Figures 1 to 3, the chicken based on block chain technology cultivates traceability system, it includes:
Storage server 1;
Corresponding to several child servers 2 of each farm, they are communicated with storage server 1, and each child servers 2 include First communication module 21, first processor 22, the arithmetic unit 23 for executing computations and the memory using block chain technology 24, first processor 22 is communicated with first communication module 21, arithmetic unit 23 and memory 24 respectively, each first communication module 21 Intercommunication;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations 3 of amount of exercise, they and every tool There is the chicken of identification number to correspond and is fixed on chicken leg, the child servers 2 of each data collection station 3 and place farm Communication.
Wherein, data collection station 3 includes second communication module 31, second processor 32, satellite positioning device 33, camera shooting Head and acceleration transducer, second communication module are communicated with the first communication module of place farm, satellite positioning device, camera shooting First 34, acceleration transducer 35 is connect with second processor 32 respectively, and second processor 32 is connect with second communication module 31.
Data collection station 3 further includes the identification number for recording this chicken and the RFID chip of place farm information. RFID chip records the tag identity information (ID) assigned in advance, which has uniqueness, i.e., each label is only unique Corresponding ID.
Data collection station 3 also with fixed device and self-desttruction equipment, fixed device for realizing data collection station with Chicken leg is fixedly connected, and when fixed device is subjected to displacement or is damaged, starting in turn results in following result self-desttruction equipment automatically At least one: data acquisition function is lost;And/or data failure is sent to the child servers 2 of place farm and is reminded.Fixed dress It is set to around one week close ring of chicken leg, the one side contacted with chicken leg is equipped with elastomer;It is embedding in the lateral surface of close ring If second communication module, processor, satellite positioning device, camera and acceleration transducer.The material of elastomer is rubber.
The corresponding chicken based on block chain technology of above system cultivates retroactive method, comprising steps of
(1) each data collection station 3 acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will acquisition To data information be sent to where farm child servers 2;
(2) first processor 22 transmits the identity information of data information and this chicken that first communication module 21 receives Cryptographic calculation is carried out to arithmetic unit 23, is stored with block chain technology to memory 24 and constructs encrypting database;
(3) the received data information of first communication module 21 is sent to arithmetic unit 23 in real time and carries out encryption fortune by first processor 22 It calculates, updates encrypting database, and this chicken is transported to the final encryption information before market sale feed back to storage server 1 and deposit Storage;
(4) consumer sends inquiry request to storage server 1 using the identity information of this chicken, and storage server 1 is called should The encryption information of chicken, breeding environment, feed intake and the amount of exercise information of this chicken is obtained by inverse operation, then by these Data information feeds back to consumer.
The specific method of step (1) is: the position of the real-time Localization of Chicken of satellite positioning device 33, and camera 34 shoots adopting for chicken Eat situation, 35 real-time data collection of acceleration transducer, be sent to second processor 32 analysis obtain this chicken breeding environment, Then feed intake and amount of exercise information are sent to first communication module 21 by second communication module 31.
In step (2), arithmetic unit 23 includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
Arithmetic unit 23 is carried out at encryption using SM3 hash algorithm and the combinational algorithm of MD5 algorithm, A5 algorithm, SEAL algorithm Reason.
The construction method of encrypting database is as follows in step (2):
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
In step (3), corresponding cipher processing method is sent to storage server 1 by arithmetic unit 23, and storage server 1 is right Data information after the computations received carries out inverse operation, and decryption obtains data information.
The update method of encrypting database is in step (3): arithmetic unit 23 encrypts the identification number of the chicken, raw At identity ciphering information, then by the identity ciphering information and corresponding breeding environment, feed intake, amount of exercise information common two Secondary encryption forms encryption information, and is stored with block chain technology to memory 24 and update encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned by treated the encryption information random division of arithmetic unit 23 at several data blocks One sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory 24.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, based on the technical solutions of the present invention, those skilled in the art are not needed to make the creative labor and can be done Various modifications or changes out are still within protection scope of the present invention.

Claims (10)

1. the chicken based on block chain technology cultivates traceability system, which is characterized in that it includes:
Storage server;
Corresponding to several child servers of each farm, they are communicated with storage server, and each child servers include the One communication module, first processor, the arithmetic unit for executing computations and the memory using block chain technology, the first processing Device is communicated with first communication module, arithmetic unit and memory respectively, the intercommunication of each first communication module;And
For acquiring the breeding environment of chicken, real-time feed intake and multiple data collection stations of amount of exercise, they and every tool There is the chicken of identification number to correspond and be fixed on chicken leg, the child servers of each data collection station and place farm are logical Letter.
2. chicken according to claim 1 cultivates traceability system, which is characterized in that the data collection station includes second logical Believe module, second processor, satellite positioning device, camera and acceleration transducer, second communication module and place farm First communication module communication, satellite positioning device, camera, acceleration transducer connect with second processor respectively, second Processor is connect with second communication module.
3. chicken according to claim 1 cultivates traceability system, which is characterized in that the data collection station further includes record The identification number of this chicken and the RFID chip of place farm information.
4. chicken according to claim 1 cultivates traceability system, which is characterized in that the data collection station also has fixation Device and self-desttruction equipment, fixed device are fixedly connected for realizing data collection station and chicken leg, and self-desttruction equipment is filled fixed Set to be subjected to displacement or start automatically when damaged and in turn result at least one of following result: data acquisition function is lost;And/or Data failure is sent to the child servers of place farm to remind.
5. the corresponding chicken based on block chain technology of any one of the Claims 1 to 4 kind system cultivates retroactive method, feature It is, comprising steps of
(1) each data collection station acquires breeding environment, feed intake and the amount of exercise of corresponding chicken in real time, and will collect Data information be sent to where farm child servers;
(2) first processor transmits the identity information of data information and this chicken that first communication module receives to fortune It calculates device and carries out cryptographic calculation, stored with block chain technology to memory and construct encrypting database;
(3) the received data information of first communication module is sent to arithmetic unit in real time and carries out cryptographic calculation by first processor, more New encrypting database, and this chicken is transported to the final encryption information before market sale and feeds back to storage server storage;
(4) consumer sends inquiry request to storage server using the identity information of this chicken, and storage server calls this The encryption information of chicken is obtained breeding environment, feed intake and the amount of exercise information of this chicken by inverse operation, then counts these It is believed that breath feeds back to consumer.
6. chicken according to claim 5 cultivates retroactive method, which is characterized in that the specific method of step (1) is: satellite The position of the position real-time Localization of Chicken of device, camera shoot the feeding situation of chicken, and acceleration transducer real-time data collection is sent to Second processor analysis obtains breeding environment, feed intake and the amount of exercise information of this chicken, then passes through second communication module It is sent to first communication module.
7. chicken according to claim 5 cultivates retroactive method, which is characterized in that in step (2), the arithmetic unit includes:
Data encryption processing unit is used to that the data of transmission to be encrypted;
Data compression process unit is used to carry out compression processing to the data of transmission;And
Data transmission and processing unit is used for the data of transmission using request/response protocol.
8. chicken according to claim 5 cultivates retroactive method, which is characterized in that the building of encrypting database in step (2) Method is as follows:
(21) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(22) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(23) all encrypted data chunks are packed into encryption data, and stored to memory.
9. chicken according to claim 5 cultivates retroactive method, which is characterized in that in step (3), arithmetic unit will add accordingly Close processing method is sent to storage server, and storage server is counter to the data information after the computations received to be transported It calculates, decryption obtains data information.
10. chicken according to claim 5 cultivates retroactive method, which is characterized in that the update of encrypting database in step (3) Method is: arithmetic unit encrypts the identification number of the chicken, identity ciphering information is generated, then by the identity ciphering information And the common secondary encryption of corresponding breeding environment, feed intake, amount of exercise information forms encryption information, and is deposited with block chain technology It stores up to memory updating encrypting database;The specific method is as follows:
(31) encryption key is randomly generated, and the encryption key is generated into one group of sub-key according to setting rule;
(32) each data block is randomly assigned one at several data blocks by arithmetic unit treated encryption information random division A sub-key carries out crypto-binding, obtains several encrypted data chunks;
(33) all encrypted data chunks are packed into encryption data, and stored to memory.
CN201711056531.2A 2017-11-01 2017-11-01 Chicken cultivation traceability system and method based on block chain technology Pending CN109756526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711056531.2A CN109756526A (en) 2017-11-01 2017-11-01 Chicken cultivation traceability system and method based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711056531.2A CN109756526A (en) 2017-11-01 2017-11-01 Chicken cultivation traceability system and method based on block chain technology

Publications (1)

Publication Number Publication Date
CN109756526A true CN109756526A (en) 2019-05-14

Family

ID=66397671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711056531.2A Pending CN109756526A (en) 2017-11-01 2017-11-01 Chicken cultivation traceability system and method based on block chain technology

Country Status (1)

Country Link
CN (1) CN109756526A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443622A (en) * 2019-07-19 2019-11-12 阿里巴巴集团控股有限公司 Data processing method, device and system based on block chain
CN111838013A (en) * 2020-07-31 2020-10-30 四川生态诚品农业开发有限公司 Mountain-runner chicken breeding system based on block chain
CN111882014A (en) * 2020-07-31 2020-11-03 四川生态诚品农业开发有限公司 Chicken product remote transaction system based on Internet of things
CN113450184A (en) * 2021-06-18 2021-09-28 广东轻工职业技术学院 Block chain livestock breeding information source tracing direct marketing system and marketing method thereof
CN114445092A (en) * 2022-01-26 2022-05-06 黑龙江邮政易通信息网络有限责任公司 Agricultural product traceability system based on block chain technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018420A (en) * 2004-06-30 2006-01-19 Natl Fedelation Of Agricult Coop Assoc Traceability system for egg
CN101840538A (en) * 2010-03-31 2010-09-22 华南理工大学 Aquatic product supply chain traceability system based on RFID and bar code technology and method thereof
WO2013134927A1 (en) * 2012-03-13 2013-09-19 华为终端有限公司 Transport layer security-based key delivery method, smart meter reading terminal and server
CN106022792A (en) * 2016-05-11 2016-10-12 邓迪 Block-chain-based food security tracing method and system
CN106204061A (en) * 2016-06-30 2016-12-07 滁州学院 A kind of organic domestic animal grow, butchers, distribution process monitoring and can system for tracing and managing
CN107122985A (en) * 2017-05-09 2017-09-01 广东工业大学 A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain
CN207283606U (en) * 2017-11-01 2018-04-27 杭州沃朴物联科技有限公司 Chicken cultivation traceability system based on block chain technology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018420A (en) * 2004-06-30 2006-01-19 Natl Fedelation Of Agricult Coop Assoc Traceability system for egg
CN101840538A (en) * 2010-03-31 2010-09-22 华南理工大学 Aquatic product supply chain traceability system based on RFID and bar code technology and method thereof
WO2013134927A1 (en) * 2012-03-13 2013-09-19 华为终端有限公司 Transport layer security-based key delivery method, smart meter reading terminal and server
CN106022792A (en) * 2016-05-11 2016-10-12 邓迪 Block-chain-based food security tracing method and system
CN106204061A (en) * 2016-06-30 2016-12-07 滁州学院 A kind of organic domestic animal grow, butchers, distribution process monitoring and can system for tracing and managing
CN107122985A (en) * 2017-05-09 2017-09-01 广东工业大学 A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain
CN207283606U (en) * 2017-11-01 2018-04-27 杭州沃朴物联科技有限公司 Chicken cultivation traceability system based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
熊本海;傅润亭;林兆辉;罗清尧;杨亮;潘家荣;: "生猪及其产品从农场到餐桌质量溯源解决方案――以天津市为例" *
陈长喜;许晓华;: "基于物联网的肉鸡可追溯与监管平台设计与应用" *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443622A (en) * 2019-07-19 2019-11-12 阿里巴巴集团控股有限公司 Data processing method, device and system based on block chain
CN110443622B (en) * 2019-07-19 2023-08-04 创新先进技术有限公司 Block chain-based data processing method, device and system
CN111838013A (en) * 2020-07-31 2020-10-30 四川生态诚品农业开发有限公司 Mountain-runner chicken breeding system based on block chain
CN111882014A (en) * 2020-07-31 2020-11-03 四川生态诚品农业开发有限公司 Chicken product remote transaction system based on Internet of things
CN111882014B (en) * 2020-07-31 2022-08-02 四川生态诚品农业开发有限公司 Chicken product remote transaction system based on Internet of things
CN113450184A (en) * 2021-06-18 2021-09-28 广东轻工职业技术学院 Block chain livestock breeding information source tracing direct marketing system and marketing method thereof
CN113450184B (en) * 2021-06-18 2024-09-27 广东轻工职业技术学院 Block chain livestock breeding information tracing direct sale system and sale method thereof
CN114445092A (en) * 2022-01-26 2022-05-06 黑龙江邮政易通信息网络有限责任公司 Agricultural product traceability system based on block chain technology

Similar Documents

Publication Publication Date Title
CN109756526A (en) Chicken cultivation traceability system and method based on block chain technology
CN111914027B (en) Block chain transaction keyword searchable encryption method and system
CN111209334B (en) Power terminal data security management method based on block chain
CN106506440B (en) Method for verifying data integrity
CN108646983A (en) The treating method and apparatus of storage service data on block chain
CN109191003A (en) Fruit and vegetable agricultural product quality safety traceability system based on block chain
CN108769031A (en) The material object of edge calculations service based on block chain deposits card traceability system
CN107682308A (en) The electronic evidence preservation system for Channel Technology of being dived based on block chain
CN107835166A (en) A kind of high value crystal retroactive method and device based on block chain
CN109358177A (en) A kind of soil improvement tracing detection system based on block chain
CN207283606U (en) Chicken cultivation traceability system based on block chain technology
CN113254947B (en) Vehicle data protection method, system, equipment and storage medium
Yang et al. Cloud-based livestock monitoring system using RFID and blockchain technology
JP2021514510A (en) Logistics tracking and source identification methods, application servers, blockchain nodes and media
US11374933B2 (en) Securing digital data transmission in a communication network
CN207472270U (en) Chicken cultivation intelligent monitor system with anti-counterfeiting mark
CN109558742A (en) A kind of effectiveness of information detection method and device based on block chain
CN116318617B (en) Medical rescue material charity donation method based on RFID and blockchain
CN107169777A (en) A kind of system of overlay code anti-counterfeiting method and application this method
CN109191143A (en) food information processing method, device and system
US20220035932A1 (en) System, device and method for securely transferring information from a hardware to a blockchain
Vangala et al. Blockchain-based lightweight authentication protocol for IoT-enabled smart agriculture
CN107659579A (en) Deposit card method, equipment and related deposit system in a kind of scene
CN115936738B (en) Agricultural product tracing method based on meta universe
CN207461173U (en) For the anti-tamper cultivation traceability system that chicken growth is whole

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514