Resource identifier processing method and related device

By building resource identification of a unified data structure, the problem of difficulty in connecting data resources between different blockchain platforms and subjects is solved, cross-chain and cross-subject data resources are achieved, and the circulation of data resources is improved.

CN119996429APending Publication Date: 2025-05-13CHINA INTERNET NETWORK INFORMATION CENTER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510078624.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Data resources between different blockchain platforms and entities are difficult to connect, resulting in poor liquidity of data resources.

Method used

By building a resource identifier of a unified data structure, obtaining query requests carrying the target resource identifier, determining the resource identification system corresponding to the target root node, and querying the target blockchain platform and subject according to the binding relationship, thereby positioning the target data resources.

Benefits of technology

The interoperability of cross-chain and cross-subject data resources has been achieved, which alleviates the data resource fragmentation caused by the differences between blockchain platforms and subjects, and improves the liquidity of data resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996429A_ABST
    Figure CN119996429A_ABST
Patent Text Reader

Abstract

The invention discloses a resource identifier processing method and a related device, and the method comprises the steps: obtaining a query request carrying a target resource identifier, the target resource identifier comprising a target root node, a target chain identifier and a target main body identifier; and determining a target resource identification system corresponding to the target root node. And if the target resource identification system comprises the first binding relationship corresponding to the target chain identifier, querying the target chain identifier according to the first binding relationship, and determining a target block chain platform. And if the target block chain platform comprises a second binding relationship corresponding to the target subject identifier, querying the target subject identifier according to the second binding relationship, and determining a target subject. And determining a target data resource corresponding to the target resource identifier and belonging to the target main body. Therefore, query is performed through the first binding relationship and the second binding relationship, a data resource splitting state caused by different block chain platforms and main bodies is relieved, and the circulation of data resources managed through a block chain technology is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a resource identification processing method and related devices. Background Art

[0002] Nowadays, many trade fields are composed of multiple entities. For example, the shipping trade field involves shipping companies, port management parties, customs, financial institutions, logistics companies, etc. With the digital transformation, various entities have gradually realized that managing data resources through blockchain technology has advantages in data security, immutability, and information transparency.

[0003] In related technologies, different entities use different blockchain platforms when managing data resources. For example, some entities use Chang'an Chain, while others use Silk Road Cloud Chain.

[0004] However, different blockchain platforms cause data resources to be fragmented and difficult to connect, resulting in poor liquidity of data resources of each entity. Summary of the invention

[0005] In view of the above problems, the present application provides a resource identification processing method and related devices for improving the liquidity of each subject data resource.

[0006] Based on this, this application discloses the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a resource identification processing method, the method comprising:

[0008] Obtain a query request carrying a target resource identifier, wherein the target resource identifier includes a target root node, a target chain identifier, and a target subject identifier, wherein the target chain identifier is used to indicate a target blockchain platform corresponding to a target data resource, and the target subject identifier is used to indicate a target subject to which the target data resource belongs;

[0009] Determine a target resource identification system corresponding to the target root node;

[0010] If the target resource identification system includes a first binding relationship corresponding to the target chain identifier, query the target chain identifier according to the first binding relationship to determine the target blockchain platform;

[0011] If the target blockchain platform includes a second binding relationship corresponding to the target subject identifier, querying the target subject identifier according to the second binding relationship to determine the target subject;

[0012] Determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

[0013] Optionally, the target resource identifier further includes a custom field and a resource type code, and determining the target data resource belonging to the target subject corresponding to the target resource identifier includes:

[0014] Determining the resource type of the target data resource according to the resource type code;

[0015] For the blockchain of the target blockchain platform, in the data resources corresponding to the target subject, the custom field and the resource type are matched to obtain the target data resource corresponding to the target resource identifier.

[0016] Optionally, before querying the target chain identifier according to the first binding relationship, the first binding relationship corresponding to the target chain identifier is determined in the following manner:

[0017] Obtaining a registration instruction for the target chain identifier, the registration instruction carrying qualification information of the target blockchain platform;

[0018] After obtaining the registration instruction, if an authorization instruction is received from the root node alliance, the target chain identifier and the public key corresponding to the target chain identifier are written into the root node alliance chain to establish a first binding relationship between the target chain identifier and the target blockchain platform. The root node alliance is used to review the chain identifier, and the root node alliance chain is a blockchain managed by multiple member institutions included in the root node alliance.

[0019] Optionally, the authorization instruction from the root node alliance includes a first authorization instruction and a second authorization instruction, the first authorization instruction is issued by the root node alliance, and the second authorization instruction is issued to the root node alliance through a top-level domain name management agency.

[0020] Optionally, before querying the target subject identifier according to the second binding relationship, the second binding relationship corresponding to the target subject identifier is determined in the following manner:

[0021] Obtaining an application instruction for the target subject identification, wherein the application instruction carries the qualification information of the target subject;

[0022] After obtaining the application instruction, if an allocation instruction is received from the target blockchain platform, the target subject identifier and the public key corresponding to the target subject identifier are written into the blockchain of the target blockchain platform to establish a second binding relationship between the target subject identifier and the target subject.

[0023] Optionally, the method further comprises:

[0024] In response to obtaining a resource update instruction, a correspondence between the update resource code and the resource to be processed is established to obtain update information, wherein the resource update instruction is used to instruct the target subject to request to update the resource to be processed, and the resource update instruction carries an update resource code, and the update resource code includes an update custom field and an update resource type code;

[0025] If the target subject passes the identity authentication, the update information is synchronized to each node of the blockchain where the target subject is located.

[0026] In a second aspect, an embodiment of the present application provides a resource identification processing device, the device comprising: an acquisition unit, a determination unit and a query unit;

[0027] The acquisition unit is used to acquire a query request carrying a target resource identifier, wherein the target resource identifier includes a target root node, a target chain identifier, and a target subject identifier, wherein the target chain identifier is used to indicate a target blockchain platform corresponding to a target data resource, and the target subject identifier is used to indicate a target subject to which the target data resource belongs;

[0028] The determining unit is used to determine the target resource identification system corresponding to the target root node;

[0029] The query unit is configured to query the target chain identifier according to the first binding relationship to determine the target blockchain platform if the target resource identifier system includes a first binding relationship corresponding to the target chain identifier;

[0030] The query unit is further configured to query the target subject identifier according to the second binding relationship to determine the target subject if the target blockchain platform includes a second binding relationship corresponding to the target subject identifier;

[0031] The determining unit is used to determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

[0032] In a third aspect, an embodiment of the present application provides a computer device, wherein the computer device includes a processor and a memory:

[0033] The memory is used to store a computer program and transmit the computer program to the processor;

[0034] The processor is configured to execute the method according to the first aspect of claim 1 according to the computer program.

[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the first aspect above.

[0036] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the method described in the first aspect above.

[0037] It can be seen from the above technical solutions that the present application has at least the following beneficial effects:

[0038] In order to improve the circulation of data resources, data resources are located by constructing resource identifiers of a unified data structure for data resources of different platforms and different entities. Obtain a query request carrying a target resource identifier, which includes a target root node, a target chain identifier, and a target entity identifier. The target chain identifier is used to indicate the target blockchain platform corresponding to the target data resource, and the target entity identifier is used to indicate the target entity to which the target data resource belongs. Determine the target resource identification system corresponding to the target root node. If the target resource identification system includes a first binding relationship corresponding to the target chain identifier, query the target chain identifier according to the first binding relationship to determine the target blockchain platform. If the target blockchain platform includes a second binding relationship corresponding to the target entity identifier, query the target entity identifier according to the second binding relationship to determine the target entity. Determine the target data resource corresponding to the target resource identifier that belongs to the target entity. Therefore, in the target resource identification system corresponding to the target root node, for the target chain identifier included in the target resource identifier, the target blockchain platform corresponding to the target chain identifier can be queried through the first binding relationship, thereby realizing the intercommunication of cross-chain data resources, and for the target subject identifier included in the target resource identifier, the target subject corresponding to the target subject identifier can be queried through the second binding relationship, thereby realizing the intercommunication of cross-subject data resources, alleviating the data resource fragmentation caused by different blockchain platforms and subjects, and improving the liquidity of data resources managed by blockchain technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 A schematic diagram of a process flow of a resource identification processing method provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a registration chain identification process provided in an embodiment of the present application;

[0042] Figure 3A schematic diagram of a process for identifying an applicant subject provided in an embodiment of the present application;

[0043] Figure 4 A system architecture diagram for processing resource identification provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of the structure of a resource identification processing device provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0047] Blockchain technology is a distributed ledger technology. Unlike traditional databases, blockchain does not rely on a single central server to store data, but uses multiple nodes in the network to save copies of the entire ledger. In the same blockchain, all participating nodes maintain the same ledger status, making the blockchain data consistent and open and transparent. Each data change (transaction) is encrypted before being added to the ledger and linked to the previous transaction to form a chain (blockchain), making blockchain technology tamper-proof. Based on the above advantages, multiple entities in the same trade field in related technologies manage data resources through blockchain technology.

[0048] However, different entities often adopt different blockchain technology routes. For example, some entities use Changan Chain, some entities use Silk Road Cloud Chain, and some entities conduct secondary development based on Hyperledger Fabric open source code. The technical diversity of blockchain makes it difficult for blockchain platforms to connect, forming an "information island" phenomenon. The technical standards of blockchain platforms corresponding to various entities are not unified, making it difficult to exchange and share data on the chain, resulting in low liquidity of data resources. In addition, the differences in entities and the fragmentation of the market further lead to more fragmentation of data resources.

[0049] Based on this, the embodiments of the present application provide a resource identification processing method and related devices, which locate data resources by constructing resource identifications of a unified data structure for data resources of different platforms and different subjects. In the target resource identification system corresponding to the target root node, for the target chain identification included in the target resource identification, the target blockchain platform corresponding to the target chain identification can be queried through a first binding relationship, thereby realizing the intercommunication of cross-chain data resources. For the target subject identification included in the target resource identification, the target subject corresponding to the target subject identification can be queried through a second binding relationship, thereby realizing the intercommunication of cross-subject data resources, alleviating the fragmentation of data resources caused by different blockchain platforms and subjects, and improving the liquidity of data resources managed by blockchain technology.

[0050] The resource identification processing method provided in this application can be applied to computer devices with resource identification processing capabilities, such as terminal devices and servers. Specifically, the terminal device can be a desktop computer, a laptop computer, a mobile phone, and a tablet computer; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0051] All data collected by this application (such as query requests carrying target resource identifiers) are collected with the consent and authorization of the object to which the data belongs (such as users, institutions or enterprises), and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0052] See also Figure 1 , which is a flow chart of the resource identification processing method provided in the embodiment of the present application. For the convenience of description, the following embodiment is introduced by taking the execution subject of the resource identification processing method as a server as an example. Figure 1 As shown, the resource identification processing method includes S101-S105.

[0053] S101: Obtain a query request carrying a target resource identifier.

[0054] DNS (Domain Name System) is a distributed database system. By recursively querying the multi-level fields corresponding to the domain name, DNS can convert the domain name into an IP address that can be recognized and processed by the computer. The resource identifier is an identifier that uniquely indicates the data resources managed by blockchain technology. In the embodiment of the present application, the data structure of the resource identifier is constructed based on the domain name. See Table 1, which is an example of a resource identifier. The resource identifier may include 3 fields, a subject identifier, a chain identifier, and a root node. When querying the resource identifier, the query priority from high to low is the root node, the chain identifier, and the subject identifier.

[0055] Table 1

[0056]

[0057] The root node is the top-level field of the resource identifier, which can uniquely determine the ownership of the resource identifier and has the highest priority when querying the resource identifier. The root node can indicate different blockchain resource identification systems, such as block.cn, which is a root node used to indicate that the resource identifier belongs to the China Blockchain Resource Identification System. As an implementation method, the root node is a fixed position by system default and does not require configuration.

[0058] The chain identifier is used to uniquely indicate the blockchain platform to which the data resource corresponds. For example, chain01 is a chain identifier that indicates that the data resource is managed by the platform corresponding to chain01. As an implementation method, the chain identifier is a variable-length field and does not exceed 63 characters. The subject identifier is used to uniquely indicate the subject to which the data resource belongs. For example, baec is used to indicate that the data resource belongs to the subject corresponding to baec. As an implementation method, the subject identifier is a variable-length field and does not exceed 63 characters.

[0059] The query request is a request for querying the target data resource. The target data resource is the data resource to be queried, which is managed by the blockchain of the target blockchain platform and belongs to the target subject. It should be noted that different data resources correspond to different resource identifiers, and different resource identifiers are the same data structure. The query request carries the target resource identifier, which is the resource identifier corresponding to the target data resource. The target resource identifier includes the target root node, the target chain identifier and the target subject identifier. The target chain identifier is used to indicate the target blockchain platform corresponding to the target data resource, and the target subject identifier is used to indicate the target subject to which the target data resource belongs.

[0060] S102: Determine a target resource identification system corresponding to the target root node.

[0061] The resource identification system is a system used to manage, allocate and maintain resource identifications, and the target resource identification system is a resource identification system indicated by the target root node.

[0062] S103: If the target resource identification system includes a first binding relationship corresponding to the target chain identifier, the target chain identifier is queried according to the first binding relationship to determine the target blockchain platform.

[0063] The first binding relationship is a pre-established correspondence between the target chain identifier and the target blockchain platform. If the target resource identification system includes the first binding relationship corresponding to the target chain identifier, it means that the first binding relationship between the target chain identifier and the target blockchain platform has been established before obtaining the query request. In this case, the query is performed according to the first binding relationship, and the target blockchain platform uniquely indicated by the target chain identifier can be determined. In this way, data resources of different blockchain platforms can be located according to the chain identifier.

[0064] Specifically, the address of the target blockchain platform is returned according to the first binding relationship, the blockchain corresponding to the target chain identifier in the target blockchain platform is determined according to the address, and the first smart contract is determined in the on-chain data of the blockchain of the target blockchain platform. The first smart contract is an automatically executed contract pre-deployed on the blockchain, and its terms are written in the form of computer code and deployed on the blockchain.

[0065] It should be noted that if the target blockchain platform is a multi-chain architecture, the target chain identifier can uniquely indicate a blockchain in the target blockchain platform.

[0066] In a possible implementation, before querying the target chain identifier according to the first binding relationship, the first binding relationship corresponding to the target chain identifier is determined in the following manner, see A1-A2:

[0067] A1: Get the registration instruction of the target chain identifier.

[0068] Among them, the registration instruction is an instruction used to instruct the registration of the target chain identifier. The registration instruction carries the qualification information of the target blockchain platform, and the qualification information includes the operating qualification and identity information of the operating organization of the target blockchain platform.

[0069] A2: After obtaining the registration instruction, if an authorization instruction is received from the root node alliance, the target chain identifier and the public key corresponding to the target chain identifier are written into the root node alliance chain to establish the first binding relationship between the target chain identifier and the target blockchain platform.

[0070] Among them, the root node alliance is responsible for the review of chain identification management, and ensures the transparency and uniqueness of the allocation process of each chain identification by storing the chain identification on the chain. Taking the shipping and trade field as an example, the root node alliance is established by relevant organizations or authoritative departments in the shipping and trade field. The root node alliance chain is a blockchain managed by multiple member institutions including the root node alliance.

[0071] After obtaining the registration instruction, if an authorization instruction is received from the root node alliance, indicating that the registration of the target chain identifier has passed the review, the target chain identifier and the public key of the target chain identifier are written to the root node alliance chain, and the public key is used for the identity authentication of the subsequent update of data resources. At the same time, relevant configuration information can be recorded in the root node alliance chain, including the location and access method of the target blockchain platform. Thus, the first binding relationship between the target chain identifier and the target blockchain platform is established on the root node alliance chain. As an implementation method, the location is the IP address of the target blockchain platform, and the access method is the first smart contract.

[0072] Therefore, after receiving the authorization instruction from the root node alliance, a first binding relationship is established in the root node alliance chain, so that the registration and allocation of the target chain identifier are supervised by the root node alliance, thereby having higher security and traceability.

[0073] In a possible implementation, in the process of registering the target chain identifier, not only can the blockchain identifier be audited, but also the traditional audit method can be combined. Specifically, the authorization instruction from the root node alliance includes a first authorization instruction and a second authorization instruction. The first authorization instruction is issued by the root node alliance, and the second authorization instruction is issued to the root node alliance through the top-level domain name management agency. The top-level domain name management agency is used to audit the compliance of the target chain identifier. For example, if the root node of the target resource identifier is block.cn, the top-level domain name management agency used to audit the target chain identifier is the China Internet Network Information Center (CNNIC).

[0074] See also Figure 2 , Figure 2 A flow chart of a registration chain identifier provided in an embodiment of the present application, wherein the target blockchain platform sends a registration instruction carrying the target chain identifier. After receiving the registration instruction, the root node alliance conducts a preliminary review of the target blockchain platform, and then submits the qualification information of the target blockchain platform to the domain name management agency, and the top-level domain name management agency conducts another review. If both the root node alliance and the top-level domain name management agency pass the review, a first authorization instruction and a second authorization instruction are issued, and the root node alliance establishes a first binding relationship between the target blockchain platform and the target chain identifier in the root node alliance chain.

[0075] Therefore, by combining blockchain identity review and traditional review, not only can blockchain identity have higher security and traceability, but blockchain identity can also be supervised by top-level domain name management agencies and have higher compliance.

[0076] S104: If the target blockchain platform includes a second binding relationship corresponding to the target subject identifier, the target subject identifier is queried according to the second binding relationship to determine the target subject.

[0077] The second binding relationship is a pre-established correspondence between the target subject identifier and the target subject. If the target blockchain platform includes a second binding relationship corresponding to the target chain identifier, it means that before obtaining the query request, the second binding relationship between the target subject identifier and the target subject has been established. In this case, the query is performed according to the second binding relationship, and the target subject uniquely indicated by the target subject identifier can be determined. In this way, the data resources of different subjects can be located according to the subject identifier.

[0078] Specifically, the target entity identifier is queried by executing the first smart contract, the address of the target entity is returned according to the second binding relationship, the target entity corresponding to the target entity identifier is determined according to the address, and the second smart contract corresponding to the target entity is determined on the blockchain. The second smart contract is an automatically executed contract pre-deployed on the blockchain, and its terms are written in the form of computer code and deployed on the blockchain.

[0079] In a possible implementation, before querying the target chain identifier according to the second binding relationship, the second binding relationship corresponding to the target chain identifier is determined in the following manner, see B1-B2:

[0080] B1: Obtain application instructions for the target entity identification.

[0081] Among them, the application instruction is an instruction used to instruct the application for the target entity identification to the target blockchain platform. The application instruction carries the qualification information of the target entity, which includes the operating qualifications and identity information of the operating organization of the target entity.

[0082] B2: After obtaining the application instruction, if an allocation instruction is received from the target blockchain platform, the target subject identifier and the public key corresponding to the target subject identifier are written into the blockchain of the target blockchain platform to establish a second binding relationship between the target subject identifier and the target subject.

[0083] After obtaining the application instruction, if the allocation instruction is received from the target blockchain platform, indicating that the application of the target subject identifier has passed the review, the target subject identifier and the public key of the target subject identifier are written into the blockchain of the target blockchain platform, and the public key is used for the identity authentication of the subsequent update of data resources. At the same time, the relevant configuration information can be recorded on the target blockchain platform, including the location and access method of the target subject. Thus, a second binding relationship between the target subject identifier and the target subject is established on the target blockchain platform. As an implementation method, the location is the IP address of the target subject, and the access method is the second smart contract.

[0084] See also Figure 3 , Figure 3 A flow chart of an application subject identification provided in an embodiment of the present application, wherein the target subject to which the target data resource belongs sends an application instruction to the operating subject of the target blockchain platform, and the operating subject of the target blockchain platform reviews the qualification information carried in the application instruction. If the review is passed, an allocation instruction is issued to establish a second binding relationship between the target subject and the target subject identification on the blockchain of the target blockchain platform and upload it to the chain.

[0085] Therefore, by reviewing the subject identification through the blockchain platform, the data resources of multiple subjects corresponding to the trade field have higher security, and the data resources are also safer when circulated among multiple subjects.

[0086] S105: Determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

[0087] After parsing the target resource identifier through the first binding relationship and the second binding relationship, the target subject to which the target resource identifier belongs is determined, and then the data resources included in the target subject can be relocated to determine the target data resources of the target subject. The embodiments of the present application do not specifically limit how to determine the target data resources belonging to the target subject corresponding to the target resource identifier. The following three determination methods are used as examples for explanation.

[0088] Determination method 1: determine the target data resource by keyword search in the data resources corresponding to the target subject. In multiple data resources corresponding to the target subject, the target data resource is located by using the keyword as the input screening condition through the search algorithm.

[0089] The second determination method is to introduce custom fields and resource type codes into the target resource identifier, that is, the target resource identifier also includes custom fields and resource type codes. Among them, the custom field is a variable-length field configured by the target entity according to business needs in order to realize the directional call of the target data resource, and the resource type code is used to indicate the resource type of the target data resource. For example, the resource type code is api, which is used to indicate that the resource type of the target data resource is a system interface. For example, the resource type code is pcpt, which is used to indicate that the resource type of the target data resource is privacy computing information. As an implementation method, the custom field and resource type code can establish a corresponding relationship with the target data resource when updating the target data resource.

[0090] The resource type of the target data resource is determined according to the resource type code. For the blockchain of the target blockchain platform, the custom field and the resource type are matched in the data resource corresponding to the target subject to obtain the target data resource corresponding to the target resource identifier.

[0091] See Table 2, which is an example of a target resource identification that introduces a custom field and a resource type code.

[0092]

[0093] Among them, the custom field cargoport is used to indicate the cargo port department of the target entity, and api is used to indicate that the resource type of the target data resource is a system interface.

[0094] Therefore, by introducing custom fields and resource type codes, the correspondence between custom fields and resource type codes and target data resources is pre-established, so that the target data resources can be located more quickly through the target resource identifier, such a URL-like data structure, thereby improving the circulation of data resources.

[0095] The following takes a query data resource scenario in the shipping trade field as an example to illustrate the above method.

[0096] In order to share its logistics and ship dynamic data in a cross-chain environment, and the customs department C to share the import and export declaration status, the import and export enterprise B and the customs department C decided to apply for resource identification so that they can be identified and queried by other enterprises and departments. The specific operation process is as follows:

[0097] (1) Chain ID Registration

[0098] Blockchain operator A first submits the registration instructions for the chain identifier to the root node alliance, including its operating qualifications, corporate identity information, and on-chain configuration information.

[0099] After receiving the application, the root node alliance submits the qualification information of blockchain operator A to the top-level domain name management agency (such as China Internet Network Information Center, which manages the ".cn" top-level domain name). After the top-level domain name management agency reviews and approves it, it assigns the chain identifier chain01 to blockchain operator A and records chain01's authorization information and access method on the root node alliance chain.

[0100] 2) Subject Identification Allocation

[0101] After blockchain operator A obtains the chain ID, import and export enterprise B decides to join this blockchain and apply for the entity ID, applying for the entity ID enterpriseB. At the same time, the customs-related department C also joins this blockchain to apply for the entity ID. For example, apply for the entity ID customsC.

[0102] The operating entity A of the blockchain platform will conduct an audit. After passing the audit, the import and export enterprise B obtains the corresponding entity identification enterpriseB, and the customs-related department C obtains the subject identification customsC.

[0103] 3) Generation of resource identifiers

[0104] Finally, blockchain operator A obtains a complete resource identifier, such as "enterpriseB.chain01.block.cn" and "customsC.chain01.block.cn", where "enterpriseB" or "customsC" indicates the entity to which the data resource belongs, "chain01" indicates the blockchain where the resource is located, and "block.cn" as the root node field indicates the top-level domain of the identification system.

[0105] At this point, the import and export enterprise B and the customs department C have been assigned a unified resource identifier, where the subject (such as the import and export enterprise B, etc.) can directly query and locate the resources of the customs department C through the resource identifier, such as the import and export declaration status, and the corresponding complete resource address is customsC.chain01.block.cn / declare.api. Among them, "." and " / " serve to separate each field.

[0106] It can be seen from the above technical solution that in order to improve the circulation of data resources, data resources are located by constructing resource identifiers of a unified data structure for data resources of different platforms and different subjects. Obtain a query request carrying a target resource identifier, which includes a target root node, a target chain identifier, and a target subject identifier. The target chain identifier is used to indicate the target blockchain platform corresponding to the target data resource, and the target subject identifier is used to indicate the target subject to which the target data resource belongs. Determine the target resource identification system corresponding to the target root node. If the target resource identification system includes a first binding relationship corresponding to the target chain identifier, query the target chain identifier according to the first binding relationship to determine the target blockchain platform. If the target blockchain platform includes a second binding relationship corresponding to the target subject identifier, query the target subject identifier according to the second binding relationship to determine the target subject. Determine the target data resource corresponding to the target resource identifier and belonging to the target subject. Therefore, in the target resource identification system corresponding to the target root node, for the target chain identifier included in the target resource identifier, the target blockchain platform corresponding to the target chain identifier can be queried through the first binding relationship, thereby realizing the intercommunication of cross-chain data resources, and for the target subject identifier included in the target resource identifier, the target subject corresponding to the target subject identifier can be queried through the second binding relationship, thereby realizing the intercommunication of cross-subject data resources, alleviating the data resource fragmentation caused by different blockchain platforms and subjects, and improving the liquidity of data resources managed by blockchain technology.

[0107] In a possible implementation, the embodiment of the present application also provides a method for updating data resources, in response to obtaining a resource update instruction, establishing a corresponding relationship between the updated resource code and the resource to be processed, and obtaining update information. If the target subject passes the identity authentication, the update information is synchronized to each node of the blockchain where the target subject is located.

[0108] Among them, the resource update instruction is used to instruct the target subject to request to update the resources to be processed. The resource update instruction carries the update resource code, and the update resource code includes the update custom field and the update resource type code. Updating data resources includes two situations: the target subject creates a new data resource or modifies the target subject's existing data resources. That is to say, the update custom field can be obtained by updating the original custom field or a newly preset custom field. The update resource type code can be obtained by updating the original resource type code or a newly preset resource type code. The update information can include the correspondence between the update resource code and the resource to be processed, and can also include the timestamp corresponding to the updated data resource.

[0109] If the target subject passes the identity authentication, it means that the target subject has successfully verified the public key uploaded in advance, and the updated information will be synchronized to each node of the blockchain where the target subject is located to achieve the synchronization and transparency of the updated data resources.

[0110] It should be noted that this method can also be used to update the subject identifier and chain identifier, and synchronize the update information corresponding to the update identifier to each node corresponding to the blockchain where its binding relationship is located.

[0111] Therefore, by updating and synchronizing the resource code when updating data resources, not only can the updated content remain open and transparent to the blockchain, but the correspondence between custom fields and resource type codes and data resources can also be updated in a timely manner, thereby more effectively maintaining the highly liquid resource identification processing system.

[0112] See also Figure 4 , Figure 4 A system architecture diagram for processing resource identification provided for an embodiment of the present application. Taking CNNIC as an example, the root node alliance is composed of multiple organizations, which are responsible for the preliminary review of the registration instructions of the blockchain platform. CNNIC will review it again, and after the review is passed, the chain identification will be authorized and a first binding relationship will be established. Each blockchain platform reviews the application instructions submitted by its corresponding subject, and after the review is passed, the subject identification will be authorized and a second binding relationship will be established, thereby enabling the data resources to be determined faster and more accurately through the first binding relationship and the second binding relationship, thereby improving the liquidity of data resources across chains and subjects.

[0113] See also Figure 5 , Figure 2 A resource identification processing device provided in an embodiment of the present application, the device 500 includes an acquisition unit 501, a determination unit 502 and a query unit 503;

[0114] The acquisition unit 501 is used to acquire a query request carrying a target resource identifier, wherein the target resource identifier includes a target root node, a target chain identifier, and a target subject identifier, wherein the target chain identifier is used to indicate a target blockchain platform corresponding to a target data resource, and the target subject identifier is used to indicate a target subject to which the target data resource belongs;

[0115] The determining unit 502 is used to determine the target resource identification system corresponding to the target root node;

[0116] The query unit 503 is used to query the target chain identifier according to the first binding relationship to determine the target blockchain platform if the target resource identification system includes the first binding relationship corresponding to the target chain identifier;

[0117] The query unit 503 is further configured to query the target subject identifier according to the second binding relationship to determine the target subject if the target blockchain platform includes a second binding relationship corresponding to the target subject identifier;

[0118] The determining unit 502 is used to determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

[0119] It can be seen from the above technical solution that the resource identification processing device provided in the embodiment of the present application includes an acquisition unit, a query unit and a determination unit. In order to improve the circulation of data resources, data resources are located by constructing a resource identification of a unified data structure for data resources of different platforms and different subjects. The query request carrying the target resource identification is obtained by the acquisition unit. The target resource identification includes a target root node, a target chain identification and a target subject identification. The target chain identification is used to indicate the target blockchain platform corresponding to the target data resource, and the target subject identification is used to indicate the target subject to which the target data resource belongs. The target resource identification system corresponding to the target root node is determined by the determination unit. If the target resource identification system includes a first binding relationship corresponding to the target chain identification, the target chain identification is queried by the query unit according to the first binding relationship to determine the target blockchain platform. If the target blockchain platform includes a second binding relationship corresponding to the target subject identification, the target subject identification is queried by the query unit according to the second binding relationship to determine the target subject. The target data resource corresponding to the target resource identification and belonging to the target subject is determined by the determination unit. Therefore, in the target resource identification system corresponding to the target root node, for the target chain identifier included in the target resource identifier, the target blockchain platform corresponding to the target chain identifier can be queried through the first binding relationship, thereby realizing the intercommunication of cross-chain data resources, and for the target subject identifier included in the target resource identifier, the target subject corresponding to the target subject identifier can be queried through the second binding relationship, thereby realizing the intercommunication of cross-subject data resources, alleviating the data resource fragmentation caused by different blockchain platforms and subjects, and improving the liquidity of data resources managed by blockchain technology.

[0120] As a possible implementation manner, the target resource identifier further includes a custom field and a resource type code, and the determining unit is specifically configured to:

[0121] Determining the resource type of the target data resource according to the resource type code;

[0122] For the blockchain of the target blockchain platform, in the data resources corresponding to the target subject, the custom field and the resource type are matched to obtain the target data resource corresponding to the target resource identifier.

[0123] As a possible implementation manner, before querying the target chain identifier according to the first binding relationship, the first binding relationship corresponding to the target chain identifier is determined in the following manner:

[0124] Obtaining a registration instruction for the target chain identifier, the registration instruction carrying qualification information of the target blockchain platform;

[0125] After obtaining the registration instruction, if an authorization instruction is received from the root node alliance, the target chain identifier and the public key corresponding to the target chain identifier are written into the root node alliance chain to establish a first binding relationship between the target chain identifier and the target blockchain platform. The root node alliance is used to review the chain identifier, and the root node alliance chain is a blockchain managed by multiple member institutions included in the root node alliance.

[0126] As a possible implementation manner, the authorization instruction from the root node alliance includes a first authorization instruction and a second authorization instruction, the first authorization instruction is issued by the root node alliance, and the second authorization instruction is issued to the root node alliance through a top-level domain name management agency.

[0127] As a possible implementation manner, before querying the target subject identifier according to the second binding relationship, the second binding relationship corresponding to the target subject identifier is determined in the following manner:

[0128] Obtaining an application instruction for the target subject identification, wherein the application instruction carries the qualification information of the target subject;

[0129] After obtaining the application instruction, if an allocation instruction is received from the target blockchain platform, the target subject identifier and the public key corresponding to the target subject identifier are written into the blockchain of the target blockchain platform to establish a second binding relationship between the target subject identifier and the target subject.

[0130] As a possible implementation manner, the device further includes an updating unit, configured to:

[0131] In response to obtaining a resource update instruction, a correspondence between the update resource code and the resource to be processed is established to obtain update information, wherein the resource update instruction is used to instruct the target subject to request to update the resource to be processed, and the resource update instruction carries an update resource code, and the update resource code includes an update custom field and an update resource type code;

[0132] If the target subject passes the identity authentication, the update information is synchronized to each node of the blockchain where the target subject is located.

[0133] See also Figure 6, the embodiment of the present application further provides a computer device, the computer device comprising a memory 601 and a processor 602:

[0134] The memory is used to store a computer program and transmit the computer program to the processor;

[0135] The processor is configured to execute the method of the above method embodiment according to the computer program.

[0136] An embodiment of the present application further provides a computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method of the above method embodiment.

[0137] The embodiment of the present application also provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method of the above method embodiment.

[0138] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0139] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0140] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0141] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0142] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0143] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A resource identification processing method, characterized in that: The method comprises: Obtain a query request carrying a target resource identifier, wherein the target resource identifier includes a target root node, a target chain identifier, and a target subject identifier, wherein the target chain identifier is used to indicate a target blockchain platform corresponding to a target data resource, and the target subject identifier is used to indicate a target subject to which the target data resource belongs; Determine a target resource identification system corresponding to the target root node; If the target resource identification system includes a first binding relationship corresponding to the target chain identifier, query the target chain identifier according to the first binding relationship to determine the target blockchain platform; If the target blockchain platform includes a second binding relationship corresponding to the target subject identifier, querying the target subject identifier according to the second binding relationship to determine the target subject; Determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

2. The method according to claim 1, characterized in that The target resource identifier also includes a custom field and a resource type code, and the determining of the target data resource belonging to the target subject corresponding to the target resource identifier includes: Determining the resource type of the target data resource according to the resource type code; For the blockchain of the target blockchain platform, in the data resources corresponding to the target subject, the custom field and the resource type are matched to obtain the target data resource corresponding to the target resource identifier.

3. The method according to claim 1, characterized in that Before querying the target chain identifier according to the first binding relationship, the first binding relationship corresponding to the target chain identifier is determined in the following manner: Obtaining a registration instruction for the target chain identifier, the registration instruction carrying qualification information of the target blockchain platform; After obtaining the registration instruction, if an authorization instruction is received from the root node alliance, the target chain identifier and the public key corresponding to the target chain identifier are written into the root node alliance chain to establish a first binding relationship between the target chain identifier and the target blockchain platform. The root node alliance is used to review the chain identifier, and the root node alliance chain is a blockchain managed by multiple member institutions included in the root node alliance.

4. The method according to claim 3, characterized in that The authorization instruction from the root node alliance includes a first authorization instruction and a second authorization instruction. The first authorization instruction is issued by the root node alliance, and the second authorization instruction is issued to the root node alliance through a top-level domain name management agency.

5. The method according to claim 1, characterized in that Before querying the target subject identifier according to the second binding relationship, the second binding relationship corresponding to the target subject identifier is determined in the following manner: Obtaining an application instruction for the target subject identification, wherein the application instruction carries the qualification information of the target subject; After obtaining the application instruction, if an allocation instruction is received from the target blockchain platform, the target subject identifier and the public key corresponding to the target subject identifier are written into the blockchain of the target blockchain platform to establish a second binding relationship between the target subject identifier and the target subject.

6. The method according to claim 1, characterized in that The method further comprises: In response to obtaining a resource update instruction, a correspondence between the update resource code and the resource to be processed is established to obtain update information, wherein the resource update instruction is used to instruct the target subject to request to update the resource to be processed, and the resource update instruction carries an update resource code, and the update resource code includes an update custom field and an update resource type code; If the target subject passes the identity authentication, the update information is synchronized to each node of the blockchain where the target subject is located.

7. A resource identification processing device, characterized in that: The device comprises: an acquisition unit, a determination unit and a query unit; The acquisition unit is used to acquire a query request carrying a target resource identifier, wherein the target resource identifier includes a target root node, a target chain identifier, and a target subject identifier, wherein the target chain identifier is used to indicate a target blockchain platform corresponding to a target data resource, and the target subject identifier is used to indicate a target subject to which the target data resource belongs; The determining unit is used to determine the target resource identification system corresponding to the target root node; The query unit is configured to query the target chain identifier according to the first binding relationship to determine the target blockchain platform if the target resource identifier system includes a first binding relationship corresponding to the target chain identifier; The query unit is further configured to query the target subject identifier according to the second binding relationship to determine the target subject if the target blockchain platform includes a second binding relationship corresponding to the target subject identifier; The determining unit is used to determine the target data resource corresponding to the target resource identifier and belonging to the target subject.

8. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the method according to any one of claims 1 to 6 according to the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that When the method is executed on a computer device, the computer device is enabled to execute the method according to any one of claims 1 to 6.