CN111507710A - Data query and sharing system - Google Patents

Data query and sharing system Download PDF

Info

Publication number
CN111507710A
CN111507710A CN202010219625.2A CN202010219625A CN111507710A CN 111507710 A CN111507710 A CN 111507710A CN 202010219625 A CN202010219625 A CN 202010219625A CN 111507710 A CN111507710 A CN 111507710A
Authority
CN
China
Prior art keywords
data
information
module
pesticide product
data storage
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
CN202010219625.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.)
Institute For Pesticide Control Ministry Of Agriculture And Rural Areas Secretariat Of Codex Alimentarius Commission On Pesticide Residues
Original Assignee
Institute For Pesticide Control Ministry Of Agriculture And Rural Areas Secretariat Of Codex Alimentarius Commission On Pesticide Residues
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 Institute For Pesticide Control Ministry Of Agriculture And Rural Areas Secretariat Of Codex Alimentarius Commission On Pesticide Residues filed Critical Institute For Pesticide Control Ministry Of Agriculture And Rural Areas Secretariat Of Codex Alimentarius Commission On Pesticide Residues
Priority to CN202010219625.2A priority Critical patent/CN111507710A/en
Publication of CN111507710A publication Critical patent/CN111507710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • G06F21/6227Protecting 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 where protection concerns the structure of data, e.g. records, types, queries
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Manufacturing & Machinery (AREA)
  • Tourism & Hospitality (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data query and sharing system, which comprises a plurality of data acquisition modules, a transmission module, a data storage module, a key management distribution module and a block chain sharing module, wherein the data acquisition modules are connected with the transmission module through a network; each data acquisition module acquires pesticide product data information and original owner identity information of pesticide products and sends the data information and the original owner identity information to the data storage module through the transmission module; the data storage module is used for receiving and storing the pesticide product data information and the original owner identity information of the pesticide product sent by the data acquisition module, and sending the pesticide product data information and the original owner identity information of the pesticide product to the block chain sharing module; the key management distribution module is used for distributing a security key to the data information of each part in the system; the block chain sharing module is used for receiving and sharing pesticide product data information; the problems of data inconsistency and sharing safety in the current data query process are effectively solved.

Description

Data query and sharing system
Technical Field
The invention relates to the field of information processing, in particular to a data query and sharing system.
Background
In recent years, a block chain has been widely applied to the fields of industry, agriculture, transportation, shopping malls, banks, public security and the like, is one of important means for modern management and monitoring, and greatly improves the management efficiency and the automation level. Generally, the sharing and querying system is composed of the following parts: manufacturer, processor, regulatory agency, carrier, retailer, consumer.
With the continuous development of the internet and the development of information technology and network technology, the demand of people for data sharing is becoming stronger and stronger. Under today's global big data environment, people also gradually hope to acquire information of various aspects of society through a data sharing mechanism. For government agencies, belonging to the public sector, the generated data needs to be protected by encryption, and in principle, other sectors and the public can share the data for use. For social enterprises, data and information of the enterprises are very important resources and assets of the whole enterprise, and the enterprises are expected to bring the greatest benefits to the enterprises through a data sharing mechanism. For the general public, data sharing is one of the sources of people for widely acquiring information, and open data sharing can bring data information which is not only transmitted and processed on books. Therefore, data sharing and query sitting are very important. However, in the current query system for pesticide-related products, information of each flow including production, sales, and the like of pesticides is generally simply pushed to an inquirer in an integrated manner, so that a better traceability query can not be formed based on a logical relationship of each flow, and consistency and safety of data in a query sharing process cannot be guaranteed.
Disclosure of Invention
Aiming at various problems in the existing pesticide products and verification, the paper aims to provide more credible and convenient pesticide product sharing and query operation by utilizing important characteristics of decentralization, distrust, non-falsification and the like provided by a block chain technology.
The invention relates to a data query and sharing system, which comprises a plurality of data acquisition modules, a transmission module, a data storage module, a key management distribution module and a block chain sharing module, and is characterized in that:
each data acquisition module in the plurality of data acquisition modules acquires pesticide product data information and original owner identity information of pesticide products;
the transmission module is responsible for transmitting the pesticide product data information and the identity information of the original owner of the pesticide product sent by the data acquisition modules;
the data storage module is used for receiving and storing the pesticide product data information and the identity information of the original owner of the pesticide product sent by the plurality of data acquisition modules and sent by the transmission module, and sending the pesticide product data information and the identity information of the original owner of the pesticide product to the block chain sharing module;
the key management distribution module is used for distributing a security key to data information of each part in the system;
and the block chain sharing module is used for receiving the pesticide product data information and the original owner identity information of the pesticide product sent by the data storage module and sharing the pesticide product data information.
According to the data query and sharing system provided by the invention, each data acquisition module in a plurality of data acquisition modules is used for acquiring the data information of pesticide products and the identity information of original owners of the pesticide products, the data information of each part in the system is distributed with a safety key, and the data information of the pesticide products and the identity information of the original owners of the pesticide products are stored and shared with the data information of the pesticide products, so that the problems that the data types are not uniform due to large data volume and the pesticide products cannot be rapidly and accurately queried in the prior art are solved, and meanwhile, the problems of data inconsistency and sharing safety in the current data query process are effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and 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 these drawings without creative efforts.
FIG. 1 is a block diagram of a data query and sharing system according to the present invention;
FIG. 2 is a flow chart of the operation of the modules of a data query and sharing system according to the present invention;
FIG. 3 is a query document diagram of a data query and sharing system in accordance with the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to FIG. 1, a block diagram of a data query and sharing system according to the present invention is shown;
the system comprises a plurality of data acquisition modules, a transmission module, a data storage module, a key management distribution module and a block chain sharing module, and is characterized in that with reference to the attached figure 2, the invention relates to a work flow chart of each module of the data inquiry and sharing system:
each data acquisition module in the plurality of data acquisition modules acquires pesticide product data information and original owner identity information of pesticide products according to a user query request and finally feeds back a query result to a user;
the transmission module is responsible for transmitting the pesticide product data information and the identity information of the original owner of the pesticide product sent by the data acquisition modules;
the data storage module is used for receiving and storing the pesticide product data information and the identity information of the original owner of the pesticide product sent by the plurality of data acquisition modules and sent by the transmission module, and sending the pesticide product data information and the identity information of the original owner of the pesticide product to the block chain sharing module;
the key management distribution module is used for distributing a security key to data information of each part in the system;
and the block chain sharing module is used for receiving the pesticide product data information and the original owner identity information of the pesticide product sent by the data storage module and sharing the pesticide product data information.
Preferably, each data acquisition module in the plurality of data acquisition modules acquires pesticide product data information and original owner identity information of pesticide products, and the data acquisition module specifically comprises:
each data acquisition module in the plurality of data acquisition modules forms a virtual integrated view by adopting an intermediate packaging assembly and an acquisition processing mechanism of the integrated view;
a user puts forward an acquisition demand for an integrated view, an integrated system must rewrite global acquisition into query of each data source, and then each data source independently processes according to the query demand;
the intermediate packaging assembly receives connection requests from different pesticide product data information and pesticide product original owner identity information at the same time, processes the data in respective newly-established threads, and is connected by using a data storage module configured in a connection pool;
acquiring integrated acquisition content, acquiring a category object and element content under the category object, skipping elements which do not necessarily exist under the category, judging that the designated elements of the category need to exist in the acquisition, and prompting a verification error if the designated elements do not exist;
if the data exists in the specified range, automatically analyzing the acquisition records, and sending out-of-limit error reporting when the recorded data is in the specified range of the category and is not in the specified range;
manually analyzing and collecting records, wherein automatic analysis is specified in the category, manual analysis cannot be performed, the recorded data is required to be within a category specified range, and if the out-of-limit error report is not sent out;
when the query result is fed back to the user and finally the query result is fed back to the user, pushing the query result according to the query document stored in the system;
the data sources include, but are not limited to, manufacturers, processors, regulatory agencies, carriers, retailers, and consumers of pesticide products.
Referring to FIG. 3, a query document graph of a data query and sharing system in accordance with the present invention;
based on application in different links under the block chain technology, the main node role in the production link refers to a manufacturer, firstly, classified identity marks are carried out on pesticide products of different types, product documents are built, and then specified information such as production information, cultivation information, epidemic disease information, selling conditions and the like is input into the system. When the front node carries out transaction operation on the next processor by initiating a transaction request, the system records and automatically authorizes the next node and continues to be responsible for following documents and maintaining product information.
In the processing link, pesticide product information is accessed and maintained through farms and vegetable fields after production processing, and a last transaction number, a current transaction number, a merchant ID, a commodity batch, the transaction quantity and the like are generally and mainly recorded.
The safety of the product needs to be authenticated by a supervision and authentication organization through digital signature in the process of partially inspecting the immune information, and especially, materials such as additives added in some deep processing and extended processing pesticide products need to have exclusive identity marks and product information. In this process, the raw materials are packaged into new-form products through biotransformation, and necessary physical information such as time, material quality and the like is provided.
In the transportation link, the geographical position state of the pesticide product conveyed in real time is controlled through tracking information inquiry systems of logistics companies and suppliers, so that the transportation company needs to supplement information documents to the transportation mode, the transportation environment and a receiver of the pesticide product, and the batched transfer needs to uniformly express the product.
The selling link refers to the final retail of the product through repeated direct selling and distribution, so that in each link, sellers and retailers need to ensure the correctness of the pesticide product information source and input information documents, and the integrity of information in a block chain is ensured by the selling time, the industry price, the quality guarantee period and the like.
In the tracing link, a consumer can look up the product information document by inquiring the tracing website window to the packaging two-dimensional code and the marking information tracing number of the pesticide product so as to know necessary information.
After the user and the retailer carry out transaction, the source tracing on the block chain is carried out by inputting the product transaction number, and because the block structure comprises the hash value of the last block, the information before the last product transaction can be traced back through the hash value, and finally the source of the product can be inquired. Pesticide product traceability data information query documents are subject to data control from six links of manufacturers, processors, supervision agencies, carriers, retailers, consumers and the like. Through the pesticide product traceability information query document, each pesticide product has digital signature and timestamp authentication in different links. And adding product transaction number, type, production date and delivery date containing specified information into the electronic information document. At the time point of logistics transfer, a consumer can input a private key by obtaining an access right, and key information is read and accurately known according to the system ownership right. Meanwhile, more specific information needs to be added to most pesticide products, including the growth environments of pastures, farms and vegetable bases for producing pesticide products, and part of the information needs private information accessed by special authorities, so that the information of the growth environment of the pesticide products which are not tampered can be obtained at the first time when the food safety crisis occurs subsequently.
Preferably, the transmission module is responsible for transmitting the pesticide product data information and the identity information of the original owner of the pesticide product, which are sent by the data acquisition modules, and specifically includes:
the transmission module adopts a parallel mesh transmission mode, and transmits data distributed on the plurality of key management distribution modules by using a plurality of TCP streams;
the transmission module also supports partial file transmission, controls the size of the TCP buffer, and enables the GridFTP to support manual or automatic setting of the TCP buffer size of a large file and a small file set according to the specific size and type of a transmission file;
the user accesses the data storage module, inputs the logical name of the pesticide product data information to be accessed and the original owner identity information of the pesticide product, the data storage module triggers the transmission module to return a physical storage address of the file, then a control channel of the FTP Server where the data storage module and the file are located is established in the transmission module, and a control instruction is transmitted in the two channels and controls the FTP servers at the two ends to perform various operations.
Preferably, the data storage module is used for receiving and storing the pesticide product data information and the original owner identity information of the pesticide product sent by the plurality of data acquisition modules and transmitted by the transmission module, and transmitting the pesticide product data information and the original owner identity information of the pesticide product to the block chain sharing module, and specifically includes:
the pesticide product data information and the original pesticide product owner identity information sent by the data acquisition modules comprise, but are not limited to, pesticide product data information and original pesticide product owner identity information of manufacturers, processors, regulatory agencies, carriers, retailers and consumers of pesticide products;
the data storage module adopts a block chain storage mechanism, a data analysis interface is called to analyze the uploaded pesticide product data information and the original pesticide product owner identity information data according to the table field of the data storage module, then the data storage module is inquired according to the analyzed field, and if the current data exists in the data storage module, the original pesticide product data information and the original pesticide product owner identity information data are spliced with the data storage module to form new data and packaged into a transaction;
if the data does not exist in the data storage module, the data is directly packaged into the transaction, the data storage module sends the transaction to the block chain and obtains the hash value of the transaction, a FP-Growth method is adopted to carry out association rule analysis on the data after the hash value of the transaction is obtained, and finally the hash value is written into a corresponding field of the data corresponding to the transaction of the data storage module.
The association rule analysis of the data after the hash value of the transaction is obtained by adopting the FP-Growth method specifically comprises the steps of setting a minimum support threshold value min _ supp and a minimum credibility threshold value min _ conf, scanning data entities under all environmental dimensions in the clustered environmental data, and independently collecting αiK) are regarded as K independent items,
counting the independent sets and the items to be optimized, and establishing an FP tree by scanning the transaction data set twice, wherein the two times of scanning remove the non-frequent item sets and cover the main information in the data set;
establishing a conditional mode base tree by using a generating method of the FP tree again according to each item of node in the FP tree, and then continuously and circularly calling and mining frequent item sets until the single path is finished;
independent units α obtained by correlation analysisi(i ═ 1, 2.. k) and a data entity to be optimized βijAnd (i 1, 2.. k; j 1, 2.. n), screening out strong association rules according to a frequent item set, combining the data entities to be optimized according to codes to form optimized data entity paths, and finally realizing the optimization of data entity path product query.
Preferably, the key management distribution module is configured to distribute a security key to data information of each part in the system, and specifically includes:
the user inquiry end randomly generates a pair of asymmetric encryption keys: the user inquiry end acquires the public key B of the key management distribution module, encrypts user information and the public key A by using the public key B of the key management distribution module, and then distributes the user information and the public key A to the key management distribution module;
the key management distribution module encrypts the quality data and distributes the quality data to corresponding blocks of the main block chain, the encrypted quality data are distributed to the corresponding blocks of the main block chain, each node has a public key and a private key, the public key is published to all members in the block chain, and the private key is used as a key for verifying identity and information in a transaction process;
after the key management distribution module receives the data, the private key B of the key management distribution module is used for decrypting the data to obtain user information, user hardware information and a public key A;
the pesticide product data information and the pesticide product original owner identity information data in the data storage module are updated or inquired through calling of the keys, one key can call another key to access the state of the pesticide product data information and the pesticide product original owner identity information data under the permission of legal authority, and the calling is irrelevant to a channel where the key is located;
the key management distribution module verifies the user information, and if the user information is illegal, the key management distribution module distributes information to the user inquiry terminal to prompt the user; if the user information is legal, the key management and distribution module searches and confirms the user hardware information in the database;
the method comprises the following steps that a user compiles functions intended to be realized to form an application program and deploys the application program to a Fabric network, a secret key runs in a Docker container, and a mirror image is automatically generated when the secret key is deployed to the network;
and the key management distribution module encrypts a private key by using the mirror image and distributes the private key to the user inquiry end, and the user inquiry end decrypts the data by using the private key A after receiving the data to obtain a private key C, and distributes the private key C to each data source to be stored in the data storage module.
Preferably, the block chain sharing module is configured to receive the pesticide product data information and the pesticide product original owner identity information sent by the data storage module and share the pesticide product data information, and specifically includes:
the pesticide product data information and the original owner identity information of the pesticide product are shared to form a data storage record in a file format;
designing the data storage record to generate a new data storage record in one hour for recording transmission records in one hour, and generating a new data storage record every other hour by taking the integral point of each hour as a starting point, wherein the new data storage record is named by the character string of the integral point of the hour when the new data storage record is generated;
recording a Merck tree root of the data storage record and a timestamp character string when the file is generated at the beginning of the file of the new data storage record, then starting to record user uploading information which is verified by a system within the hour after the new data storage record is generated, and recording data transmission messages which are verified one by one into the file according to a format designed by a recording text;
and selecting file uploading sharing, adding description information to the file, verifying the received signed information, and updating the data passing the verification into the data storage record by the whole network, thereby realizing data sharing.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (6)

1. A data inquiry and sharing system comprises a plurality of data acquisition modules, a transmission module, a data storage module, a key management distribution module and a block chain sharing module, and is characterized in that:
each data acquisition module in the plurality of data acquisition modules acquires pesticide product data information and original owner identity information of pesticide products according to a user query request, and finally feeds back a query result to the user and a query result to the user;
the transmission module is responsible for transmitting the pesticide product data information and the identity information of the original owner of the pesticide product sent by the data acquisition modules;
the data storage module is used for receiving and storing the pesticide product data information and the identity information of the original owner of the pesticide product sent by the plurality of data acquisition modules and sent by the transmission module, and sending the pesticide product data information and the identity information of the original owner of the pesticide product to the block chain sharing module;
the key management distribution module is used for distributing a security key to data information of each part in the system;
and the block chain sharing module is used for receiving the pesticide product data information and the original owner identity information of the pesticide product sent by the data storage module and sharing the pesticide product data information.
2. A data query and sharing system as claimed in claim 1, wherein:
each data acquisition module in the plurality of data acquisition modules acquires pesticide product data information and original owner identity information of pesticide products according to a user query request and finally feeds back a query result to a user, and the method specifically comprises the following steps:
each data acquisition module in the plurality of data acquisition modules forms a virtual integrated view by adopting an intermediate packaging assembly and an acquisition processing mechanism of the integrated view;
a user puts forward an acquisition demand for an integrated view, an integrated system must rewrite global acquisition into query of each data source, and then each data source independently processes according to the query demand;
the intermediate packaging assembly receives connection requests from different pesticide product data information and pesticide product original owner identity information at the same time, processes the data in respective newly-established threads, and is connected by using a data storage module configured in a connection pool;
acquiring integrated acquisition content, acquiring a category object and element content under the category object, skipping elements which do not necessarily exist under the category, judging that the designated elements of the category need to exist in the acquisition, and prompting a verification error if the designated elements do not exist;
if the data exists in the specified range, automatically analyzing the acquisition records, and sending out-of-limit error reporting when the recorded data is in the specified range of the category and is not in the specified range;
manually analyzing and collecting records, wherein automatic analysis is specified in the category, manual analysis cannot be performed, the recorded data is required to be within a category specified range, and if the out-of-limit error report is not sent out;
when the query result is fed back to the user and finally the query result is fed back to the user, pushing the query result according to the query document stored in the system;
the data sources include, but are not limited to, manufacturers, processors, regulatory agencies, carriers, retailers, and consumers of pesticide products.
3. A data query and sharing system as claimed in claim 1, wherein:
the transmission module is responsible for transmitting the pesticide product data information and the original owner identity information of the pesticide product sent by the data acquisition modules, and specifically comprises the following steps:
the transmission module adopts a parallel mesh transmission mode, and transmits data distributed on the plurality of key management distribution modules by using a plurality of TCP streams;
the transmission module also supports partial file transmission, controls the size of the TCP buffer, and enables the GridFTP to support manual or automatic setting of the TCP buffer size of a large file and a small file set according to the specific size and type of a transmission file;
the user accesses the data storage module, inputs the logical name of the pesticide product data information to be accessed and the original owner identity information of the pesticide product, the data storage module triggers the transmission module to return a physical storage address of the file, then a control channel of the FTP Server where the data storage module and the file are located is established in the transmission module, and a control instruction is transmitted in the two channels and controls the FTP servers at the two ends to perform various operations.
4. A data query and sharing system as claimed in claim 1, wherein:
the data storage module is used for receiving and storing the original owner identity information of pesticide product and sending the original owner identity information of pesticide product sent by the plurality of data acquisition modules that the transmission module conveys, and send the original owner identity information of pesticide product and pesticide product to the block chain sharing module, specifically includes:
the pesticide product data information and the original pesticide product owner identity information sent by the data acquisition modules comprise, but are not limited to, pesticide product data information and original pesticide product owner identity information of manufacturers, processors, regulatory agencies, carriers, retailers and consumers of pesticide products;
the data storage module adopts a block chain storage mechanism, a data analysis interface is called to analyze the uploaded pesticide product data information and the original pesticide product owner identity information data according to the table field of the data storage module, then the data storage module is inquired according to the analyzed field, and if the current data exists in the data storage module, the original pesticide product data information and the original pesticide product owner identity information data are spliced with the data storage module to form new data and packaged into a transaction; if the data does not exist in the data storage module, the data is directly packaged into the transaction, the data storage module sends the transaction to the block chain and obtains the hash value of the transaction, a FP-Growth method is adopted to carry out association rule analysis on the data after the hash value of the transaction is obtained, and finally the hash value is written into a corresponding field of the data corresponding to the transaction of the data storage module and returned to the user.
5. A data query and sharing system as claimed in claim 1, wherein:
the key management distribution module is used for distributing a security key to data information of each part in the system, and specifically comprises:
the user inquiry end randomly generates a pair of asymmetric encryption keys: the user inquiry end acquires the public key B of the key management distribution module, encrypts user information and the public key A by using the public key B of the key management distribution module, and then distributes the user information and the public key A to the key management distribution module;
the key management distribution module encrypts the quality data and distributes the quality data to corresponding blocks of the main block chain, the encrypted quality data are distributed to the corresponding blocks of the main block chain, each node has a public key and a private key, the public key is published to all members in the block chain, and the private key is used as a key for verifying identity and information in a transaction process;
after the key management distribution module receives the data, the private key B of the key management distribution module is used for decrypting the data to obtain user information, user hardware information and a public key A;
the pesticide product data information and the pesticide product original owner identity information data in the data storage module are updated or inquired through calling of the keys, one key can call another key to access the state of the pesticide product data information and the pesticide product original owner identity information data under the permission of legal authority, and the calling is irrelevant to a channel where the key is located;
the key management distribution module verifies the user information, and if the user information is illegal, the key management distribution module distributes information to the user inquiry terminal to prompt the user; if the user information is legal, the key management and distribution module searches and confirms the user hardware information in the database;
the method comprises the following steps that a user compiles functions intended to be realized to form an application program and deploys the application program to a Fabric network, a secret key runs in a Docker container, and a mirror image is automatically generated when the secret key is deployed to the network;
and the key management distribution module encrypts a private key by using the mirror image and distributes the private key to the user inquiry end, and the user inquiry end decrypts the data by using the private key A after receiving the data to obtain a private key C, and distributes the private key C to each data source to be stored in the data storage module.
6. A data query and sharing system as claimed in claim 1, wherein:
the block chain sharing module is used for receiving the pesticide product data information and the original owner identity information of the pesticide product sent by the data storage module and sharing the pesticide product data information, and specifically comprises the following steps:
the pesticide product data information and the original owner identity information of the pesticide product are shared to form a data storage record in a file format;
designing the data storage record to generate a new data storage record in one hour for recording transmission records in one hour, and generating a new data storage record every other hour by taking the integral point of each hour as a starting point, wherein the new data storage record is named by the character string of the integral point of the hour when the new data storage record is generated;
recording a Merck tree root of the data storage record and a timestamp character string when the file is generated at the beginning of the file of the new data storage record, then starting to record user uploading information which is verified by a system within the hour after the new data storage record is generated, and recording data transmission messages which are verified one by one into the file according to a format designed by a recording text; and selecting file uploading sharing, adding description information to the file, verifying the received signed information, and updating the data passing the verification into the data storage record by the whole network, thereby realizing data sharing.
CN202010219625.2A 2020-03-25 2020-03-25 Data query and sharing system Pending CN111507710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010219625.2A CN111507710A (en) 2020-03-25 2020-03-25 Data query and sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010219625.2A CN111507710A (en) 2020-03-25 2020-03-25 Data query and sharing system

Publications (1)

Publication Number Publication Date
CN111507710A true CN111507710A (en) 2020-08-07

Family

ID=71878040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010219625.2A Pending CN111507710A (en) 2020-03-25 2020-03-25 Data query and sharing system

Country Status (1)

Country Link
CN (1) CN111507710A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378227A (en) * 2021-06-25 2021-09-10 山东省食品药品检验研究院 Information data resource sharing system and method
CN113626521A (en) * 2021-07-24 2021-11-09 苏州宝凡电子科技有限公司 Block chain data processing system for protecting cloud computing type digital products
WO2022111175A1 (en) * 2020-11-24 2022-06-02 International Business Machines Corporation Key reclamation in blockchain network via oprf

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724321A (en) * 2012-06-21 2012-10-10 中国科学院高能物理研究所 System and method for transmission of mass high-energy physical experimental data
US20170243193A1 (en) * 2016-02-18 2017-08-24 Skuchain, Inc. Hybrid blockchain
CN108600986A (en) * 2018-04-28 2018-09-28 深圳市益鑫智能科技有限公司 A kind of agricultural data acquisition and shared system based on block chain
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724321A (en) * 2012-06-21 2012-10-10 中国科学院高能物理研究所 System and method for transmission of mass high-energy physical experimental data
US20170243193A1 (en) * 2016-02-18 2017-08-24 Skuchain, Inc. Hybrid blockchain
CN108600986A (en) * 2018-04-28 2018-09-28 深圳市益鑫智能科技有限公司 A kind of agricultural data acquisition and shared system based on block chain
CN109191003A (en) * 2018-09-25 2019-01-11 仲恺农业工程学院 Fruits and vegetables agricultural product quality safety traceability system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄桂花: "基于动态连接池的数据集成中间件的研究与实现", 中国优秀硕士学位论文全文数据库信息科技辑 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022111175A1 (en) * 2020-11-24 2022-06-02 International Business Machines Corporation Key reclamation in blockchain network via oprf
GB2615710A (en) * 2020-11-24 2023-08-16 Ibm Key reclamation in blockchain network via OPRF
CN113378227A (en) * 2021-06-25 2021-09-10 山东省食品药品检验研究院 Information data resource sharing system and method
CN113626521A (en) * 2021-07-24 2021-11-09 苏州宝凡电子科技有限公司 Block chain data processing system for protecting cloud computing type digital products
CN113626521B (en) * 2021-07-24 2022-09-23 广东雁盟智慧健康科技有限公司 Block chain data processing system for protecting cloud computing type digital products

Similar Documents

Publication Publication Date Title
Patelli et al. Blockchain technology and traceability in the agrifood industry
CN111507709B (en) Data tracing system
CN109255622B (en) Traceable anti-fake data storage system
US20190342085A1 (en) System and method for tracking product and providing verified product information and consumer rewards
CN102947819B (en) Information tracking system and method
US20190147397A1 (en) Systems and methods for managing and validating the exchange of product information
CN108960863A (en) A kind of food block chain retroactive method, device and electronic equipment
CN111507710A (en) Data query and sharing system
CN102948117B (en) Information tracking system and method
US20160164884A1 (en) Cryptographic verification of provenance in a supply chain
CN110502922B (en) Article circulation link tracing method and device based on block chain and electronic equipment
CN111445272A (en) Agricultural product traceability information processing system and method based on block chain
CN111369267A (en) Fruit and vegetable agricultural product tracing method, device and system based on block chain and storage medium
CN107767143B (en) Electronic tracing method for food safety by directly using domain name website
Niya et al. A platform-independent, generic-purpose, and blockchain-based supply chain tracking
US20190197562A1 (en) System and method for product authentication
US9633326B2 (en) Load distribution and consolidation tracking system
CN111506925A (en) Data processing system based on block chain
CN114386986A (en) Product full life cycle data tracing platform
Adow et al. Analysis of agriculture and food supply chain through blockchain and IoT with light weight cluster head
WO2019157122A1 (en) Rf tag operating system with iot connector core
Loke et al. Food traceability and prevention of location fraud using blockchain
CN110689356A (en) Method for recording commodity circulation process by using nested digital twin
CN116342146A (en) Seed quality safety tracing anti-counterfeiting method and device and electronic equipment
CN114529306A (en) Block chain-based free forging supply chain traceability 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