A control method for cross-blockchain business

By sending cross-blockchain business requests to the DID server and generating business chain DIDs, combined with the verification process of verifiable claims, the problem of untimely authority verification in cross-chain communications is solved, and the effectiveness and reliability of cross-chain communications are achieved. This ensures data interoperability and security between blockchains.

CN115988056BActive Publication Date: 2024-10-18CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310012804.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-05
Publication Date
2024-10-18
Estimated Expiration
2043-01-05

AI Technical Summary

Technical Problem

In the existing cross-chain service process, the timeliness and security of transaction authority verification are insufficient, resulting in untimely authority verification in cross-chain communication, which cannot effectively ensure the interoperability and security of data between different blockchains.

Method used

By sending a cross-blockchain business establishment request to the DID server, the business chain DID is generated, and based on this DID, the relay is called to create the business chain, generate a verifiable statement (VC) and verify the VC to ensure the effectiveness and reliability of cross-chain communication. sex.

Benefits of technology

It achieves the effectiveness and reliability of cross-chain communication, ensures mutual identity recognition and timely verification of communication status between different cross-chain services, and avoids waste of resources and authority failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115988056B_ABST
    Figure CN115988056B_ABST
Patent Text Reader

Abstract

The present application provides a method for controlling cross-blockchain services. The method includes: sending a request to establish a cross-blockchain service to a DID server, wherein the establishment request carries: a service UUID identifier of the cross-chain system, DID service information, and business chain description information; receiving the business chain DID of the DID server in response to the establishment request; and based on the business chain DID, calling a relay to create a corresponding business chain. The method of the present application solves the problem of insufficient timeliness of authority verification in cross-chain communication between different cross-chain services in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to blockchain technology, and in particular to a method for controlling cross-blockchain services. Background Art

[0002] Blockchain is a technology that connects different business systems and different application scenarios. At present, there are many types of blockchain technology frameworks and business application chains. The construction of business chain applications in different business fields and application scenarios is different. How to connect the data islands between these blockchains is an urgent problem to be solved in the blockchain industry.

[0003] The cross-chain service platform can provide users with data interoperability solutions between blockchain chains. Different organizations can apply to register business chains using the cross-chain services provided by the cross-chain service platform. Then, they can select the target business chain that needs to be cross-chain operated for cross-chain communication, realizing the value transfer between different application chains.

[0004] Although cross-chain services have achieved data interoperability between blockchains of different architectures, the existing cross-chain service process only relies on the gateway service to verify the identity of the application chain during the cross-chain transaction initiation phase, which leads to insufficient timeliness and security in the verification of transaction permissions in the complete cross-chain service process. Summary of the invention

[0005] The present application provides a cross-blockchain business control method to solve the problem of untimely authority verification in cross-chain communication in the prior art.

[0006] In a first aspect, the present application provides a method for controlling cross-blockchain services, including:

[0007] A request to establish a cross-blockchain service is sent to the DID server, and the request carries: the service UUID identifier of the cross-chain system, DID service information, and service chain description information.

[0008] Receive the service chain DID from the DID server in response to the establishment request.

[0009] Based on the service chain DID, call the relay to create the corresponding service chain.

[0010] In a specific implementation, before sending a request to establish a cross-blockchain service to the DID server, the process further includes:

[0011] Receive a request to create a business chain from the cross-chain platform, sent by the user using the service UUID identifier.

[0012] In a specific implementation, after receiving the service chain DID in response to the establishment request from the DID server, the method further includes:

[0013] The business chain DID is sent to the cross-chain platform so that the user can query the information of the business chain according to the business chain DID.

[0014] In a specific embodiment, the method further comprises:

[0015] Receive a cross-chain communication request sent by the user using the service UUID identifier from the cross-chain platform.

[0016] In the cross-chain system, the source chain applies to the target chain for cross-chain communication.

[0017] In a specific implementation, after the cross-chain system source chain applies for cross-chain communication from the target chain, it also includes:

[0018] The service UUID identifier is called to send a VC application for generating a verifiable declaration for the cross-chain communication to the DID server.

[0019] Receive the VCID of the VC returned by the DID server, where the VCID is generated by the DID server when the target link accepts the cross-chain communication application.

[0020] In a specific implementation manner, after receiving the VCID of the verifiable VC declaration returned by the DID server, the method further includes:

[0021] If the cross-chain communication is disabled, the service UUID identifier is called to send a VC deregistration request to the DID server.

[0022] Receive the VC cancellation result of the cross-chain communication returned by the DID server.

[0023] In a second aspect, a method for controlling cross-blockchain services includes:

[0024] Receive a request for establishing a cross-blockchain business sent by the cross-chain system, where the request carries: the service UUID identifier of the cross-chain system, DID service information, and business chain description information.

[0025] According to the DID service information and the service chain description information, the service chain pointed to by the establishment request is searched, and the service chain DID corresponding to the service chain is generated according to the service UUID identifier.

[0026] Send the business chain DID to the cross-chain system.

[0027] In a specific implementation, before receiving the cross-blockchain service establishment request sent by the cross-chain system, the process further includes:

[0028] Receive the service DID application message sent by the cross-chain system.

[0029] A service UUID identifier is allocated to the cross-chain system, and the service UUID identifier is sent to the cross-chain system.

[0030] In a specific embodiment, the method further comprises:

[0031] Receive a VC application for generating a verifiable statement for cross-chain communication sent by the cross-chain system.

[0032] If the target chain of the cross-chain communication accepts the cross-chain communication application, a VC is generated for the cross-chain communication and the VC is sent to the cross-chain system.

[0033] In a specific implementation manner, after sending the VC to the cross-chain system, the method further includes:

[0034] Receive the VC cancellation request sent by the cross-chain system.

[0035] After the VC is deregistered, the VC deregistration result is sent to the cross-chain system.

[0036] The present application provides a method for controlling cross-blockchain services, by sending a request to establish a cross-blockchain service to a DID server, wherein the establishment request carries: the service UUID identifier of the cross-chain system, DID service information, and business chain description information; receiving the business chain DID of the DID server in response to the establishment request; and calling the relay to create the corresponding business chain based on the business chain DID. Compared with the existing control method for cross-blockchain services, the present application generates a DID distributed identity for the business chain created by the relay service and the user on the cross-chain platform, and generates and verifies VC, thereby ensuring the effectiveness and reliability of cross-chain communication between different cross-chain services. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] Figure 1 A schematic diagram of a cross-blockchain communication system architecture provided by an embodiment of the present invention;

[0039] Figure 2 A flow chart of a control method for cross-blockchain services provided in this application;

[0040] Figure 3 A flow chart of a cross-chain service DID application method provided in an embodiment of the present invention;

[0041] Figure 4 A flow chart of a method for generating a service chain DID provided by an embodiment of the present invention;

[0042] Figure 5 A flow chart of another cross-blockchain service control method provided by an embodiment of the present invention;

[0043] Figure 6 A schematic diagram of the structure of a cross-chain system device provided by an embodiment of the present invention;

[0044] Figure 7 A structural diagram of a DID server device provided in this application.

[0045] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.

[0047] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or servers.

[0048] Technical term explanation:

[0049] Blockchain technology: Blockchain is a new integrated innovative technology that integrates cryptography, peer-to-peer networks, consensus mechanisms, smart contracts, etc. Blockchain technology can connect different business systems and application scenarios, and is the infrastructure for the construction of the value Internet.

[0050] DID: Decentralized Identifier, a decentralized identity system, referred to as DID. It is a new identity derived from the traditional centralized identity. It mainly refers to decentralization, that is, individuals or organizations fully own the ownership, control and management rights of their own digital identities, and these rights are completely attributed to the users themselves.

[0051] Existing cross-chain platforms can provide users with data interoperability solutions between blockchain chains. Different organizations can apply to register business chains on the cross-chain service platform using the cross-chain services provided by the platform. Then, users can select the target business chain that needs to be cross-chain operated for cross-chain communication, so as to realize the value transfer between different application chains. However, in this mode, interoperability issues will arise between cross-chain services provided by different institutions. Based on this, the technical concept of this application is to generate DID distributed identities for the business chains created by the relay services and tenants on the cross-chain platform, and ensure the effectiveness of cross-chain communication by generating VC (Verifiable Claim) and verifying VC.

[0052] The present application provides a cross-blockchain business control method that can be applied to a blockchain communication system. Figure 1 A schematic diagram of a cross-blockchain communication system architecture provided by an embodiment of the present invention. Figure 1 As shown, the system includes: a cross-chain system, a DID server device, a cross-chain system and a relay chain / relay gateway device. In the above system, the cross-chain system is used to receive application information sent by users through the cross-chain platform; the cross-chain system device is connected to the DID server device and the relay chain / relay gateway device. The DID server provides DID services for the cross-chain system, and the cross-chain system can generate business chain DID by calling the DID service; the relay chain / relay gateway device provides business chain generation services for the cross-chain system, and the cross-chain system device can call the relay chain / relay gateway service to create a business chain. The above system can be realized Figure 1 The service DID application, business chain DID application and permission verification during cross-chain communication are shown.

[0053] It should be noted that the disclosed embodiments do not limit the devices included in the blockchain communication system, nor do they limit the positional relationship between the devices in the blockchain communication system. For example, in the blockchain communication system architecture, a data storage device may also be included. The data storage device may be an external memory relative to the cross-chain system device or the relay chain / relay gateway device, or an internal memory integrated in the cross-chain system device or the relay chain / relay gateway device. The cross-chain system device may be a PC, i.e., a computer, or a terminal such as a mobile phone or a notebook.

[0054] Figure 2A flow chart of a control method for cross-blockchain business provided by this application. Figure 1 and Figure 2 The specific process includes:

[0055] Step S101: The cross-chain system sends a request to establish a cross-blockchain service to the DID server. The request carries: the service UUID (Universally Unique Identifier) ​​identifier of the cross-chain system, DID service information, and service chain description information.

[0056] Among them, the service UUID identifier of the cross-chain system is used to identify the application generation system of the business chain; the DID service information may include information such as the DID service type and service configuration; the business chain description information may include information such as the business chain name, adapter, and business description.

[0057] Step S102: The DID server receives a request for establishing a cross-blockchain service sent by the cross-chain system. The request carries: the service UUID identifier of the cross-chain system, DID service information, and service chain description information.

[0058] Step S103: The DID server searches for the business chain pointed to by the establishment request based on the DID service information and the business chain description information, and generates the business chain DID corresponding to the business chain based on the service UUID identifier. The DID server sends the business chain DID to the cross-chain system.

[0059] After the DID server generates the business chain DID based on the DID service information and business chain description information, the DID server can provide the cross-chain platform with a business chain information query service through a preset interface. Users can call the DID query service through the cross-chain platform to parse the business chain information.

[0060] Step S104: After the cross-chain system receives the business chain DID in response to the establishment request from the DID server, the cross-chain system calls the relay to create the corresponding business chain based on the business chain DID.

[0061] After the cross-chain system receives the business chain DID generated by the DID server based on the establishment request, the cross-chain system calls the relay service to create a business chain. Optionally, the relay called by the cross-chain system can be a relay chain or a relay gateway. After the relay chain or relay gateway generates the business chain, it stores the business chain information in the gateway business chain database.

[0062] The cross-chain system can confirm the business chain identity and communication status by verifying the business chain DID information in the cross-chain service.

[0063] In the existing cross-chain service process, there will be interoperability issues between the business chains registered by users using cross-chain services provided by different institutions on the cross-chain platform. And when cross-chain communication is carried out, the cross-chain system will not verify the cross-chain communication status during the communication process, which will cause users to be unable to find the failure of cross-chain communication in time, resulting in a waste of resources. Therefore, an independent DID service can be added to verify the cross-chain communication status to ensure the timeliness of permission verification in cross-chain communication.

[0064] In this embodiment, a distributed digital system is used to register DID services for relay services and cross-chain systems, which conveniently realizes identity mutual recognition and cross-chain communication between multiple cross-chain systems. Compared with the existing cross-blockchain business control method, this application can generate DID distributed identities for the business chains created by relay services and users on the cross-chain platform and generate and verify VCs to ensure the effectiveness and reliability of cross-chain communication between different cross-chain services.

[0065] In the above cross-blockchain service control method, the cross-chain system needs to apply for a cross-chain service DID before sending a service establishment request to the DID. The cross-chain service DID application process includes: Figure 3 The process shown. Figure 3 A flow chart of a cross-chain service DID application method provided in an embodiment of the present invention. The method includes:

[0066] Step S201: The cross-chain system sends a service DID application message to the DID server.

[0067] Step S202: After the DID server receives the service DID application message sent by the cross-chain system, the DID server allocates a service UUID identifier to the cross-chain system.

[0068] After receiving the service DID application message, the DID server creates a DID service for the cross-chain system. In addition, the DID server will assign a service UUID identifier to the cross-chain system. The service UUID identifier is used by the DID server to identify the cross-chain system when establishing a cross-blockchain business.

[0069] Step S203: The DID server sends the generated service UUID identifier to the cross-chain system.

[0070] Step S204: The cross-chain system receives the service UUID identifier and stores it in the database.

[0071] In the above cross-blockchain business control method, the business chain DID generation process includes: Figure 4 The process shown. Figure 4 A flow chart of a method for generating a service chain DID provided by an embodiment of the present invention. The method includes:

[0072] Step S301: The cross-chain system receives a request to create a business chain from the cross-chain platform, which is sent by the user using the service UUID identifier.

[0073] Users can send requests to create or query business chains to the cross-chain system through the cross-chain platform. For example, users can apply to create business chains for cross-chain communication through the BaaS (Blockchain as a Service) platform.

[0074] The request to create a business chain accepted by the cross-chain system includes the service UUID identifier of the cross-chain system, DID service information and business chain description information. Optionally, the DID service information may include the incoming DID service type and service configuration, etc. The business chain description information may include the incoming business chain name, adapter and business description, etc.

[0075] Step S302: The cross-chain system calls the DID service to generate a business chain DID.

[0076] The cross-chain system calls the DID service and generates a business chain DID based on the information contained in the business chain creation request. After the business chain DID is generated, the cross-chain system stores the business chain DID in the business chain database. In addition, the cross-chain system also includes a preset interface through which other platforms can query business chain information.

[0077] Step S303: The cross-chain system calls the relay chain / relay gateway service to create a business chain corresponding to the business chain DID.

[0078] Step S304: The cross-chain system sends the business chain DID to the cross-chain platform so that users can query the business chain information based on the business chain DID.

[0079] Users can not only view the DID of the target chain through the cross-chain platform, but also call the DID query service on the cross-chain platform to resolve the business chain information. For example, users can obtain the business chain name, relay chain name, business details, business chain creation time and other information based on the target chain DID through the BaaS platform.

[0080] In the above-mentioned cross-blockchain business control method, the cross-chain communication process in the cross-chain system also includes Figure 5 The process shown. Figure 5 A flow chart of another cross-blockchain service control method provided by an embodiment of the present invention. The method includes:

[0081] Step S401: The cross-chain system receives a cross-chain communication request sent by a user using a service UUID identifier from the cross-chain platform.

[0082] Among them, the cross-chain communication request includes the service UUID identifier of the cross-chain system, the source chain DID and the target chain DID information.

[0083] Step S402: The cross-chain system applies for cross-chain communication from the target chain in the source chain of the cross-chain system according to the received cross-chain communication request, and the cross-chain system establishes cross-chain communication after the target chain agrees.

[0084] After receiving the cross-chain communication request, the cross-chain system calls the source chain to send a cross-chain communication request to the target chain based on the source chain DID and target chain DID information. When the target chain agrees to the cross-chain communication request, it means that the cross-chain communication has been established.

[0085] Step S403: The cross-chain system calls the service UUID identifier to send a VC application to the DID server to generate a verifiable declaration for cross-chain communication.

[0086] Step S404: After the DID server receives the application for generating a verifiable declaration VC for cross-chain communication sent by the cross-chain system, the DID server generates a VCID for the cross-chain communication and sends the VCID to the cross-chain system.

[0087] VCID is generated by the DID server when the target link receives a cross-chain communication request.

[0088] Step S405: The cross-chain system receives the VCID of the VC returned by the DID server.

[0089] After the cross-chain system receives the cross-chain communication VCID sent by the DID server, it stores the VCID in the VCID database.

[0090] Step S406: The cross-chain system queries whether the cross-chain communication is disabled at a preset frequency; if disabled, execute step S407. Otherwise, execute step S410.

[0091] Step S407: The cross-chain system calls the service UUID identifier to send a VC deregistration request to the DID server.

[0092] Among them, the VC cancellation request sent by the cross-chain system includes VCID information.

[0093] Step S408: The DID server receives the VC deregistration request sent by the cross-chain system. After deregistering the VC, the DID server sends the VC deregistration result to the cross-chain system.

[0094] Step S409: The cross-chain system receives the VC cancellation result of the cross-chain communication returned by the DID server.

[0095] When the VC of cross-chain communication is deregistered, the VCID of cross-chain communication becomes invalid.

[0096] Step S410: The cross-chain system queries whether the cross-chain communication VCID is valid; if valid, execute step S412. Otherwise, execute step S411.

[0097] Step S411: The cross-chain system disables the cross-chain communication corresponding to the VCID.

[0098] The cross-chain system deactivates the cross-chain communication corresponding to the invalid VCID. In addition, the cross-chain system sends the cross-chain communication deactivation information to the user through the cross-chain platform.

[0099] Step S412: The cross-chain communication corresponding to the VCID in the cross-chain system is enabled, and cross-chain communication can be performed.

[0100] Figure 6 A schematic diagram of the structure of a cross-chain system device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the device includes: a control module, a receiving module and a calling module. The control module is used to send a request to establish a cross-blockchain business to the DID server, and the establishment request carries: the service UUID identifier of the cross-chain system, DID service information and business chain description information; the receiving module is used to receive the business chain DID of the DID server in response to the establishment request; the calling module, based on the business chain DID, calls the relay to create the corresponding business chain.

[0101] The cross-chain system device in this embodiment can perform the above Figure 2 to Figure 5 The implementation principle and technical effect of the method embodiment shown are similar and will not be described in detail here.

[0102] Figure 7 A structural diagram of a DID server device provided in this application, such as Figure 7 As shown, the device 40 includes: a processor 41, a memory 42, and a communication interface 43; wherein the memory 42 is used to store executable instructions executable by the processor 41; the processor 41 is configured to execute the technical solution in any of the aforementioned method embodiments by executing the executable instructions.

[0103] Optionally, the memory 42 may be independent or integrated with the processor 41 .

[0104] Optionally, when the memory 42 is a device independent of the processor 41, the device 40 may further include: a bus for connecting the above devices.

[0105] The server is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0106] An embodiment of the present application also provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned embodiments is implemented.

[0107] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0108] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0109] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for controlling cross-blockchain services, characterized in that: include: Send a cross-blockchain service establishment request to the DID server, where the establishment request carries: the service UUID identifier of the cross-chain system, DID service information, and service chain description information; Receiving the service chain DID of the DID server in response to the establishment request; Based on the service chain DID, call the relay to create the corresponding service chain; The method further comprises: Receive a cross-chain communication request sent by a user using the service UUID identifier from the cross-chain platform; In the cross-chain system, the source chain applies to the target chain for cross-chain communication; Call the service UUID identifier to send a VC application for generating a verifiable declaration for the cross-chain communication to the DID server; Receive the VCID of the VC returned by the DID server, where the VCID is generated by the DID server when the target link accepts the cross-chain communication application.

2. The method according to claim 1, characterized in that Before sending the cross-blockchain service establishment request to the DID server, the method further includes: Receive a request to create a business chain from the cross-chain platform, sent by the user using the service UUID identifier.

3. The method according to claim 1, characterized in that After receiving the service chain DID of the DID server in response to the establishment request, the method further includes: The business chain DID is sent to the cross-chain platform so that the user can query the information of the business chain according to the business chain DID.

4. The method according to claim 1, characterized in that: After receiving the VCID of the verifiable VC declaration returned by the DID server, the method further includes: If the cross-chain communication is disabled, the service UUID identifier is called to send a VC deregistration request to the DID server; Receive the VC cancellation result of the cross-chain communication returned by the DID server.

5. A method for controlling cross-blockchain services, characterized in that: include: Receive a request for establishing a cross-blockchain service sent by the cross-chain system, where the request carries: the service UUID identifier of the cross-chain system, DID service information, and service chain description information; According to the DID service information and the service chain description information, search for the service chain pointed to by the establishment request, and generate the service chain DID corresponding to the service chain according to the service UUID identifier; Send the business chain DID to the cross-chain system; The method further comprises: Receiving a VC application for generating a verifiable statement for cross-chain communication sent by the cross-chain system; If the target chain of the cross-chain communication accepts the cross-chain communication application, a VCID is generated for the cross-chain communication and the VCID is sent to the cross-chain system.

6. The method according to claim 5, characterized in that Before receiving the cross-blockchain service establishment request sent by the cross-chain system, the method further includes: Receive the service DID application message sent by the cross-chain system; A service UUID identifier is allocated to the cross-chain system, and the service UUID identifier is sent to the cross-chain system.

7. The method according to claim 5, characterized in that After sending the VCID to the cross-chain system, the method further includes: Receiving a VC cancellation request sent by the cross-chain system; After the VC is deregistered, the VC deregistration result is sent to the cross-chain system.

Citation Information

Patent Citations

  • Business processing system, business processing method, device and equipment

    CN111724170A

  • Identity authentication system and method based on blockchain token

    CN112396421A

  • Multi-dimensional digital identity authentication system based on block chain

    CN112580102A

  • Data processing method, device and equipment based on block chain and storage medium

    CN112738253A

  • Cross-block chain identity verification method and system in cloud computing environment

    CN113806699A