CN109559136B - Information management system and method - Google Patents

Information management system and method Download PDF

Info

Publication number
CN109559136B
CN109559136B CN201811469983.8A CN201811469983A CN109559136B CN 109559136 B CN109559136 B CN 109559136B CN 201811469983 A CN201811469983 A CN 201811469983A CN 109559136 B CN109559136 B CN 109559136B
Authority
CN
China
Prior art keywords
information
product
request
mobile terminal
registration
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.)
Active
Application number
CN201811469983.8A
Other languages
Chinese (zh)
Other versions
CN109559136A (en
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 of Medicinal Plant Development of CAMS and PUMC
Original Assignee
Institute of Medicinal Plant Development of CAMS and PUMC
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 of Medicinal Plant Development of CAMS and PUMC filed Critical Institute of Medicinal Plant Development of CAMS and PUMC
Priority to CN201811469983.8A priority Critical patent/CN109559136B/en
Publication of CN109559136A publication Critical patent/CN109559136A/en
Application granted granted Critical
Publication of CN109559136B publication Critical patent/CN109559136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Toxicology (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Electromagnetism (AREA)

Abstract

The embodiment of the application provides an information management system and method, wherein a system framework of a mobile terminal, a support server and a block chain interaction middleware is established, the mobile terminal is used for receiving a request input by a user and scanning a two-dimensional code on a product, the support server is used for verifying identity information of the user, the block chain interaction middleware is used for analyzing the request of the user, a corresponding analysis result is stored in the block chain, and the analysis result is returned to the mobile terminal. Therefore, the information stored in the block chain cannot be tampered, the reality and the effectiveness of the information are guaranteed, and the credible traceability of the product information is realized.

Description

Information management system and method
Technical Field
The invention relates to the technical field of production circulation and information, in particular to an information management system and method.
Background
The existing biological product traceability system has the defects that the information circulation is not smooth, and the information is discretely stored in subsystems of all links. The information flow is lack of transparency, the situations of product counterfeiting and loss occur frequently, the problems of high tracing difficulty and the like exist, and the trust relationship among all parties in an industrial chain is difficult to establish. In the prior art, radio frequency equipment is used for collecting and recording product information, or a mode of combining manual information input and automatic information input is used for collecting information of product planting, production, sale and the like.
The radio frequency technology is a common tracing method, but the information tracked by the radio frequency technology is not information inside the biological product, but an external tag, and the tracing accuracy cannot be ensured under the condition that the tag is separated from the related biological product. In addition, the radio frequency equipment needs a large amount of deployment in a mode of collecting information by the radio frequency equipment, the equipment cost is high, and extra expenses are brought to product manufacturers. And the radio frequency equipment has a short identification distance, so that when the product is far away from the radio frequency equipment or electromagnetic interference exists, the product cannot be identified, so that circulation information in the link is lost, and a system has a leak. However, in the manual entry and automatic entry modes, specific circulation information of products after leaving factories, such as information of a superior dealer, is lacked, and the display mode is stiff and inflexible. Moreover, product information needs manual acquisition or automatic acquisition by special equipment and is stored in a common relational database, so that the safety is low, and the authenticity and the validity of the information are difficult to determine.
Disclosure of Invention
In view of the above, it is an object of the present invention to provide an information management system and method to improve the above-mentioned problems.
The embodiment of the application provides an information management system, which comprises a mobile terminal, a support server and a block chain interaction middleware;
the mobile terminal is used for scanning a two-dimensional code on a product, receiving a request input by a user, and sending the request and obtained two-dimensional code information to the support server and the block chain interaction middleware, wherein the request comprises any one of an identity authentication request, a product registration request, a product tracking request and a product tracing request, and the two-dimensional code is a DNA code or a GGT code;
the support server is used for receiving an identity authentication request sent by the mobile terminal, verifying identity information in the identity authentication request and returning a verification result to the mobile terminal;
the block chain interaction middleware is used for receiving the product registration request, the product tracking request and the product tracing request sent by the mobile terminal, respectively analyzing the product registration request, the product tracking request and the product tracing request, storing corresponding analysis results into a block chain, and returning the analysis results to the mobile terminal.
Optionally, the blockchain interaction middleware is configured to, after receiving a product registration request sent by the mobile terminal, analyze a request parameter carried in the product registration request, if the request parameter passes consensus verification, write the request parameter into the blockchain, generate a corresponding GGT code according to the request parameter, and return the GGT code to the mobile terminal, so that the mobile terminal displays the GGT code.
Optionally, the request parameters carried in the product registration request include product DNA information, geographical location information, and time information;
the blockchain interaction middleware is used for analyzing and processing product DNA information, geographical position information and time information carried in the obtained product registration request, and obtaining account information of a blockchain account of the user corresponding to the product registration request through a prestored private key;
the block chain interaction middleware is further used for writing the product DNA information, the geographic position information and the time information into a block chain when the account balance in the account information exceeds a preset value.
Optionally, the block chain interaction middleware is configured to encrypt the product DNA information, the geographic location information, and the time information by using a private key to obtain a corresponding data block, and write the data block into a block chain.
Optionally, the block chain interaction middleware is configured to, after receiving a product tracking request sent by the mobile terminal, analyze a request parameter carried in the product tracking request by using an intelligent contract, obtain corresponding product tracking information according to an analysis result, and return the product tracking information to the mobile terminal.
Optionally, the request parameters in the product tracking request include product DNA sequence information, registration time, and registration point location information;
the blockchain interaction middleware is used for analyzing product DNA sequence information, registration time and registration point position information in the obtained product tracking request and obtaining account information of a blockchain account of a user sending the product tracking request by utilizing a prestored private key;
the block chain interaction middleware is further used for inquiring and acquiring a GGT code which is stored in the block chain and corresponds to a request parameter in the product tracking request when the account balance in the account information exceeds a preset value, acquiring corresponding product tracking information according to the GGT code, and returning the product tracking information to the mobile terminal;
the mobile terminal analyzes the received product tracking information to obtain distribution point information of corresponding products and displays the distribution point information, and sends the information corresponding to the current node to the block chain interaction middleware, so that the block chain interaction middleware updates the information of the corresponding products stored in the block chain according to the information corresponding to the current node.
Optionally, the block chain interaction middleware is configured to, after receiving a product tracing request sent by the mobile terminal, analyze a request parameter carried in the product tracing request by using an intelligent contract, obtain corresponding product tracing information according to an analysis result, and return the product tracing information to the mobile terminal.
Optionally, the mobile terminal is further configured to calculate, based on a preset algorithm, a relationship between circulation nodes of a product according to the product tracing information after receiving the product tracing information sent by the blockchain interaction middleware, obtain current circulation information and a current circulation path of the product, and invoke an associated map application program to display point-of-sale information of the product.
Optionally, an identity authentication database is prestored in the support server, and user information identified as a valid user is stored in the identity authentication database, where the user information includes a user name, a login password, and an equipment ID;
the support server is used for receiving an identity authentication request sent by the mobile terminal and obtaining identity information carried in the identity authentication request, wherein the identity information comprises a user type, a user name, a login password and an equipment ID;
the support server is also used for inquiring the user information in the identity authentication database according to the identity information so as to verify whether the identity information is legal or not and returning a verification result to the mobile terminal;
the mobile terminal is used for displaying a corresponding operation interface when the verification result is that the verification passes, and is also used for displaying error prompt information when the verification result is that the verification fails.
The embodiment of the present application further provides an information management method, which is applied to an information management system including a mobile terminal, a support server and a blockchain middleware, and the method includes:
the mobile terminal scans a two-dimension code on a product, receives a request input by a user, and sends the request and obtained two-dimension code information to the support server and the block chain interaction middleware, wherein the request comprises any one of an identity authentication request, a product registration request, a product tracking request and a product tracing request, and the two-dimension code is a DNA code or a GGT code;
the support server receives an identity authentication request sent by the mobile terminal, verifies identity information in the identity authentication request and returns a verification result to the mobile terminal;
and the block chain interaction middleware receives the product registration request, the product tracking request and the product tracing request sent by the mobile terminal, analyzes the product registration request, the product tracking request and the product tracing request respectively, stores corresponding analysis results into a block chain, and returns the analysis results to the mobile terminal.
According to the information management system and method provided by the embodiment of the application, through establishing a system framework of the mobile terminal, the support server and the block chain interaction middleware, the mobile terminal is used for receiving a request input by a user or scanning a two-dimensional code on a product, the support server is used for verifying identity information of the user, the block chain interaction middleware is used for analyzing the request of the user, a corresponding analysis result is stored in the block chain, and the analysis result is returned to the mobile terminal. Therefore, the information stored in the block chain cannot be tampered, the reality and the effectiveness of the information are guaranteed, and the credible traceability of the product information is realized.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic connection relationship diagram of an information management system according to an embodiment of the present application.
Fig. 2 is a functional block diagram of a mobile terminal according to an embodiment of the present disclosure.
Fig. 3 is a functional block diagram of a blockchain interaction middleware provided in an embodiment of the present application.
Fig. 4 is a block chain architecture diagram of a federation according to an embodiment of the present application.
Fig. 5 is a flowchart of an information management method according to an embodiment of the present application.
Icon: 10-an information management system; 100-a mobile terminal; 200-a support server; 300-blockchain interaction middleware.
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. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The embodiment of the invention provides an information traceability scheme based on a block chain, which can provide services such as product registration, tracking, traceability and the like for each circulation link from a source origin to a consumer, and the consumer can check the traceability information of a product at a point of sale or wholesale and purchase safe and reliable products. In this embodiment, the product may be a biological product, a food, and the like, and is not limited.
Referring to fig. 1, an exemplary connection relationship diagram of an information management system 10 is provided in the embodiment of the present application, and the system includes a mobile terminal 100, a support server 200, and a blockchain interaction middleware 300. The mobile terminal 100 may include a plurality of mobile terminals 100, and each mobile terminal 100 may be communicatively connected to the support server 200 and the blockchain interaction middleware 300 for data transmission and information interaction. In this embodiment, the mobile terminal 100 may be a terminal device such as a smart phone or a tablet computer, and the blockchain interaction middleware 300 may be a terminal device or a server. The application of the mobile terminal 100 may be an android application or an apple IOS application. The user can collect information of a product through the mobile terminal 100, and implement information interaction with the support server 200 and the blockchain interaction middleware 300, and the like. The mobile terminal 100 sends different requests to the blockchain interaction middleware 300 and the support server 200 according to different operations of the user, and the blockchain interaction middleware 300 and the support server 200 perform corresponding processing and return data to the mobile terminal 100. In this embodiment, the user may be a registered user, an operating user, a consuming user, and the like of the product.
In this embodiment, a user may input a request to the mobile terminal 100, and after receiving the request input by the user, the mobile terminal 100 sends the request to the support server 200 or the blockchain interaction middleware 300, where the request includes any one of an identity authentication request, a product registration request, a product tracking request, and a product tracing request.
In addition, the mobile terminal 100 may be further configured to scan a two-dimensional code on a product, and send obtained two-dimensional code information to the block chain interaction middleware 300. Wherein, the two-dimensional code can be a DNA code or a GGT code of a product. Wherein, GGT is an abbreviation of (Genetic information, Geographic information, Time), and the GGT code can uniquely identify product identity information, and includes DNA information, Time information, Geographic location information, and the like of a product. Wherein the DNA code of the product comprises the DNA information of the product.
For example, when the scanned two-dimensional code is a DNA code, it may be that information of a product needs to be registered, and the user may send a product registration request to the blockchain interaction middleware 300 by using the mobile terminal 100. If the scanned two-dimensional code is a GGT code, it may be that information of a product needs to be tracked or traced, and the like, and then the user may send a product tracking request or a product tracing request to the blockchain interaction middleware 300 by using the mobile terminal 100.
Referring to fig. 2, in this embodiment, the mobile terminal 100 may include an identity authentication module, and the identity authentication module is configured to generate a corresponding identity authentication request after receiving identity information input by a user, and send the corresponding identity authentication request to the support server 200. The support server 200 may be configured to receive an identity authentication request sent by the mobile terminal 100, verify identity information in the identity authentication request, and return a verification result to the mobile terminal 100.
The mobile terminal 100 further includes a registration module, a tracking module, and a tracing module. May be used to send product registration requests, product tracking requests, and product tracing requests to blockchain interaction middleware 300, respectively. The blockchain interaction middleware 300 is configured to receive a product registration request, a product tracking request, and a product tracing request sent by the mobile terminal 100, analyze the product registration request, the product tracking request, and the product tracing request, store corresponding analysis results in a blockchain, and return the analysis results to the mobile terminal 100.
In this embodiment, an identity authentication database is pre-stored in the support server 200, and user information identified as a valid user is stored in the identity authentication database, where the user information includes a user name, a login password, and an equipment ID.
The support server 200 is configured to receive an identity authentication request sent by the mobile terminal 100, and obtain identity information carried in the identity authentication request, where the identity information includes a user type, a user name, a login password, and an equipment ID. The user types include registered users, operating users, consuming users and the like.
The support server 200 includes an identity authentication response module, and the identity authentication response module in the support server 200 is configured to query the user information in the identity authentication database according to the identity information to verify whether the identity information is legal, and return a verification result to the mobile terminal 100.
The mobile terminal 100 is configured to display a corresponding operation interface when the verification result is that the verification passes, and the mobile terminal 100 is further configured to display an error prompt message when the verification result is that the verification fails.
In this embodiment, each legal user can obtain a corresponding public key and a corresponding private key through a blockchain public and private key system, the private key is a user login password, and the public key is generated by the private key through an encryption algorithm. The processing of the request is completed through the interaction with the smart contract, and the processing result of the request is transmitted to the mobile terminal 100 through the mobile internet.
Referring to fig. 3, in the present embodiment, the blockchain interaction middleware 300 includes a blockchain connection module, a management module, a security module, and an intelligent contract. The block chain connecting module is used for communication connection with a block chain system. The management module is used for supply chain management of products. The security module is used for protecting the security of data in the block chain. The blockchain system is configured to perform security detection on the request and parameters carried by the request after receiving a corresponding storage request and a corresponding query request through the blockchain interaction middleware 300, and reasonably filter error information and some preset sensitive information, so as to facilitate supervision of relevant organizations on blockchain data. And the safety module authenticates the validity of the account identity in the block chain, wherein the authentication mode is key authentication. The secret key is divided into a public key and a private key, the private key can be used for signing data written into the block chain, other nodes in the block chain can use the private key to verify the validity of the signature, and therefore a user can be found in each operation. The intelligent contract is used for completing read-write operation support of the mobile terminal 100 on the block chain data, and realizing establishment of a logical relationship between different tracing data of the same product and accurate query of the tracing data of the product.
In this embodiment, a blockchain interaction middleware 300 is added between the mobile terminal 100 and the blockchain system, and the blockchain interaction middleware 300 can perform operations such as security control, user behavior control, and load control. The mobile terminal 100, the blockchain interaction middleware 300 and the blockchain system together form a system framework to ensure smooth operation of the system. In this embodiment, for example, when the blockchain system is an ethernet workshop and the mobile terminal 100 is an android smart phone, the access interfaces Web3J, nodjs, and Python provided by the ethernet workshop, the android smart phone may be directly connected with the ethernet workshop through the Web3J interface, and the storage and query of data in the etherworkshop blockchain system are completed by using an intelligent contract. The intelligent contract can be compiled into a java executable file by using a command line tool of Web3J, and Android can call an interface provided by the intelligent contract to complete reading and writing of blockchain data.
The intelligent contract is written by using a solid language and is a virtual account comprising contract codes and storage space on a block chain, the behavior of the intelligent contract is controlled by the contract codes, and the account storage of the intelligent contract saves the contract state. On the ethernet platform, codes of the intelligent contracts run in an Ethernet Virtual Machine (EVM), and the EVM is a Virtual Machine with complete pictures and is the core of the ethernet protocol.
The block chain system has a plurality of open source frames at present, and takes an ether house platform which is widely applied at present as an example. The EtherFang is an open-source public blockchain platform with intelligent contract functions proposed after being inspired by bitcoin, and provides an decentralized Ethernet virtual machine to process point-to-point contracts through a special encrypted currency Ether (Ether). Therefore, the EtherFang platform has the characteristics of decentralization, immune attack, high transparency, authority control, data non-tampering and the like of a common block chain system. But also provides intelligent contracts to realize more complex and diversified functions besides digital currency, and provides a smart and perfect language identity for writing the intelligent contracts. Therefore, the requirements of the blockchain system described in the present patent can be satisfied by the EtherFang technical characteristics.
In this embodiment, the user may open the wireless network connection or data traffic of the mobile terminal 100 to ensure that the mobile connectable support server 200 and the blockchain system. The user may click to open a corresponding application on the mobile terminal 100, and select a user type according to his or her own needs, such as a registered user, an operating user, or a consuming user. For the registered user and the operating user, the mobile terminal 100 may transmit the user's identity information to the support server 200 for authentication in the above-described manner. After the authentication is successful, the mobile terminal 100 jumps to an operation interface corresponding to the user type of the user. Otherwise, prompting that the input information is wrong and requiring the user to input again. After the user successfully logs in, the mobile terminal 100 may automatically save the user type of the user, the name of the entity where the user is located, and the like. For the consuming user, the consuming user can use the corresponding application program to inquire the product information without logging in.
In this embodiment, the mobile terminal 100 further includes a two-dimensional code scanning module, and if the mobile terminal 100 jumps to a product registration page, the user can scan a two-dimensional code on a product by using the mobile terminal 100. The mobile terminal 100 determines whether the scanned two-dimensional code is a DNA code, and if not, presents an error message. If the code is a DNA code, product registration information, which carries DNA information, time information, geographical location information, and the like, is sent to the blockchain interaction middleware 300.
In addition, in this embodiment, the mobile terminal 100 may further check whether a private key file of the blockchain account of the user is stored in the memory, and if so, the login password input by the user may obtain the private key file, and may obtain information corresponding to the blockchain account, including an account address and an account balance. In this embodiment, the mobile terminal 100 further includes a blockchain account generation module, configured to create an account by using a password input by the user as a private key when obtaining the blockchain account information fails. And stores the generated private key file in the memory of the mobile terminal 100, and returns information such as the address of the account and the balance of the account.
If receiving a product registration request sent by the mobile terminal 100, the blockchain interaction middleware 300 analyzes request parameters carried in the product registration request. And if the request parameter passes the consensus verification, writing the request parameter into a block chain, generating a corresponding GGT code according to the request parameter, and returning the GGT code to the mobile terminal 100 so that the mobile terminal 100 displays the GGT code. Alternatively, in this embodiment, the blockchain interaction middleware 300 may return the generated GGT code to the mobile terminal 100 through the support server 200. After obtaining the GGT code, the mobile terminal 100 may display the GGT code visually to a corresponding user, and may store the GGT code locally to provide the GGT code to a printer for printing and attaching to the surface of a product or printing on the package of the product.
The request parameters carried in the product registration request comprise product DNA information, geographical position information and time information. The geographical location information is obtained by a device location module of the mobile terminal 100, and the geographical location information may include a geographical longitude and a geographical latitude where the mobile terminal 100 is located. The positioning mode can adopt the technologies of GPS positioning, Beidou positioning, mobile cellular network positioning and the like.
The blockchain interaction middleware 300 is configured to analyze product DNA information, geographic location information, and time information carried in the obtained product registration request, and obtain account information of a blockchain account of the user corresponding to the product registration request through a pre-stored private key.
The blockchain interaction middleware 300 is further configured to write the product DNA information, the geographic location information, and the time information into a blockchain when an account balance in the account information exceeds a preset value. Optionally, the blockchain interaction middleware 300 may encrypt the product DNA information, the geographic location information, and the time information by using a private key to obtain corresponding data blocks, and write the data blocks into a blockchain to form registration information of the product.
In this embodiment, if the account balance in the account information of the user is insufficient, the corresponding prompt information needs to be returned to prompt the user to recharge the corresponding account address.
In this embodiment, the public key, the private key, and the account address are automatically generated in the system and stored in the mobile terminal 100, but when the registered user and the operating user use the system, they need to purchase virtual money for paying to store data in the block chain from the operator. The private key is a user login password, and the public key is generated by the private key through an encryption algorithm. The account number and the mobile terminal 100 device are bound with each other, so that the system security is guaranteed, the system stability is improved, and the legitimate rights and interests of all parties are maintained.
In this embodiment, the generated GGT code may include, in addition to DNA information, time information, and geographical location information of the product, an ID number set by the blockchain interaction middleware 300 for the current circulation node, and an ID number, operation time, operation geographical location, device ID of the mobile terminal 100, and the like of a higher circulation node of the current circulation node.
In this embodiment, the blockchain system may store registration information and circulation information of products, where the product registration information includes: and information such as DNA sequences, registration time, geographical position information of registration points and the like is stored in a block chain database in a block form. The fields include: DNA sequence, registration time, registration geographical location information, registrar information, registration node information, device ID, and node ID number. The product circulation information includes: DNA sequence, registration time, geographical position information of registration points, unit name information of each distribution point, geographical position information, distribution time information, unique identification of upper-level distribution points of the distribution points and the like. Stored in a blockchain database in the form of data blocks, the fields include: DNA sequence, registration time, registration geographical position information, circulation time information, circulation point geographical position, operator information, circulation node information, device ID, node ID number, and upper circulation node ID. These fields can be used as circulation information for uniquely identifying the product, and have unique identification. The blockchain database uses an encryption algorithm, typically hash encryption, with the hash value calculated by the SHA3-256 algorithm. After the blockchain system receives the request and processes the data, the processing result is sent to the blockchain interaction middleware 300.
The block chain can be divided into a public chain, a alliance chain and a private chain, and the alliance chain is deployed. According to the business requirements of the participants, the participant alliances can form an alliance chain, so that all the participants can use the blockchain service. Referring to fig. 4, which is a schematic diagram of a block chain architecture of a federation according to an embodiment of the present application, as shown in the figure, a circulation structure, a monitoring authority, and a consensus node may form a private chain node to manage information in a block chain system. The alliance node, the authorization certification authority and the like are used as public link nodes and can carry out authorization management, information inquiry, verification and other operations.
In this embodiment, the mobile terminal 100 further includes a GGT code analyzing function module, and when product information tracking is required, the two-dimensional code scanning module scans to obtain a GGT code on a product, and the GGT code analyzing function module analyzes to obtain information included in the GGT code. A product tracking request may be sent to blockchain interaction middleware 300 by similar steps as described above. After receiving a product tracking request sent by the mobile terminal 100, the blockchain interaction middleware 300 analyzes the request parameters carried in the product tracking request by using an intelligent contract, obtains corresponding product tracking information according to the analysis result, and returns the product tracking information to the mobile terminal 100.
The request parameters in the product tracking request comprise product DNA sequence information, registration time and registration point position information.
The blockchain interaction middleware 300 is configured to analyze product DNA sequence information, registration time, and registration point position information in the obtained product tracking request, and obtain account information of a blockchain account of the user that sent the product tracking request by using a pre-stored private key.
The blockchain interaction middleware 300 is further configured to, when the account balance in the account information exceeds a preset value, query and obtain a GGT code stored in the blockchain and corresponding to a request parameter in the product tracking request, obtain corresponding product tracking information according to the GGT code, and return the product tracking information to the mobile terminal 100.
The mobile terminal 100 analyzes the received product tracking information to obtain distribution point information of a corresponding product and displays the distribution point information, and sends information corresponding to the current node to the block chain interaction middleware 300, so that the block chain interaction middleware 300 updates the information of the corresponding product stored in the block chain according to the information corresponding to the current node. That is, the mobile terminal 100 may request the product tracking interface of the blockchain interaction middleware 300 again to complete tracking of the current circulation node according to the current geographic location information, the current time information, and the current product distribution information returned by the blockchain interaction middleware 300.
In this embodiment, when a consuming user needs to trace the source of the product information to know the whole production and circulation process of the product, the mobile terminal 100 may be utilized to scan the GGT code on the product. The mobile terminal 100 analyzes the information included in the GGT code and transmits the information to the blockchain interaction middleware 300. The block chain interaction middleware 300 is configured to, after receiving a product tracing request sent by the mobile terminal 100, analyze a request parameter carried in the product tracing request by using an intelligent contract, obtain corresponding product tracing information according to an analysis result, and return the product tracing information to the mobile terminal 100.
Specifically, in this embodiment, the mobile terminal 100 scans the GGT code and then obtains corresponding DNA information, time information, and geographical latitude and longitude information through analysis. And sending a product tracing request carrying DNA information, time information and geographical longitude and latitude information to the block chain system, acquiring the point-of-sale and flow path data of the corresponding batch of products, and calling a map module through a management module to display the point-of-sale and tracing path.
The map module is configured to receive the product information and the source tracing result information sent by the blockchain interaction middleware 300 and then display the product information and the source tracing result information. A map API interface may be invoked for display with an online service such as a Baidu map, a Gade map, etc.
In this embodiment, the mobile terminal 100 device calculates the relationship between the circulation nodes according to a specific algorithm, obtains the current circulation information and the current circulation path of the product, and obtains the relevant information of the distribution point electronic map. After obtaining the data, the tracing module of the mobile terminal 100 calls the associated map application program to display all current product point-of-sale information, the user selects a node according to the self condition, sends the point-of-sale tracing request to the intelligent contract, performs tracing activities from the node, and can also select to view the product information of other points-of-sale.
Referring to fig. 5, another embodiment of the present application further provides an information management method, which is applied to the information management system 10, and the method further includes the following steps:
step S110, the mobile terminal 100 scans a two-dimensional code on a product and receives a request input by a user, and sends the request and the obtained two-dimensional code information to the support server 200 and the blockchain interaction middleware 300, where the request includes any one of an identity authentication request, a product registration request, a product tracking request, and a product tracing request, and the two-dimensional code is a DNA code or a GGT code;
step S120, the support server 200 receives the identity authentication request sent by the mobile terminal 100, verifies the identity information in the identity authentication request, and returns the verification result to the mobile terminal 100.
In step S130, the blockchain interaction middleware 300 receives the product registration request, the product tracking request, and the product tracing request sent by the mobile terminal 100, analyzes the product registration request, the product tracking request, and the product tracing request, stores a corresponding analysis result in a blockchain, and returns the analysis result to the mobile terminal 100.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the method described above may refer to the corresponding process in the foregoing system, and is not described herein again.
To sum up, the embodiment of the present application provides an information management system 10 and method, which includes establishing a system architecture of a mobile terminal 100, a support server 200 and a block chain interaction middleware 300, receiving a request input by a user and scanning a two-dimensional code on a product by using the mobile terminal 100, verifying identity information of the user by using the support server 200, analyzing the request of the user by using the block chain interaction middleware 300, storing a corresponding analysis result in a block chain, and returning the analysis result to the mobile terminal 100. Therefore, the information stored in the block chain cannot be tampered, the reality and the effectiveness of the information are guaranteed, and the credible traceability of the product information is realized.
Furthermore, the product DNA information obtained through DNA sequencing in the scheme has uniqueness, and the product is identified by combining time and space information, so that the subsequent tracing and true and false comparison operations are facilitated.
The blockchain system combines a cryptology hash system and a secret key system, combines multiple data copies, and data is signed and authenticated, so that the data cannot be covered by a bed cover through a cryptographic technology, and the data becomes more credible. The information tracing scheme based on the block chain gets through the whole industry chain, and the information is more transparent and difficult to counterfeit.
Furthermore, the mobile terminal 100 used in the system can adopt a commonly-used smart phone or tablet computer, and does not need to specially customize a special terminal, so that the equipment maintenance cost is reduced, and the system is easy to deploy and convenient to popularize.
The block chain based information traceability scheme can reduce information transmission errors in the product circulation process and effectively ensure the integrity and safety of product information, the block chain technology innovates a common trust mode of the industry, the trust problem of the industry chain is solved through asymmetric encryption and HASH algorithms, the management mode wishes of 'responsibility main body filing, production process recording, main body responsibility traceability, product flow direction traceability, risk potential hazard recognizable, hazard degree evaluable and supervision information sharable' of the product are really realized in a decentralized environment, the block chain technology is applied to product traceability, certain initiative is achieved, and the development of product traceability is greatly promoted.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. An information management system is characterized by comprising a mobile terminal, a support server and a block chain interaction middleware;
the mobile terminal is used for scanning a two-dimensional code on a product, receiving a request input by a user, and sending the request and obtained two-dimensional code information to the support server and the block chain interaction middleware, wherein the request comprises any one of an identity authentication request, a product registration request, a product tracking request and a product tracing request, the two-dimensional code is a DNA code or a GGT code, the GGT code comprises DNA information, time information and geographical position information of the product, and the GGT code further comprises an ID number of the block chain middleware for a current circulation node, an ID number of a superior circulation node, operation time, an operation geographical position and a device ID of the mobile terminal;
the registration information and the circulation information of the product are stored in a block chain system in a data block form; the registration information at least comprises a DNA sequence, registration time and geographical location information of a registration point, and the corresponding fields at least comprise the DNA sequence, the registration time, the geographical location information of the registration, registrant information, registration node information, equipment ID and node ID number; the product circulation information at least comprises a DNA sequence, registration time, registration point geographical position information, unit name information, geographical position information, circulation time information and a superior circulation point unique identifier of a circulation point, and the corresponding fields at least comprise the DNA sequence, the registration time, the registration geographical position information, the circulation time information, the circulation point geographical position, operator information, circulation node information, equipment ID, a node ID number and a superior circulation node ID;
the support server is used for receiving an identity authentication request sent by the mobile terminal, verifying identity information in the identity authentication request and returning a verification result to the mobile terminal;
the block chain interaction middleware is used for receiving a product registration request, a product tracking request and a product tracing request sent by the mobile terminal, respectively analyzing the product registration request, the product tracking request and the product tracing request, storing corresponding analysis results into a block chain, and returning the analysis results to the mobile terminal, wherein the product registration request is generated after the mobile terminal scans the DNA codes, and the product tracking request and the product tracing request are generated after the mobile terminal scans the GGT codes;
request parameters carried in the product registration request comprise product DNA information, geographical position information and time information;
the blockchain interaction middleware is used for analyzing and processing product DNA information, geographical position information and time information carried in the obtained product registration request, and obtaining account information of a blockchain account of the user corresponding to the product registration request through a prestored private key;
the block chain interaction middleware is also used for carrying out key authentication on the validity of the account identity in the block chain, signing the data written into the block chain by using a private key, and verifying the validity of the signature by using the private key by other nodes in the block chain;
the block chain interaction middleware is further used for writing the product DNA information, the geographic position information and the time information into a block chain when the account balance in the account information exceeds a preset value.
2. The information management system according to claim 1, wherein the blockchain interaction middleware is configured to, after receiving a product registration request sent by the mobile terminal, parse a request parameter carried in the product registration request, if the request parameter passes consensus verification, write the request parameter into a blockchain, generate a corresponding GGT code according to the request parameter, and return the GGT code to the mobile terminal, so that the mobile terminal displays the GGT code.
3. The information management system of claim 2, wherein the blockchain interaction middleware is configured to encrypt the product DNA information, the geographic location information, and the time information with a private key to obtain corresponding data blocks, and write the data blocks into a blockchain.
4. The information management system according to claim 1, wherein the blockchain interaction middleware is configured to, after receiving a product tracking request sent by the mobile terminal, analyze a request parameter carried in the product tracking request by using an intelligent contract, query and obtain corresponding product tracking information according to an analysis result, and return the product tracking information to the mobile terminal.
5. The information management system of claim 4, wherein the request parameters in the product tracking request include product DNA sequence information, registration time, and registration point location information;
the blockchain interaction middleware is used for analyzing product DNA sequence information, registration time and registration point position information in the obtained product tracking request and obtaining account information of a blockchain account of a user sending the product tracking request by utilizing a prestored private key;
the block chain interaction middleware is further used for inquiring and acquiring a GGT code which is stored in the block chain and corresponds to a request parameter in the product tracking request when the account balance in the account information exceeds a preset value, acquiring corresponding product tracking information according to the GGT code, and returning the product tracking information to the mobile terminal;
the mobile terminal analyzes the received product tracking information to obtain distribution point information of corresponding products and displays the distribution point information, and sends the information corresponding to the current node to the block chain interaction middleware, so that the block chain interaction middleware updates the information of the corresponding products stored in the block chain according to the information corresponding to the current node.
6. The information management system according to claim 1, wherein the blockchain interaction middleware is configured to, after receiving a product tracing request sent by the mobile terminal, analyze a request parameter carried in the product tracing request by using an intelligent contract, query and obtain corresponding product tracing information according to an analysis result, and return the product tracing information to the mobile terminal.
7. The information management system of claim 6, wherein the mobile terminal is further configured to, after receiving the product tracing information sent by the blockchain interaction middleware, calculate a relationship between circulation nodes of a product according to the product tracing information based on a preset algorithm, obtain current circulation information and a current circulation path of the product, and invoke an associated map application to display point-of-sale information of the product.
8. The information management system according to claim 1, wherein an identity authentication database is prestored in the support server, and user information identified as a legal user is stored in the identity authentication database, and the user information includes a user name, a login password, and an equipment ID;
the support server is used for receiving an identity authentication request sent by the mobile terminal and obtaining identity information carried in the identity authentication request, wherein the identity information comprises a user type, a user name, a login password and an equipment ID;
the support server is also used for inquiring the user information in the identity authentication database according to the identity information so as to verify whether the identity information is legal or not and returning a verification result to the mobile terminal;
the mobile terminal is used for displaying a corresponding operation interface when the verification result is that the verification passes, and is also used for displaying error prompt information when the verification result is that the verification fails.
9. An information management method is applied to an information management system comprising a mobile terminal, a support server and a block chain middleware, and the method comprises the following steps:
the mobile terminal scans a two-dimensional code on a product and receives a request input by a user, and sends the request and obtained two-dimensional code information to the support server and the block chain interaction middleware, wherein the request comprises any one of an identity authentication request, a product registration request, a product tracking request and a product tracing request, the two-dimensional code is a DNA code or a GGT code, the GGT code comprises DNA information, time information and geographical position information of a product, and the GGT code further comprises an ID number of a current circulation node set by the block chain middleware, an ID number of a superior circulation node, operation time, an operation geographical position and a device ID of the mobile terminal;
the registration information and the circulation information of the product are stored in a block chain system in a data block form; the registration information at least comprises a DNA sequence, registration time and geographical location information of a registration point, and the corresponding fields at least comprise the DNA sequence, the registration time, the geographical location information of the registration, registrant information, registration node information, equipment ID and node ID number; the product circulation information at least comprises a DNA sequence, registration time, registration point geographical position information, unit name information, geographical position information, circulation time information and a superior circulation point unique identifier of a circulation point, and the corresponding fields at least comprise the DNA sequence, the registration time, the registration geographical position information, the circulation time information, the circulation point geographical position, operator information, circulation node information, equipment ID, a node ID number and a superior circulation node ID;
the support server receives an identity authentication request sent by the mobile terminal, verifies identity information in the identity authentication request and returns a verification result to the mobile terminal;
the block chain interaction middleware receives a product registration request, a product tracking request and a product tracing request sent by the mobile terminal, analyzes the product registration request, the product tracking request and the product tracing request respectively, stores corresponding analysis results into a block chain, and returns the analysis results to the mobile terminal, wherein the product registration request is generated after the mobile terminal scans the DNA codes, and the product tracking request and the product tracing request are generated after the mobile terminal scans the GGT codes;
request parameters carried in the product registration request comprise product DNA information, geographical position information and time information;
the step of analyzing and processing the product registration request by the block chain interaction middleware comprises the following steps:
the blockchain interaction middleware analyzes and processes product DNA information, geographical position information and time information carried in the obtained product registration request, and obtains account information of a blockchain account of the user corresponding to the product registration request through a prestored private key;
the block chain interaction middleware carries out key authentication on the validity of the account identity in the block chain, signs the data written into the block chain by using a private key, and other nodes in the block chain can verify the validity of the signature by using the private key;
and when the account balance in the account information exceeds a preset value, the block chain interaction middleware writes the product DNA information, the geographic position information and the time information into a block chain.
CN201811469983.8A 2018-11-28 2018-11-28 Information management system and method Active CN109559136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811469983.8A CN109559136B (en) 2018-11-28 2018-11-28 Information management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811469983.8A CN109559136B (en) 2018-11-28 2018-11-28 Information management system and method

Publications (2)

Publication Number Publication Date
CN109559136A CN109559136A (en) 2019-04-02
CN109559136B true CN109559136B (en) 2021-03-09

Family

ID=65868829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811469983.8A Active CN109559136B (en) 2018-11-28 2018-11-28 Information management system and method

Country Status (1)

Country Link
CN (1) CN109559136B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119429B (en) * 2019-04-22 2021-12-03 矩阵元技术(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN110233828B (en) * 2019-05-14 2022-01-04 深圳市科迈爱康科技有限公司 Mobile office method and device based on block chain
CN110601815B (en) * 2019-09-17 2021-09-10 腾讯科技(深圳)有限公司 Block chain data processing method and equipment
CN113221143A (en) * 2020-04-24 2021-08-06 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN112184262A (en) * 2020-09-28 2021-01-05 北京金山云网络技术有限公司 Method and related device for aggregate tracing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291424A (en) * 2008-05-27 2008-10-22 中山大学 Digital media downloading system oriented to IP set-top box
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN107040383A (en) * 2017-04-24 2017-08-11 中山大学 A kind of blind Verifiable Encryptosystem endorsement method based on block chain

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106716421B (en) * 2016-12-30 2020-03-31 深圳前海达闼云端智能科技有限公司 Data query method and device and node equipment
CN107025602A (en) * 2017-02-24 2017-08-08 杭州象链网络技术有限公司 A kind of financial asset transaction system construction method based on alliance's chain
CN107944892A (en) * 2017-12-28 2018-04-20 上海唯链信息科技有限公司 A kind of milk supply traceability system based on block chain technology
CN108364181A (en) * 2018-01-08 2018-08-03 广州中国科学院计算机网络信息中心 Source tracing method and system based on block chain and Internet of Things mark
CN108564379B (en) * 2018-02-26 2022-08-23 中国医学科学院药用植物研究所 Object identity tracing method, terminal equipment and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291424A (en) * 2008-05-27 2008-10-22 中山大学 Digital media downloading system oriented to IP set-top box
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN107040383A (en) * 2017-04-24 2017-08-11 中山大学 A kind of blind Verifiable Encryptosystem endorsement method based on block chain

Also Published As

Publication number Publication date
CN109559136A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109559136B (en) Information management system and method
CN110311790B (en) Method and device for sending authenticable message in cross-link mode
CN109447660B (en) Object identity tracing method and system
CN104283841B (en) The method, apparatus and system of service access control are carried out to third-party application
US20180285552A1 (en) System and method for integrating two-factor authentication in a device
US10019530B2 (en) ID tag authentication system and method
CN110046482A (en) Identity verification method and its system
US20090165107A1 (en) Identification managment system for electronic device authentication
CN105554037A (en) Identity identification processing method and service platform
CN101714201A (en) Software code signing system and method
CN111092899B (en) Information acquisition method, device, equipment and medium
CN106161470B (en) A kind of authorization method, client, server and system
US10931650B1 (en) Apparatus and method for building, extending and managing interactions between digital identities and digital identity applications
US20180205714A1 (en) System and Method for Authenticating Electronic Tags
CN106254366A (en) For the identification processing method patrolled and examined, Apparatus and system
CN108154362A (en) Method of commerce, apparatus and system based on figure bar code
CN105099983A (en) Authorization method, authority setting method and devices
WO2011055002A1 (en) Arrangement and method for electronic document delivery
CN107682376B (en) Wind control data interaction method and device
CN110071813A (en) A kind of account permission change method system, account platform and user terminal
CN115130075A (en) Digital signature method and device, electronic equipment and storage medium
CN113269565B (en) Anti-counterfeiting identification method and device for preventing identification code from being reused and electronic equipment
CN105635164B (en) The method and apparatus of safety certification
CN114513373A (en) Trusted data exchange method, device, system, electronic equipment and storage medium
CN105471920A (en) Identifying code processing method and device

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
GR01 Patent grant
GR01 Patent grant