CN112291305B - Code chain construction method and device based on unified identification - Google Patents

Code chain construction method and device based on unified identification Download PDF

Info

Publication number
CN112291305B
CN112291305B CN202011073882.6A CN202011073882A CN112291305B CN 112291305 B CN112291305 B CN 112291305B CN 202011073882 A CN202011073882 A CN 202011073882A CN 112291305 B CN112291305 B CN 112291305B
Authority
CN
China
Prior art keywords
node
blockchain
chain
identification code
cross
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011073882.6A
Other languages
Chinese (zh)
Other versions
CN112291305A (en
Inventor
张超
杜志辉
刘大宇
刘练坤
和丽辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Global Code Chain Technology Cooperation Center Co ltd
Original Assignee
Global Code Chain Technology Cooperation Center Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Global Code Chain Technology Cooperation Center Co ltd filed Critical Global Code Chain Technology Cooperation Center Co ltd
Priority to CN202011073882.6A priority Critical patent/CN112291305B/en
Publication of CN112291305A publication Critical patent/CN112291305A/en
Application granted granted Critical
Publication of CN112291305B publication Critical patent/CN112291305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Embodiments of the present disclosure provide a method, apparatus, device, and computer-readable storage medium for code chain construction based on uniform identification. The method includes obtaining a service processing request sent by a first node on a first blockchain; acquiring a blockchain component element of the first node according to the digital identity code of the first node, and acquiring a blockchain component element of the second node according to the digital identity code of the second node; and performing cross-chain service processing on the service processing request according to the block chain component elements of the first node and the block chain component elements of the second node, and sending the service processing request to the second node. In this way, cross-chain communication of isomorphic chains and heterogeneous chains is realized, and validity verification of blockchain digital identity identification, action verification of cross-chain data transmission and traceability of cross-chain data are provided.

Description

Code chain construction method and device based on unified identification
Technical Field
Embodiments of the present disclosure relate generally to the field of computer technology and, more particularly, relate to a method, apparatus, device, and computer-readable storage medium for code chain construction based on uniform identification.
Background
Currently, there are thousands of blockchain networks in the world, each blockchain network has its own unique advantages and features, but because the underlying technologies between the blockchain networks are different from each other in implementation, the differences are great, and the assets and functional states on multiple different chains are difficult to transfer, transfer and exchange with each other, for this, a batch of mainstream blockchain cross-chain technologies including notary mechanisms, side chains (relays), hash locking, etc. appear, but there are various problems, for example:
notary mechanism: simple implementation but with a risk of centralisation; the main problem is that the security guarantee of the notary mechanism is completely guaranteed by the notary system. The interested parties participating in the cross-chain need to give greater trust to the intermediary.
Relay chain mechanism: the safety of distributed treatment is realized, only public chains are realized at present, and the support to heterogeneous chains is not friendly enough; BTC-Relay designs in the side chain require additional trust and maintenance costs, and data storage inside smart contracts can have volume expansion issues. The Cosmos design in the relay chain can only support asset cross-chain, and the inconsistency of consensus rates due to different blockchain services can also affect the proof of the validity of cross-chain transactions.
Hash locking mechanism: the safety is high but the scene is limited; at present, only partial assets or key data exchange is suitable, even transfer is not supported, and therefore trial scenes are limited.
At present, a generally accepted cross-chain mechanism does not exist, and the problem of 'data island' generated by difficult transaction among different blockchains (side chains) can be fundamentally solved. Mainly lacking a unified cross-link protocol standard. The method solves the problem of the cross-chain technology, connects and expands different chains, and is a key point for constructing value network highways and releasing innovation vitality.
Disclosure of Invention
According to an embodiment of the present disclosure, a code chain construction scheme based on unified identification is provided.
In a first aspect of the present disclosure, a method for constructing a code chain based on uniform identification is provided. The method comprises the following steps: acquiring a service processing request sent by a first node on a first blockchain; the service processing request comprises a digital identification code of the first node, a digital identification code of a second node on a second blockchain and on-chain data; acquiring a blockchain component element of the first node according to the digital identity code of the first node, and acquiring a blockchain component element of the second node according to the digital identity code of the second node; and performing cross-chain service processing on the service processing request according to the block chain component elements of the first node and the block chain component elements of the second node, and sending the service processing request to the second node.
The above aspect and any possible implementation manner further provide an implementation manner, where the digital identification code of the node is obtained by encoding the blockchain component element according to a preset encoding rule; the block chain component elements comprise a block chain network, a sub-chain, an intelligent contract, nodes, participants and use members; the on-chain data comprise digital identity codes obtained by encoding the digital object information according to preset encoding rules and the content of uplink data of the digital object; wherein the digital identification code is stored in an identification code blockchain.
In the aspect and any possible implementation manner as described above, there is further provided an implementation manner, where the preset encoding rule is IDcode digital identification code standard, VAA encoding, handle encoding, OID encoding or Ecode encoding.
In the aspect and any possible implementation manner described above, further providing an implementation manner, obtaining a blockchain component element of a node according to a digital identification code of the node includes: inquiring and verifying in an identification code blockchain according to the digital identification code of the node; a blockchain component of the node is received.
In accordance with the aspects and any possible implementation manner described above, there is further provided an implementation manner, where performing cross-chain service processing on the service processing request according to the blockchain component of the first node and the blockchain component of the second node includes: if the first blockchain and the second blockchain are isomorphic chains, performing cross-chain service processing between isomorphic chains through a notary mechanism, a side chain (relay) and hash locking; the network access address corresponding to the digital identification code of the second node is used as a communication address, and the digital identification code of the digital object is used as an index to carry out cross-chain transmission; if the first blockchain and the second blockchain are heterogeneous chains, firstly realizing the butt joint of the heterogeneous chains through a cross-chain gateway; the heterogeneous chains are converted into isomorphic chains.
Aspects and any one of the possible implementations as described above, further providing an implementation, the method further including: the cross-chain transfer actions are recorded in a cross-chain service blockchain.
In a second aspect of the present disclosure, a code chain construction apparatus based on uniform identification is provided. The device comprises: a service processing request acquisition module, configured to acquire a service processing request sent by a first node on a first blockchain; the service processing request comprises a digital identification code of the first node, a digital identification code of a second node on a second blockchain and on-chain data; the digital identity code processing module is used for acquiring the blockchain component of the first node according to the digital identity code of the first node and acquiring the blockchain component of the second node according to the digital identity code of the second node; and the cross-link processing module is used for performing cross-link service processing on the service processing request according to the block chain component elements of the first node and the block chain component elements of the second node and sending the service processing request to the second node.
In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a memory and a processor, the memory having stored thereon a computer program, the processor implementing the method as described above when executing the program.
In a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method as according to the first aspect of the present disclosure.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented;
FIG. 2 illustrates a schematic diagram of a unified identification-based code chain construction method between the first blockchain, the second blockchain, the cross-chain transport server, the identification code blockchain, and the cross-chain service blockchain shown in FIG. 1;
FIG. 3 illustrates a block diagram of a uniformly identified code chain construction device according to an embodiment of the present disclosure;
Fig. 4 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
FIG. 1 illustrates a schematic diagram of an exemplary operating environment 100 in which embodiments of the present disclosure can be implemented. Included in the operating environment 100 are a first blockchain 102, a second blockchain 104, a cross-chain transport server 106, an identification code blockchain 108, and a cross-chain service blockchain 110.
In some embodiments, the first blockchain 102 and the second blockchain 104 may be one or more; the first blockchain 102 and the second blockchain 104 may be homogeneous chains or heterogeneous chains. The first blockchain 102 and the second blockchain 104 implement a cross-chain through a cross-chain transport server 106.
In some embodiments, the cross-chain transport server 106 is configured to perform cross-chain transport management, including cross-chain member management, cross-chain rule management, and cross-chain data management. The cross-chain transport server 106 implements isomorphic chain cross-chain by providing cross-chain transport services, such as notary mechanisms, side-chain (relay), hash locking, etc., and further implements heterogeneous chain cross-chain through a cross-chain gateway.
In some embodiments, the runtime environment 100 further includes an identification code blockchain 108 and a cross-chain service blockchain 110, wherein the identification code blockchain 108 is used for cross-chain address, data validity verification; the cross-chain service blockchain 110 is used for cross-chain transmission supervision traceability.
FIG. 2 illustrates a schematic diagram of a unified identification-based code chain construction method 200 between the first blockchain 102, the second blockchain 104, the cross-chain transport server 106, the identification code blockchain 108, and the cross-chain service blockchain 110 shown in FIG. 1.
At block 210, a first node on a first blockchain 102 generates a traffic handling request for handling pending traffic between the first node on the first blockchain 102 and a second node on a second blockchain 104, the traffic handling request including a digital identification code of the first node and a digital identification code of the second node, the on-chain data, and sends the traffic handling request to the cross-chain transport server 106.
In some embodiments, the first blockchain and the second blockchain may be homogeneous chains or heterogeneous chains.
In some embodiments, the service to be processed may be any service that needs to be processed, such as a financial service like a payment service, a transfer service, etc., and may also be a service like sending a file or information, etc. The first node may be a party that triggers or initiates execution of the pending service, for example, a user initiating a transfer service, etc. The second node may be a party to the target for which the pending traffic is to be executed. For example, the first node may be a user a in a medical chain, the second node may be a user B in a medical chain, and in the medical chain, the uplink data may be data such as a height and weight prescription of the patient, and the like, and the uplink data is stored according to a digital identification code of the patient; the same applies to the medical insurance chain. Height weight information for a patient in the healthcare chain may be communicated to the healthcare chain and stored in the healthcare chain under the name of the patient.
In some embodiments, in the first blockchain and the second blockchain, the blockchain components (blockchain networks, subchains, intelligent contracts, nodes, participants, usage members, etc.) are uniformly encoded by a code issuer according to preset encoding rules, ensuring that the digital identities of the blockchain components are all unique and canonical; and, the digital identification codes issued by the code issuing mechanism are stored on the identification code blockchain, so that each digital identification code is ensured to be valid and verifiable. And matching the digital identification codes with the blockchain component elements, and registering network access addresses of the elements in the identification code blockchain.
In some embodiments, the on-chain data is an application system data (a digital object in an application system) that is stored in the form of Key/Value; key is the digital identification code of the digital object, and Value is the specific content of the uplink data. The link up and link down data may be associated based on a digital identification code of the link up data. Because the data on the chain and the data in the application system under the chain related to the digital object are all the same digital identification codes, the digital object has relevance and can be mutually called as required.
In some embodiments, in the first blockchain and the second blockchain, digital objects (people, things, or events) in the under-chain application are uniformly encoded by a code issuer according to preset encoding rules. Each digital identification code is unique. In some embodiments, the digital identification codes are verified by the identification code blockchain node on the identification code blockchain to ensure that each digital identification code is valid and verifiable. And matching a digital identity code with the blockchain component element, and registering a network access address of the blockchain component element in the identification code blockchain.
In some embodiments, the preset encoding rule is IDcode digital identification code standard.
In some embodiments, the preset encoding rule may also be other encoding criteria such as Handle, OID, ecode, etc. of the non-IDcode digital identification code.
In some embodiments, the distinct fields in the IDcode digital identification code characterize the affiliation between blockchain components, such as the hierarchical relationship of blockchain networks and subchains, containment relationships of blockchains and nodes. The encoding format is exemplified as follows:
blockchain network ID: ma.156.idchain.bcxxxxxxx
Subchain ID: ma.156.idchain. Bcxxxxxx.zxxxxx
Smart contract ID MA.156.IDCHAIN. BCXXXXXXX.SXXXXXXXX
Node ID MA.156.IDCHAIN. BCXXXXXXX.NXXXXXXX
Participant ID MA.156.XXXX.XXXXXXX
Using member ID: ma.156.XXXX.XXXXXXX
Wherein, "MA" is a global code co-recognized by ISO, CEN, AIM organizations, "156" is a country code, "IDCHAIN" is a blockchain hierarchy identification, "BC" is a blockchain network coding start bit; "Z" is the start of the coding of the daughter strand; "S" is the smart contract encoding start bit; "N" is the node code start bit.
In some embodiments, the different fields in the IDcode digital identification code characterize the identity of the digital object. The encoding format is exemplified as follows:
MA.156.110101.8/20.36550104.01/20170630.0010
Wherein, "MA" is a global code commonly recognized by ISO, CEN, AIM organizations, "156" is a country code, "110101" is an administrative division, and "8" is a registration sequence number; "20.36550104.01" is an object class code; "20170630.0010" is the subject individual code.
At block 220, the cross-chain transport server 106 receives the service processing request, verifies the blockchain component of the first node and the blockchain component of the second node by identifying a code blockchain;
In some embodiments, the following sub-steps are included:
The cross-link transport server 106 receives the service processing request; the service processing request comprises a digital identification code of the data on the chain, a digital identification code of the first node and a digital identification code of the second node.
The cross-chain transmission server 106 sends the digital identification code of the first node and the digital identification code of the second node to the identification code blockchain 108 for inquiry and verification;
In some embodiments, the digital identification codes are verified on the identification code blockchain 108, ensuring that each digital identification code is valid and verifiable. And matching a digital identity code with the blockchain component element, and registering a network access address of the blockchain component element in the identification code blockchain. Thus, by querying the identification code blockchain for the identification code, its network access address can be determined.
In some embodiments, the first blockchain 102 in which the first node is located and the second blockchain 104 in which the second node is located may be determined by their digital identification codes.
In some embodiments, a notification message of failure to execute the pending service may be generated and sent to the first node if verification fails at the identification code blockchain 108.
At block 230, the cross-link transport server 106 performs cross-link service processing on the service processing request; and records the cross-chain transmission action.
In some embodiments, the cross-chain transport server 106 initiates a request to the second blockchain based on the traffic handling request.
In some embodiments, the cross-chain transport server 106 records cross-chain transport actions in the cross-chain service blockchain 110 to provide action certification of cross-chain data transport and traceability of cross-chain data. Wherein the transmission record content includes (but is not limited to) source blockchain, target blockchain, accessed smart contract, digital identification code of digital object, hash value of digital object content, time stamp, etc.
In some embodiments, the cross-chain transport server 106 determines that the first blockchain 102 and the second blockchain 104 are either isomorphic or heterogeneous based on the first node blockchain component and the second node blockchain component returned by the identification code blockchain 108.
If the chain is the isomorphic chain, the inter-chain business processing among the isomorphic chains is carried out through a notary mechanism, a side chain (relay) and hash locking; because the network access address and the digital identification code of the isomorphic chain component element are bound together, the digital identification codes of the two parties of the cross-chain transmission block chain are used as communication addresses, and the digital identification codes of the digital objects are used as indexes for cross-chain transmission, so that the cross-chain transmission of one digital object can be realized.
If the heterogeneous chains are the heterogeneous chains, the heterogeneous chains are butted through a cross-chain gateway, the cross-chain gateway shields the inconformity of a consensus mechanism and a cryptography technology among the heterogeneous chains, and the heterogeneous chains are converted into isomorphic chains, so that cross-chain business processing among the isomorphic chains is performed through a notary mechanism, side chains (relays) and hash locking; because the network access address and the digital identification code of the isomorphic chain component element are bound together, the digital identification codes of the two parties of the cross-chain transmission block chain are used as communication addresses, and the digital identification codes of the digital objects are used as indexes for cross-chain transmission, so that the cross-chain transmission of one digital object can be realized. In some embodiments, a cross-chain gateway required for the first blockchain 102 to cross-chain with the second blockchain 104 is determined.
At block 240, the second node receives and executes the traffic handling request and sends a response message to the cross-chain transport server 106.
In some embodiments, the response message includes: the digital identification code of the second node, the digital identification code of the first node and the response data. The response data may be data related to the service to be processed.
That is, the service processing system may provide the service processing request to the first blockchain, the first blockchain may process the service processing request based on a processing mechanism of the service to be processed based on corresponding resources in the first blockchain, then may send a processing result to the second blockchain, the second blockchain may process the service processing request based on the processing result sent by the first blockchain and based on corresponding resources in the second blockchain, so as to obtain corresponding processing results, and then may provide the processing results to the service initiator and the target respectively.
At block 250, the cross-chain transport server 106 receives the response message and sends the response message to the first node.
In some embodiments, the cross-chain transport server 106 records the cross-chain transport actions in the cross-chain service blockchain 110.
According to the embodiment of the disclosure, the following technical effects are achieved:
The method realizes the cross-chain communication of isomorphic chains and heterogeneous chains, and provides validity verification of the blockchain digital identity, action verification of cross-chain data transmission and traceability of cross-chain data.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 3 illustrates a block diagram of a uniformly identified code chain construction device 300, according to an embodiment of the present disclosure. The apparatus 300 may be included in the cross-chain transport server 106 of fig. 1 or implemented as the cross-chain transport server 106. As shown in fig. 3, the apparatus 300 includes:
A service processing request acquisition module 310, configured to acquire a service processing request sent by a first node on a first blockchain; the service processing request comprises a digital identification code of the first node, a digital identification code of a second node on a second blockchain and on-chain data;
the digital identification code processing module 320 is configured to obtain a blockchain component of the first node according to the digital identification code of the first node, and obtain a blockchain component of the second node according to the digital identification code of the second node;
And the cross-link processing module 330 is configured to perform cross-link service processing on the service processing request according to the blockchain component of the first node and the blockchain component of the second node, and send the service processing request to the second node.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the described modules may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
Fig. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure. The apparatus 400 may be used to implement the cross-chain transport server 106 of fig. 1. As shown, the device 400 includes a Central Processing Unit (CPU) 401 that may perform various suitable actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM) 402 or loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The CPU 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processing unit 401 performs the various methods and processes described above, such as method 200. For example, in some embodiments, the method 200 may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. One or more of the steps of the method 200 described above may be performed when the computer program is loaded into RAM 403 and executed by CPU 401. Alternatively, in other embodiments, CPU 401 may be configured to perform method 200 by any other suitable means (e.g., by means of firmware).
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), etc.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (7)

1. The code chain construction method based on the unified identification is applied to a cross-chain transmission server and is characterized by comprising the following steps of:
Acquiring a service processing request sent by a first node on a first blockchain; the service processing request comprises a digital identification code of the first node, a digital identification code of a second node on a second blockchain and on-chain data; the digital identification code of the node is obtained by encoding the block chain constituent elements according to a preset encoding rule; the block chain component elements comprise a block chain network, a sub-chain, an intelligent contract, nodes, participants and use members; the on-chain data comprise digital identity codes obtained by encoding the digital object information according to preset encoding rules and the content of uplink data of the digital object; wherein the digital identification code is stored in an identification code blockchain;
Acquiring a blockchain component element of the first node according to the digital identity code of the first node, and acquiring a blockchain component element of the second node according to the digital identity code of the second node; the method for acquiring the blockchain component elements of the node according to the digital identification code of the node comprises the following steps: inquiring and verifying in an identification code blockchain according to the digital identification code of the node; receiving a blockchain component of the node;
Performing cross-chain service processing on the service processing request according to the block chain component elements of the first node and the block chain component elements of the second node, and sending the service processing request to the second node;
The cross-chain service processing of the service processing request according to the blockchain component of the first node and the blockchain component of the second node comprises the following steps:
if the first blockchain and the second blockchain are isomorphic chains, performing cross-chain business processing among the isomorphic chains through a notary mechanism, a side chain and hash locking; the network access address corresponding to the digital identification code of the second node is used as a communication address, and the digital identification code of the digital object is used as an index to carry out cross-chain transmission;
If the first blockchain and the second blockchain are heterogeneous chains, firstly realizing the butt joint of the heterogeneous chains through a cross-chain gateway, and converting the heterogeneous chains into isomorphic chains.
2. The method of claim 1, wherein the predetermined encoding rule is IDcode digital identification code standard, VAA encoding, handle encoding, OID encoding, or Ecode encoding.
3. The method according to claim 1, wherein the method further comprises:
receiving a response message sent by the second node after executing the service processing request;
and returning the response message to the first node.
4. The method according to claim 1, wherein the method further comprises:
The cross-chain transfer actions are recorded in a cross-chain service blockchain.
5. The utility model provides a code chain construction device based on unified sign, is applied to and strides chain transmission server, characterized in that includes:
A service processing request acquisition module, configured to acquire a service processing request sent by a first node on a first blockchain; the service processing request comprises a digital identification code of the first node, a digital identification code of a second node on a second blockchain and on-chain data; the digital identification code of the node is obtained by encoding the block chain constituent elements according to a preset encoding rule; the block chain component elements comprise a block chain network, a sub-chain, an intelligent contract, nodes, participants and use members; the on-chain data comprise digital identity codes obtained by encoding the digital object information according to preset encoding rules and the content of uplink data of the digital object; wherein the digital identification code is stored in an identification code blockchain;
the digital identity code processing module is used for acquiring the blockchain component of the first node according to the digital identity code of the first node and acquiring the blockchain component of the second node according to the digital identity code of the second node; the method for acquiring the blockchain component elements of the node according to the digital identification code of the node comprises the following steps: inquiring and verifying in an identification code blockchain according to the digital identification code of the node; receiving a blockchain component of the node;
the cross-link processing module is used for performing cross-link service processing on the service processing request according to the block chain component elements of the first node and the block chain component elements of the second node and sending the service processing request to the second node;
The cross-chain service processing of the service processing request according to the blockchain component of the first node and the blockchain component of the second node comprises the following steps:
if the first blockchain and the second blockchain are isomorphic chains, performing cross-chain business processing among the isomorphic chains through a notary mechanism, a side chain and hash locking; the network access address corresponding to the digital identification code of the second node is used as a communication address, and the digital identification code of the digital object is used as an index to carry out cross-chain transmission;
If the first blockchain and the second blockchain are heterogeneous chains, firstly realizing the butt joint of the heterogeneous chains through a cross-chain gateway, and converting the heterogeneous chains into isomorphic chains.
6. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-4.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-4.
CN202011073882.6A 2020-10-09 2020-10-09 Code chain construction method and device based on unified identification Active CN112291305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011073882.6A CN112291305B (en) 2020-10-09 2020-10-09 Code chain construction method and device based on unified identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011073882.6A CN112291305B (en) 2020-10-09 2020-10-09 Code chain construction method and device based on unified identification

Publications (2)

Publication Number Publication Date
CN112291305A CN112291305A (en) 2021-01-29
CN112291305B true CN112291305B (en) 2024-05-14

Family

ID=74421826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011073882.6A Active CN112291305B (en) 2020-10-09 2020-10-09 Code chain construction method and device based on unified identification

Country Status (1)

Country Link
CN (1) CN112291305B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839056B (en) * 2021-02-08 2022-09-30 杭州趣链科技有限公司 Cross-chain interactive identity management method, system, equipment and storage medium
CN112989381B (en) * 2021-03-24 2022-03-22 中国电子科技集团公司第三十研究所 Block chain anti-association-based uniform heterogeneous identity identification method
CN113452701B (en) * 2021-06-28 2023-04-18 上海计算机软件技术开发中心 Cross-chain system and distributed user identity authentication method facing cross-chain system
CN117521702B (en) * 2023-12-28 2024-04-16 吉奥时空信息技术股份有限公司 Digital public infrastructure unified identification coding management system based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266655A (en) * 2019-05-30 2019-09-20 中国工商银行股份有限公司 A kind of across chain interconnected method, equipment and system based on block chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium
CN110751475A (en) * 2019-10-24 2020-02-04 杭州趣链科技有限公司 Cross-chain method, system, equipment and storage medium for blockchain transaction
CN111008840A (en) * 2020-03-05 2020-04-14 支付宝(杭州)信息技术有限公司 Service processing system, service processing method, device and equipment
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain
CN111245840A (en) * 2020-01-14 2020-06-05 北京工业大学 Inter-block chain cross-chain information transmission control system
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019072271A2 (en) * 2018-11-16 2019-04-18 Alibaba Group Holding Limited A domain name scheme for cross-chain interactions in blockchain systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266655A (en) * 2019-05-30 2019-09-20 中国工商银行股份有限公司 A kind of across chain interconnected method, equipment and system based on block chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium
CN110751475A (en) * 2019-10-24 2020-02-04 杭州趣链科技有限公司 Cross-chain method, system, equipment and storage medium for blockchain transaction
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain
CN111245840A (en) * 2020-01-14 2020-06-05 北京工业大学 Inter-block chain cross-chain information transmission control system
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN111008840A (en) * 2020-03-05 2020-04-14 支付宝(杭州)信息技术有限公司 Service processing system, service processing method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BitXHub:基于侧链中继的异构区块链互操作平台;叶少杰;汪小益;徐才巢;孙建伶;;计算机科学;20200615(第06期);第300-308页 *

Also Published As

Publication number Publication date
CN112291305A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN112291305B (en) Code chain construction method and device based on unified identification
CN108665372B (en) Information processing, inquiring and storing method and device based on block chain
US11875400B2 (en) Systems, methods, and apparatuses for dynamically assigning nodes to a group within blockchains based on transaction type and node intelligence using distributed ledger technology (DLT)
Zhu et al. Applications of distributed ledger technologies to the internet of things: A survey
CN109450638B (en) Block chain-based electronic component data management system and method
CN109791591B (en) Method and system for identity and credential protection and verification via blockchain
CN111177800B (en) Block chain-based data processing method and device and electronic equipment
CN112232961B (en) Data processing method and device based on block chain system and electronic equipment
CN114567643B (en) Cross-blockchain data transfer method, device and related equipment
CN113689216A (en) Cross-chain transaction processing method and device, equipment, storage medium and program product
CN112235423A (en) Cross-chain transaction processing method and device, electronic equipment and storage medium
KR20240022462A (en) Method and system for brokered cross-ledger stablecoin atomic swap using hashlock
CN110189440A (en) A kind of smart lock monitoring equipment and its method based on block chain
CN106375334A (en) Authentication method for distributed system
CN113011960A (en) Block chain-based data access method, device, medium and electronic equipment
KR20220071241A (en) Computer-implemented systems and methods
CN110991573A (en) Product management method, system, client node and storage medium
CN115701078B (en) Cross-chain transaction processing method, device, electronic equipment and storage medium
CN115834593A (en) Safety cooperation system and safety cooperation method based on block chain
CN116417132A (en) First-aid method, device and storage medium based on blockchain network
CN116233139A (en) Data processing method, device, medium and electronic equipment of block chain system
CN116071070A (en) Resource transfer method and related device
CN113472781A (en) Service acquisition method, server and computer readable storage medium
Banerjee et al. Blockchain enabled data trading with user consent
CN112837043B (en) Block chain-based data processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant