CN112783985A - Seed warehousing and ex-warehouse management method and system based on block chain - Google Patents

Seed warehousing and ex-warehouse management method and system based on block chain Download PDF

Info

Publication number
CN112783985A
CN112783985A CN202110284129.XA CN202110284129A CN112783985A CN 112783985 A CN112783985 A CN 112783985A CN 202110284129 A CN202110284129 A CN 202110284129A CN 112783985 A CN112783985 A CN 112783985A
Authority
CN
China
Prior art keywords
seed
information
germplasm
block chain
node
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
CN202110284129.XA
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.)
Guangxi Zhuang Nationality Autonomous Region Academy of Agricultural Sciences
Original Assignee
Guangxi Zhuang Nationality Autonomous Region Academy of Agricultural Sciences
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 Guangxi Zhuang Nationality Autonomous Region Academy of Agricultural Sciences filed Critical Guangxi Zhuang Nationality Autonomous Region Academy of Agricultural Sciences
Priority to CN202110284129.XA priority Critical patent/CN112783985A/en
Publication of CN112783985A publication Critical patent/CN112783985A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a seed warehousing and ex-warehouse management method and system based on a block chain, wherein the method comprises the following steps: the method comprises the steps of seed storage, germplasm asset transfer, seed warehousing and seed ex-warehousing. One of the systems comprises: the system comprises a seed storage unit node, a germplasm asset transfer unit node, a germplasm library node and a seed use unit node. Wherein another of said systems comprises: the system comprises a seed storage module, a germplasm asset transfer module, a seed storage module, a seed delivery module, a block chain module and a local database module. The invention takes the block chain technology as a support, can fully play the technical advantages of the block chain distributed account book, and has great value for long-term storage of germplasm resources, frequent seed warehousing and ex-warehouse management, avoidance of data information loss, and convenient lookup and access of germplasm resource information.

Description

Seed warehousing and ex-warehouse management method and system based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to a seed in-out library management method and system based on a block chain.
Background
The germplasm bank is a low-temperature storage facility for storing germplasm resources, the stored objects are crop and related wild plant germplasm resources, the resources take seeds as carriers of germplasm, and the seeds can resist low temperature and dry dehydration. The germplasm bank protects and preserves germplasm resources of crops and trees, and has important significance for sustainable development of agriculture and forestry and sustainable development of human beings. However, while the construction of the germplasm bank has great strategic significance, the following problems exist in the traditional germplasm bank resource access and seed management.
1. The traditional germplasm bank resource access and seed management mainly adopts the traditional manual accounting, paper form filling or electronic form input modes, so that the conditions of low efficiency, easy loss of form documents and the like exist, and the scientific research requirements of convenience, high efficiency and zero error are difficult to meet with the development of the times. 2. The germplasm bank cold storage is large in area, low in temperature and complex in resource storage position, seed access personnel are very difficult to find seeds in a low-temperature severe environment, the germplasm resource bank is often insufficient in hands, and in addition, some germplasm resources need to be stored in the long-term bank for more than 30-50 years, the traditional method is difficult to ensure the long-term safe and reliable storage of germplasm resource data information, and the access efficiency of germplasm bank seeds in busy farming is particularly influenced. 3. Most of the germplasm resource libraries and seed companies in China are respectively managed for various reasons, resources are difficult to integrate and share, and many germplasm resource data are still in the form of data islands.
Therefore, a new technology is urgently needed to change the current situation of seed access of the germplasm library.
Disclosure of Invention
In order to overcome the technical problems, the invention provides a seed warehouse entry and exit management method and system based on a block chain, which greatly improve the seed warehouse entry and exit efficiency, save the labor and reduce the cost.
In order to achieve the purpose, the technical scheme of the invention is as follows:
according to one aspect of the invention, a block chain-based seed warehousing and warehousing management method is provided and comprises the following steps:
s1: a seed sending and storing step, in which a sending and storing unit node records seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the sending and storing unit node, and only the sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
and S2, germplasm asset transfer step: according to the key of the transfer unit node, transferring the germplasm assets to the transfer unit node;
s3, a seed warehousing step, in which, a germplasm library node records warehousing information which is only reserved in the block link points of the germplasm library node and only can be read;
s4 seed warehouse-out step: the usage unit node records usage information, which is shared by the delivery unit and the usage unit.
Preferably, the seed stocking step and the germplasm asset transfer step are performed simultaneously.
Preferably, the pairing data of the block chain asset number and the seed is stored in a database of the germplasm database.
Preferably, the transfer unit node may be a transfer and storage unit node or a germplasm library node; the assigned unit node may be a germplasm library node or a use unit node.
According to another aspect of the present invention, there is provided a blockchain-based seed in and out library management system, including:
the system comprises a seed storage unit node, a germplasm asset transfer unit node, a germplasm asset yielding unit node, a germplasm library node and a seed use unit node;
the seed sending and storing unit node is used for recording seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the seed sending and storing unit node, and only the seed sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
the germplasm asset transfer unit node is used for transferring germplasm assets to germplasm asset transfer unit nodes;
the germplasm asset assignor node is used for receiving the germplasm assets assigned by the germplasm asset assignor node;
the germplasm library node is used for recording warehousing information, the warehousing information is only reserved in the block link points of the germplasm library node, and only the germplasm library node can read the warehousing information;
the seed using unit node is used for recording using information, and the using information is shared by the transmitting and storing unit and the using unit.
According to another aspect of the present invention, there is provided a blockchain-based seed in and out library management system, including: the system comprises a seed storage module, a germplasm asset transfer module, a seed storage module, a seed delivery module, a block chain module and a local database module;
the seed sending and storing module is used for storing seed information into the block chain module; meanwhile, the seed storage module obtains the asset number of the block chain according to the seed information and attaches the asset number to a seed package, and the seeds are stored in a germplasm bank;
the germplasm asset transfer module is used for transferring germplasm resources and recording transfer information, and the transfer records are stored in the block chain module;
the seed storage module is used for recording the seed information stored by the seed storage module, and the information is stored in the local database module;
the seed ex-warehouse module is used for recording the extracted information of the seeds, and the extracted information is stored in the local database module;
preferably, the method further comprises the following steps: and the uplink seed query module is used for querying the seed information stored in the block chain module.
Preferably, the seed information includes but is not limited to: block chain asset number, transfer and storage unit seed number, transfer and storage quantity, storage condition and transfer and storage unit wallet.
Preferably, the assignment information includes, but is not limited to: block chain asset number, transfer timestamp, transfer-out wallet address and sponsor information, transfer-in wallet address and sponsor information.
The invention has the beneficial effects that:
the invention takes the block chain technology as a support, can fully play the technical advantages of the block chain distributed account book, and has great value for long-term storage of germplasm resources, frequent seed warehousing and ex-warehouse management, avoidance of data information loss, and convenient lookup and access of germplasm resource information. The account book is separated into two databases, and the data needing to be shared, such as the access amount of the seeds, the time stamps and the like, can not be tampered and recorded on the block chain, wherein the confidential information is recorded in the local database. The defects that the traditional germplasm bank is low in efficiency, the form and the receipt are easy to lose and the like are overcome. Meanwhile, the characteristics of non-tampering and decentralization of the block chain technology are also ensured, the data after chain linking is real and reliable, the data sharing is facilitated, and the problem of data isolated island that the resources are difficult to integrate and share because the germplasm resource library and the seed company are respectively administrative is broken.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of data flow of a block chain-based seed warehousing and warehousing management system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, a blockchain-based seed warehousing management method and system as claimed in the present invention will be described in detail with reference to specific embodiments.
Referring to fig. 1, according to an aspect of the present invention, there is provided a method for managing seed in and out library based on blockchain, including:
s1: a seed sending and storing step, in which a sending and storing unit node records seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the sending and storing unit node, and only the sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
specifically, taking rice seeds as an example, the following table 1 is rice seed information recorded by rice, where the rice seed information includes a delivery and storage unit, a block chain seed asset number (block chain automatic generation), a seed name, a storage condition, a storage period, a minimum storage group unit, and a delivery and storage unit; and according to the above-mentioned rice seed information obtain block chain asset number and attach to the seed package;
TABLE 1 Rice institute seed information
Figure BDA0002979714360000041
And S2, germplasm asset transfer step: according to the key of the transfer unit node, transferring the germplasm assets to the transfer unit node; it should be noted that different blockchain wallet addresses correspond to different keys, as shown in table 2:
TABLE 2 wallet Address and Key
Block chain wallet address Secret key User's hand
ARDOR-VCQQ-TPAA-73LW-93FYU my-proof-of-first-use-using-ardor Zhang San
ARDOR-U9BK-FRCM-ZX2W-H9K4R TMt-^!J3bt*@YT@${9ygUDbw58U<9u_Xj\j6 Wang Wu
S3, a seed warehousing step, in which, a germplasm library node records warehousing information which is only reserved in block link points of the germplasm library node and only can be read, and a table 3 shows information in the germplasm library node;
TABLE 3 information in germplasm pool nodes
Figure BDA0002979714360000042
S4 seed warehouse-out step: the usage unit node records usage information, which is shared by the delivery unit and the usage unit.
Preferably, the seed stocking step and the germplasm asset transfer step are performed simultaneously. It should be noted that, when the germplasm assets are linked, the block chain API is used to generate through the WEB table. Here an HTTP link is used to demonstrate the integrity of the API:
http://localhost:27876/nxt?
requestType=issueAsset&
secretPhrase=my-proof-of-first-use-using-ardor&
chain=2&
name=NKYSDS0001&
description unit, g &
quantityQNT=20000&
decimals=0&
feeNQT=100000000&
The material that must be filled in is the key secreephrase, the asset name, the quantity quantityQNT, and the description. Since we see from the description that the minimum unit is grams, the asset of 20000 units represents 20 kilograms ready to be handed to the germplasm pool. From Table 1, the rice was known to be "super rice 001" of 20 kg.
Preferably, the pairing data of the block chain asset number and the seed is stored in a database of the germplasm database.
Preferably, the transfer unit node may be a transfer and storage unit node or a germplasm library node; the assigned unit node may be a germplasm library node or a use unit node.
When the amount of the same seed to be stored needs to be increased, the following code may be used, and the NKYSDS001 is taken as an example, and the amount of the same seed to be stored is increased by 50 kg.
http://localhost:27876/nxt?
requestType=increaseAssetShares&
chain=2&
asset=8799735895842799277&
quantityQNT=50000&
secretPhrase=my-proof-of-first-use-using-ardor
Referring to fig. 1, according to another aspect of the present invention, there is provided a blockchain-based seed warehousing and warehousing management system, including:
the system comprises a seed storage unit node, a germplasm asset transfer unit node, a germplasm asset yielding unit node, a germplasm library node and a seed use unit node;
the seed sending and storing unit node is used for recording seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the seed sending and storing unit node, and only the seed sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
the germplasm asset transfer unit node is used for transferring germplasm assets to germplasm asset transfer unit nodes;
the germplasm asset assignor node is used for receiving the germplasm assets assigned by the germplasm asset assignor node;
the germplasm library node is used for recording warehousing information, the warehousing information is only reserved in the block link points of the germplasm library node, and only the germplasm library node can read the warehousing information;
the seed using unit node is used for recording using information, and the using information is shared by the transmitting and storing unit and the using unit.
Referring to fig. 1, according to another aspect of the present invention, there is provided a blockchain-based seed warehousing and warehousing management system, including: the system comprises a seed storage module, a germplasm asset transfer module, a seed storage module, a seed delivery module, a block chain module and a local database module;
the seed sending and storing module is used for storing seed information into the block chain module; meanwhile, the seed storage module obtains the asset number of the block chain according to the seed information and attaches the asset number to a seed package, and the seeds are stored in a germplasm bank, wherein the specific codes are as follows:
http://localhost:27876/nxt?
requestType=transferAsset&
secretPhrase=my-proof-of-first-use-using-ardor&
chain=2&
recipient=ARDOR-4XQE-BKHF-S9ES-DM827&
asset=8799735895842799277&
quantityQNT=30000&
feeNQT=100000000
the germplasm asset transfer module is used for transferring germplasm resources and recording transfer information, and the transfer records are stored in the block chain module;
the seed storage module is used for recording the seed information stored by the seed storage module, and the information is stored in the local database module;
the seed ex-warehouse module is used for recording the extracted information of the seeds, and the extracted information is stored in the local database module;
preferably, the method further comprises the following steps: the uplink seed query module is used for querying the seed information stored in the block chain module, and the specific codes are as follows:
http://localhost:27876/nxt?
requestType=getAssetAccounts&
asset=8799735895842799277
the running results are shown in the following code:
Figure BDA0002979714360000061
Figure BDA0002979714360000071
preferably, the seed information includes but is not limited to: block chain asset number, transfer and storage unit seed number, transfer and storage quantity, storage condition and transfer and storage unit wallet.
Preferably, the assignment information includes, but is not limited to: block chain asset number, transfer timestamp, transfer-out wallet address and sponsor information, transfer-in wallet address and sponsor information.
In summary, compared with the prior art, the invention provides a seed in-out library management method and system based on a block chain, which can permanently record the seed access quantity and the timestamp on the block chain and ensure that the seed in-out library can not be tampered by utilizing the characteristic of decentralization of the block chain technology without building and maintaining a relatively expensive centralized database. The defects that the traditional manual accounting is difficult to archive and the files are easy to lose are overcome. When the seed information is shared, the cold chain information which is complete and accurate to gram can be provided, and the defect that other cold chains in the current market can not manage the warehouse-in and warehouse-out and sales quantity in a quantitative mode is overcome. By using the block chain technology, the confidentiality of the seed development stage can be realized, and the intellectual property can be prevented from being stolen.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are given by way of illustration of the principles of the present invention, and that various changes and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (9)

1. A seed warehousing and ex-warehouse management method based on a block chain is characterized by comprising the following steps:
s1: a seed sending and storing step, in which a sending and storing unit node records seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the sending and storing unit node, and only the sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
and S2, germplasm asset transfer step: according to the key of the transfer unit node, transferring the germplasm assets to the transfer unit node;
s3, a seed warehousing step, in which, a germplasm library node records warehousing information which is only reserved in the block link points of the germplasm library node and only can be read;
s4 seed warehouse-out step: the usage unit node records usage information, which is shared by the delivery unit and the usage unit.
2. The blockchain-based seed warehousing and warehousing management method of claim 1, wherein the seed stocking step and the germplasm asset transfer step are performed simultaneously.
3. The blockchain-based seed warehousing and warehousing management method of claim 1, wherein the pairing data of the blockchain asset number and the seed is stored in a database of the germplasm library.
4. The method as claimed in claim 1, wherein the transfer unit node is a transfer unit node or a germplasm pool node; the assigned unit node may be a germplasm library node or a use unit node.
5. A blockchain-based seed in and out library management system, comprising:
the system comprises a seed storage unit node, a germplasm asset transfer unit node, a germplasm asset yielding unit node, a germplasm library node and a seed use unit node;
the seed sending and storing unit node is used for recording seed information, the seed information comprises public information and private information, the public information is stored on all nodes of a block chain, the private information is only reserved in the block chain nodes of the seed sending and storing unit node, and only the seed sending and storing unit node can read the information; acquiring a block chain asset number according to the seed information and attaching the block chain asset number to a seed package;
the germplasm asset transfer unit node is used for transferring germplasm assets to germplasm asset transfer unit nodes;
the germplasm asset assignor node is used for receiving the germplasm assets assigned by the germplasm asset assignor node;
the germplasm library node is used for recording warehousing information, the warehousing information is only reserved in the block link points of the germplasm library node, and only the germplasm library node can read the warehousing information;
the seed using unit node is used for recording using information, and the using information is shared by the transmitting and storing unit and the using unit.
6. A blockchain-based seed in and out library management system, comprising: the system comprises a seed storage module, a germplasm asset transfer module, a seed storage module, a seed delivery module, a block chain module and a local database module;
the seed sending and storing module is used for storing seed information into the block chain module; meanwhile, the seed storage module obtains the asset number of the block chain according to the seed information and attaches the asset number to a seed package, and the seeds are stored in a germplasm bank;
the germplasm asset transfer module is used for transferring germplasm resources and recording transfer information, and the transfer records are stored in the block chain module;
the seed storage module is used for recording the seed information stored by the seed storage module, and the information is stored in the local database module;
and the seed ex-warehouse module is used for recording the extracted information of the seeds, and the extracted information is stored in the local database module.
7. The blockchain-based seed in and out library management system of claim 6, further comprising: and the uplink seed query module is used for querying the seed information stored in the block chain module.
8. The system of claim 6 or 7, wherein the seed information includes but is not limited to: block chain asset number, transfer and storage unit seed number, transfer and storage quantity, storage condition and transfer and storage unit wallet.
9. The system as claimed in claim 6 or 7, wherein the transfer information includes but is not limited to: block chain asset number, transfer timestamp, transfer-out wallet address and sponsor information, transfer-in wallet address and sponsor information.
CN202110284129.XA 2021-03-17 2021-03-17 Seed warehousing and ex-warehouse management method and system based on block chain Pending CN112783985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110284129.XA CN112783985A (en) 2021-03-17 2021-03-17 Seed warehousing and ex-warehouse management method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110284129.XA CN112783985A (en) 2021-03-17 2021-03-17 Seed warehousing and ex-warehouse management method and system based on block chain

Publications (1)

Publication Number Publication Date
CN112783985A true CN112783985A (en) 2021-05-11

Family

ID=75762736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110284129.XA Pending CN112783985A (en) 2021-03-17 2021-03-17 Seed warehousing and ex-warehouse management method and system based on block chain

Country Status (1)

Country Link
CN (1) CN112783985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502962A (en) * 2023-06-29 2023-07-28 乐番农业科技(北京)有限公司 Intelligent management method and system for plant germplasm resources

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502962A (en) * 2023-06-29 2023-07-28 乐番农业科技(北京)有限公司 Intelligent management method and system for plant germplasm resources
CN116502962B (en) * 2023-06-29 2023-11-07 乐番农业科技(北京)有限公司 Intelligent management method and system for plant germplasm resources

Similar Documents

Publication Publication Date Title
TWI692230B (en) Cross-chain data operation method and device based on block chain
TWI705351B (en) A blockchain-based cross-chain data access method and device
EP4155966A1 (en) Blockchain data indexing method, and blockchain data storage method
US8782075B2 (en) Query handling in databases with replicated data
US7051334B1 (en) Distributed extract, transfer, and load (ETL) computer method
US8700581B2 (en) Systems and methods for providing a map of an enterprise system
CN104750681B (en) A kind of processing method and processing device of mass data
US20020143764A1 (en) Data management system and method for intercepting and changing database instructions between a database back end and an application front end
CN103812939B (en) Big data storage system
CN108595664A (en) A kind of agricultural data monitoring method under hadoop environment
CN109918426B (en) Method for building food and medicine supervision data management platform
EP2122514A1 (en) Live entities internet store service
CN107092627A (en) The column-shaped storage of record is represented
CN101963993B (en) Method for fast searching database sheet table record
CN104123388A (en) Massive-sensing-network-data-oriented high-concurrency real-time access system and method
CN112783985A (en) Seed warehousing and ex-warehouse management method and system based on block chain
CN106156319A (en) Telescopic distributed resource description framework data storage method and device
CN100524312C (en) Mass storing and managing method of smart card
CN104217280A (en) Intellectual property information management system
CN100527126C (en) System and method for online analytical processing using dimension attributes and multiple hierarchies per dimension
CN104463665A (en) Method for conducting storage analyzing on general invoice data
CN102567545B (en) Method and system for organizational management on XML documents in XML database system
US8554722B2 (en) Method for transferring data into database systems
US6839716B1 (en) Method and system for building a dataset
JP2003157302A (en) Tree management system

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