CN111767484A - Industrial Internet identification analysis method and related device - Google Patents

Industrial Internet identification analysis method and related device Download PDF

Info

Publication number
CN111767484A
CN111767484A CN202010895485.0A CN202010895485A CN111767484A CN 111767484 A CN111767484 A CN 111767484A CN 202010895485 A CN202010895485 A CN 202010895485A CN 111767484 A CN111767484 A CN 111767484A
Authority
CN
China
Prior art keywords
identifier
information
node
identification
analysis
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
CN202010895485.0A
Other languages
Chinese (zh)
Other versions
CN111767484B (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 Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202010895485.0A priority Critical patent/CN111767484B/en
Publication of CN111767484A publication Critical patent/CN111767484A/en
Application granted granted Critical
Publication of CN111767484B publication Critical patent/CN111767484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Abstract

The embodiment of the application provides an industrial internet identification analysis method, a client and a node of a block chain, wherein the client receives an analysis request, the analysis request comprises an identification to be analyzed, the identification to be analyzed comprises an identification prefix and an identification suffix, the identification prefix indicates an object for storing analysis information of the identification, the client sends the analysis request to a target node in the block chain, and the target node obtains the analysis information from the object according to the identification in the analysis request and sends the analysis information to the client. Because the identifier prefix indicates an object for storing the analysis information, even if different identifier analysis systems are incompatible or an identifier to be queried does not exist in a system bound by the client, the analysis information can be acquired through the identifier prefix, so that mutual access of the different analysis systems by taking a node in the block chain as a bridge is realized. Furthermore, the method ensures the safety under the condition of mutual access based on the characteristic of a consensus mechanism of the block chains.

Description

Industrial Internet identification analysis method and related device
Technical Field
The present application relates to the field of data processing, and more particularly, to an industrial internet identifier parsing method and a related apparatus.
Background
Currently, there are a variety of industrial internet identity resolution systems (hereinafter referred to as identity resolution systems) including a centralized identity resolution system and a decentralized identity resolution system based on a block chain, and the identity resolution systems are naturally equivalent to each other and do not have a dependency relationship, so that the various identity resolution systems are incompatible (for example, different devices in the identity resolution system a and the identity resolution system B have the same identity), and further, the security of the identity resolution systems is also considered, so that different identity resolution systems cannot be accessed with each other at present.
With the increase of devices, a new identifier resolution system can be further expanded, and therefore, how to realize mutual access of different identifier resolution systems becomes a problem to be solved urgently at present.
Disclosure of Invention
In view of this, the present application provides an industrial internet identifier parsing method and a related apparatus, and aims to solve the problem of mutual access between different identifier parsing systems.
An industrial Internet identification analysis method is applied to a client, and comprises the following steps:
receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
sending the analysis request to a target node in a block chain under the condition that the object is not a first identifier analysis system, wherein the first identifier analysis system is a system bound by the client in advance, and the target node is a consensus node corresponding to the type of the first identifier analysis system in advance or the consensus node selected by the client in advance;
and receiving the analysis information of the identifier sent by the target node, wherein the analysis information is acquired from the object by the target node according to the identifier.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
and indicating the identification prefix of any identification analysis system based on the block chain as the unique identification of the block chain.
Optionally, the object further comprises:
the consensus node in the blockchain; (ii) a
The prefix identifier indicating that the object is the node is: and the client pre-binds codes corresponding to the types of the users.
Optionally, the method further comprises:
and under the condition that the object is the first identifier analysis system, acquiring analysis information of the identifier in the first identifier analysis system.
Optionally, before the receiving the parsing request, the method further includes:
in the pre-binding system, establishing a proxy node and generating a public key;
establishing communication between the agent node and the target node according to the type of the first identification analysis system;
sending, by the proxy node, information for registration to the target node, the information for registration including the identifier prefix and the public key of the first identifier resolution system.
Optionally, the information sent to the target node by the proxy node includes:
an identifier prefix field and an operator public key field, wherein a value of the identifier prefix field in the information for registration is the identifier prefix of the first identifier resolution system, and a value of the operator public key field in the information for registration is the public key.
Optionally, the information further comprises at least one of the following fields:
recording attribute fields, wherein the numerical value is the type of the first identification analysis system;
an operation type field, a numerical value indicating a purpose of the information; when the purpose is registration, the information is the information for registration;
a modified content field, a value for indicating property information of the binding system at the client;
remark information field, the value is the additional content of the information;
and a timestamp field, wherein the value is the sending time of the information.
An industrial internet identification analysis method is applied to a node of a block chain, and the method comprises the following steps:
a target node receives an analysis request sent by a client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and identifier content, and the identifier prefix indicates an object for storing analysis information of the identifier; the target node is a consensus node which is in advance corresponding to the type of a first identification analysis system which is bound with the client in advance in the nodes, or the consensus node which is selected by the client in advance;
the target node inquires the address of the object through a consensus mechanism;
the target node acquires the resolution information of the identifier from the object by accessing the address;
and the target node sends the resolution information of the identifier to the client.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
indicating the identification prefix of any one block chain-based identification resolution system as a unique identification of the block chain;
the target node corresponding to the centralized identification analysis system in advance is a cross-domain node, and attribute information of each centralized identification analysis system is stored in the cross-domain node in advance;
the target node corresponding to the identifier resolution system based on the block chain in advance is a cross-chain node, and attribute information of each identifier resolution system based on the block chain is stored in the cross-chain node in advance.
Optionally, the object further comprises:
the consensus node in the blockchain;
the prefix identifier indicating that the object is the consensus node is: the client pre-binds codes corresponding to the types of the users;
and the attribute information of the user is stored in the consensus node.
Optionally, before the receiving the parsing request, the method further includes:
the node receives information sent by a client, wherein the client binds an identification analysis system in advance, the node is the target node, the information comprises information of the identification analysis system, or the client binds an individual user in advance, the node is the consensus node, and the information comprises information of the individual user;
and the node saves the information after acquiring the verification passing result of the information based on the intelligent contract.
An industrial internet identity resolution client, comprising:
the analysis request receiving module is used for receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
a request sending module, configured to send the resolution request to a target node in a block chain when the object is an identifier resolution system but not a first identifier resolution system, where the first identifier resolution system is a system to which the client is bound in advance, and the target node is a consensus node corresponding to a type of the first identifier resolution system in advance, or the consensus node selected by the client in advance;
and the analysis information receiving module is used for receiving the analysis information of the identifier sent by the target node, and the analysis information is acquired from the object by the target node according to the identifier.
An industrial internet identity resolution node comprising:
forming a consensus node of the block chain; in the consensus nodes, the consensus node corresponding to the type of a first identification analysis system pre-bound with a client sending an analysis request in advance or the consensus selected by the client in advance is a target node;
the target node is used for receiving the analysis request sent by the client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing the analysis information of the identifier; inquiring the address of the object according to the analysis request; and acquiring the resolution information of the identifier from the object by accessing the address, and sending the resolution information of the identifier to the client.
An industrial internet identification resolving device comprises a processor and a memory;
the memory is used for storing programs, and the processor is used for operating the programs to realize the industrial internet identification analysis method.
A computer-readable storage medium having stored thereon a computer program which, when run on a computer, implements an industrial internet identity resolution method as described above.
The embodiment of the application provides a technical scheme that a client receives an analysis request, the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, the identifier prefix indicates an object for storing analysis information of the identifier, the client sends the analysis request to a target node in a block chain, and the target node acquires the analysis information from the object according to the analysis request and sends the analysis information to the client. Because the identifier prefix indicates an object for storing the analysis information, even if different identifier analysis systems are incompatible or an identifier to be queried does not exist in a system bound by the client, the analysis information can be acquired through the identifier prefix, so that mutual access of the different analysis systems by taking a node in the block chain as a bridge is realized. Furthermore, the method ensures the safety under the condition of mutual access based on the characteristics of the block chain.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an architecture of an identifier resolution system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an industrial internet identifier parsing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another industrial internet identifier resolution method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another industrial internet identifier resolution method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another industrial internet identifier resolution method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an industrial internet identifier resolution client according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an industrial internet identifier resolution device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The industrial internet identification analysis method provided by the embodiment of the application is applied to, but not limited to, scenes of mutual access between different types of identification analysis systems through interaction between a client and a node of a block chain.
Fig. 1 is an architecture of an identifier resolution system according to an embodiment of the present application, and includes a client (including a proxy node in fig. 1) and a node forming a block chain (referred to as a node of the block chain for short), where the node on the block chain includes a consensus node, and the consensus node has functions including: and participating in consensus and having accounting right, issuing a new block, and completing identification registration and resolution. The client is downloaded by a user and runs on the equipment, and then performs information interaction with the common identification node, so that mutual access among different types of identification analysis systems is realized.
The consensus node interacting with the client may be predetermined according to the type of the user (i.e., the user bound to the client), or selected by the client. Specifically, the selection may be performed according to a proximity principle, and optionally, the proximity principle includes, but is not limited to: the logical address is closest, or the physical distance is closest.
Specifically, the predetermined process according to the type of the user (i.e. the user bound to the client) is: when the client runs for the first time, according to the type of a user of the client (such as prompting the user to select the type as an individual user, a centralized registration mechanism (mechanism) or an decentralized registration mechanism (mechanism) (for example, based on a blockchain registration mechanism)), a proxy node corresponding to the type of the user is generated on the device, and a public and private key pair is generated and stored in the device. When the type of the user is the centralized registry, the corresponding consensus node is called a cross-domain node. When the type of the user is based on the block chain registry, the corresponding consensus node is called a cross-link node. Similarly, after the client selects the consensus node, if the user type is the centralized registration authority, the consensus node selected by the client is called a cross-domain node. In the case that the type of the user is based on the block chain registration mechanism, the consensus node selected by the client is called a cross-chain node.
The cross-domain nodes communicate with agent nodes of the centralized registration authority, and the functions of the cross-domain nodes comprise: and participating in consensus and possessing the accounting right, providing cross-domain management service, interfacing with the existing or newly-built centralized registration mechanism (comprising GS1, handle, OID and the like), and linking the information, the coding prefix, the service address and the public key of the proxy node.
The cross-link node communicates with a proxy node of a blockchain registry, and the functions of the cross-link node include: the method participates in consensus and has accounting right, and simultaneously provides cross-chain management service, namely participates in consensus of a native chain and also participates in consensus of other blockchains (such as the blockchain where the agent node of the blockchain registration mechanism is located), and simultaneously, the other blockchains register chain identification to a main chain (namely the blockchain interacting with each agent node), and the main chain checks uniqueness of the chain identification. In the case where there are cross-link points in a node of a blockchain, the blockchain may serve as a main chain, and the distributed identity registration mechanism based on the blockchain is referred to as a child chain.
The consensus node communicates with the agent nodes of the individual users.
The specific process for implementing mutual access between different types of identifier resolution systems will be described in detail below based on different types of users of the client.
Fig. 2 illustrates a specific process of implementing mutual access between different types of identifier resolution systems by using a type-centric registration mechanism of a user of a client, which specifically includes S201 to S212.
S201, the client binds the first identifier analysis system according to the type selected by the user.
In this embodiment, the type selected by the user is the centralized registration mechanism, and the system bound by the client (i.e., the first identifier resolution system) is the centralized identifier resolution system. It should be noted that the client binds the system when running for the first time, and saves the bound system in the device, and the binding does not need to be rebound when running for the next time.
S202, the client establishes a proxy node in the first identifier analysis system and generates a public and private key pair.
In this embodiment, the proxy node in the centralized identifier parsing system is an operator of the centralized registration authority, and is responsible for formulation of the identifier coding rule and allocation and registration of the identifier.
The public and private key pair is stored locally.
S203, the client establishes communication between the agent node and the cross-domain node in the block chain.
S204, the client sends the information for registration to the cross-domain node through the proxy node.
In this embodiment, a data structure of the interaction information when the proxy node and the cross-domain node communicate with each other is shown in table 1.
TABLE 1 Interactive information data Structure
Name of field Length of field Description of the invention
Recording attributes 4 bytes Central proxy node (central register organization)
Identification prefix 4 bytes First identification resolution system self-defining (reserved public identification prefix)
Type of operation 4 bytes Register/update/delete, etc
Modifying content 256 bytes Proxy node information, IP address
Remark information 128 bytes Additional content
Operator public key 128 bytes Public key
Time stamp 4 bytes Recording the time of issue
It should be noted that, in table 1, the value of the record attribute field is the central proxy node, and indicates that the information is sent by the proxy node established in the centralized identity resolution system.
The value of the identification prefix field is a character string (composed of preset types of characters, such as letters, numbers and the like) which is self-defined by a centralized identification analysis system operated by the client and uniquely represents the first identification analysis system.
In this embodiment, identification prefixes are pre-allocated to several standard mechanisms of known identification analysis, and the reserved common identification prefixes cannot be used by other identification analysis systems, that is, the identification prefixes uniquely indicate a centralized identification analysis system.
The value of the operation type field is a preset character string corresponding to the operation type, and the operation type comprises the following steps: registration, update, and deletion, etc.
And modifying the value of the content field into the node information of the proxy node and the IP address of the proxy node.
The value of the operator public key field is the public key of the proxy node generated by the client.
The value of the timestamp field is the time when the agent node sends the interaction information.
In this embodiment, in the information for registration sent by the client to the cross-domain node through the proxy node, the value of the identifier prefix field is the identifier prefix of the first identifier resolution system. The value of the operator public key field is a public key generated by the client in the first identifier resolution system. And recording the value of the attribute field as the type of the first identification analysis system, namely a centralized identification analysis system. The operation type field value indication information is used for registering the first identifier resolution system in the block chain. And the modified content field value is used for indicating attribute information of the first identification resolution system, wherein the attribute information comprises node information and address information of the agent node in the first identification resolution system. The remark information field value is the additional content of the information for registration, and the timestamp field value is the sending time of the information for registration.
S205, the cross-domain node receives the information used for registration sent by the proxy node.
It should be noted that, in this embodiment, a cross-domain node is taken as an example for description, and as described above, the cross-domain node in this embodiment can also be replaced by another common node selected by the client according to the principle of proximity.
S206, the intelligent contract on the cross-domain node trigger block chain verifies the information, and the information is stored after the verification passing result of the information is obtained.
In this embodiment, the common node in the block chain may store, in advance, verification information of the binding system of the client, and after the cross-domain node receives the information for registration, the common node on the trigger block chain jointly verifies, based on the intelligent contract and the common mechanism, whether the centralized identifier resolution system indicated in the information for registration is legal, for example, the node stores, in advance, an identifier prefix of the legal identifier resolution system, and judges validity by comparing whether the identifier prefix of the first identifier resolution system exists.
In this embodiment, after the cross-domain node obtains the verification result of the information, the information for registration sent by the proxy node is stored.
It should be noted that, after the cross-domain node stores the information for registration sent by the proxy node, the registration is successful, and at this time, each consensus node on the blockchain may store the information. Further, the cross-domain node feeds back a registration success message to the proxy node.
The above steps are processes of the centralized identification analysis system registering in the block chain through the client, and after registering, the following analysis processes can be realized:
s207, the client receives the analysis request.
In this embodiment, the parsing request includes an identifier to be parsed, the identifier to be parsed includes an identifier prefix and an identifier suffix, and the identifier prefix indicates an object storing parsing information of the identifier. The identification suffix can be an industrial internet identification, and the analysis result of the identification indicates the information of the equipment corresponding to the identification.
The parsing request can be triggered and generated by a user of the first identifier parsing system by inputting an identifier to be parsed at the client.
It should be noted that, according to the setting manner of the identifier prefix, the identifier prefix indicates the type of the storage object to be identified by resolution, and in this embodiment, the type of the storage object to be identified by resolution includes a consensus node, a centralized identifier resolution system, or an identifier resolution system based on a block chain. I.e. the system already registered on the blockchain or the consensus node on the blockchain, can be used as the storage object of the resolution information. For the block chain system and the registration process of the individual user, see the following embodiments.
In this embodiment, the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system. The identifier prefix indicating any one identifier resolution system based on the block chain is as follows: unique identification of blockchain. The identification prefix of the indication consensus node is: and the client pre-binds the code customized by the individual user.
It should be noted that the codes customized by the individual users are divided according to the types of the individual users, and the codes used by the individual users of the same type are the same. The specific division is described in detail below.
S208, under the condition that the object is the first identifier analysis system, the client acquires the analysis information of the identifier in the first identifier analysis system.
Specifically, the client determines the object from the representation prefix. The identifier prefix indicates that an object storing the identifier analysis information is an identifier analysis system, namely a first identifier analysis system, which is pre-bound by the client, and the identifier analysis information can be directly acquired from the bound system.
S209, the client sends an analysis request to the cross-domain node in the block chain under the condition that the object is not the first identification analysis system.
In this embodiment, if the object is not the first identifier resolution system, the object may be another centralized identifier resolution system, or an identifier resolution system of a type of non-centralized identifier resolution system (identifier resolution system based on a block chain), or a consensus node.
Under the condition that the object is not the first identifier analysis system, the analysis information of the identifier needs to be inquired in a cross-domain mode, and at the moment, the client sends an analysis request to a cross-domain node in the block chain through the proxy node.
S210, receiving an analysis request sent by a client by the cross-domain node, and inquiring the address of the object.
In this embodiment, the analysis request sent by the client includes an identifier to be analyzed, the identifier to be analyzed includes an identifier prefix and an identifier suffix, the identifier prefix indicates an object storing analysis information of the identifier, the cross-domain node queries an address of the object according to the identifier prefix, and the process of querying the address may refer to the prior art.
S211, the cross-domain node acquires the resolution information of the identifier from the object through the access address and sends the resolution information of the identifier to the client.
S212, the client receives the analysis information of the identifier sent by the cross-domain node through the proxy node.
As can be seen from the flow shown in fig. 2, the client running in the centralized identifier parsing system can implement cross-system identifier parsing, and the consensus mechanism based on the block chain enables the different systems to access each other, thereby having higher security.
Fig. 3 illustrates a specific process of implementing mutual access between different types of identifier resolution systems by using a blockchain registration mechanism as a user of the client, which specifically includes S301 to S312.
S301, the client binds the first identifier analysis system according to the type selected by the user.
In this embodiment, if the type selected by the user is the blockchain registration mechanism, the system bound by the client (i.e., the first identifier resolution system) is an identifier resolution system (which may be referred to as a child chain) based on the blockchain. It should be noted that the client binds the system when running for the first time, and saves the bound system in the device, and the binding does not need to be rebound when running for the next time.
S302, the client establishes a proxy node in the first identifier analysis system and generates a public and private key pair.
In this embodiment, the proxy node in the identifier resolution system based on the block chain is a node participating in consensus on the block chain in the first identifier resolution system, and has a full amount of data at the same time.
And S303, the client establishes communication between the proxy node and the cross-link node in the block chain.
S304, the client sends the information for registration to the cross-link node through the proxy node.
In this embodiment, a data structure of the mutual information when the proxy node and the cross-link node communicate with each other is shown in table 2.
TABLE 2 Interactive information data Structure
Name of field Length of field Description of the invention
Recording attributes 4 bytes Non-central proxy node
Identification prefix 4 bytes Chain ID (globally unique)
Type of operation 4 bytes Register/update/delete, etc
Modifying content 256 bytes Proxy node information, IP address
Remark information 128 bytes Additional information
Operator public key 128 bytes Public key
Time stamp 4 bytes Recording the time of issue
It should be noted that, in table 2, the value of the record attribute field is a non-central proxy node, and indicates that the information is sent by a proxy node established in the identifier resolution system based on the block chain.
The value of the identification prefix field is a character string (composed of preset types of characters such as letters, numbers and the like) which is self-defined by the block chain-based identification analysis system operated by the client and uniquely represents the first identification analysis system. In this embodiment, an identification prefix is pre-allocated to a known standard mechanism, and the reserved common identification prefix cannot be used by other identification analysis systems, that is, the identification prefix uniquely indicates an identification analysis system.
The value of the operation type field is a preset character string corresponding to the operation type, and the operation type comprises the following steps: registration, update, and deletion, etc.
And modifying the value of the content field into the node information of the proxy node and the IP address of the proxy node.
The value of the operator public key field is the public key of the proxy node generated by the client.
The value of the timestamp field is the time of the information sent by the agent node.
In this embodiment, in the information for registration sent by the client to the cross-link node through the proxy node, the value of the identifier prefix field is the identifier prefix of the first identifier resolution system. The value of the operator public key field is a public key generated by the client in the first identifier resolution system. And recording the value of the attribute field as the type of the first identification resolution system, namely the identification resolution system based on the block chain. The operation type field value indication information is used for registering the first identifier resolution system in the block chain. And the modified content field value is used for indicating attribute information of the first identification resolution system, wherein the attribute information comprises node information and address information of the agent node in the first identification resolution system. The remark information field value is the additional content of the information for registration, and the timestamp field value is the sending time of the information for registration.
S305, receiving the information for registration sent by the proxy node by the cross-link node.
S306, the intelligent contract on the cross-link point trigger block chain verifies the information, and the information is stored after the verification passing result of the information is obtained.
In this embodiment, after the common identification node in the block chain (may be referred to as a main chain) stores the check information of the client in advance, and after the cross-link node receives the information for registration, the common identification node on the trigger block chain jointly checks whether the identifier resolution system based on the block chain indicated in the information for registration is legal based on an intelligent contract and a common identification mechanism, for example, the node stores the identifier prefix of the legal identifier resolution system in advance, and judges the validity by comparing whether the identifier prefix of the first identifier resolution system exists.
In this embodiment, after the verification result of the information acquired by the cross-link node passes, the information for registration sent by the proxy node is stored.
It should be noted that, after the information for registration sent by the proxy node is stored across the chain nodes, the registration is successful, and at this time, each consensus node on the block chain may store the information. Further, the cross-link node feeds back a registration success message to the proxy node.
The above steps are processes of the block chain-based identification analysis system registering in the block chain through the client, and after registering, the following analysis processes can be realized:
s307, the client receives the analysis request.
In this embodiment, the parsing request includes an identifier to be parsed, the identifier to be parsed includes an identifier prefix and an identifier suffix, and the identifier prefix indicates an object storing parsing information of the identifier. The identification suffix can be an industrial internet identification, and the analysis result of the identification indicates the information of the equipment corresponding to the identification.
It should be noted that, according to the setting manner of the identifier prefix, the identifier prefix indicates the type of the storage object to be identified by resolution, and in this embodiment, the type of the storage object to be identified by resolution includes a consensus node, a centralized identifier resolution system, or an identifier resolution system based on a block chain.
In this embodiment, the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system. And indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain. Identification prefix indicating a consensus node: and the client pre-binds codes corresponding to the individual users.
It should be noted that, the client determines the type of the storage object to be identified by parsing according to the identifier prefix.
S308, under the condition that the object is the first identification analysis system, the client side obtains the analysis information of the identification in the first identification analysis system.
Specifically, the identifier prefix indicates that an object storing the identifier resolution information is an identifier resolution system, namely a first identifier resolution system, to which the client is bound in advance, and the identifier resolution information is directly obtained from the bound system.
S309, under the condition that the object is not the first identification analysis system, the client sends an analysis request to a cross-link node in the block chain.
In this embodiment, if the object is not the first identifier resolution system, the object may be another identifier resolution system based on the blockchain, or an identifier resolution system of the centralized identifier resolution system, or a consensus node.
And under the condition that the object is not the first identifier analysis system, the analysis information of the identifier needs to be inquired in a cross-chain mode, and at the moment, the client sends an analysis request to a cross-chain node in the block chain through the proxy node.
S310, receiving an analysis request sent by the client by the cross-link node, and inquiring the address of the object.
In this embodiment, the analysis request sent by the client includes an identifier to be analyzed, the identifier to be analyzed includes an identifier prefix and an identifier suffix, the identifier prefix indicates an object storing analysis information of the identifier, the cross-link node queries an address of the object according to the identifier prefix, and the process of querying the address may refer to the prior art.
S311, the cross-link node acquires the identified analysis information from the object through the access address, and sends the identified analysis information to the client.
S312, the client receives the analysis information of the identification sent by the cross-link node through the proxy node.
As can be seen from the flow shown in fig. 3, the client in the identifier resolution system based on the blockchain can implement identifier resolution across blockchains, and the resolution flow across blockchains has higher security.
Fig. 4 illustrates a specific process of information interaction between an individual user and an identifier resolution system, where the type of the user of the client is the individual user, and the specific process specifically includes S401 to S408.
S401, binding the individual user by the client according to the type selected by the user.
In this embodiment, the type selected by the user of the client is an individual user, and the client binds the individual user, which needs to be described that the individual user includes an organization, a person, a machine, and other articles besides the machine. The client binds the individual users during the first operation, and stores the bound individual users in the equipment without rebinding during the next operation. The organization here is an organization other than the centralized registration organization and the decentralized registration organization (e.g., block chain-based registration organization), such as a business.
S402, the client generates agent nodes corresponding to the individual users on the equipment, and generates public and private key pairs for the individual users to be stored in the equipment.
In this embodiment, the client defines a set of encoding schemes and data structures for different types of individual users, and reserves identification prefixes of original identifications such as dns and gs 1.
In this embodiment, the client generates a proxy node corresponding to the bound individual user on the device, and it should be noted that the proxy node corresponding to the individual user is responsible for the identification coding prefix and the identification information of the individual user. For example, a proxy node of an enterprise (hereinafter referred to as an enterprise node for convenience of description) is responsible for maintaining the enterprise identification code prefix and the enterprise identification information, and a proxy node of an individual (hereinafter referred to as an identity node for convenience of description) is responsible for maintaining the personal identification code prefix and the personal identification information.
And S403, the client establishes communication between the agent node and the consensus node in the block chain.
S404, the client registers the individual user in the common identification node of the block chain.
Note that the data structure of the information for registration sent by different types of individual users and the flow of registering the individual users are different, and the following description will be given taking a registration flow in which the individual user is an enterprise, an individual, or a device as an example.
A1, the registration process of the enterprise comprises A11-A13.
A11, the enterprise node sends the information for registration to the consensus node.
In this embodiment, the enterprise node is responsible for maintaining the enterprise identification code prefix and the enterprise identification information. And the enterprise node sends information for registration to the consensus node in the block chain and applies for registering the identification prefix of the enterprise.
In this embodiment, a data structure of the information for registration sent by the enterprise node is shown in table 3.
TABLE 3 Enterprise information data Structure
Name of field Length of field Description of the invention
Recording attributes 4 bytes Enterprise node
Identification prefix 4 bytes IID Hash (client address)
Type of operation 4 bytes Register/update/delete, etc
Modifying content 256 bytes Enterprise information, IP address
Remark information 128 bytes Additional information
Operator public key 128 bytes Public key
Time stamp 4 bytes Recording the time of issue
A12, the consensus node triggers the intelligent contract to be checked according to the information sent by the enterprise node, if the check is passed, the enterprise information, the identification prefix of the enterprise and the public key of the enterprise are written into the block chain.
And A13, after the writing is successful, the consensus node returns a registration success prompt.
A2, the personal registration process includes A21-A23.
In this embodiment, the identity node is responsible for maintaining the personal identification prefix and the personal identification information.
A21, identity node sends information for registration to the consensus node and applies for the identity prefix of the registered person.
In this embodiment, a data structure of the information for registration sent by the identity node is shown in table 4.
TABLE 4 personal information data Structure
Name of field Length of field Description of the invention
Recording attributes 4 bytes Identity node
Identification prefix 4 bytes PID Hash (client address)
Type of operation 4 bytes Register/update/delete, etc
Modifying content 256 bytes IP address
Remark information 128 bytes Additional information
Operator public key 128 bytes Public key
Time stamp 4 bytes Recording the time of issue
A22, the consensus node triggers the intelligent contract to audit according to the information sent by the identity node, whether the individual identification prefix in the audit information is registered or not is checked, if not, the application is passed, and the individual identification prefix and the individual public key are written into the block chain.
And A23, after the writing is successful, the consensus node returns a registration success prompt.
A3, the registration process of the equipment comprises A31-A33.
In this embodiment, the enterprise node and the identity node have the right to register the device identifier, and maintain the related information of the device identifier.
Specifically, taking a method for registering a device identifier by an enterprise node as an example, an identifier registration process of a device includes:
a31, after obtaining the enterprise identification prefix, the enterprise node generates the equipment identification for the owned equipment according to the industry standard or the self-defined form, and the equipment identification structure is the enterprise identification prefix, namely GID identification.
A32, the enterprise node sends the information for registering the device identification to the consensus node.
It should be noted that the data generated by the registered device in the circulation process is registered on the uplink by the enterprise node generating the data, and the structure is that the enterprise identifier code prefix of the enterprise node generating the data, i.e. the identifier, i.e. the device of different enterprises, only replaces the enterprise identifier code prefix of the device identifier, and the identifier of the suffix part is kept unchanged.
In the embodiment of the present application, a data structure of information for registering a device identifier sent by an enterprise node is shown in table 5.
TABLE 5 device information data Structure
Name of field Length of field Description of the invention
Recording attributes 4 bytes Identification data
Identification 4 bytes Enterprise identity prefix GID identity
Type of operation 4 bytes Register/update/delete, etc
Modifying content 256 bytes Identification information or URI or IP service address
Remark information 128 bytes Additional information
Operator public key 128 bytes Identifying owner public keys
Time stamp 4 bytes Recording the time of issue
A33, after the checking of the common node is passed, the equipment ID is registered to the uplink.
It should be noted that a1, a2, or A3 respectively illustrate the process of registering an individual user in a blockchain when the type of the individual user is enterprise, person, or device, and the specific flow of registering an individual user (including an organization, a person, and a device (active and passive)) in this embodiment may refer to the prior art.
The above steps are processes in which an individual user registers the individual user in a blockchain through a client, and after registration, the following analysis processes can be implemented:
s405, the client receives the analysis request.
In this embodiment, the parsing request includes an identifier to be parsed, the identifier to be parsed includes an identifier prefix and an identifier suffix, and the identifier prefix indicates an object storing parsing information of the identifier. The identification suffix is unique in the domain, refers to a specific entity, and the analysis result of the identification indicates the information of the equipment corresponding to the identification.
It should be noted that, according to the setting manner of the identifier prefix, the identifier prefix indicates the type of the storage object to be identified by resolution, and in this embodiment, the type of the storage object to be identified by resolution includes a consensus node, a centralized identifier resolution system, or an identifier resolution system based on a block chain.
In this embodiment, the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system. And indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain. And indicating the identification prefix of the consensus node as a code corresponding to the individual user pre-bound by the client.
It should be noted that, the client determines the type of the storage object to be identified by parsing according to the identifier prefix.
S406, the client sends an analysis request to the consensus node.
In this embodiment, because the client binds the individual user instead of the identity resolution system (i.e., there is no corresponding consensus node in advance), the client may select the consensus node according to the proximity principle and send the resolution request to the selected consensus node.
S407, the consensus node acquires the analysis information of the identifier and sends the analysis information of the identifier to the client.
S408, the client receives the analysis information of the identifier sent by the consensus node.
As can be seen from the flow shown in fig. 4, the ue and the blockchain can also interactively implement registration, identity uplink and secure access to a centralized or blockchain-based identity resolution system for individual users.
To sum up, the method for analyzing the industrial internet identifier provided by the embodiment of the application has at least the following beneficial effects:
1. the method allocates an identification prefix in advance for a known standard mechanism, the identification prefix is used as a reserved public identification prefix and cannot be used by other identification analysis systems any more, namely the identification prefix only indicates one identification analysis system, and an object of the identification prefix indicating the analysis information of the storage identification can comprise a centralized identification analysis system, an identification analysis system based on a block chain or an individual user, so that even if the system bound by a client does not have an identification to be inquired, the analysis information can be obtained through the identification prefix, and the mutual access of different analysis systems taking a node in the block chain as a bridge is realized.
2. Based on the characteristics of the block chain, the safety under the condition of mutual access is ensured.
3. Based on an intelligent contract mechanism of the block chain, data is stored in a plurality of nodes participating in consensus in the block chain, and the problem that continuous service cannot be provided due to the fact that a single analysis block chain link point fails is solved.
4. Based on the characteristic that data in the blockchain has non-falsification, the safety of data access is further improved.
5. The method supports the client to bind the individual user, and realizes the mutual access of the individual user and the identification analysis system.
It should be noted that, in the embodiment, the schematic flow diagrams of the industrial internet identifier parsing method shown in fig. 2, fig. 3, and fig. 4 are summarized and summarized as shown in fig. 5, and specifically include S501 to S507.
S501, the client receives the analysis request.
In this embodiment, the parsing request includes an identifier to be parsed, the identifier to be parsed includes an identifier prefix and an identifier suffix, and the identifier prefix indicates an object storing parsing information of the identifier. The identification suffix can be an industrial internet identification, and the analysis result of the identification indicates the information of the equipment corresponding to the identification.
It should be noted that the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system. And indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain. Identification prefix indicating a consensus node: and the client pre-binds codes corresponding to the individual users.
S502, the client sends an analysis request to a target node in the block chain under the condition that the object is not the first identification analysis system.
As described above, the client may pre-bind the first identifier resolution system, specifically, the centralized identifier resolution system or the identifier resolution system based on the block chain, and optionally, the client may also pre-bind the individual user.
The case where the object is not the first identity resolution system is: the object is an identification analysis system based on a block chain or other centralized identification analysis systems, or the object is a consensus node.
The target node is a consensus node corresponding to the type of the system to which the client is pre-bound, and specifically, as described above, the system to which the client is pre-bound is a centralized identifier analysis system, the target node is a cross-domain node, the system to which the client is pre-bound is an identifier analysis system based on a block chain, and the target node is a cross-chain node.
Or, the target node is a consensus node selected in advance by the client, and optionally, the target node can be selected according to a proximity principle.
S503, the target node receives the analysis request sent by the client.
S504, the target node inquires the address of the object according to the analysis request.
S505, the target node acquires the resolution information of the identifier from the object through the access address and sends the resolution information of the identifier to the client
S506, the client receives the analysis information of the identifier sent by the target node.
According to the technical scheme, the client receives the analysis request, the analysis request comprises the identification to be analyzed, the identification to be analyzed comprises the identification prefix and the identification suffix, the identification prefix indicates the object for storing the analysis information of the identification, the client sends the analysis request to the target node in the block chain, the target node receives the analysis request sent by the client, and the analysis information is obtained from the object and sent to the client according to the identification in the analysis request. Because the identifier prefix indicates an object for storing the analysis information, even if different identifier analysis systems are incompatible or an identifier to be queried does not exist in a system bound by the client, the analysis information can be acquired through the identifier prefix, so that mutual access of the different analysis systems by taking a node in the block chain as a bridge is realized. Furthermore, the method ensures the safety under the condition of mutual access based on the characteristic of a consensus mechanism of the block chains.
Fig. 6 is a schematic structural diagram of a client according to an embodiment of the present application, and as shown in fig. 6, the client may include:
the parsing request receiving module 601 is configured to receive a parsing request, where the parsing request includes an identifier to be parsed, the identifier to be parsed includes an identifier prefix and an identifier suffix, and the identifier prefix indicates an object storing parsing information of the identifier.
A request sending module 602, configured to send an analysis request to a target node in a block chain when an object is an identifier analysis system but not a first identifier analysis system, where the first identifier analysis system is a system to which a client is bound in advance, and the target node is a consensus node corresponding to a type of the first identifier analysis system in advance, or the consensus node selected by the client in advance.
The parsing information receiving module 603 is configured to receive parsing information of the identifier sent by the target node, where the parsing information is obtained from the object by the target node according to the identifier.
Optionally, the object comprises: a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system; and indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain.
Optionally, the object further comprises: the prefix identifier that the common node indication object in the block chain is a common node is as follows: and the client pre-binds codes corresponding to the types of the individual users.
Optionally, the client further includes a parsing information obtaining module (not shown in the figure), configured to obtain, in the case that the object is the first identifier parsing system, the identified parsing information in the first identifier parsing system.
Optionally, the client further includes a registration information sending module (not shown in the figure), configured to establish a proxy node and generate a public key in a pre-bound system before receiving the parsing request; establishing communication between the agent node and the target node according to the type of the first identification analysis system; and sending information for registration to the target node through the proxy node, wherein the information for registration comprises an identification prefix and a public key of the first identification resolution system.
Optionally, the information sent to the target node by the proxy node includes:
the device comprises an identification prefix field and an operator public key field, wherein the value of the identification prefix field in the information for registration is the identification prefix of the first identification analysis system, and the value of the operator public key field in the information for registration is the public key.
Optionally, the information further comprises at least one of the following fields:
recording an attribute field, wherein the numerical value is the type of the first identification analysis system;
an operation type field, a numerical value indicating the use of the information; when the purpose is registration, the information is used for registration;
modifying a content field, a value for indicating property information of a binding system at a client;
remark information field, the value is the additional content of the information;
and the value of the timestamp field is the sending time of the information.
The industrial internet identifier resolution node provided by the embodiment of the application can include, as shown in fig. 1: and forming a consensus node of the block chain. In the consensus nodes, the consensus node corresponding to the type of a first identification analysis system pre-bound with a client sending an analysis request in advance or the consensus selected by the client in advance is a target node;
the target node is used for receiving an analysis request sent by the client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier. And inquiring the address of the object according to the analysis request. And acquiring the resolution information of the identifier from the object by accessing the address, and sending the resolution information of the identifier to the client.
An embodiment of the present application further provides an industrial internet identifier parsing device, please refer to fig. 7, which shows a schematic structural diagram of the industrial internet identifier parsing device, where the device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
the storage stores a program, and the processor can execute the program stored in the storage, so that the industrial internet identifier analysis method provided by the embodiment of the application is realized, and the method comprises the following steps:
an industrial Internet identification analysis method is applied to a client, and comprises the following steps:
receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
under the condition that the object is not a first identification analysis system, sending an analysis request to a target node in a block chain, wherein the first identification analysis system is a system bound by a client in advance, and the target node is a consensus node corresponding to the type of the first identification analysis system in advance or the consensus node selected by the client in advance;
and receiving the analysis information of the identifier sent by the target node, wherein the analysis information is acquired from the object by the target node according to the identifier.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
and indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain.
Optionally, the object further comprises:
a consensus node in a blockchain;
the prefix label indicating that the object is a consensus node is: and the client pre-binds codes corresponding to the types of the individual users.
Optionally, the method further comprises:
and under the condition that the object is the first identifier analysis system, acquiring the analysis information of the identifier in the first identifier analysis system.
Optionally, before receiving the parsing request, the method further includes:
in a pre-binding system, establishing a proxy node and generating a public key;
establishing communication between the agent node and the target node according to the type of the first identification analysis system;
and sending information for registration to the target node through the proxy node, wherein the information for registration comprises an identification prefix and a public key of the first identification resolution system.
Optionally, the information sent to the target node by the proxy node includes:
the device comprises an identification prefix field and an operator public key field, wherein the value of the identification prefix field in the information for registration is the identification prefix of the first identification analysis system, and the value of the operator public key field in the information for registration is the public key.
Optionally, the information further comprises at least one of the following fields:
recording an attribute field, wherein the numerical value is the type of the first identification analysis system;
an operation type field, a numerical value indicating the use of the information; when the purpose is registration, the information is used for registration;
modifying a content field, a value for indicating property information of a binding system at a client;
remark information field, the value is the additional content of the information;
and the value of the timestamp field is the sending time of the information.
An industrial Internet identification analysis method is applied to nodes of a block chain, and comprises the following steps:
the target node receives an analysis request sent by a client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier; the target node is a consensus node which is in advance corresponding to the type of a first identification analysis system bound with a client in advance in the nodes, or the consensus node selected by the client in advance;
the target node inquires the address of the object according to the analysis request;
the target node acquires the resolution information of the identifier from the object through the access address;
and the target node sends the identified analysis information to the client.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
indicating an identification prefix of any one block chain-based identification resolution system as a unique identification of a block chain;
a target node corresponding to the centralized identification analysis system in advance is a cross-domain node, and attribute information of each centralized identification analysis system is stored in the cross-domain node in advance;
and the target nodes corresponding to the identification analysis system based on the block chain in advance are chain-crossing nodes, and the attribute information of each identification analysis system based on the block chain is stored in the chain-crossing nodes in advance.
Optionally, the object further comprises:
a consensus node in a blockchain;
the prefix identifier indicating the consensus node is: the client pre-binds codes corresponding to the types of the individual users;
storing attribute information of users in the consensus node;
optionally, before receiving the parsing request, the method further includes:
the node receives information sent by a client, wherein the client binds an identification analysis system in advance, the node is a target node, and the information comprises information of the identification analysis system, or the client binds an individual user in advance, the node is a consensus node, and the information comprises information of the individual user;
and the node acquires the verification passing result of the information based on the intelligent contract and then stores the information.
An embodiment of the present application further provides a readable storage medium, where the readable storage medium may store a computer program suitable for being executed by a processor, and when the computer program is executed by the processor, the method for resolving an industrial internet identifier provided in the embodiment of the present application is implemented, as follows:
an industrial Internet identification analysis method is applied to a client, and comprises the following steps:
receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
under the condition that the object is not a first identification analysis system, sending an analysis request to a target node in a block chain, wherein the first identification analysis system is a system bound by a client in advance, and the target node is a consensus node corresponding to the type of the first identification analysis system in advance or the consensus node selected by the client in advance;
and receiving the analysis information of the identifier sent by the target node, wherein the analysis information is acquired from the object by the target node according to the identifier.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
and indicating the identification prefix of any one identification analysis system based on the block chain as the unique identification of the block chain.
Optionally, the object further comprises:
a consensus node in a blockchain;
the prefix label indicating that the object is a consensus node is: and the client pre-binds codes corresponding to the types of the individual users.
Optionally, the method further comprises:
and under the condition that the object is the first identifier analysis system, acquiring the analysis information of the identifier in the first identifier analysis system.
Optionally, before receiving the parsing request, the method further includes:
in a pre-binding system, establishing a proxy node and generating a public key;
establishing communication between the agent node and the target node according to the type of the first identification analysis system;
and sending information for registration to the target node through the proxy node, wherein the information for registration comprises an identification prefix and a public key of the first identification resolution system.
Optionally, the information sent to the target node by the proxy node includes:
the device comprises an identification prefix field and an operator public key field, wherein the value of the identification prefix field in the information for registration is the identification prefix of the first identification analysis system, and the value of the operator public key field in the information for registration is the public key.
Optionally, the information further comprises at least one of the following fields:
recording an attribute field, wherein the numerical value is the type of the first identification analysis system;
an operation type field, a numerical value indicating the use of the information; when the purpose is registration, the information is used for registration;
modifying a content field, a value for indicating property information of a binding system at a client;
remark information field, the value is the additional content of the information;
and the value of the timestamp field is the sending time of the information.
An industrial Internet identification analysis method is applied to nodes of a block chain, and comprises the following steps:
the target node receives an analysis request sent by a client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier; the target node is a consensus node which is in advance corresponding to the type of a first identification analysis system bound with a client in advance in the nodes, or the consensus node selected by the client in advance;
the target node inquires the address of the object according to the analysis request;
the target node acquires the resolution information of the identifier from the object through the access address;
and the target node sends the identified analysis information to the client.
Optionally, the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
indicating an identification prefix of any one block chain-based identification resolution system as a unique identification of a block chain;
a target node corresponding to the centralized identification analysis system in advance is a cross-domain node, and attribute information of each centralized identification analysis system is stored in the cross-domain node in advance;
and the target nodes corresponding to the identification analysis system based on the block chain in advance are chain-crossing nodes, and the attribute information of each identification analysis system based on the block chain is stored in the chain-crossing nodes in advance.
Optionally, the object further comprises:
a consensus node in a blockchain;
the prefix label indicating that the object is a consensus node is: the client pre-binds codes corresponding to the types of the users;
storing attribute information of users in the consensus node;
optionally, before receiving the parsing request, the method further includes:
the node receives information sent by a client, wherein the client binds an identification analysis system in advance, the node is a target node, and the information comprises information of the identification analysis system, or the client binds an individual user in advance, the node is a consensus node, and the information comprises information of the individual user;
and the node acquires the verification passing result of the information based on the intelligent contract and then stores the information.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. An industrial internet identification analysis method is applied to a client, and comprises the following steps:
receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
sending the analysis request to a target node in a block chain under the condition that the object is not a first identifier analysis system, wherein the first identifier analysis system is a system bound by the client in advance, and the target node is a consensus node corresponding to the type of the first identifier analysis system in advance or the consensus node selected by the client in advance;
and receiving the analysis information of the identifier sent by the target node, wherein the analysis information is acquired from the object by the target node according to the identifier.
2. The method of claim 1, wherein the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
and indicating the identification prefix of any identification analysis system based on the block chain as the unique identification of the block chain.
3. The method of claim 2, wherein the object further comprises:
the consensus node in the blockchain;
the prefix identifier indicating that the object is the consensus node is: and the client pre-binds codes corresponding to the types of the individual users.
4. The method of claim 1, further comprising:
and under the condition that the object is the first identifier analysis system, acquiring analysis information of the identifier in the first identifier analysis system.
5. The method according to any of claims 1-4, further comprising, prior to said receiving said resolution request:
in the pre-binding system, establishing a proxy node and generating a public key;
establishing communication between the agent node and the target node according to the type of the first identification analysis system;
sending, by the proxy node, information for registration to the target node, the information for registration including the identifier prefix and the public key of the first identifier resolution system.
6. The method of claim 5, wherein the information sent by the proxy node to the target node comprises:
an identifier prefix field and an operator public key field, wherein a value of the identifier prefix field in the information for registration is the identifier prefix of the first identifier resolution system, and a value of the operator public key field in the information for registration is the public key.
7. The method of claim 6, wherein the information further comprises at least one of the following fields:
recording attribute fields, wherein the numerical value is the type of the first identification analysis system;
an operation type field, a numerical value indicating a purpose of the information; when the purpose is registration, the information is the information for registration;
a modified content field, a value for indicating property information of the binding system at the client;
remark information field, the value is the additional content of the information;
and a timestamp field, wherein the value is the sending time of the information.
8. An industrial internet identification analysis method is applied to a node of a block chain, and the method comprises the following steps:
a target node receives an analysis request sent by a client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier; the target node is a consensus node which is in advance corresponding to the type of a first identification analysis system which is bound with the client in advance in the nodes, or the consensus node which is selected by the client in advance;
the target node inquires the address of the object according to the analysis request;
the target node acquires the resolution information of the identifier from the object by accessing the address;
and the target node sends the resolution information of the identifier to the client.
9. The method of claim 8, wherein the object comprises:
a centralized identification analysis system or an identification analysis system based on a block chain;
the identifier prefix indicating any centralized identifier resolution system is: the centralized identification analysis system is self-defined and only indicates the information of the centralized identification analysis system;
indicating the identification prefix of any one block chain-based identification resolution system as a unique identification of the block chain;
the target node corresponding to the centralized identification analysis system in advance is a cross-domain node, and attribute information of each centralized identification analysis system is stored in the cross-domain node in advance;
the target node corresponding to the identifier resolution system based on the block chain in advance is a cross-chain node, and attribute information of each identifier resolution system based on the block chain is stored in the cross-chain node in advance.
10. The method of claim 9, wherein the object further comprises:
the consensus node in the blockchain;
the prefix identifier indicating that the object is the consensus node is: codes corresponding to the types of the individual users pre-bound by the client;
and the consensus node stores the attribute information of the individual user.
11. The method of claim 10, prior to said receiving said resolution request, further comprising:
the node receives the information sent by the client, acquires a verification passing result of the information based on an intelligent contract and stores the information;
the client binds an identification analysis system in advance, the node is the target node, and the information comprises the information of the identification analysis system;
or, the client binds an individual user in advance, the node is the consensus node, and the information includes information of the individual user.
12. An industrial internet identity resolution client, comprising:
the analysis request receiving module is used for receiving an analysis request, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing analysis information of the identifier;
a request sending module, configured to send the resolution request to a target node in a block chain when the object is an identifier resolution system but not a first identifier resolution system, where the first identifier resolution system is a system to which the client is bound in advance, and the target node is a consensus node corresponding to a type of the first identifier resolution system in advance, or the consensus node selected by the client in advance;
and the analysis information receiving module is used for receiving the analysis information of the identifier sent by the target node, and the analysis information is acquired from the object by the target node according to the identifier.
13. An industrial internet identity resolution node, comprising:
forming a consensus node of the block chain;
in the consensus nodes, the consensus node corresponding to the type of a first identification analysis system pre-bound with a client sending an analysis request in advance or the consensus selected by the client in advance is a target node;
the target node is used for receiving the analysis request sent by the client, wherein the analysis request comprises an identifier to be analyzed, the identifier to be analyzed comprises an identifier prefix and an identifier suffix, and the identifier prefix indicates an object for storing the analysis information of the identifier; inquiring the address of the object according to the analysis request; and acquiring the resolution information of the identifier from the object by accessing the address, and sending the resolution information of the identifier to the client.
14. An industrial internet identification resolving device is characterized by comprising a processor and a memory;
the memory is used for storing a program, and the processor is used for operating the program to realize the industrial internet identification resolving method of any one of claims 1-7 or 8-11.
15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed on a computer, implements the industrial internet identity resolution method of any one of claims 1-7 or 8-11.
CN202010895485.0A 2020-08-31 2020-08-31 Industrial Internet identification analysis method and related device Active CN111767484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010895485.0A CN111767484B (en) 2020-08-31 2020-08-31 Industrial Internet identification analysis method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010895485.0A CN111767484B (en) 2020-08-31 2020-08-31 Industrial Internet identification analysis method and related device

Publications (2)

Publication Number Publication Date
CN111767484A true CN111767484A (en) 2020-10-13
CN111767484B CN111767484B (en) 2020-12-04

Family

ID=72729648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010895485.0A Active CN111767484B (en) 2020-08-31 2020-08-31 Industrial Internet identification analysis method and related device

Country Status (1)

Country Link
CN (1) CN111767484B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489760A (en) * 2020-11-26 2021-03-12 泰康保险集团股份有限公司 Prescription processing method and system based on distributed identity authentication
CN112699160A (en) * 2021-03-23 2021-04-23 中国信息通信研究院 Metadata template upgrading method and device and readable storage medium
CN112734432A (en) * 2021-03-30 2021-04-30 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN112788114A (en) * 2020-12-30 2021-05-11 北京信息科技大学 Cross-link data exchange method and exchange system
CN112989313A (en) * 2021-01-14 2021-06-18 国网上海市电力公司 Identification registration method and device, electronic equipment and storage medium
CN112989255A (en) * 2021-04-15 2021-06-18 中国电子信息产业集团有限公司第六研究所 Identification analysis system
CN113032823A (en) * 2021-02-26 2021-06-25 加和(北京)信息科技有限公司 Method and device for generating equipment ID
CN113487337A (en) * 2021-07-13 2021-10-08 中国联合网络通信集团有限公司 Product information storage method, tracing method and block chain platform
CN113486051A (en) * 2021-06-16 2021-10-08 中国联合网络通信集团有限公司 Industrial internet identification analysis method, system, node and storage medium
CN113722748A (en) * 2021-11-04 2021-11-30 中国信息通信研究院 Equipment information acquisition method based on block chain and general industrial identification
CN114218412A (en) * 2022-02-22 2022-03-22 中汽数据(天津)有限公司 Automobile supply chain image identification analysis method based on industrial internet identification analysis
CN114257400A (en) * 2021-11-11 2022-03-29 中国南方电网有限责任公司 Information acquisition method and device based on identification algorithm and computer equipment
CN114422873A (en) * 2021-12-15 2022-04-29 浙江中控技术股份有限公司 Method, device and equipment for dynamically accessing industrial Internet identification analysis platform
CN114531486A (en) * 2020-10-30 2022-05-24 中移物联网有限公司 Industrial internet data processing method, device, equipment and storage medium
CN114742600A (en) * 2022-06-13 2022-07-12 中国信息通信研究院 Content analysis method based on industrial internet and computer storage medium
WO2023134557A1 (en) * 2022-01-13 2023-07-20 华为技术有限公司 Processing method and apparatus based on industrial internet identifier
CN112989313B (en) * 2021-01-14 2024-05-14 国网上海市电力公司 Identification registration method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347036A (en) * 2013-05-23 2013-10-09 中国科学院计算机网络信息中心 ONS architecture with decentralized management-based EPC parsing method
CN107656981A (en) * 2017-09-08 2018-02-02 中国科学院计算机网络信息中心 A kind of data sharing and management method and system based on identification technology
CN107995197A (en) * 2017-12-04 2018-05-04 中国电子科技集团公司第三十研究所 A kind of method for realizing across management domain identity and authority information is shared
US20200076830A1 (en) * 2018-09-05 2020-03-05 International Business Machines Corporation Prevention of majority attacks
CN110941611A (en) * 2019-11-06 2020-03-31 四川长虹电器股份有限公司 Identification analysis system implementation method based on block chain technology and identification coding technology
CN111368230A (en) * 2020-02-19 2020-07-03 北京邮电大学 Block chain-based industrial internet identification processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347036A (en) * 2013-05-23 2013-10-09 中国科学院计算机网络信息中心 ONS architecture with decentralized management-based EPC parsing method
CN107656981A (en) * 2017-09-08 2018-02-02 中国科学院计算机网络信息中心 A kind of data sharing and management method and system based on identification technology
CN107995197A (en) * 2017-12-04 2018-05-04 中国电子科技集团公司第三十研究所 A kind of method for realizing across management domain identity and authority information is shared
US20200076830A1 (en) * 2018-09-05 2020-03-05 International Business Machines Corporation Prevention of majority attacks
CN110941611A (en) * 2019-11-06 2020-03-31 四川长虹电器股份有限公司 Identification analysis system implementation method based on block chain technology and identification coding technology
CN111368230A (en) * 2020-02-19 2020-07-03 北京邮电大学 Block chain-based industrial internet identification processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张钰雯: "工业互联网标识解析体系发展趋势", 《信息通信技术与政策》 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531486B (en) * 2020-10-30 2023-08-15 中移物联网有限公司 Industrial Internet data processing method, device, equipment and storage medium
CN114531486A (en) * 2020-10-30 2022-05-24 中移物联网有限公司 Industrial internet data processing method, device, equipment and storage medium
CN112489760B (en) * 2020-11-26 2023-07-18 泰康保险集团股份有限公司 Prescription processing method and system based on distributed identity authentication
CN112489760A (en) * 2020-11-26 2021-03-12 泰康保险集团股份有限公司 Prescription processing method and system based on distributed identity authentication
CN112788114A (en) * 2020-12-30 2021-05-11 北京信息科技大学 Cross-link data exchange method and exchange system
CN112788114B (en) * 2020-12-30 2024-01-23 北京信息科技大学 Cross-chain data exchange method and exchange system
CN112989313A (en) * 2021-01-14 2021-06-18 国网上海市电力公司 Identification registration method and device, electronic equipment and storage medium
CN112989313B (en) * 2021-01-14 2024-05-14 国网上海市电力公司 Identification registration method and device, electronic equipment and storage medium
CN113032823A (en) * 2021-02-26 2021-06-25 加和(北京)信息科技有限公司 Method and device for generating equipment ID
CN113032823B (en) * 2021-02-26 2023-08-01 加和(北京)信息科技有限公司 Method and device for generating device ID
CN112699160A (en) * 2021-03-23 2021-04-23 中国信息通信研究院 Metadata template upgrading method and device and readable storage medium
CN112734432B (en) * 2021-03-30 2021-07-23 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN112734432A (en) * 2021-03-30 2021-04-30 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN112989255B (en) * 2021-04-15 2021-08-03 中国电子信息产业集团有限公司第六研究所 Identification analysis system
CN112989255A (en) * 2021-04-15 2021-06-18 中国电子信息产业集团有限公司第六研究所 Identification analysis system
CN113486051A (en) * 2021-06-16 2021-10-08 中国联合网络通信集团有限公司 Industrial internet identification analysis method, system, node and storage medium
CN113486051B (en) * 2021-06-16 2023-06-13 中国联合网络通信集团有限公司 Industrial Internet identification analysis method, system, node and storage medium
CN113487337B (en) * 2021-07-13 2024-02-09 中国联合网络通信集团有限公司 Product information storage method, tracing method and blockchain platform
CN113487337A (en) * 2021-07-13 2021-10-08 中国联合网络通信集团有限公司 Product information storage method, tracing method and block chain platform
CN113722748B (en) * 2021-11-04 2022-04-01 中国信息通信研究院 Equipment information acquisition method based on block chain and general industrial identification
CN113722748A (en) * 2021-11-04 2021-11-30 中国信息通信研究院 Equipment information acquisition method based on block chain and general industrial identification
CN114257400A (en) * 2021-11-11 2022-03-29 中国南方电网有限责任公司 Information acquisition method and device based on identification algorithm and computer equipment
CN114422873A (en) * 2021-12-15 2022-04-29 浙江中控技术股份有限公司 Method, device and equipment for dynamically accessing industrial Internet identification analysis platform
CN114422873B (en) * 2021-12-15 2023-12-08 浙江中控技术股份有限公司 Method, device and equipment for dynamically accessing industrial Internet identification analysis platform
WO2023134557A1 (en) * 2022-01-13 2023-07-20 华为技术有限公司 Processing method and apparatus based on industrial internet identifier
CN114218412B (en) * 2022-02-22 2022-06-17 中汽数据(天津)有限公司 Automobile supply chain image identification analysis method based on industrial internet identification analysis
CN114218412A (en) * 2022-02-22 2022-03-22 中汽数据(天津)有限公司 Automobile supply chain image identification analysis method based on industrial internet identification analysis
CN114742600A (en) * 2022-06-13 2022-07-12 中国信息通信研究院 Content analysis method based on industrial internet and computer storage medium

Also Published As

Publication number Publication date
CN111767484B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN111767484B (en) Industrial Internet identification analysis method and related device
CN109861975B (en) Industrial Internet-oriented identification registration information query method and system
US6615353B1 (en) User authentication method and user authentication system
CN110535971B (en) Interface configuration processing method, device, equipment and storage medium based on block chain
US6529953B1 (en) Scalable computer network resource monitoring and location system
CN110708322A (en) Method for realizing proxy service of industrial internet identification analysis system
CN112950229A (en) Block chain composite tracing method and tracing and identification analysis system
KR101159341B1 (en) System and method for managing xdm service information
US20080175222A1 (en) Url patterns for multi tenant systems
US20140020064A1 (en) Scalable Fine-Grained Multi-Service Authorization
CN110224855B (en) Registration method and device of micro service instance, computer equipment and storage medium
KR20060044411A (en) Method, system and apparatus for managing computer identity
US11750401B2 (en) Proving top level domain name control on a blockchain
CN107918673B (en) Subscription data processing method and device, storage medium and computer equipment
CN110662184A (en) Information pushing method and device, computer equipment and storage medium
US20110264767A1 (en) Interactive processing method and apparatus between content-id management servers
CN1965310A (en) Native language internet address system
CN112929464A (en) Identification analysis method, device, system, dynamic adapter and readable storage medium
US10171415B2 (en) Characterization of domain names based on changes of authoritative name servers
CN101325493B (en) Method and system for authenticating a user
CN110659019A (en) Parameter checking method and device and server
CN108376154B (en) System base table synchronization method and device, computer equipment and storage medium
CN115544132A (en) Data import method and system and electronic equipment
CN112989255B (en) Identification analysis system
EP1606736B1 (en) Announcement method in a publish-subscribe architecture

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