A blockchain-based identity resolution performance improvement method
By using sub-chain partitioning and digital signature mechanism based on object DID identifiers, the problems of multiple codes for one object and data silos in the Industrial Internet are solved, realizing centralized storage and efficient parsing of the same object identification data, and improving the identification parsing performance.
Patent Information
- Application Number
- CN202411415680.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-10-11
AI Technical Summary
The existing industrial internet identifier resolution system suffers from the problem of multiple codes for a single item, resulting in data silos. Furthermore, blockchain technology cannot support the efficient acquisition of data throughout its entire lifecycle in terms of data access performance.
A sub-chain partitioning mechanism based on object DID identifiers is adopted. A unique sub-chain number is generated through DID encoding structure and mathematical operations. Combined with identifier metadata and digital signature mechanism, the identifier data of the same object is centrally stored and accessed, and an efficient identifier resolution interface is built.
It achieves unified storage of identification data for the same object, reduces the number of blockchain accesses during the identification resolution process, improves identification resolution performance, solves the data silo problem, and ensures efficient acquisition of data throughout its entire lifecycle.
Smart Images

Figure CN119416269B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of blockchain and industrial internet, and particularly relates to a method for improving identification analysis performance based on a blockchain. BACKGROUND
[0002] Industrial internet identification registration and analysis need to rely on identification analysis software to be implemented. Identification data is registered on an enterprise node through an identification registration process, and downstream enterprises / users obtain corresponding data from the enterprise node through a recursive analysis process. Generally, there is a one-to-one correspondence between the identification analysis enterprise node and the enterprise, and multiple enterprises generally do not share enterprise nodes (except for multiple enterprises under the same group).
[0003] The traditional identification analysis system generally first agrees on an identification code structure, and each enterprise adopts random, self-incrementing, etc. to code objects when registering identification in combination with its own standards. This behavior ensures the uniqueness of the code within the system. However, due to the lack of cross-industry chain / supply chain identification code coordination mechanism, the object is prone to the "one object with multiple codes" problem during the flow process between upstream and downstream enterprises. In actual scenarios, the object of identification (such as an industrial product) generates a large amount of data at stages such as production, storage, transportation, sales, installation delivery, operation, maintenance, and scrap. The data at different stages may be collected and registered on the enterprise node of different enterprises / organizations, and the object of the same identification is assigned different codes during the identification registration process. The situation of different codes being assigned to the data of the same identification object at different stages and stored on different nodes exacerbates the data island problem.
[0004] Specifically, in the production, installation delivery, and operation stages, the same product is assigned different codes at different stages, and there is no direct correlation between the codes. This situation leads to a large data code mapping problem when implementing full life cycle data management of the product, and the enterprises / organizations downstream in the industry chain / supply chain cannot obtain all the upstream codes.
[0005] For example, the existing Spark Chain Network proposes an identification analysis protocol for the industrial internet and Internet of Things scenarios based on the distributed identifier DID specification and the Spark Chain Network hierarchical architecture, realizing one object one code traceability, as shown in FIG. 1. Figure 1 The specific process is described as follows:
[0006] The BID identifier of a product is did:bid:eivUgqQFfYeu97ABf6sGm3WFtVXHZB2, and the whole life cycle data of the product includes product factory information (stored in subchain 1, corresponding to the subchain BID encoded as did:bid:1234:eivUgqQFfYeu97ABf6sGm3WFtVXHZB2), logistics information (stored in subchain 2, corresponding to the subchain BID encoded as did:bid:abcd:eivUgqQFfYeu97ABf6sGm3WFtVXHZB2), and sales information (stored in subchain 3, corresponding to the BID encoded as did:bid:3758:eivUgqQFfYeu97ABf6sGm3WFtVXHZB2), and the BID encodings of the identifiers on the three subchains have certain correlation (except that the subchain numbers are different, they are completely identical). When one object one code traceability, the main chain analysis service is called through the did:bid:eivUgqQFfYeu97ABf6sGm3WFtVXHZB2 encoding, the analysis service addresses of all subchains storing the object identifier are obtained, and then the subchain BID encodings are used to call the analysis services of the subchains, so that the whole life cycle data of the product object can be obtained, and one object one code traceability can be realized.
[0007] The above star chain network BID access solves the problem of product code consistency in the product flow process between upstream and downstream enterprises by using distributed digital identity, but the main subchain hierarchical architecture selects a subchain segmentation method based on industry and region, and objectively, the identification data of the same product is still distributed on different subchains. In the identification analysis process in the one object one code traceability scene, the whole life cycle data of the product can be obtained by accessing multiple industry / region subchains. Considering that the block chain technology has natural deficiencies in data access performance, the performance of the star chain network BID identifier in realizing the acquisition of the whole life cycle data of the product cannot support the actual industrial application scene. SUMMARY
[0008] The purpose of the present application is to solve the above-mentioned problems existing in the prior art, and a method for improving the identification analysis performance based on the block chain is proposed.
[0009] The purpose of the present application can be realized by the following technical scheme: a method for improving the identification analysis performance based on the block chain, characterized in that it comprises the following steps:
[0010] A, identification registration
[0011] S1, establishing object identity:
[0012] According to the DID encoding structure:
[0013] did:rsv: <ac-id> : <method-specific-id>
[0014] wherein did:rsv is a fixed prefix; <ac-id>is numbered as a subchain and consists of 4 letters or numbers, for the main chain, <ac-id>The fields can be omitted; <method-specific-id>To encode the suffix of did;
[0015] Object coding is performed to identify the identity of objects between upstream and downstream enterprises in DID; when the object identity is generated, the following calculation formula is used:
[0016] <method-specific-id>= base58(ripemd160(sha256(<object public key>)))
[0017] Assign a public-private key pair, and agree on the consistency of DID encoding generation rules;
[0018] S2, build sub-chain division mechanism:
[0019] With <method-specific-id>For input, introduce <method-specific-id>arrive <ac-id>The calculation function calc produces the sub-chain number, and its calculation formula is as follows:
[0020] <ac-id>= calc( <method-specific-id>)
[0021] wherein calc is <method-specific-id>To <ac-id>a computing function of the calculation function;
[0022] S3, build identification metadata and data template:
[0023] At least from the attribute name, value type, value range, and attribute number, build identification metadata and data template, and divide each data template into template_id;
[0024] S4, build access control mechanism based on data template and signature mechanism:
[0025] 1) DID document data structure
[0026] The DID identification data complies with the w3c DIDDocument specification, and the field extension is added based on the w3c DIDDocument specification;
[0027] 2) Identification registration process and signature scheme based on DID
[0028] (1) The enterprise selects a data template for the identification object data;
[0029] (2) Based on the data template, collect object data to generate identification data;
[0030] (3) Generate a signature for the identification data according to the signature rules;
[0031] (4) After the blockchain node receives the DID and identification data, it calculates the sub-chain number through the aforementioned sub-chain division mechanism; when storing the identification data in the corresponding sub-chain, first verify whether the data template is occupied by another enterprise, and use the unoccupied data template;
[0032] (5) Get the issuer of the corresponding template from the templates in the extension structure, and get the enterprise public key from the blockchain through the issuer did encoding, and use the public key to verify the signature in the received identification data. If the verification is passed, enter the did document update process, otherwise prompt the identification registration failure;
[0033] (6) Update the newly received identification data to the extension corresponding part of the product object did document, and for the first time using the data template, update the mapping relationship between the data template and the issuer under templates at the same time;
[0034] B, identification analysis
[0035] S1, build identification analysis mechanism and develop identification analysis interface
[0036] 1) Based on the generation algorithm of ac_id in the preceding subchain division mechanism, a DID-based routing resolution service is constructed, and an identification resolution interface is developed;
[0037] 2) Analysis method
[0038] (1) Accurately locate the subchain where the object identification data is located through did coding, and realize the full acquisition of the object life cycle data;
[0039] (2) Filter the returned data through template_id, and return the key data required by the user.
[0040] Preferably, in step A, S2, the calc calculation method comprises:
[0041] 1) Truncation <method-specific-id>part of the system of <ac-id>; The interception mode is specifically: to construct N sub-chains, and the sub-chain number structure is ac0 <method-specific-id-slice>wherein <method-specific-id-slice>is <method-specific-id>the first character of the name of the country in lower case or a number;
[0042] 2) <method-specific-id>by mathematical operations, for generating <ac-id>. The mathematical operation is specifically: to construct N sub-chains in total, and the sub-chain number structure is ac0 <method-specific-id-mod>wherein <method-specific-id-mod>For <method-specific-id>The sum of all the ASCII codes of the letters modulo N.
[0043] Preferably, in step A, S3, after the data template is generated, the data template is uniquely indexed by template_id, and there is a one-to-one correspondence between the data template and the template_id, while the identified object has a one-to-many relationship with the data template; the template_id is generated in any one of the following ways: self-incrementing number, fixed-length random string.
[0044] 4. The blockchain-based identity resolution performance improvement method of claim 1, wherein in step A, S4, 2), (3), the signature rule is as follows:
[0045] a. The data to be signed is sorted according to the rules:
[0046] The object data to be sorted is converted into UTF-16 byte units according to the attribute key value, and the first byte of the byte unit is simply compared in value to sort in ascending order; if the first byte is the same, the subsequent bytes are compared until a different size value is generated to sort in ascending order; if the sub-object is complex structured data, the same recursive sorting is performed on the sub-object; if the sub-object is an array type data, the array elements are required not to be changed;
[0047] b. Remove the spaces between the JSON symbols and compress the sorted data to form the signature byte data;
[0048] c. Sign the signature byte data using the private key;
[0049] d. Encode the signature data using Base58 to generate the signature data.
[0050] Preferably, in step A, S4, 2), (4), the upstream enterprise is set as the production enterprise, the production enterprise identifies the self-characteristic data of the object product to form a self-characteristic data template; the downstream enterprise is set as the transportation enterprise, the transportation enterprise identifies the transportation management data of the object product to form a transportation management data template; the transportation management data template does not interfere with or modify the self-characteristic data template.
[0051] Preferably, in step B, S1, 2), when the client parses the request data carrying the DID identifier without the data template id, the identification data of all data templates of the object is returned, i.e., the full life cycle data of the object; when the client parses the request data carrying the data template template_id and the DID identifier, the specific identification data is returned.
[0052] Compared with the prior art, the blockchain-based identity resolution performance improvement method has the following beneficial effects:
[0053] 1、The present application eliminates the existing mechanism for dividing the sub-chain based on industry / region and other artificial factors, and replaces it with a mechanism for distinguishing the sub-chain based on object DID identifier, builds a cross-enterprise unified coding, and realizes one object one code. Under the premise of one object one code, it ensures that the identification data of the same object is stored on the same sub-chain, effectively reduces the number of times of accessing the blockchain in the identification analysis process, and improves the identification analysis performance.
[0054] 2、The present application introduces an identification metadata management mechanism during identification registration, builds an identification data template through identification metadata, and realizes the standardization of data during identification registration through the data template.
[0055] In summary, the present technical solution solves the problems of one object multiple codes and separate storage of identification data between upstream and downstream enterprises in the existing industrial internet identification analysis system, and realizes efficient identification analysis on the basis of centralized and unified management of the whole life cycle data of the same identification object, greatly reducing the time consumption of identification analysis in the one object one code traceability scenario. BRIEF DESCRIPTION OF DRAWINGS
[0056] Figure 1 The present application is a process diagram for realizing one object one code traceability for the existing technology starfire chain network.
[0057] Figure 2 The present application is a process diagram for realizing one object one code traceability for the existing technology starfire chain network.
[0058] Figure 3 The present application is a process diagram for realizing one object one code traceability for the existing technology starfire chain network. DETAILED DESCRIPTION
[0059] The following is a specific embodiment of the present application and further describes the technical solution of the present application in conjunction with the drawings, but the present application is not limited to these embodiments.
[0060] In the technical field of internet identification registration and analysis, the following technical terms are commonly used:
[0061] Blockchain: a block chain storage, tamper-proof, secure and trusted decentralized distributed ledger.
[0062] Main chain: the core of the blockchain network, the official online, independent blockchain network, carrying the main transaction and data processing tasks. It contains the most important transaction records and block data in the blockchain network, and is the most important and perfect part of the blockchain ecosystem.
[0063] Sub-chain: a blockchain built on the basis of the underlying main chain, which can be regarded as a branch or extension of the main chain. The sub-chain has independent blocks and transaction records, but is also connected to the main chain.
[0064] Identity registration and resolution: In the field of industrial internet, each entity or data object is assigned a unique, tamper-proof identification code. During identity registration, the identification registration system stores the unique identification code in association with the attribute data of the object entity; during identity resolution, the attribute data of the object entity is obtained from the identification resolution system through the unique identification code.
[0065] Distributed digital identity: refers to storing user's identity information on the blockchain, and protecting user's privacy and security through encryption algorithm. Each user has a unique identity identifier, which can be used in different applications and networks, realizing cross-platform, cross-application identity verification and management.
[0066] As shown in Figure 1 , a method for improving the performance of identity resolution based on blockchain includes the following steps:
[0067] A, identity registration
[0068] S1, establish object identity:
[0069] According to the DID coding structure:
[0070] did:rsv: <ac-id> : <method-specific-id>
[0071] wherein did:rsv is a fixed prefix; <ac-id>is numbered as a subchain and consists of 4 letters or numbers, for the main chain, <ac-id>The fields can be omitted; <method-specific-id>To encode the suffix of did;
[0072] Object coding is performed to identify the identity of objects between upstream and downstream enterprises in DID. When the object identity is generated, the following calculation formula is used:
[0073] <method-specific-id>= base58(ripemd160(sha256(<object public key>)))
[0074] Distributed the public and private key pairs, agreed to keep the consistency of DID encoding generation rules; The consistency of DID encoding generation rules ensures the consistency of identity in the process of object flow between upstream and downstream enterprises in the industry chain / supply chain.
[0075] S2, build sub-chain division mechanism:
[0076] With <method-specific-id>For input, introduce <method-specific-id>To <ac-id>The calculation function calc of the production sub-chain number is as follows:
[0077] <ac-id>= calc( <method-specific-id>)
[0078] wherein calc is <method-specific-id>To <ac-id>calculation function of the calc function;
[0079] In step A, S2, the calc calculation method includes, but is not limited to:
[0080] 1) intercept <method-specific-id>part of the system of <ac-id>; The interception mode is specifically: a total of N (36) sub-chains are constructed, and the sub-chain number structure is ac0 <method-specific-id-slice>wherein <method-specific-id-slice>is <method-specific-id>The first character of a lowercase letter or number; further specific to a did <method-specific-id>a string of numbers beginning with a (or A), <method-specific-id-slice>The value of a is a, and <method-specific-id>If the did is stored in the ac0a, then the did stored in the ac0a should be ac0a.
[0081] 2) <method-specific-id>by mathematical operations, for generating <ac-id>. The mathematical operation is specifically: to construct N (10) sub-chains, and the sub-chain number structure is ac0 <method-specific-id-mod>wherein <method-specific-id-mod>For <method-specific-id>All the letters ascii code addition to N (10) remainder.
[0082] S3, build identification metadata and data template:
[0083] At least from the attribute name, value type, value range, attribute number of the perspective to build identification metadata and data template, and divide each data template into template_id; through template_id unique index data template, so as to realize the unity of the same object identification data, the construction process of this data template is to describe the process of object abstraction, the specific abstraction process is prior art, so it is not expanded here.
[0084] In step A, S3, after the generation of data template through template_id unique index, there is a one-to-one correspondence between data template and template_id, and there is a one-to-many relationship between the identified object and data template; The generation method of template_id is any one of self-incrementing number, fixed-length random string (such as uuid).
[0085] Taking a mobile phone as an example, the attributes of the mobile phone in the production and manufacturing stage include brand, product number, model, body size, body memory, running memory, screen size, camera pixel, battery capacity, etc., then the data template corresponding to the mobile phone can be described as the above attribute data set.
[0086] S4, build access control mechanism based on data template and signature mechanism:
[0087] 1) DID document data structure
[0088] DID identification data complies with w3c DIDDocument specification, data structure and its meaning are detailed in https: / / www.w3.org / ns / did / v1, the structure and composition of document field specified in w3c DIDDocument specification, w3c DIDDocument specification is prior art, so it is not expanded in detail. On the basis of w3c DIDDocument specification, add field extension to store object identification data, template list and other information, and analyze related data; The field extension belongs to the common technical means in the art, so it is not expanded in detail.
[0089] As Figure 2 shown, 2) DID-based identification registration process and signature scheme
[0090] (1) the enterprise selects a data template for the identification object data;
[0091] (2) On the basis of the data template, collect object data to generate identification data;
[0092] (3) Generate a signature according to the signature rule for the identification data;
[0093] In steps A, S4, 2), (3), the signature rule is as follows:
[0094] a. Sort the data to be signed according to the rule:
[0095] The object data to be sorted is converted into UTF-16 byte units according to the attribute key value, and the first byte of the byte unit is simply compared in value to sort in ascending order; if the first byte is the same, continue to compare the following bytes until a different size value is generated to sort in ascending order; if the sub-object is complex structure data, the same recursive sorting is performed on the sub-object; if the sub-object is an array type data, the array elements cannot be changed;
[0096] b. Remove the spaces between the JSON symbols and compress the sorted data to form the signature byte data (UTF-8 character set);
[0097] c. Sign the signature byte data using the private key;
[0098] d. Encode the signature data using Base58 to generate the signature data.
[0099] (4) After the blockchain node receives the DID and identification data, the sub-chain number is calculated through the aforementioned sub-chain division mechanism; when the identification data is stored in the corresponding sub-chain, the data template is first verified whether it is occupied by other enterprises, and the unoccupied data template is used;
[0100] In steps A, S4, 2), (4), the upstream enterprise is set as the production enterprise, the production enterprise identifies the object product's own characteristic data to form the own characteristic data template; the downstream enterprise is set as the transportation enterprise, the transportation enterprise identifies the object product's transportation management data to form the transportation management data template; the transportation management data template does not interfere with or modify the own characteristic data template.
[0101] Taking a mobile phone as an example, the template T1 is selected from the upstream production enterprise to write the color, model and other information of the mobile phone, and the downstream logistics company only needs to select the logistics related data template T2 to write the logistics information, that is, the downstream logistics company cannot select the template T1 and cannot modify the color, model and other information of the mobile phone.
[0102] (5) Get the issuer corresponding to the template from the templates in the extension structure, and get the enterprise public key from the blockchain through issuer did encoding, verify the signature in the received identification data using the public key, and if the verification is passed, enter the did document update process, otherwise prompt the identification registration failure;
[0103] (6) Update the newly received identification data to the extension corresponding part of the product object did document, and for the first use of the data template, update the mapping relationship between the data template and the issuer under templates at the same time;
[0104] The w3c DIDDocument is essentially a large json structure, and the extension is actually a key added in the json. The identification data proposed above is the data generated after the product object is standardized based on the data template standard, and this part of data accurately describes the key information of the product object at a certain stage. The DID identification data is more a combination of the above identification data and DID, and is the data formed after being stored in the did document structure.
[0105] B, identification analysis
[0106] As shown in Figure 3 S1, construct an identification analysis mechanism and develop an identification analysis interface
[0107] 1) Based on the generation algorithm of ac_id in the foregoing sub-chain division mechanism, a DID-based routing analysis service is constructed, and an identification analysis interface is developed. The development of the identification analysis interface is prior art, so it is not described here.
[0108] 2) Analysis method
[0109] (1) Accurately locate the sub-chain where the object identification data is located through did encoding, and realize the full acquisition of the full life cycle data of the object;
[0110] (2) Filter the returned data through template_id, and return the key data required by the user.
[0111] In step B, S1, 2), when the client parses the request data carrying the DID identification without the data template id, the identification data of all data templates of the object is returned, that is, the full life cycle data of the object; when the client parses the request data carrying the data template template_id and the DID identification, the specific identification data is returned.
[0112] The application solves the problem of cracking the identification data of the same object stored separately among the upstream and downstream enterprises in the industry chain / industry chain, so as to improve the analysis performance of the full life cycle identification.
[0113] The substantial feature of the present application is to eliminate the existing mechanism of dividing the sub-chain based on industry / region and other artificial factors, build a new mechanism of distinguishing the sub-chain based on object DID identifier, and combine digital template, digital signature and other technologies to build an identification data authorization access and tamper-proof mechanism between upstream and downstream enterprises. Specifically, it includes:
[0114] 1. On the basis of the existing main-sub chain hierarchical architecture, a new identification data storage mechanism is built to realize centralized and unified storage of the same object identification data.
[0115] 2. A distributed digital identity authorization and access control mechanism is built when different enterprises register identification data to avoid tampering with identification data.
[0116] The specific embodiments described herein are merely illustrative of the spirit of the present application. Those skilled in the art of the present application can make various modifications or supplements to the described specific embodiments or replace them with similar ways, without deviating from the spirit of the present application or exceeding the defined scope. Although the present application is described and illustrated in detail in the accompanying drawings and the foregoing description, such description and illustration are considered to be illustrative or exemplary rather than limiting. It should be understood that those skilled in the art can make changes and modifications within the scope of the following claims. Specifically, the present application encompasses additional embodiments having any combination of features from the different embodiments described above. In terms of the use of the expressions "generally" or "substantially", the present patent application should be understood to disclose the same full satisfaction of these characteristics and values, i.e. without the aforementioned characterization as "generally" or "substantially".
[0117] In the description of the present application, it should be noted that unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connection" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. < / ac-id> < / ac-id>
Claims
1.A method for improving identity resolution performance based on a blockchain, characterized in that, Comprising the following steps: A, identification registration S1, establish object identity: According to the DID coding structure: did:rsv: <ac-id> : <method-specific-id>< / method-specific-id> < / ac-id> wherein did:rsv is a fixed prefix; <ac-id>is numbered as a subchain and consists of 4 letters or numbers, for the main chain, <ac-id>The field can be omitted. <method-specific-id>For did coding suffix; Object coding is carried out to identify the identity of objects between upstream and downstream enterprises; When object identity is generated, the following calculation formula is used: <method-specific-id>= base58(ripemd160(sha256(<object public key>))) Assign public and private key pairs, and agree on consistent DID coding generation rules; S2, build subchain division mechanism: With <method-specific-id>For input, introduce <method-specific-id>To <ac-id>The calculation function calc produces subchain number, and its calculation formula is as follows: <ac-id>= calc( <method-specific-id> )< / method-specific-id> wherein calc is <method-specific-id>To <ac-id>The calculation function of; S3, construct identification metadata and data template: At least from the aspects of attribute name, value type, value range and attribute number, construct identification metadata and data template, and divide each data template into template_id; S4, build access control mechanism based on data template and signature mechanism: 1) DID document data structure DID identification data complies with w3c DIDDocument specification, and adds field extension based on w3c DIDDocument specification; 2) DID-based identification registration process and signature scheme (1) The enterprise selects a data template for the identification object; (2) On the basis of the data template, collect object data to generate identification data; (3) Generate a signature according to the signature rules for the identification data; (4) After the blockchain node receives the DID and identification data, the subchain number is calculated through the aforementioned subchain division mechanism; When the identification data is stored in the corresponding subchain, first check whether the data template is occupied by other enterprises, and use the unoccupied data template; (5) Get the issuer corresponding to the template from the extension structure templates, and get the enterprise public key from the blockchain through the issuer did coding, and use the public key to verify the signature in the received identification data; If the verification is passed, enter the did document update process, otherwise prompt the identification registration failure; (6) Update the newly received identification data to the extension corresponding part of the product object did document, and for the first time using the data template, update the mapping relationship between the data template and the issuer under templates at the same time; B, identification analysis S1, build identification analysis mechanism and develop identification analysis interface 1) Based on the generation algorithm of ac_id in the aforementioned subchain division mechanism, build DID-based routing analysis service, and develop identification analysis interface; 2) Analysis method (1) Accurately locate the subchain where the object identification data is located through did coding, and realize the full amount acquisition of object full life cycle data; (2) Filter the returned data through template_id, and return the key data required by the user. 2.The blockchain-based identification resolution performance improvement method of claim 1, wherein, In steps A, S2, the calc calculation method includes: 1) Truncation <method-specific-id>part of the system of <ac-id>; The interception mode is specifically: to construct N sub-chains, and the sub-chain number structure is ac0 <method-specific-id-slice>wherein <method-specific-id-slice>is <method-specific-id>The lowercase letter or number of the first character; 2) <method-specific-id>by mathematical operations, for generating <ac-id>The mathematical operation is as follows: a total of N sub-chains are constructed, and the sub-chain numbering structure is ac0 <method-specific-id-mod>wherein <method-specific-id-mod>For <method-specific-id>The result of taking the sum of all letter ascii codes modulo N. 3.The blockchain-based identification resolution performance improvement method of claim 1, wherein, In step A, S3, after the data template is generated, the data template and the template_id are in one-to-one correspondence, and the identified object and the data template are in one-to-many relationship; the template_id is generated in any one of the following ways: self-incrementing number, fixed-length random string. 4.The method of claim 1, wherein, In step A, S4, 2), (3), the signature rule is as follows: a. Sort the data to be signed according to the rules: The object data to be sorted is converted into UTF-16 byte units according to the attribute key value, and the first byte of the byte unit is simply compared to sort in ascending order; if the first byte is the same, continue to compare the following bytes until a different value is generated to sort in ascending order; if the sub-object is complex structured data, the same recursive sorting is performed on the sub-object; if the sub-object is an array type data, the array elements cannot be changed; b. Remove the white space between the JSON symbols, compress the sorted data to form the signature byte data; c. Sign the signature byte data using the private key; d. Encode the signature data using Base58 to generate the signature data. 5.The blockchain-based identification resolution performance improvement method of claim 1, wherein, In step A, S4, 2), (4), the upstream enterprise is set as the production enterprise, the production enterprise identifies the self-characteristic data of the object product to form the self-characteristic data template; the downstream enterprise is set as the transportation enterprise, the transportation enterprise identifies the transportation management data of the object product to form the transportation management data template; the transportation management data template does not interfere with or modify the self-characteristic data template. 6.The blockchain-based identification resolution performance improvement method of claim 1, wherein, In step B, S1, 2), when the client parses the request data carrying the DID identifier without the data template id, the identification data of all data templates of the object is returned, that is, the full life cycle data of the object; when the client parses the request data carrying the data template template_id and the DID identifier, the specific identification data is returned.
Citation Information
Patent Citations
Digital identity management method and device
CN117056981A
Engineering talent interconnection method and system based on block chain architecture
CN117851504A