CN114862417A - Block chain-based lead sealing lock system of traceability electronic tag system and interaction method - Google Patents

Block chain-based lead sealing lock system of traceability electronic tag system and interaction method Download PDF

Info

Publication number
CN114862417A
CN114862417A CN202210410024.9A CN202210410024A CN114862417A CN 114862417 A CN114862417 A CN 114862417A CN 202210410024 A CN202210410024 A CN 202210410024A CN 114862417 A CN114862417 A CN 114862417A
Authority
CN
China
Prior art keywords
electronic tag
information
data
module
traceability
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
CN202210410024.9A
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.)
Lixin Technology Co ltd
Original Assignee
Lixin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lixin Technology Co ltd filed Critical Lixin Technology Co ltd
Priority to CN202210410024.9A priority Critical patent/CN114862417A/en
Publication of CN114862417A publication Critical patent/CN114862417A/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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • H04W12/106Packet or message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless
    • H04L2209/805Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
    • 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

Abstract

The invention discloses a lead sealing locking system and an interaction method of a traceability electronic tag system based on a block chain, wherein user identity authentication is carried out through user identity information, and when the user identity authentication passes, product traceability data information stored in a product traceability server is called according to key fields; generating a hash value according to the product tracing data information, the user identity information, the dynamic identification information and the preset verification mode information, so that the authenticity, the effectiveness, the instantaneity and the safety of tracing authentication in the production process of the product can be ensured; the block chain and the distributed storage are used for guaranteeing the safety of data, the hash value of the task and the non-public data in the task are stored by using the characteristics of the block chain, the actions of data counterfeiting, tampering and the like are effectively prevented, the relevance and the sharing of the data are improved, and the integrity, the safety and the reliability of the product tracing data are guaranteed through the hash value connection of the state information.

Description

Block chain-based lead sealing locking system of tracing electronic tag system and interaction method
Technical Field
The invention relates to the technical field of wireless communication terminal access networks, in particular to a block chain-based lead sealing lock system of a traceability electronic tag system and an interaction method.
Background
Product traceability is developed for years, various traceability schemes are formed based on RFID and two-dimensional codes, upstream and downstream information barriers are opened, and the following three problems exist in general: firstly, from the overall architecture, the traditional tracing scheme is a centralized storage mode, and has the defects of easy data tampering, opaque information and the like; secondly, in terms of a data carrier, a scheme of purely adopting the RFID is adopted, so that a consumer needs to use special equipment for tracing and inquiring, and the problem of inconvenience exists. By adopting the scheme of the two-dimension code, a consumer can conveniently inquire the data, but the data is very easy to forge, namely, commodities and digital assets in the physical world are difficult to correspond to each other; thirdly, the problem of commodity fleeing goods can not be solved by the existing tracing solution.
At present, the mainstream tracing authentication mode on the market adopts electronic tags of two-dimensional codes or other forms mostly, but the problem is always sufficient, the counterfeiting is easy, and the counterfeit is hardly stopped completely fundamentally under the condition of wearing Zhangguan plum, namely, the whole course tracking can not be carried out on the whole process, so that more mountain village spaces are left, and the usable space is provided for counterfeiting. The mode of the two-dimensional code is adopted, so that a larger and wider counterfeiting space is provided for counterfeiters, and the traceability is changed into a paper talk; in addition, the single electronic tag mode is adopted, so that the real effectiveness of the product is difficult to be fundamentally ensured, and the similar electronic tags are more likely to be used for counterfeiting, thereby causing bad results. Therefore, the reliability of the whole tracing process cannot be guaranteed, the tracing authentication method is easy to counterfeit, and the problems of counterfeiting and faking are difficult to completely stop fundamentally in the conventional product tracing authentication mode.
The block chain technology is a distributed book type data processing technology, realizes trusted storage and safe sharing of data by combining key core technologies such as cryptography, a distributed database, a P2P network, a consensus mechanism, a timestamp technology, an intelligent contract and the like, and belongs to a brand-new distributed infrastructure and computing paradigm. The national province and the local province encourage the promotion of the block chain application development and application, and various industries actively explore the block chain application scene under the environment and promote the improvement and the update of the related block chain technology. In a traditional centralized system, all information is stored in a central node, each transaction is confirmed in the central node, and the consistency of transaction data is guaranteed by the central node. There is a potential for fraud and counterfeiting, as well as the potential for data tampering and repudiation.
Disclosure of Invention
The invention aims to provide a lead sealing lock system of a traceability electronic tag system based on a block chain and an interaction method, and solves the problems that the reliability of the whole traceability process cannot be guaranteed, the traceability system is easy to counterfeit, information of each monitoring area cannot be shared, the information transmission effect is poor, and the response to special conditions cannot be timely made in the conventional product traceability authentication mode.
A traceability electronic tag system based on a block chain comprises an electronic tag module and a supervision and scheduling center, wherein the supervision and scheduling center is interconnected with the electronic tag module through a wireless networking:
the monitoring and scheduling center is used for receiving the state data uploaded by the electronic tag module and displaying the real-time state in the monitoring area;
the electronic tag modules are distributed in each monitoring area and used for receiving monitoring data and state information;
the identity authentication module is used for acquiring user identity information, generating and distributing identity marks, and maintaining and managing a basic information table, an identity information table and a product state information table;
the product tracing server: the system comprises a basic information table, an identity information table and a product state information table, and is used for storing the basic information table, the identity information table and the product state information table and adapting to the address of a connection block chain application interface;
and a data transmission layer is arranged between the electronic tag module and the supervision and scheduling center, the data transmission layer comprises exchange servers in one-to-one correspondence with the electronic tag module, and the exchange servers are provided with numbers in one-to-one correspondence with the electronic tag module.
In one embodiment, the electronic tag module comprises a sensor unit, a processing unit, a storage unit, a communication unit and a blockchain network:
the sensor unit is used for acquiring environmental data of a monitoring area;
the processing unit is used for processing data and executing operation;
the storage unit is used for storing data received by the electronic label equipment;
and the block chain network is used for chaining the acquired data and state information to realize information sharing.
In one embodiment, the supervision and scheduling center comprises a control processing module, wherein the control processing module is used for receiving a key field input by a user when the user identity verification passes, and calling product tracing data information stored in the product tracing server according to the key field; and generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so that the user can obtain the product traceability data information according to the hash value. The product tracing data information comprises at least one of product origin information, product classification information, product warehouse-in and warehouse-out information, product production record information, product use information and product transportation information.
In one embodiment, the control processing module includes:
the information calling module is used for receiving a key field input by a user when the user identity authentication passes, and calling product traceability data information stored in the product traceability server according to the key field; and
and the hash value generation module is used for generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so as to enable a user to obtain the product traceability data information according to the hash value.
In one embodiment, the supervision and scheduling center further comprises a central data storage module, a localization tracking module, an analysis module, and an information transceiver module:
the positioning tracking module is used for acquiring the real-time position of the electronic tag module;
the information transceiver module is used for receiving and sending information so as to carry out data communication with the supervision and scheduling center, and therefore the position of the electronic tag module is stored in the central data storage module;
the analysis module is used for reading the current state data and the data stored in the central data storage module, analyzing all the electronic tag modules in abnormal states and sending the electronic tag modules to a user.
In one embodiment, the data transmission layer further comprises a communication base station and a plurality of internet of things gateways,
the exchange server is used for forwarding data packets transmitted between the Internet of things gateways and between the electronic tag modules;
the communication base station is connected with the Internet of things gateway in a wireless communication mode; the communication base station and the Internet of things gateway can perform data interaction;
the internet of things gateway is connected with the communication base station and the electronic tag module respectively in a wireless communication mode, and the internet of things gateway is used for gathering and forwarding data between the communication base station and the electronic tag module.
In one embodiment, the blockchain network comprises:
the sequencing service node is used for sending the uplink request to the endorsement node when receiving the uplink request sent by other modules, wherein the uplink request comprises data and state information;
the endorsement node is used for carrying out simulated transaction on the uplink request so as to generate a signature and sending the signature to the sequencing service node;
the peer-to-peer node is used for recording the signature in the block after checking to complete the data chaining;
the sequencing service node is further configured to package the uplink request and the signature into a block and broadcast the block to a peer node in the blockchain network.
An electronic device, comprising: a memory and one or more processors;
wherein the memory is communicatively coupled to the one or more processors and stores instructions executable by the one or more processors, and when the instructions are executed by the one or more processors, the electronic device is configured to implement the method of any of the above embodiments.
A computer-readable storage medium having stored thereon computer-executable instructions operable, when executed by a computing device, to implement the method of any of the above embodiments.
A computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are operable to carry out the method of any of the above embodiments.
The utility model provides a traceability electronic tags's lead sealing system, includes foretell traceability electronic tags system based on block chain, still includes the lead sealing off main part, be equipped with corresponding electronic tags module in the lead sealing off main part.
An interaction method for a traceability electronic tag system based on a blockchain includes the traceability electronic tag system based on the blockchain, and includes:
collecting state information in an area to be monitored to generate state data;
the state data is sent to a supervision and scheduling center through a data transmission layer;
analyzing the state data and dividing the electronic tag modules of the monitoring area;
and displaying the electronic tag module in the abnormal state and sending the electronic tag module to a user.
In one embodiment, the data transmission layer sends data including:
erecting a switching server;
deploying an internet of things gateway, and deploying at least one internet of things gateway in the electronic tag module area;
the Internet of things gateway reports the ID number of the gateway to an exchange server;
the electronic tag module reports the ID number of the electronic tag module to an exchange server through an Internet of things gateway;
and the electronic tag module sends data to a supervision and scheduling center.
The technical scheme has the following advantages or beneficial effects:
the lead sealing system and the interaction method of the traceability electronic tag system based on the block chain carry out user identity authentication through user identity information, receive key fields input by a user when the user identity authentication passes, and call product traceability data information stored in a product traceability server according to the key fields; generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so that a user can obtain the product traceability data information according to the hash value; the invention is applied to the field of traceability authentication, can well play the demonstration role of standard operation and standardized flow operation of a traceability authentication system, ensures the authenticity, effectiveness, instantaneity and safety of traceability authentication in the production process of products and avoids the interference of human factors to the maximum extent; the different classified block nodes can be realized according to the difference of areas and application scenes, each sensing device can serve different application service layers, namely, each sensing layer node covers various sensing devices according to the difference of the application scenes, and the design idea of division and management is adopted, so that the workload of the communication base station is greatly reduced, and the purpose that the monitoring management platform and the monitoring center are simultaneously accessed into the Internet of things is realized. The data security is guaranteed by using the block chain and the distributed storage, the state information is subjected to a hash algorithm to obtain a hash abstract of the state information, the hash abstract is used as the start of a lower-end task and is simultaneously uploaded to a block chain server, the hash value of the task and non-public data in the task are stored by using the characteristics of the block chain, the actions of data counterfeiting, tampering and the like are effectively prevented, the relevance and the sharing of the data are improved, and the integrity, the security and the reliability of the product tracing data are guaranteed by connecting the hash values of the state information.
Drawings
FIG. 1 is a schematic structural diagram of a traceability electronic tag system based on a block chain according to the present invention;
fig. 2 is a schematic flow chart of a data interaction method of a multi-group electronic tag system based on a blockchain according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
With reference to fig. 1 and fig. 2, a traceability electronic tag system based on a block chain includes an electronic tag module 1, and further includes a supervision and scheduling center 2, where the supervision and scheduling center 2 and the electronic tag module 1 are interconnected through a wireless network:
the supervision and scheduling center 2 is used for receiving the state data uploaded by the electronic tag module 1 and displaying the real-time state in the monitoring area;
the electronic tag modules 1 are distributed in each monitoring area and used for receiving monitoring data and state information;
the identity authentication module 3 is used for acquiring user identity information, generating and distributing identity marks, and maintaining and managing a basic information table, an identity information table and a product state information table;
the product tracing server 5: the system comprises a basic information table, an identity information table and a product state information table, and is used for storing the basic information table, the identity information table and the product state information table and adapting to the address of a connection block chain application interface;
a data transmission layer 4 is arranged between the electronic tag module 1 and the supervision and scheduling center 2, the data transmission layer 4 comprises exchange servers which are in one-to-one correspondence with the electronic tag modules 1, and the exchange servers are provided with numbers which are in one-to-one correspondence with the electronic tag modules 1.
In the embodiment of the invention, various data generated in each stage of the whole traceability authentication process form a block chain event which is not falsifiable and reversible and has a unique consensus mechanism (time identification, product unique identification, verification personnel identification, intelligent contract index identification, unique point-to-point verification dynamic password-each product has a unique password calculator), when point-to-point verification is carried out, only dynamic two-dimensional codes need to be read mutually, the identification verification of key fields can be completed without cloud online verification, and the working efficiency can be greatly improved; therefore, the characteristic of the block chain technology of distributed storage is met, the resource waste of repeated storage of mass data is solved, and the verification efficiency of the whole tracing authentication is greatly improved.
The supervision and scheduling center 2 and the electronic tag module 1 are provided with a data transmission layer 4, the electronic tag module 1 uploads security data to the supervision and scheduling center 2 through the data transmission layer, and meanwhile, the electronic tag module can issue instructions through the data transmission layer 4. In order to facilitate supervision and dispatch of the supervision and dispatch center 2 to quickly correspond the monitoring data to the electronic tag modules 1, the data transmission layer 4 comprises the exchange servers corresponding to the electronic tag modules 1 one by one, the exchange servers are provided with numbers corresponding to the electronic tag modules 1 one by one, the supervision and dispatch center 2 displays the numbers corresponding to the exchange servers when receiving the monitoring data transmitted by the exchange servers, and the supervision and dispatch center acquires the corresponding electronic tag modules 1 according to the numbers of the exchange servers.
Further, in a preferred embodiment of the traceability electronic tag system based on the blockchain of the present invention, the electronic tag module 1 includes a sensor unit 11, a processing unit 12, a storage unit 13, a communication unit 14, and a blockchain network 15:
the sensor unit 11 is used for collecting environmental data of a monitored area;
the processing unit 12 is used for processing data and performing operations;
the storage unit 13 is used for storing data received by the electronic label device;
the communication unit is used for data transmission between the electronic tag module 1 and the electronic tag module 1, and data transmission, receiving and uploading work is guaranteed;
the block chain network 15 is in communication connection with the communication unit, and is configured to uplink the acquired data and status information, so as to implement information sharing.
The electronic tag module 1 and the electronic tag module 1 form a network through equipment identity authentication, the state information sent by the electronic tag module 1 is received through the communication unit 14, a hash abstract is extracted from the received state information and sent to the electronic tag module 1, the electronic tag module 1 uploads the hash abstract to a server, and the hash abstract is used as the beginning of the next segment of task data; and when one electronic tag module 1 is finished, the formed network is automatically quitted, and when the next electronic tag module 1 needs to be carried out, equipment identity authentication is automatically carried out on the next electronic tag module 1 and the formed network is formed.
Further, in a preferred embodiment of the traceability electronic tag system based on the block chain, the supervision and scheduling center 2 includes a control processing module 6, and the control processing module 6 is configured to receive a key field input by a user when the user identity is verified, and call product traceability data information stored in the product traceability server 5 according to the key field; and generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so that the user can obtain the product traceability data information according to the hash value. The product tracing data information comprises at least one of product origin information, product classification information, product warehouse-in and warehouse-out information, product production record information, product use information and product transportation information.
In the embodiment of the present invention, the key field may exist in a form similar to an index number, and the corresponding product tracing data information is called through the index number.
In the embodiment of the invention, the control processor is responsible for processing data reading and verification, performing necessary instruction issuing and control actions and is a core component of the system.
In the embodiment of the invention, a dynamic password calculator which is synchronous with a platform clock of a supervision and scheduling center 2 is arranged in a control processor, and the generation of the hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information specifically means that the hash value (dynamic two-dimensional code form) is generated by triggering and adjusting the clock (ensuring the clock to be synchronous with the system platform clock) and further generating the hash value by machine codes (globally unique similar identity card numbers), time, member or temporary user identity information (identity card numbers), dynamic codes (automatically generated, cannot be imitated and cracked, and adopting a calculation formula to be synchronous with the system platform, wherein the calculation formula is different for each machine in the public formula) and expandable verification modes (such as keyboard codes, fingerprint identification, face identification, portrait identification, voice identification technology and the like).
In the embodiment of the invention, the hash value is identified by scanning or other modes according to the product tracing data information obtained by the user according to the block chain electronic tag, the hash value is verified or prevented by the control processor, and the effective time of the hash value can be adjusted at any time.
Further, in an embodiment of the traceability electronic tag system based on a block chain of the present invention, the control processing module 6 includes:
the information calling module 61 is configured to receive a key field input by a user when the user identity authentication passes, and call product tracing data information stored in the product tracing server 5 according to the key field; and
and a hash value generation module 62, configured to generate a hash value according to the product traceability data information, the user identity information, the dynamic identification information, and the preset verification mode information, so that the user obtains the product traceability data information according to the hash value.
The invention is applied to the field of traceability authentication, can well play a demonstration role of standard operation and standardized flow operation of a traceability authentication system, ensures the authenticity, effectiveness, instantaneity and safety of traceability authentication in the production process of products, and avoids the interference of human factors to the maximum extent.
Further, in a preferred embodiment of the traceability electronic tag system based on the blockchain of the present invention, the supervision and scheduling center 2 further includes a central data storage module 21, a localization tracking module 22, an analysis module 23, and an information transceiver module 24:
the positioning and tracking module 22 is used for acquiring the real-time position of the electronic label module;
the information transceiver module 24 is used for receiving and sending information to perform data communication with the supervision and scheduling center 2, so as to store the position of the electronic tag module 1 in the central data storage module 21;
the analysis module 23 is configured to read current state data and data stored in the central data storage module 21, analyze all electronic tag modules 1 in abnormal states, and send the analyzed electronic tag modules to a user.
Further, in a preferred embodiment of the traceability electronic tag system based on the blockchain of the present invention, the data transmission layer 4 further includes a communication base station and a plurality of internet of things gateways,
the exchange server is used for forwarding data packets transmitted between the internet of things gateways and the electronic tag module 1;
the communication base station is connected with the Internet of things gateway in a wireless communication mode; the communication base station and the Internet of things gateway can perform data interaction;
the internet of things gateway is connected with the communication base station and the electronic tag module 1 respectively in a wireless communication mode, and the internet of things gateway is used for gathering and forwarding data between the communication base station and the electronic tag module 1.
Further, in a preferred embodiment of the traceability electronic tag system based on the blockchain of the present invention, the blockchain network 15 includes:
a sequencing service node 151, configured to send a uplink request to an endorsement node 152 when receiving the uplink request sent by another module, where the uplink request includes data and status information;
an endorsement node 152, configured to perform a simulated transaction on the uplink request to generate a signature and send the signature to the ordering service node 151;
the peer node 153 is configured to check and record the signature in the block, and complete data uplink;
the ss 151 is further configured to pack the ul request and the signature into blocks and broadcast them to peers 15 in the blockchain network.
Further, in an embodiment of the traceability electronic tag system based on the blockchain, the communication unit includes:
the receiving module is used for receiving the information to be verified sent by the electronic tag module 1; the information to be verified comprises first identity credential information obtained by the electronic tag module 1 from the received electronic tag module 1 and a first hash value of the electronic tag module 1 on the first identity credential information;
the obtaining module is used for obtaining second identity certificate information matched with the first identity certificate information from a Trusted Execution Environment (TEE);
and the verification module is used for verifying the identity of the electronic tag module 1 according to the first hash value of the first identity certificate information and the second identity certificate information.
The digital identity authentication process comprises the following steps: the electronic tag comprises four main bodies, namely an electronic tag module 1, a digital identity contract module and a TEE (Trusted Execution Environment). Wherein, the function of the trusted execution environment TEE is designed as an information entry method and an information authentication method, the registration authentication authority is in the information entry method to the trusted execution environment TEE, the submitted information includes but is not limited to: request parameters such as information type, information attribution digital identity (identity) id, information hash value, registration certification authority signature and the like; in the method for authenticating information to the trusted execution environment TEE, the trusted authentication authority submits information including, but not limited to: request parameters such as information attribution digital identity id, information category, trusted certification authority and the like. Because the trusted execution environment TEE does not allow any user to directly read the data stored in the TEE, the related data can be acquired only by possessing a specific key or being authorized, and the digital identity information is stored in the trusted execution environment TEE, thereby ensuring the safety of the digital identity information.
The receiving module is used for receiving the information to be verified sent by the electronic tag module 1; the information to be verified comprises first identity certificate information obtained by the electronic tag module 1 from the received electronic tag module 1 and a first hash value of the electronic tag module 1 on the first identity certificate information; the obtaining module is used for obtaining second identity certificate information matched with the first identity certificate information from a Trusted Execution Environment (TEE); the verification module is used for verifying the identity of the electronic tag module 1 according to the first hash value of the first identity certificate information and the second identity certificate information. The digital identity authentication device provided by the application not only provides an authentication function for identity information, but also improves the safety of storing digital identity certificate information.
Further, in an embodiment of the traceability electronic tag system based on the blockchain, the communication unit further includes:
the digital identity contract module is used for receiving the information to be verified sent by the electronic tag module 1; the information to be verified comprises first identity certificate information obtained by the electronic tag module 1 from the received electronic tag module 1 and a first hash value of the electronic tag module 1 on the first identity certificate information;
the TEE module is used for receiving the first identity certificate information sent by the digital identity contract module, inquiring according to the first identity certificate information to obtain second identity certificate information matched with the first identity certificate information, and returning the second identity certificate information to the digital identity contract module;
the digital identity contract module is further configured to perform identity verification on the electronic tag module 1 according to the first hash value of the first identity credential information and the second identity credential information.
Optionally, in some embodiments of the present application, the information to be verified further includes a signature of the electronic tag module 1 on the signature information, and the digital identity contract module is further configured to perform authority verification on the electronic tag module 1 according to the signature information and the signature; after the authority verification of the electronic tag module 1 passes, the digital identity contract module sends the first identity certificate information to a trusted execution environment TEE, and second identity certificate information matched with the first identity certificate information is obtained from the trusted execution environment TEE;
optionally, the digital identity contract module may verify whether the sensing node layer has an authority to perform identity verification on the to-be-sensed node layer in a manner of verifying the public key of the sensing node layer, and in some embodiments of the present application, the digital identity contract module may be configured to calculate the public key of the electronic tag module 1 according to the signature information and the signature; according to a reference public key of the electronic tag module 1 and a public key of a sensing node layer stored in the digital identity contract module, authority verification is carried out on the electronic tag module 1;
optionally, in some embodiments of the present application, the digital identity contract module may be configured to determine that the electronic tag module 1 is verified when the reference public key of the electronic tag module 1 stored in the digital identity contract module is consistent with the public key of the electronic tag module 1;
the TEE module is used for receiving the first identity certificate information sent by the digital identity contract module, inquiring according to the first identity certificate information to obtain second identity certificate information matched with the first identity certificate information, and returning the second identity certificate information to the digital identity contract module;
the digital identity contract module is further configured to perform identity verification on the electronic tag module 1 according to the first hash value of the first identity credential information and the second identity credential information.
Preferably, the communication unit includes an interface module and a Python module:
the interface module is used for connecting an external module;
the Python module is used for providing a running environment for a Python application program and providing an interface for the Python application program to access an external device bottom driver.
The utility model provides a traceability electronic tags's lead sealing system, includes foretell traceability electronic tags system based on block chain, still includes the lead sealing off main part, be equipped with corresponding electronic tags module 1 in the lead sealing off main part.
An interaction method for a traceability electronic tag system based on a blockchain includes the traceability electronic tag system based on the blockchain, and includes:
collecting state information in an area to be monitored to generate state data;
the state data is sent to a supervision and scheduling center through a data transmission layer;
analyzing the state data and dividing the electronic tag modules of the monitoring area;
and displaying the electronic tag module in the abnormal state and sending the electronic tag module to a user.
Further, in an embodiment of the interaction method for a traceability electronic tag system based on a blockchain, the sending data by the data transmission layer includes:
erecting a switching server;
deploying an internet of things gateway, and deploying at least one internet of things gateway in the electronic tag module area;
the Internet of things gateway reports the ID number of the gateway to an exchange server;
the electronic tag module reports the ID number of the electronic tag module to an exchange server through an Internet of things gateway;
and the electronic tag module sends data to a supervision and scheduling center.
An electronic device, comprising: a memory and one or more processors;
wherein the memory is communicatively coupled to the one or more processors and has stored therein instructions executable by the one or more processors, the electronic device operable to implement the method as any one of the above when the instructions are executed by the one or more processors.
In particular, the processor and the memory may be connected by a bus or other means, such as by a bus connection. The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor executes various functional applications and data processing of the processor by executing non-transitory software programs/instructions and functional modules stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network, such as through a communications interface. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
A computer-readable storage medium having stored thereon computer-executable instructions operable, when executed by a computing device, to implement a method as in any above.
The foregoing computer-readable storage media include physical volatile and nonvolatile, removable and non-removable media implemented in any manner or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. The computer-readable storage medium specifically includes, but is not limited to, a USB flash drive, a removable hard drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), an erasable programmable Read-Only Memory (EPROM), an electrically erasable programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, a CD-ROM, a Digital Versatile Disk (DVD), an HD-DVD, a Blue-Ray or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
While the subject matter described herein is provided in the general context of execution in conjunction with the execution of an operating system and application programs on a computer system, those skilled in the art will recognize that other implementations may also be performed in combination with other types of program modules. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Those skilled in the art will appreciate that the subject matter described herein may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like, as well as distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application.
In summary, the lead sealing system and the interaction method of the traceability electronic tag system based on the block chain perform user identity verification through the user identity information, receive the key field input by the user when the user identity verification passes, and call the product traceability data information stored in the product traceability server according to the key field; generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so that a user can obtain the product traceability data information according to the hash value; the invention is applied to the field of traceability authentication, can well play the demonstration role of standard operation and standardized flow operation of a traceability authentication system, ensures the authenticity, effectiveness, instantaneity and safety of traceability authentication in the production process of products and avoids the interference of human factors to the maximum extent; the different classified block nodes can be realized according to the difference of areas and application scenes, each sensing device can serve different application service layers, namely, each sensing layer node covers various sensing devices according to the difference of the application scenes, and the design idea of division and management is adopted, so that the workload of the communication base station is greatly reduced, and the purpose that the monitoring management platform and the monitoring center are simultaneously accessed into the Internet of things is realized. The data security is guaranteed by using the block chain and the distributed storage, the state information is subjected to a hash algorithm to obtain a hash abstract of the state information, the hash abstract is used as the start of a lower-end task and is simultaneously uploaded to a block chain server, the hash value of the task and non-public data in the task are stored by using the characteristics of the block chain, the actions of data counterfeiting, tampering and the like are effectively prevented, the relevance and the sharing of the data are improved, and the integrity, the security and the reliability of the product tracing data are guaranteed by connecting the hash values of the state information.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", and the like, which indicate orientations or positional relationships, are based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.

Claims (10)

1. The traceability electronic tag system based on the block chain comprises an electronic tag module and is characterized by further comprising a supervision and scheduling center, wherein the supervision and scheduling center is connected with the electronic tag module through a wireless networking:
the monitoring and scheduling center is used for receiving the state data uploaded by the electronic tag module and displaying the real-time state in the monitoring area;
the electronic tag modules are distributed in each monitoring area and used for receiving monitoring data and state information;
the identity authentication module is used for acquiring user identity information, generating and distributing identity marks, and maintaining and managing a basic information table, an identity information table and a product state information table;
the product tracing server: the system comprises a basic information table, an identity information table and a product state information table, and is used for storing the basic information table, the identity information table and the product state information table and adapting to the address of a connection block chain application interface;
and a data transmission layer is arranged between the electronic tag module and the supervision and scheduling center, the data transmission layer comprises exchange servers in one-to-one correspondence with the electronic tag module, and the exchange servers are provided with numbers in one-to-one correspondence with the electronic tag module.
2. The blockchain-based traceability electronic tag system of claim 1, wherein the electronic tag module comprises a sensor unit, a processing unit, a storage unit, a communication unit, and a blockchain network:
the sensor unit is used for acquiring environmental data of a monitoring area;
the processing unit is used for processing data and executing operation;
the storage unit is used for storing data received by the electronic label equipment;
and the block chain network is used for chaining the acquired data and state information to realize information sharing.
3. The blockchain-based traceability electronic tag system of claim 1, wherein the supervision and scheduling center comprises a control processing module, wherein the control processing module is configured to receive a key field input by a user when user identity verification passes, and to call product traceability data information stored in the product traceability server according to the key field; and generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so that the user can obtain the product traceability data information according to the hash value. The product tracing data information comprises at least one of product origin information, product classification information, product warehouse-in and warehouse-out information, product production record information, product use information and product transportation information.
4. The blockchain-based traceability electronic tag system of claim 3, wherein the control processing module comprises:
the information calling module is used for receiving a key field input by a user when the user identity authentication passes, and calling product traceability data information stored in the product traceability server according to the key field; and
and the hash value generation module is used for generating a hash value according to the product traceability data information, the user identity information, the dynamic identification information and the preset verification mode information so as to enable a user to obtain the product traceability data information according to the hash value.
5. The blockchain-based traceability electronic tag system of claim 4, wherein the surveillance and dispatch center further comprises a central data storage module, a localization tracking module, an analysis module and an information transceiver module:
the positioning tracking module is used for acquiring the real-time position of the electronic tag module;
the information transceiver module is used for receiving and sending information so as to carry out data communication with the supervision and scheduling center, and therefore the position of the electronic tag module is stored in the central data storage module;
the analysis module is used for reading the current state data and the data stored in the central data storage module, analyzing all the electronic tag modules in abnormal states and sending the electronic tag modules to a user.
6. The blockchain-based traceability electronic tag system of claim 1, wherein the data transport layer further comprises a communication base station and a plurality of Internet of things gateways,
the exchange server is used for forwarding data packets transmitted between the Internet of things gateways and between the electronic tag modules;
the communication base station is connected with the Internet of things gateway in a wireless communication mode; the communication base station and the Internet of things gateway can perform data interaction;
the internet of things gateway is connected with the communication base station and the electronic tag module respectively in a wireless communication mode, and the internet of things gateway is used for gathering and forwarding data between the communication base station and the electronic tag module.
7. The blockchain-based traceability electronic tag system of claim 2, wherein the blockchain network comprises:
the sequencing service node is used for sending the uplink request to the endorsement node when receiving the uplink request sent by other modules, wherein the uplink request comprises data and state information;
the endorsement node is used for carrying out simulated transaction on the uplink request so as to generate a signature and sending the signature to the sequencing service node;
the peer-to-peer node is used for recording the signature in the block after checking to complete the data chaining;
the sequencing service node is further configured to package the uplink request and the signature into a block and broadcast the block to a peer node in the blockchain network.
8. A lead sealing lock system of a traceability electronic tag, comprising the traceability electronic tag system based on the block chain as claimed in the above claims 1-7, and further comprising a lead sealing lock main body, wherein the lead sealing lock main body is provided with a corresponding electronic tag module.
9. An interaction method of a blockchain-based traceability electronic tag system, comprising the blockchain-based traceability electronic tag system of claim 1-claim 7, wherein the interaction method comprises:
collecting state information in an area to be monitored to generate state data;
the state data is sent to a supervision and scheduling center through a data transmission layer;
analyzing the state data and dividing the electronic tag modules of the monitoring area;
and displaying the electronic tag module in the abnormal state and sending the electronic tag module to a user.
10. The interaction method of the traceability electronic tag system based on the blockchain as claimed in claim 9, wherein the data transmission layer sending data comprises:
erecting a switching server;
deploying an internet of things gateway, and deploying at least one internet of things gateway in the electronic tag module area;
the Internet of things gateway reports the ID number of the gateway to an exchange server;
the electronic tag module reports the ID number of the electronic tag module to an exchange server through an Internet of things gateway;
and the electronic tag module sends data to a supervision and scheduling center.
CN202210410024.9A 2022-04-19 2022-04-19 Block chain-based lead sealing lock system of traceability electronic tag system and interaction method Pending CN114862417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210410024.9A CN114862417A (en) 2022-04-19 2022-04-19 Block chain-based lead sealing lock system of traceability electronic tag system and interaction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210410024.9A CN114862417A (en) 2022-04-19 2022-04-19 Block chain-based lead sealing lock system of traceability electronic tag system and interaction method

Publications (1)

Publication Number Publication Date
CN114862417A true CN114862417A (en) 2022-08-05

Family

ID=82631968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210410024.9A Pending CN114862417A (en) 2022-04-19 2022-04-19 Block chain-based lead sealing lock system of traceability electronic tag system and interaction method

Country Status (1)

Country Link
CN (1) CN114862417A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115953865A (en) * 2023-03-10 2023-04-11 立芯科技股份有限公司 RFID logistics electronic lock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115953865A (en) * 2023-03-10 2023-04-11 立芯科技股份有限公司 RFID logistics electronic lock

Similar Documents

Publication Publication Date Title
Xie et al. A survey of blockchain technology applied to smart cities: Research issues and challenges
Aggarwal et al. Blockchain for smart communities: Applications, challenges and opportunities
CN109034833B (en) Product tracing information management system and method based on block chain
CN109409122B (en) File storage method, electronic device and storage medium
CN103338188B (en) A kind of dynamic authentication method of client side being applicable to mobile cloud
CN109922162A (en) A kind of flattening Architectural Equipment network monitoring system for things and method based on block chain
CN111666337B (en) Patent technology conversion operation platform and transaction method based on blockchain technology
CN105809062A (en) Contract construction and execution methods and apparatuses
Zhang et al. Construction site information decentralized management using blockchain and smart contracts
DE112019003309T5 (en) DEVICE FOR SECURE RECEIVING OF SHIPMENTS WITH DELEGATING CHAIN
CN110580605B (en) Electronic warehouse receipt information storage system based on block chain
CN111383020A (en) Block chain-based article anti-counterfeiting management method, device, equipment and storage medium
Yang et al. Application of blockchain in internet of things
Wei Blockchain-based data traceability platform architecture for supply chain management
CN111352999A (en) National data circulation and data right confirming method and platform based on block chain
CN114862417A (en) Block chain-based lead sealing lock system of traceability electronic tag system and interaction method
Hassan et al. Future of the internet of things emerging with blockchain and smart contracts
Qin et al. Tribodes: A tri-blockchain-based detection and sharing scheme for dangerous road condition information in internet of vehicles
CN110362584A (en) A kind of agricultural block chain big data management system
CN113886817A (en) Host intrusion detection method and device, electronic equipment and storage medium
Liu et al. Application of blockchain technology in electric vehicle charging piles based on electricity Internet of Things
CN116934357A (en) Industrial product tracing method based on block chain and distributed technology
CN114298721A (en) Portable credible device of tracing to source towards chinese-medicinal material
CN114444876A (en) Energy storage product data management method and system based on block link certification technology
Chen et al. An IoT and blockchain based logistics application of UAV

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