CN113487337A - Product information storage method, tracing method and block chain platform - Google Patents

Product information storage method, tracing method and block chain platform Download PDF

Info

Publication number
CN113487337A
CN113487337A CN202110789411.3A CN202110789411A CN113487337A CN 113487337 A CN113487337 A CN 113487337A CN 202110789411 A CN202110789411 A CN 202110789411A CN 113487337 A CN113487337 A CN 113487337A
Authority
CN
China
Prior art keywords
information
product
identification code
production link
identification
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.)
Granted
Application number
CN202110789411.3A
Other languages
Chinese (zh)
Other versions
CN113487337B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110789411.3A priority Critical patent/CN113487337B/en
Publication of CN113487337A publication Critical patent/CN113487337A/en
Application granted granted Critical
Publication of CN113487337B publication Critical patent/CN113487337B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a product information storage method, a tracing method and a block chain platform, wherein the method comprises the following steps: receiving an identification code which is sent by an industrial internet identification analysis platform and is used for uniquely identifying a certain production link of a target product and corresponding production link information; acquiring identification prefix information of the identification code, and storing the identification code and corresponding production link information into a block corresponding to the identification prefix information; and the identification codes corresponding to all the production links of the target product have the same identification prefix information. The product information storage method, the product information tracing method and the block chain platform can solve the problems that corresponding identification codes are lacked in production links such as product manufacturing and logistics distribution of an existing enterprise, or adopted identification codes are not uniform, association of information of all production links of the same product cannot be achieved, and authenticity of product data cannot be guaranteed.

Description

Product information storage method, tracing method and block chain platform
Technical Field
The invention relates to the technical field of block chain and identification analysis, in particular to a product information storage method, a tracing method and a block chain platform.
Background
The industrial internet identification resolution system is an important component of an industrial internet network system, is a neural hub supporting interconnection and intercommunication of the industrial internet, and has the function similar to a domain name resolution system (DNS) in the field of the internet. The industrial internet identification analysis platform is an important component of an industrial internet identification analysis system, is upwards butted with an identification analysis country top node platform, is downwards butted with an enterprise node platform and an application system, provides identification registration service, identification analysis service, identification data service, operation monitoring and other functions, and is an important link for promoting the construction, application development and industrial ecological construction of the identification analysis system.
However, the existing enterprises lack corresponding identification codes in production links such as product manufacturing and logistics distribution, or the adopted identification codes are not uniform, so that the association of information of each production link of the same product cannot be realized, and meanwhile, the authenticity of product data cannot be ensured.
Disclosure of Invention
The invention aims to solve the technical problems that in order to overcome the defects in the prior art, a product information storage method, a tracing method and a block chain platform are provided, so that the problems that corresponding identification codes are lacked in production links of product manufacturing, logistics distribution and the like of an existing enterprise, or adopted identification codes are not uniform, association of information of all production links of the same product cannot be realized, and authenticity of product data cannot be guaranteed are solved.
In a first aspect, an embodiment of the present invention provides a method for storing product information, where the method is applied to a block chain platform, and the method includes:
receiving an identification code and corresponding production link information which are sent by an industrial internet identification analysis platform and are used for uniquely identifying a certain production link of a target product, wherein the identification code and the corresponding production link information are sent to the industrial internet identification analysis platform by an enterprise node after the certain production link of the target product is finished;
acquiring identification prefix information of the identification code, and storing the identification code and corresponding production link information into a block corresponding to the identification prefix information;
and the identification codes corresponding to all the production links of the target product have the same identification prefix information.
Preferably, the identification code comprises a product summary identification code and a product production link identification code;
the storing the identification code and the corresponding production link information into the block corresponding to the identification prefix information specifically includes:
judging whether the identification code is a product summary identification code;
if so, creating the block, wherein a block head of the block comprises the identification prefix information, a root hash value and a first timestamp, and a block body of the block comprises the production link information corresponding to the product summary identification code;
if not, judging that the identification code is a product production link identification code, and creating a sub-block corresponding to the product production link identification code in the block, wherein the block head of the sub-block comprises the product production link identification code, a sub-block chain version number and a second timestamp, and the block of the sub-block comprises the production link information corresponding to the product production link identification code.
Preferably, after the identification code and the corresponding production link information are stored in the block corresponding to the identification prefix information, the method further includes:
if the identification code is a product summary identification code, a public key and prestored enterprise digital signature information are sent to a recursive node platform, wherein the public key comprises the identification prefix information, the root hash value and the first timestamp;
if the identification code is a product production link identification code, sending a sub-block key and pre-stored production link digital signature information corresponding to the product production link identification code to the recursive node platform, wherein the sub-block key comprises the product production link identification code, the sub-block chain version number and the second timestamp;
the identification prefix information includes a country code, a secondary node code, and an enterprise node code.
In a second aspect, an embodiment of the present invention provides a method for storing product information, which is applied to an industrial internet identifier resolution platform, and the method includes:
receiving an identification code and corresponding production link information which are sent by an enterprise node after a certain production link of a target product is finished and are used for uniquely identifying the certain production link of the target product;
sending the identification code and the corresponding production link information to a block chain platform so that the block chain platform acquires identification prefix information of the identification code and stores the identification code and the corresponding production link information to a block corresponding to the identification prefix information;
and the identification codes corresponding to all the production links of the target product have the same identification prefix information.
Preferably, the identification code comprises a product summary identification code and a product production link identification code;
before receiving an identification code for identifying a certain production link of a target product and corresponding production link information sent by an enterprise node after the certain production link of the target product is completed, the method further includes:
acquiring an identification code prefix application request of an enterprise user corresponding to the enterprise node, wherein the identification code prefix application request carries enterprise information;
auditing the enterprise user according to the enterprise information, and sending the identification prefix information to the enterprise node after the auditing is passed;
wherein the identification prefix information includes a country code, a secondary node code, and an enterprise node code.
In a third aspect, an embodiment of the present invention provides a method for tracing to a source of product information, where the method is applied to a block chain platform, and the method includes:
storing the product information of the target product on a block chain platform by adopting the storage method of the product information in the first aspect; and the number of the first and second groups,
receiving an information acquisition request which is sent by a recursion node platform and carries an identification code of a target product, wherein the information acquisition request is sent by the recursion node platform after receiving an identification code analysis request of user equipment;
acquiring production link information corresponding to the identification code according to the information acquisition request;
and sending the production link information to the recursive node platform so that the recursive node platform feeds the production link information back to the user equipment.
Preferably, the receiving of the information acquisition request carrying the identification code of the target product sent by the recursive node platform specifically includes:
receiving an information acquisition request which is sent by the recursive node platform and carries a product summary identification code, a public key and enterprise digital signature information, wherein the public key comprises identification prefix information, a root hash value and a first timestamp;
the acquiring of the production link information corresponding to the identification code according to the information acquisition request specifically includes:
verifying the public key and the enterprise digital signature information;
and if the product summary identification code passes the verification, acquiring the production link information corresponding to the product summary identification code.
Preferably, while the production link information is sent to the recursive node platform, the method further includes:
acquiring all sub-block chain version numbers of the blocks corresponding to the identification prefix information and corresponding product production link identification codes;
and sending the version numbers of all the sub-block chains and the corresponding product production link identification codes to the recursive node platform so that the recursive node platform feeds back the version numbers of all the sub-block chains and the corresponding product production link identification codes to the user equipment.
Preferably, the receiving of the information acquisition request carrying the identification code of the target product sent by the recursive node platform specifically includes:
receiving an information acquisition request which is sent by the recursive node platform and carries a product production link identification code, a sub-block key and production link digital signature information, wherein the sub-block key comprises the product production link identification code, a sub-block chain version number and a second timestamp;
the acquiring of the production link information corresponding to the identification code according to the information acquisition request specifically includes:
verifying the sub-block key and the digital signature information in the production link;
and if the product passes the verification, acquiring the production link information corresponding to the product production link identification code.
In a fourth aspect, an embodiment of the present invention provides a blockchain platform, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to implement the method for storing product information according to the first aspect or the method for tracing to source of product information according to the third aspect.
According to the product information storage method, the product information tracing method and the block chain platform provided by the embodiment of the invention, the identification code for uniquely identifying a certain production link of a target product and the corresponding production link information sent by the industrial internet identification analysis platform are received, the identification prefix information of the identification code is obtained, and the identification code and the corresponding production link information are stored in the block corresponding to the identification prefix information, so that the authenticity of product data is ensured. In addition, because the identification codes corresponding to each production link of the same product have uniform identification prefix information, the identification codes of different production links of the same product and corresponding production link information can be stored in the same block, so that the tracing of the product information is facilitated, and the association of the production link information of the same product is realized, thereby solving the problems that the existing enterprises lack corresponding identification codes in the production links of product manufacturing, logistics distribution and the like, or the adopted identification codes are not uniform, the association of the production link information of the same product cannot be realized, and the authenticity of product data cannot be ensured at the same time.
Drawings
FIG. 1: the invention relates to a scene graph of a product information storage method and a tracing method in an embodiment;
FIG. 2: is a flow chart of a method for storing product information according to embodiment 1 of the present invention;
FIG. 3: a flow chart of a method for storing product information in embodiment 2 of the present invention;
FIG. 4: a flow chart of a tracing method of product information in embodiment 3 of the present invention;
FIG. 5: a schematic structural diagram of a block chain platform according to embodiment 4 of the present invention is shown.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following detailed description will be made with reference to the accompanying drawings.
It is to be understood that the specific embodiments and figures described herein are merely illustrative of the invention and are not limiting of the invention.
It is to be understood that the embodiments and features of the embodiments can be combined with each other without conflict.
It is to be understood that, for the convenience of description, only parts related to the present invention are shown in the drawings of the present invention, and parts not related to the present invention are not shown in the drawings.
It should be understood that each unit and module related in the embodiments of the present invention may correspond to only one physical structure, may also be composed of multiple physical structures, or multiple units and modules may also be integrated into one physical structure.
It will be understood that, without conflict, the functions, steps, etc. noted in the flowchart and block diagrams of the present invention may occur in an order different from that noted in the figures.
It is to be understood that the flowchart and block diagrams of the present invention illustrate the architecture, functionality, and operation of possible implementations of systems, apparatus, devices and methods according to various embodiments of the present invention. Each block in the flowchart or block diagrams may represent a unit, module, segment, code, which comprises executable instructions for implementing the specified function(s). Furthermore, each block or combination of blocks in the block diagrams and flowchart illustrations can be implemented by a hardware-based system that performs the specified functions or by a combination of hardware and computer instructions.
It is to be understood that the units and modules involved in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware, for example, the units and modules may be located in a processor.
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, a brief description will be given below of some technical terms involved in the embodiments of the present invention.
It should be noted that the scene diagram described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
As shown in fig. 1, a scene diagram of a method for storing product information and a method for tracing to a source provided in the embodiment of the present application is shown, where an industrial internet identifier parsing platform is also called a secondary node platform, and is used for an enterprise to apply for registering identifier prefix information, generating a unique identifier, and generating an identifier carrier, where the identifier carrier may be a passive identifier carrier barcode, a two-dimensional code, an RFID (Radio Frequency Identification), or an active identifier carrier module, and the like. An enterprise user can log in an industrial internet identification analysis platform to apply for identification code prefix information, enterprise nodes are arranged according to product production links, identification codes for uniquely identifying a certain production link of a product and corresponding production link information are synchronously sent to a block chain platform, a recursive node platform and a national top node platform through the enterprise nodes, the identification codes of the same identification prefix information and the corresponding production link information are placed in the same block through the block chain platform, storage of the product information is achieved, traceability of the product information is facilitated, and authenticity of the traceability information can be guaranteed. A user or other third party can scan an identification carrier on a target product through user equipment to send an identification code analysis request to a recursive node platform, the recursive node platform further sends an information acquisition request carrying an identification code to a block chain platform and receives corresponding production link information, and the recursive node platform feeds the production link information back to the user equipment so as to realize the tracing of product information.
Based on the scene diagram shown in fig. 1, the following describes related embodiments of the product information saving method and the tracing method according to the present application.
Example 1:
the embodiment provides a method for storing product information, which is applied to a block chain platform, as shown in fig. 2, and the method includes:
step S102: the method comprises the steps of receiving an identification code and corresponding production link information which are sent by an industrial internet identification analysis platform and are used for uniquely identifying a certain production link of a target product, wherein the identification code and the corresponding production link information are sent to the industrial internet identification analysis platform by an enterprise node after the certain production link of the target product is completed.
Step S104: acquiring identification prefix information of the identification code, and storing the identification code and corresponding production link information into a block corresponding to the identification prefix information;
the identification codes corresponding to all production links of the target product have the same identification prefix information.
In this embodiment, the enterprise user may first log in the industrial internet identity parsing platform to apply for the identifier prefix information. Specifically, the enterprise user fills in enterprise information including an enterprise name, an enterprise type, an industry to which the enterprise belongs, enterprise certificate information, enterprise contacts, a contact phone and the like, and submits an identification code prefix application request. The industrial internet identity analysis platform audits the enterprise users according to the enterprise information, for example, the enterprise users can be audited through manual auditing and by an administrator through the industrial internet identity analysis platform, and the identity prefix information is distributed or sent to the enterprise users after the auditing is passed. Meanwhile, enterprise users can set enterprise nodes according to each production link of the product, information of each production link is filled in corresponding enterprise nodes, after a certain production link of the product is completed, an identification code for uniquely identifying the certain production link of the product and corresponding production link information are synchronously sent to the industrial internet identification analysis platform by the enterprise nodes, and then the identification code and the corresponding production link information are sent to the block chain platform, the recursive node platform and the national top node platform by the industrial internet identification analysis platform. Preferably, the industrial internet identity resolution platform can periodically (for example, one week and one month, and the time can be set) synchronize the identification code and the production link information with the blockchain platform, the recursive node platform and the national top node platform.
In this embodiment, the identification code is composed of identification prefix information and identification suffix information, the identification prefix information can uniquely identify one product, the identification codes belonging to different production links of the same product have the same identification prefix information, and the identification prefix information includes a country code, a secondary node code and an enterprise node code. Preferably, the country code is 2 bits, the secondary node code is 3 bits, and the enterprise node code is 10 bits. For example, 88.185.XXXXXXXXXX represents the business applying for an identification code prefix in the secondary nodes in the west and the west. The identification suffix information can be set by the enterprise user in a self-defined way, for example, the identification suffix information can be set according to the manufacturer information corresponding to each production link.
In this embodiment, the identification codes may be divided into a product overview identification code and a product production link identification code according to different production links, the product overview identification code is an identification code of a product overview link, suffix information of the product overview identification code may be set to a certain fixed code or may be null, and the product overview identification code and the identification prefix information are preferably the same. The identification codes of other links except the product summary link are the identification codes of the product production link.
Optionally, the storing the identification code and the corresponding production link information into the block corresponding to the identification prefix information may specifically include:
judging whether the identification code is a product summary identification code;
if so, creating a block, wherein the block head of the block comprises identification prefix information, a root hash value and a first timestamp, and the block body of the block comprises production link information corresponding to the product summary identification code;
if not, the identification code is judged to be a product production link identification code, a sub-block corresponding to the product production link identification code is created in the block body, the block head of the sub-block comprises the product production link identification code, a sub-block chain version number and a second timestamp, and the block body of the sub-block comprises production link information corresponding to the product production link identification code.
In this embodiment, the identification suffix information of the product summary identification code is preferably null, that is, the product summary identification code is the same as the identification prefix information, and when the blockchain platform receives the product summary identification code sent by the industrial internet identification resolution platform, the blockchain platform creates a corresponding block, where a blockchain header may include a blockchain version number, a root hash value, a last blockchain hash value, identification prefix information, a timestamp, and a random number. The block body can contain the detailed information of the production link, namely product summary information, and can also comprise: identification prefix information, identification code information of all product production links under the identification prefix information, sub-block index information and the like. If the block chain platform receives a product summary identification code sent by the industrial internet identification analysis platform, a sub-block corresponding to a product production link identification code is created in the block, wherein each piece of production link information is stored in one of the sub-blocks, each sub-block key is a sub-block chain version number + a timestamp + the product production link identification code, and a digital signature is the production link data signature information. For example, the identification code corresponding to each production link of a target product and the contents of the enterprise node and the block may be as shown in table 1, wherein the enterprise node code is preferably 10 bits.
Table 1:
Figure BDA0003160270930000091
Figure BDA0003160270930000101
Figure BDA0003160270930000111
optionally, after the identification code and the corresponding production link information are stored in the block corresponding to the identification prefix information, the method may further include:
if the identification code is a product summary identification code, a public key and prestored enterprise digital signature information are sent to the recursive node platform, and the public key comprises identification prefix information, a root hash value and a first timestamp;
and if the identification code is a product production link identification code, sending a sub-block key and production link digital signature information corresponding to the prestored product production link identification code to the recursive node platform, wherein the sub-block key comprises the product production link identification code, a sub-block version number and a second timestamp.
In this embodiment, the enterprise digital signature information and the production link digital signature information may be sent together when the industrial internet identity resolution platform sends the identification code to the blockchain platform. In order to facilitate tracing of subsequent product information, the block chain platform can send the public key corresponding to each identification code and the enterprise digital signature information, or the sub-block key and the production link digital signature information to the recursive node platform.
In this embodiment, when a user or another third party wants to view product information, an identification code analysis request may be sent to the recursive node platform by scanning an identification carrier on a target product through the user equipment. The recursive node platform analyzes the identification code in the identification code analysis request, sends an information acquisition request carrying the identification code to the block chain platform, returns corresponding production link information to the recursive node platform after receiving the request, and feeds the production link information back to the user equipment so as to realize the tracing of the product information.
In a specific example, the tracing process of the product information includes the following steps:
(1) when the recursive node platform analyzes that the product summary identification code is queried by the user, the recursive node platform sends an information acquisition request carrying the product summary identification code, a public key (the public key is root hash value + first timestamp + identification prefix information) and enterprise digital signature information to the block chain platform, the block chain platform verifies the public key and the enterprise digital signature information, and after the verification is passed, acquires production link information corresponding to the product summary identification code, namely the product summary information, and feeds the product summary information back to the recursive node platform, and the recursive node platform feeds back the corresponding product summary information to the user. Meanwhile, in order to facilitate a user to check the production link information of the product, the block chain platform can acquire all the sub-block version numbers of the blocks corresponding to the identification prefix information and the corresponding product production link identification codes, and send the version numbers and the corresponding product production link identification codes to the recursive node platform, so that the recursive node platform feeds back all the sub-block version numbers and the corresponding product production link identification codes to the user equipment.
(2) When a user or other third party wants to continuously check the sub-block chain information of a certain production link of the product, the identification code of the certain production link can be input in the recursive node platform, or the recursive node platform can show all sub-block version numbers sent by the block chain platform and the corresponding product production link identification codes to the user, so that the user can select to check the sub-block chain information. And the recursive node platform acquires detailed information corresponding to the production link from the block chain platform and feeds the detailed information back to the user.
(3) When the recursive node platform analyzes that the product production link identification code is queried by the user, the recursive node platform sends an information acquisition request carrying the product production link identification code, a sub-block key (sub-block key is a sub-block version number + a second timestamp + the product production link identification code) and production link digital signature information to the block chain platform, the block chain platform verifies the sub-block key and the production link digital signature information, and after the verification is passed, the production link information corresponding to the product production link identification code is acquired and fed back to the recursive node platform, and the recursive node platform feeds back the corresponding production link information to the user.
(4) When the user or other third party wants to continuously check the product summary information, the product summary identification code can be input to the recursive node platform, and the recursive node platform acquires the detailed information of the corresponding production link from the block chain platform and feeds the detailed information back to the user.
(5) When the recursive node platform analyzes that the identification code queried by the user is not the product summary identification code or the product production link identification code, the recursive node platform feeds back the information to the user.
According to the method for storing the product information, provided by the embodiment of the invention, the identification code for uniquely identifying a certain production link of the target product and the corresponding production link information sent by the industrial internet identification analysis platform are received, the identification prefix information of the identification code is obtained, and the identification code and the corresponding production link information are stored in the block corresponding to the identification prefix information, so that the authenticity of product data is ensured. In addition, because the identification codes corresponding to each production link of the same product have uniform identification prefix information, the identification codes of different production links of the same product and corresponding production link information can be stored in the same block, so that the tracing of the product information is facilitated, and the association of the production link information of the same product is realized, thereby solving the problems that the existing enterprises lack corresponding identification codes in the production links of product manufacturing, logistics distribution and the like, or the adopted identification codes are not uniform, the association of the production link information of the same product cannot be realized, and the authenticity of product data cannot be ensured at the same time.
Example 2:
as shown in fig. 3, this embodiment provides a method for storing product information, which is applied to an industrial internet identifier resolution platform, and the method includes:
step S202: receiving an identification code and corresponding production link information which are sent by an enterprise node after a certain production link of a target product is finished and are used for uniquely identifying the certain production link of the target product;
step S204: sending the identification code and the corresponding production link information to a block chain platform so that the block chain platform acquires identification prefix information of the identification code and stores the identification code and the corresponding production link information into a block corresponding to the identification prefix information;
the identification codes corresponding to all production links of the target product have the same identification prefix information.
Optionally, the identification code comprises a product summary identification code and a product production link identification code;
before receiving an identification code for identifying a certain production link of a target product and corresponding production link information sent by an enterprise node after the certain production link of the target product is completed, the method may further include:
acquiring an identification code prefix application request of an enterprise user corresponding to an enterprise node, wherein the identification code prefix application request carries enterprise information;
auditing enterprise users according to the enterprise information, and sending identification prefix information to enterprise nodes after the auditing is passed;
the identification prefix information comprises a country code, a secondary node code and an enterprise node code.
Example 3:
as shown in fig. 4, the present embodiment provides a method for tracing product information, which is applied to a block chain platform, and the method includes:
the product information of the target product is stored on the block chain platform by adopting any product information storage method; and the number of the first and second groups,
step S302: receiving an information acquisition request which is sent by a recursion node platform and carries an identification code of a target product, wherein the information acquisition request is sent by the recursion node platform after receiving an identification code analysis request of user equipment;
step S304: acquiring production link information corresponding to the identification code according to the information acquisition request;
step S306: and sending the production link information to the recursive node platform so that the recursive node platform feeds the production link information back to the user equipment.
Before the method, the blockchain platform has already stored the product information of the target product in the block by executing the method for storing the product information in embodiment 1, that is, the identification code corresponding to each production link of the target product and the corresponding production link information. A user or other third party can scan an identification carrier on a target product through user equipment and send an identification code analysis request to the recursive node platform, and the recursive node platform sends a corresponding information acquisition request to the block chain platform.
Optionally, receiving an information acquisition request carrying an identification code of a target product sent by a recursive node platform may specifically include:
receiving an information acquisition request which is sent by a recursive node platform and carries a product summary identification code, a public key and enterprise digital signature information, wherein the public key comprises identification prefix information, a root hash value and a first timestamp;
acquiring production link information corresponding to the identification code according to the information acquisition request, which specifically comprises the following steps:
verifying the public key and the enterprise digital signature information;
and if the verification is passed, acquiring production link information corresponding to the product summary identification code.
Optionally, while sending the production link information to the recursive node platform, the method may further include:
acquiring all sub-block chain version numbers of blocks corresponding to the identification prefix information and corresponding product production link identification codes;
and sending the version numbers of all the sub-block chains and the corresponding product production link identification codes to the recursive node platform so that the recursive node platform feeds back the version numbers of all the sub-block chains and the corresponding product production link identification codes to the user equipment.
Optionally, the product information of the target product is stored on the blockchain platform by using the product information storage method of claim 3;
receiving an information acquisition request carrying an identification code of a target product sent by a recursive node platform may specifically include:
receiving an information acquisition request which is sent by a recursive node platform and carries a product production link identification code, a sub-block key and production link digital signature information, wherein the sub-block key comprises a product production link identification code, a sub-block chain version number and a second timestamp;
acquiring the production link information corresponding to the identification code according to the information acquisition request specifically includes:
verifying the subblock secret key and the digital signature information in the production link;
and if the verification is passed, acquiring production link information corresponding to the product production link identification code.
Example 4:
referring to fig. 5, the present embodiment provides a blockchain platform, which includes a memory 21 and a processor 22, where the memory 21 stores a computer program, and the processor 22 is configured to execute the computer program to perform the method for saving the product information in embodiment 1 or the method for tracing the product information in embodiment 3.
The memory 21 is connected to the processor 22, the memory 21 may be a flash memory, a read-only memory or other memories, and the processor 22 may be a central processing unit or a single chip microcomputer.
Embodiments 2 to 4 provide a method for storing product information, a method for tracing to a source, and a block chain platform, which receive an identification code and corresponding production link information that are sent by an industrial internet identification parsing platform and are used for uniquely identifying a certain production link of a target product, acquire identification prefix information of the identification code, and store the identification code and the corresponding production link information into a block corresponding to the identification prefix information, thereby ensuring authenticity of product data. In addition, because the identification codes corresponding to each production link of the same product have uniform identification prefix information, the identification codes of different production links of the same product and corresponding production link information can be stored in the same block, so that the tracing of the product information is facilitated, and the association of the production link information of the same product is realized, thereby solving the problems that the existing enterprises lack corresponding identification codes in the production links of product manufacturing, logistics distribution and the like, or the adopted identification codes are not uniform, the association of the production link information of the same product cannot be realized, and the authenticity of product data cannot be ensured at the same time.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A method for storing product information is applied to a block chain platform, and is characterized in that the method comprises the following steps:
receiving an identification code and corresponding production link information which are sent by an industrial internet identification analysis platform and are used for uniquely identifying a certain production link of a target product, wherein the identification code and the corresponding production link information are sent to the industrial internet identification analysis platform by an enterprise node after the certain production link of the target product is finished;
acquiring identification prefix information of the identification code, and storing the identification code and corresponding production link information into a block corresponding to the identification prefix information;
and the identification codes corresponding to all the production links of the target product have the same identification prefix information.
2. The method for storing product information according to claim 1, wherein the identification code includes a product summary identification code and a product production link identification code;
the storing the identification code and the corresponding production link information into the block corresponding to the identification prefix information specifically includes:
judging whether the identification code is a product summary identification code;
if so, creating the block, wherein a block head of the block comprises the identification prefix information, a root hash value and a first timestamp, and a block body of the block comprises the production link information corresponding to the product summary identification code;
if not, judging that the identification code is a product production link identification code, and creating a sub-block corresponding to the product production link identification code in the block, wherein the block head of the sub-block comprises the product production link identification code, a sub-block chain version number and a second timestamp, and the block of the sub-block comprises the production link information corresponding to the product production link identification code.
3. The method for storing product information according to claim 2, wherein after the identification code and the corresponding production link information are stored in the block corresponding to the identification prefix information, the method further comprises:
if the identification code is a product summary identification code, a public key and prestored enterprise digital signature information are sent to a recursive node platform, wherein the public key comprises the identification prefix information, the root hash value and the first timestamp;
if the identification code is a product production link identification code, sending a sub-block key and pre-stored production link digital signature information corresponding to the product production link identification code to the recursive node platform, wherein the sub-block key comprises the product production link identification code, the sub-block chain version number and the second timestamp;
the identification prefix information includes a country code, a secondary node code, and an enterprise node code.
4. A method for storing product information is applied to an industrial Internet identification analysis platform, and is characterized by comprising the following steps:
receiving an identification code and corresponding production link information which are sent by an enterprise node after a certain production link of a target product is finished and are used for uniquely identifying the certain production link of the target product;
sending the identification code and the corresponding production link information to a block chain platform so that the block chain platform acquires identification prefix information of the identification code and stores the identification code and the corresponding production link information to a block corresponding to the identification prefix information;
and the identification codes corresponding to all the production links of the target product have the same identification prefix information.
5. The method for storing product information according to claim 4, wherein the identification code includes a product summary identification code and a product production link identification code;
before receiving an identification code for identifying a certain production link of a target product and corresponding production link information sent by an enterprise node after the certain production link of the target product is completed, the method further includes:
acquiring an identification code prefix application request of an enterprise user corresponding to the enterprise node, wherein the identification code prefix application request carries enterprise information;
auditing the enterprise user according to the enterprise information, and sending the identification prefix information to the enterprise node after the auditing is passed;
wherein the identification prefix information includes a country code, a secondary node code, and an enterprise node code.
6. A tracing method of product information is applied to a block chain platform, and is characterized in that the method comprises the following steps:
storing the product information of the target product on a blockchain platform by adopting the product information storing method of any one of claims 1 to 3; and the number of the first and second groups,
receiving an information acquisition request which is sent by a recursion node platform and carries an identification code of a target product, wherein the information acquisition request is sent by the recursion node platform after receiving an identification code analysis request of user equipment;
acquiring production link information corresponding to the identification code according to the information acquisition request;
and sending the production link information to the recursive node platform so that the recursive node platform feeds the production link information back to the user equipment.
7. The tracing method for product information according to claim 6, wherein the product information of the target product is stored on the blockchain platform by using the storage method for product information according to claim 3;
the receiving of the information acquisition request carrying the identification code of the target product sent by the recursive node platform specifically includes:
receiving an information acquisition request which is sent by the recursive node platform and carries a product summary identification code, a public key and enterprise digital signature information, wherein the public key comprises identification prefix information, a root hash value and a first timestamp;
the acquiring of the production link information corresponding to the identification code according to the information acquisition request specifically includes:
verifying the public key and the enterprise digital signature information;
and if the product summary identification code passes the verification, acquiring the production link information corresponding to the product summary identification code.
8. The method of claim 7, wherein the step of sending the production link information to the recursive node platform further comprises:
acquiring all sub-block chain version numbers of the blocks corresponding to the identification prefix information and corresponding product production link identification codes;
and sending the version numbers of all the sub-block chains and the corresponding product production link identification codes to the recursive node platform so that the recursive node platform feeds back the version numbers of all the sub-block chains and the corresponding product production link identification codes to the user equipment.
9. The tracing method for product information according to claim 6, wherein the product information of the target product is stored on the blockchain platform by using the storage method for product information according to claim 3;
the receiving of the information acquisition request carrying the identification code of the target product sent by the recursive node platform specifically includes:
receiving an information acquisition request which is sent by the recursive node platform and carries a product production link identification code, a sub-block key and production link digital signature information, wherein the sub-block key comprises the product production link identification code, a sub-block chain version number and a second timestamp;
the acquiring of the production link information corresponding to the identification code according to the information acquisition request specifically includes:
verifying the sub-block key and the digital signature information in the production link;
and if the product passes the verification, acquiring the production link information corresponding to the product production link identification code.
10. A blockchain platform comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the method for saving product information according to any one of claims 1 to 3 or to implement the method for tracing product information according to any one of claims 6 to 9.
CN202110789411.3A 2021-07-13 2021-07-13 Product information storage method, tracing method and blockchain platform Active CN113487337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110789411.3A CN113487337B (en) 2021-07-13 2021-07-13 Product information storage method, tracing method and blockchain platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110789411.3A CN113487337B (en) 2021-07-13 2021-07-13 Product information storage method, tracing method and blockchain platform

Publications (2)

Publication Number Publication Date
CN113487337A true CN113487337A (en) 2021-10-08
CN113487337B CN113487337B (en) 2024-02-09

Family

ID=77938954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110789411.3A Active CN113487337B (en) 2021-07-13 2021-07-13 Product information storage method, tracing method and blockchain platform

Country Status (1)

Country Link
CN (1) CN113487337B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114240451A (en) * 2021-11-15 2022-03-25 国网电子商务有限公司 Product tracing method and device
CN114338527A (en) * 2021-12-30 2022-04-12 中国电信股份有限公司 IPv6 active identifier processing method and system
CN114493632A (en) * 2022-01-24 2022-05-13 山东浪潮工业互联网产业股份有限公司 Authentication method and equipment for real-year wine

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108520293A (en) * 2018-04-03 2018-09-11 中兴能源(天津)有限公司 A kind of product false proof source tracing method, device, server and storage medium
CN109685551A (en) * 2018-12-05 2019-04-26 深圳正品创想科技有限公司 Information processing method and its device, server and information processing system
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110516965A (en) * 2019-08-27 2019-11-29 北京工商大学 The credible retrospect model of oil and foodstuffs full supply chain and construction method based on block chain
CN111445272A (en) * 2020-04-08 2020-07-24 华南农业大学 Agricultural product traceability information processing system and method based on block chain
CN111767484A (en) * 2020-08-31 2020-10-13 中国信息通信研究院 Industrial Internet identification analysis method and related device
CN112070516A (en) * 2020-09-18 2020-12-11 北京京东振世信息技术有限公司 Product tracing method and device and block chain system
CN112085417A (en) * 2020-09-24 2020-12-15 北京工业大学 Industrial Internet identification distribution and data management method based on block chain
CN112163870A (en) * 2020-09-30 2021-01-01 中国联合网络通信集团有限公司 Block chain-based information management method, analysis node and rework platform
CN112243023A (en) * 2020-08-05 2021-01-19 宁夏无线互通信息技术有限公司 Product tracing system and method based on industrial internet identification analysis
CN112653774A (en) * 2020-12-16 2021-04-13 北京航天智造科技发展有限公司 Industrial internet identification coding method and device
CN112991060A (en) * 2021-03-05 2021-06-18 苏州迈兰德节能环保科技有限公司 Block chain-based carbon trace data tracking method and device and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108520293A (en) * 2018-04-03 2018-09-11 中兴能源(天津)有限公司 A kind of product false proof source tracing method, device, server and storage medium
CN109685551A (en) * 2018-12-05 2019-04-26 深圳正品创想科技有限公司 Information processing method and its device, server and information processing system
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110516965A (en) * 2019-08-27 2019-11-29 北京工商大学 The credible retrospect model of oil and foodstuffs full supply chain and construction method based on block chain
CN111445272A (en) * 2020-04-08 2020-07-24 华南农业大学 Agricultural product traceability information processing system and method based on block chain
CN112243023A (en) * 2020-08-05 2021-01-19 宁夏无线互通信息技术有限公司 Product tracing system and method based on industrial internet identification analysis
CN111767484A (en) * 2020-08-31 2020-10-13 中国信息通信研究院 Industrial Internet identification analysis method and related device
CN112070516A (en) * 2020-09-18 2020-12-11 北京京东振世信息技术有限公司 Product tracing method and device and block chain system
CN112085417A (en) * 2020-09-24 2020-12-15 北京工业大学 Industrial Internet identification distribution and data management method based on block chain
CN112163870A (en) * 2020-09-30 2021-01-01 中国联合网络通信集团有限公司 Block chain-based information management method, analysis node and rework platform
CN112653774A (en) * 2020-12-16 2021-04-13 北京航天智造科技发展有限公司 Industrial internet identification coding method and device
CN112991060A (en) * 2021-03-05 2021-06-18 苏州迈兰德节能环保科技有限公司 Block chain-based carbon trace data tracking method and device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YAN CAO 等: "Efficient traceability systems of steel products using blockchain-based industrial Internet of Things", 《IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS》, vol. 16, no. 9, pages 6004 - 6012, XP011791703, DOI: 10.1109/TII.2019.2942211 *
徐科 等: "基于区块链技术的中药材质量追溯研究与体系构建", 《现代计算机(专业版)》, no. 32, pages 67 - 72 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114240451A (en) * 2021-11-15 2022-03-25 国网电子商务有限公司 Product tracing method and device
CN114240451B (en) * 2021-11-15 2022-05-17 国网电子商务有限公司 Product tracing method and device
CN114338527A (en) * 2021-12-30 2022-04-12 中国电信股份有限公司 IPv6 active identifier processing method and system
CN114338527B (en) * 2021-12-30 2023-09-08 中国电信股份有限公司 IPv6 active identifier processing method and system
CN114493632A (en) * 2022-01-24 2022-05-13 山东浪潮工业互联网产业股份有限公司 Authentication method and equipment for real-year wine

Also Published As

Publication number Publication date
CN113487337B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN113487337B (en) Product information storage method, tracing method and blockchain platform
CN104468531B (en) The authorization method of sensitive data, device and system
CN1943203B (en) For the first mark of verifying entity and the method for the second mark
EP3701667B1 (en) Anonymity system for goods delivery
CN111885133B (en) Block chain-based data processing method and device and computer storage medium
CN110099029A (en) A kind of auth method, terminal device and server
CN111200523B (en) Method, device, equipment and storage medium for configuring middle platform system
CN105245620B (en) The method, apparatus and system of information transmission
CN103152401B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN109783357A (en) The method and device of test application program, computer equipment, storage medium
CN103581881B (en) Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side
CN108737339A (en) A kind of activity is registered method, user terminal, server and system
CN105227736B (en) A kind of update method of reserved phone number, apparatus and system
CN109921910A (en) Verification method and device, storage medium, the electronic device of certificate status
CN104778386A (en) Registration method and system for product
CN102611683B (en) A kind of method, device, equipment and system for performing Third Party Authentication
CN111988418A (en) Data processing method, device, equipment and computer readable storage medium
CN105976141A (en) Networked logistics inventory method and device
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN109905394A (en) Method for anti-counterfeit, base station, user terminal, user support system based on block chain
CN106028326B (en) WiFi configuration method and device of smart watch
CN104184773B (en) A kind of data download method and system
CN102833214A (en) Webpage login system and method based on credential
CN105404766B (en) User's history medical data querying method and distributed system
CN109327475B (en) Multi-layer identity authentication method, device, equipment and storage medium

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