Blockchain-based business service implementation method, device, equipment and storage medium

By determining and calling the target-driven interface in blockchain technology, the problem of inconsistent request interfaces of different DID-SDKs is solved, the versatility and flexibility of system operations are achieved, and the interoperability of business services is ensured.

CN113779604BActive Publication Date: 2024-10-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202111070197.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-13
Publication Date
2024-10-01
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

In the prior art, different DID-SDKs are introduced into one system at the same time, and the request data and return data of each DID-SDK request interface are inconsistent, which makes it very inconvenient for the system to operate different DIDs.

Method used

By obtaining the request instruction for the target business service, determining the target drive interface according to the target digital identity method, and calling the digital identity driver tool corresponding to the target drive interface, the call of the digital identity in the target business service is realized. The method includes using a preconfigured driver manager to manage driver tools and interface mapping relationships of multiple types of digital identities, loading driver tools and configuration files, initializing a driver program, and calling the target driver interface through target business parameters.

Benefits of technology

It achieves the universality and interoperability of different target business service requests, improves the flexibility of the system when operating different DIDs, and ensures the consistency of business service request operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779604B_ABST
    Figure CN113779604B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment and storage medium for implementing business services based on blockchain, and relates to the field of blockchain technology. The method includes: obtaining a request instruction for a target business service, the request instruction including: a target business parameter of the target business service, and a target digital identity identification method corresponding to the target business service; determining a target driver interface according to the target digital identity identification method; calling a driver tool corresponding to the target driver interface according to the target business parameter to implement the call of the digital identity in the target business service. Compared with the prior art, it avoids the problem in the prior art that different DID‑SDKs are introduced into a system at the same time, and the request data and return data of each DID‑SDK request interface are inconsistent, which leads to the problem that it is very inconvenient for the system to operate different DIDs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and more specifically, to a method, device, equipment and storage medium for implementing business services based on blockchain. Background Art

[0002] In existing scenarios, the verifiable credential ecosystem generally includes several participants, namely issuers, holders and verifiers. Different identities can initiate different business service requests.

[0003] In the prior art, the parsing operation functions related to each distributed identity (Decentralized Identifiers, DID) are generally adapted, such as DID creation, update, deactivation or query, or issuer creation and query, or credential subject creation and query, or verifiable declaration VC creation and verification, and then the request interface of DID-SDK is determined through the target operation of each DID, and then the data returned by the request interface is obtained.

[0004] However, in actual applications, different operations of multiple different DID methods are often involved. If different DID-SDKs are introduced into a system at the same time, the request data and return data of each DID-SDK request interface are inconsistent, which will make the system very inconvenient when operating different DIDs. Summary of the invention

[0005] The purpose of this application is to provide a blockchain-based business service implementation method, device, equipment and storage medium to address the deficiencies in the above-mentioned prior art, so as to solve the problem in the prior art that different DID-SDKs are introduced into a system at the same time, and the request data and return data of each DID-SDK request interface are inconsistent, resulting in great inconvenience when the system operates different DIDs.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for implementing a business service based on blockchain, the method comprising:

[0008] Obtaining a request instruction for a target business service, the request instruction including: a target business parameter of the target business service, and a target digital identity identification method corresponding to the target business service;

[0009] Determine the target drive interface according to the target digital identity identification method;

[0010] According to the target business parameters, a driving tool corresponding to the target driving interface is called to implement the calling of the digital identity in the target business service.

[0011] Optionally, determining a target drive interface according to the target digital identity identification method includes:

[0012] According to the target digital identity identification method, a pre-configured driver manager is used to obtain the driver interface corresponding to the target digital identity identification method as the target driver interface, wherein the driver manager is used to manage the driver interfaces of driver tools for multiple types of digital identity identifications, as well as the mapping relationship between each driver interface and the digital identity identification method.

[0013] Optionally, before the method adopts a pre-configured driver manager according to the target digital identity identification method to obtain the driver interface corresponding to the target digital identity identification method as the target driver interface, the method further includes:

[0014] Loading the driving tools of the multiple types of digital identity identifications to obtain the driving interfaces of the driving tools of the multiple types of digital identity identifications;

[0015] The method configuration file is loaded to obtain the mapping relationship between each drive interface and the digital identity identification method, and is stored in the drive manager.

[0016] Optionally, before storing in the driver manager, the method further includes:

[0017] Initialize the driver programs corresponding to the driver interfaces.

[0018] Optionally, calling a driving tool of a digital identity corresponding to the target driving interface according to the target business parameter includes:

[0019] According to the target service parameters, a driver program corresponding to the target drive interface is adopted to call a driver tool of the digital identity identifier corresponding to the target drive interface.

[0020] Optionally, the method further comprises:

[0021] The execution result of the request instruction returned by the driving tool of the digital identity corresponding to the target driving interface is obtained, and the execution result includes: at least one kind of associated information of the digital identity.

[0022] Optionally, before obtaining the execution result of the requested instruction returned by the driving tool of the digital identity corresponding to the target driving interface, the method further includes:

[0023] The preset basic data model is used to set the basic data structure of the association information of various digital identity identifiers associated with the target business service.

[0024] Optionally, the target business service includes: a digital identity resolution service, and the step of obtaining a request instruction for the target business service includes:

[0025] A request instruction for the digital identity resolution service is obtained; the request instruction includes: business parameters of the digital identity resolution service, and a digital identity identification method corresponding to the digital identity resolution service.

[0026] Optionally, the target business service includes: an issuing entity resolution service, and the step of obtaining a request instruction for the target business service includes:

[0027] A request instruction for the issuer resolution service is obtained; the request instruction includes: business parameters of the issuer resolution service, and a digital identity identification method corresponding to the issuer resolution service.

[0028] Optionally, the target business service includes: a credential subject resolution service, and the step of obtaining a request instruction for the target business service includes:

[0029] A request instruction for the credential subject resolution service is obtained; the request instruction includes: business parameters of the credential subject resolution service, and a digital identity identification method corresponding to the credential subject resolution service.

[0030] Optionally, the target business service includes: a verifiable claim resolution service, and the step of obtaining a request instruction for the target business service includes:

[0031] A request instruction for the verifiable claim resolution service is obtained; the request instruction includes: business parameters of the verifiable claim resolution service, and a digital identity identification method corresponding to the verifiable claim resolution service.

[0032] In a second aspect, another embodiment of the present application provides a business service implementation device based on blockchain, the device comprising: an acquisition module, a determination module and a calling module, wherein:

[0033] The acquisition module is used to acquire a request instruction for a target business service, wherein the request instruction includes: a target business parameter of the target business service, and a target digital identity identification method corresponding to the target business service;

[0034] The determination module is used to determine the target drive interface according to the target digital identity identification method;

[0035] The calling module is used to call the driving tool corresponding to the target driving interface according to the target business parameters, so as to realize the calling of the digital identity in the target business service.

[0036] Optionally, the acquisition module is specifically used to obtain the drive interface corresponding to the target digital identity identification method as the target drive interface using a pre-configured drive manager according to the target digital identity identification method, wherein the drive manager is used to manage the drive interfaces of drive tools for multiple types of digital identity identifications, as well as the mapping relationship between each drive interface and the digital identity identification method.

[0037] Optionally, the device also includes: a loading module, used to load the driving tools of the multiple types of digital identity identifications to obtain the driving interfaces of the driving tools of the multiple types of digital identity identifications; a loading method configuration file, to obtain the mapping relationship between the each driving interface and the digital identity identification method, and store it in the driver manager.

[0038] Optionally, the device further includes: an initialization module, configured to initialize the driver programs corresponding to the driver interfaces.

[0039] Optionally, the calling module is specifically configured to call a driving tool of a digital identity corresponding to the target driving interface by using a driving program corresponding to the target driving interface according to the target business parameters.

[0040] Optionally, the acquisition module is specifically used to acquire the execution result of the request instruction returned by the driving tool of the digital identity corresponding to the target driving interface, and the execution result includes: at least one kind of associated information of the digital identity.

[0041] Optionally, the device further comprises: a setting module, configured to use a preset basic data model to set a basic data structure of association information of various digital identity identifiers associated with the target business service.

[0042] Optionally, the target business service includes: a digital identity resolution service, and the acquisition module is specifically used to obtain a request instruction for the digital identity resolution service; the request instruction includes: business parameters of the digital identity resolution service, and a digital identity method corresponding to the digital identity resolution service.

[0043] Optionally, the target business service includes: an issuing entity resolution service, and the acquisition module is specifically used to obtain a request instruction for the issuing entity resolution service; the request instruction includes: business parameters of the issuing entity resolution service, and a digital identity identification method corresponding to the issuing entity resolution service.

[0044] Optionally, the target business service includes: a credential subject resolution service, and the acquisition module is specifically used to obtain a request instruction for the credential subject resolution service; the request instruction includes: business parameters of the credential subject resolution service, and a digital identity identification method corresponding to the credential subject resolution service.

[0045] Optionally, the target business service includes: a verifiable claim resolution service, and the acquisition module is specifically used to obtain a request instruction for the verifiable claim resolution service; the request instruction includes: business parameters of the verifiable claim resolution service, and a digital identity identification method corresponding to the verifiable claim resolution service.

[0046] In the third aspect, another embodiment of the present application provides a blockchain-based business service implementation device, including: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the blockchain-based business service implementation device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.

[0047] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.

[0048] The beneficial effect of the present application is as follows: by adopting the blockchain-based business service implementation method provided by the present application, after obtaining the request instruction for the target business service, the target driving interface is determined according to the target digital identity identification method corresponding to the target business service, and the driving tool of the digital identity identification corresponding to the target driving interface is called according to the target business service parameters to implement the call of the digital identity identification in the target business service. This implementation method makes it possible to implement the call of the digital identity identification in different target business services by only determining the corresponding target driving interface for different target business service requests, thereby ensuring the universality and interoperability of the business service request operation and improving the flexibility of the system when operating different DIDs. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1A flowchart of a method for implementing a business service based on blockchain provided in one embodiment of the present application;

[0051] Figure 2 A schematic diagram of the structure of a general DID resolver device provided in an embodiment of the present application;

[0052] Figure 3 A flowchart of a method for implementing a business service based on blockchain provided in another embodiment of the present application;

[0053] Figure 4 A flowchart of a method for implementing a business service based on blockchain provided in another embodiment of the present application;

[0054] Figure 5 A flowchart of a method for implementing a business service based on blockchain provided in another embodiment of the present application;

[0055] Figure 6 A schematic diagram of the structure of a blockchain-based business service implementation device provided in one embodiment of the present application;

[0056] Figure 7 A schematic diagram of the structure of a blockchain-based business service implementation device provided in another embodiment of the present application;

[0057] Figure 8 A schematic diagram of the structure of a blockchain-based business service implementation device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0059] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0060] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.

[0061] To facilitate understanding of the embodiments of the present application, some of the terms involved in the present application are explained below:

[0062] Distributed digital identity: Distributed identity is not only for people, but also for organizations and even objects in the future. These people, organizations and objects do not simply rely on the original centralized authority, cannot be taken away or deleted, and are lifelong identities.

[0063] Decentralized Identifiers (DID): A decentralized and verifiable digital identifier with the characteristics of being distributed, autonomous and controllable, and cross-chain reuse. Entities can independently complete the registration, resolution, update, or revocation of DIDs. DID is specifically resolved into a DID Document, which includes the DID's unique identification code, a list of public keys and detailed information about the public keys (holders, encryption algorithms, key status, etc.), as well as other attribute descriptions of the DID holder.

[0064] Verifiable Credential (VC): provides a specification to describe certain attributes of an entity and realizes evidence-based trust. DID holders can use verifiable declarations to prove to other entities (individuals, organizations, specific things, etc.) that certain attributes of their own are credible. At the same time, combined with cryptographic technologies such as digital signatures and zero-knowledge proofs, the declaration can be made more secure and credible, and further protect user privacy from being violated.

[0065] Software Development Kit (SDK): A software development kit is generally a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, etc.

[0066] The following is an explanation of a blockchain-based business service implementation method provided in an embodiment of the present application in combination with multiple specific application examples. Figure 1 A flowchart of a method for implementing a business service based on blockchain is provided in one embodiment of the present application, such as Figure 1 As shown, the method includes:

[0067] S101: Obtain a request instruction for a target business service.

[0068] In some possible embodiments, the target business service may be, for example, any one of a digital identity resolution service, an issuer resolution service, a credential subject resolution service, and a verifiable claim resolution service.

[0069] For example, if the target business service includes: digital identity resolution service, S101 may be: obtaining a request instruction for the digital identity resolution service; the request instruction includes: business parameters of the digital identity resolution service, and a digital identity method corresponding to the digital identity resolution service.

[0070] If the target business service includes: an issuer resolution service, S101 may be: obtaining a request instruction for the issuer resolution service; the request instruction includes: business parameters of the issuer resolution service, and a digital identity identification method corresponding to the issuer resolution service.

[0071] If the target business service includes: credential subject resolution service, S101 may be: obtaining a request instruction for the credential subject resolution service; the request instruction includes: business parameters of the credential subject resolution service, and a digital identity identification method corresponding to the credential subject resolution service.

[0072] If the target business service includes: a verifiable claim resolution service, S101 may be: obtaining a request instruction for the verifiable claim resolution service; the request instruction includes: business parameters of the verifiable claim resolution service, and a digital identity identification method corresponding to the verifiable claim resolution service.

[0073] In some possible embodiments, the request instruction may be, for example: a create request operation, a change request operation, a deactivate request operation, a resolve request operation, a query request operation or a verify request operation, etc. It should be understood that the above embodiments are only exemplary descriptions, and the content included in the specific request data can be flexibly adjusted or expanded according to user needs, and is not limited to the above embodiments.

[0074] The request instruction may, for example, include: the target business parameters of the target business service, and the target digital identity identification (Decentralized Identifiers, DID) method corresponding to the target business service; wherein, since the specifications and implementation methods set for different business services are different, for example, the implementation methods, storage methods and design architectures for different business services may be different, the present application pre-configures DID methods corresponding to different business services. When initiating a request instruction for the target business service, the request instruction includes the target DID method corresponding to the target business service by default, so that the target DID method corresponding to the business service can be determined according to different business services, thereby achieving adaptation of the DID method and the business service.

[0075] In some possible embodiments, the target business parameters may include, for example: optional parameters (options), optional key information (secret), optional current operation number (jobId), etc., wherein the specific target business parameters corresponding to different target business services may be different, and the correspondence between the specific target business parameters and the target business services can be flexibly adjusted according to user needs and is not limited to those given in the above embodiments.

[0076] For example, when the current target business service is a business service for a DID, the optional parameters may include parameters such as the public key of the DID, the holder, the service information held, and the recovery public key.

[0077] Among them, the optional key information may include private key information, which is convenient for blockchain transaction signatures, etc.; the optional operation number information may be, for example, the work number of this operation, which can be used as a record and association of the operation; when the current target business service is a business service for the issuer, the optional parameters may include, for example, the relevant parameters corresponding to the issuer, including the issuer DID, the issuer name, the list of certificates that the issuer can issue, etc.; the optional key information may include, for example, the private key information of the creator of the issuer, which is convenient for blockchain transaction signatures, etc.; the optional operation number information may be, for example, the work number of this operation, which can be used as a record and association of the operation.

[0078] When the current target business service is a business service for a credential subject, the optional parameters may include, for example, corresponding related parameters of the credential subject, including the credential subject name, credential subject constraint information, and the like.

[0079] Among them, the optional key information may include the creator's private key information, for example, to facilitate blockchain transaction signatures, etc.; the optional operation number information may be used to customize the work number of this operation, which can be used as a record and association of the operation.

[0080] When the current target business service is a business service for VC, the optional parameters may include, for example, the name of the subject of the certificate; the optional key information may include, for example, the private key information of the issuer of the certificate, used for the signature of the certificate, etc.; but the optional current operation number information is not included. It should be understood that the business parameter information included in each specific business service and the content included in each business parameter information can be flexibly adjusted according to user needs, and are not limited to the above embodiments.

[0081] S102: Determine a target drive interface according to a target digital identity identification method.

[0082] Among them, different digital identity identification methods (DID-Method) may correspond to different target driver interfaces. The target driver interface is determined according to the target DID-Method, and the DID-SDK corresponding to each DID-Method can be loaded according to the target driver interface to ensure that when executing a request operation of a target business service, the calling interface can ensure consistency.

[0083] S103: According to the target business parameters, a driving tool of the digital identity corresponding to the target driving interface is called to implement the calling of the digital identity in the target business service.

[0084] For example, in an embodiment of the present application, after determining the target driver interface, the driver tool of the digital identity identifier corresponding to the target driver interface can be called through the general driver layer, thereby realizing the call of the digital identity identifier in the target business service.

[0085] Among them, the driving tool is a driving tool for realizing the operating functions corresponding to different business services. Since the operating functions corresponding to different business services may be different, the driving tools corresponding to different business services may be different. This application pre-configures the correspondence between each DID method and the driving interface. After receiving the request instruction for the target business service, the corresponding target interface can be determined according to the DID method in the request instruction, and then the corresponding driving tool is called through the target driving interface, so as to realize the completion of the operating functions of different business services through different driving tools.

[0086] Among them, the operation functions include but are not limited to DID creation, update, deactivation and query functions; or issuer creation and query functions; or credential subject creation and query; or VC creation and verification functions, etc. It should be understood that the above embodiments are only exemplary descriptions and can be flexibly adjusted according to user needs, and are not limited to the above embodiments.

[0087] By adopting the blockchain-based business service implementation method provided by the present application, after obtaining the request operation for the target business service, the target drive interface is determined according to the target digital identity identification method corresponding to the target business service, and the drive tool of the digital identity identification corresponding to the target drive interface is called according to the target business service parameters to implement the call of the digital identity identification in the target business service. This implementation method makes it possible to implement the call of the digital identity identification in different target business services by simply determining the corresponding target drive interface for different target business service requests, thereby ensuring the universality and interoperability of the business service request operation and improving the flexibility of the system when operating different DIDs.

[0088] In one embodiment of the present application, a general DID resolver device may be abstracted. Figure 2 A schematic diagram of the structure of a general DID resolver device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the universal DID resolver device includes: a DID universal core call layer, a DID universal configuration layer, a DID universal data layer, and a DID universal driver layer. The blockchain-based business service implementation method can be implemented based on the universal DID resolver device. The DID resolution devices are all configured on the client side, and the user's request operations for different DIDs are implemented through a pre-configured DID-SDK. For different request operations, only the DID universal core call layer needs to be called to satisfy the request operations for different DIDs.

[0089] Among them, the core call layer (universal-did-core) implements function calls for different DIDs through the target digital identity identification method (did-method), including DID resolution service, issuer resolution service, credential subject resolution service, credential issuance and verification service.

[0090] Universal configuration layer (universal-did-config): implements configuration-based loading configurator, can load different DID-SDKs based on policy mode (method) + configuration file dynamic loading mechanism; and uses DID driver manager (DriverManager) to manage driver implementation classes of various DID-SDKs, cache basic call driver services of various dids, which can be initialized for each driver and saved to Driver Manager (DID-related drivers are mapped through DID-Method). Finally, Driver Manager saves the implementation classes of different drivers corresponding to the did method. For example: the driver layer defines 4 classes: did universal driver class (Uni DID Driver), issuer universal driver class (UniIssuer Driver), credential subject driver class (Uni Credential Subject Driver), vc universal driver class (UniVerifiable Credential Driver). Future Pass (future: did) inherits these four classes and implements Future Pass did driver class implementation (Future DID Driver), Future Pass issuer driver class implementation (Future Issuer Driver), Future Pass credential subject driver class implementation (Future Credential SubjectDriver), and Future Pass vc driver class implementation (Future Verifiable Credential Driver). The driver loader will load and initialize the driver with the did method as future, and save the driver to DriverManager. Finally, it is convenient for the core layer to call the driver through the did method.

[0091] The universal driver layer (universal-did-driver) defines DID driver interface, issuer driver interface, credential subject interface, and verifiable credential interface, which need to be implemented by each DID-SDK. The driver layer here acts as a bridge to connect any DID-SDK. The implementation of the universal driver needs to be inherited by each DID-SDK, and each implements different functions of DID to meet the system's operations on various DIDs. The functions of each driver interface, input parameters, and return parameters are basically consistent with those of the core call layer.

[0092] Universal data model layer (universal-did-model): Based on the DID open source document specification, it defines the basic data models related to the basic DID, including DID, issuer, credential subject, credential VC, VP, etc. It is used to inherit various basic data models of W3C-DID to meet various DID resolutions and ensure that the request parameters and return parameters of calling different DID methods remain universal.

[0093] For example, in some possible embodiments, S102 may be, for example, based on the target digital identity identification method, using a pre-configured driver manager to obtain a driver interface corresponding to the target digital identity identification method as a target driver interface, wherein the driver manager is used to manage driver interfaces of driver tools for multiple types of digital identity identifications, as well as a mapping relationship between each driver interface and a digital identity identification method.

[0094] The pre-configured driver manager may be, for example, a general configuration layer, that is, the target driver interface corresponding to the current DID-method is determined according to the pre-configured information of the DID-method in the general configuration layer.

[0095] In some possible embodiments, before obtaining the target driver interface, the method also includes loading driver tools of multiple types of digital identity identifications to obtain driver interfaces of driver tools of multiple types of digital identity identifications; loading method configuration files to obtain the mapping relationship between each driver interface and the digital identity identification method, and storing it in the driver manager (DriverManager), thereby saving different driver interfaces corresponding to each DID method through the driver management area.

[0096] In some other possible embodiments, the general configuration layer also needs to initialize the driver programs corresponding to each driver interface.

[0097] Optionally, based on the above embodiment, the embodiment of the present application may also provide a business service implementation method based on blockchain. The implementation process of the driving tool of the digital identity identifier corresponding to the target driving interface in the above method is illustrated as follows in combination with the accompanying drawings. Figure 3 A flowchart of a method for implementing a business service based on blockchain is provided in another embodiment of the present application, such as Figure 3 As shown, S103 may include:

[0098] S104: According to the target business parameters, a driver program corresponding to the target driver interface is used to call a driver tool of the digital identity identifier corresponding to the target driver interface.

[0099] Optionally, based on the above embodiment, the embodiment of the present application may also provide a method for implementing a business service based on blockchain. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 4 A flowchart of a method for implementing a business service based on blockchain is provided in another embodiment of the present application, such as Figure 4 As shown, the method may also include:

[0100] S105: Obtain the execution result of the request instruction returned by the driver tool of the digital identity corresponding to the target driver interface.

[0101] The function execution result includes: associated information of at least one digital identity.

[0102] Optionally, based on the above embodiment, the embodiment of the present application may also provide a method for implementing a business service based on blockchain. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 5 A flowchart of a method for implementing a business service based on blockchain is provided in another embodiment of the present application, such as Figure 5 As shown, before S105, the method may further include:

[0103] S106: Using a preset basic data model, a basic data structure of association information of various digital identity identifiers associated with the target business service is set.

[0104] In one embodiment of the present application, the preset basic data model can be, for example, based on the World Wide Web Consortium (W3C) specification document, which is used to define various basic data structures possessed by DID, thereby satisfying the general parsing of various DIDs and ensuring the consistency of the data structure.

[0105] The following uses each business service and each request operation as an example to explain each target business service and each request operation involved in this application:

[0106] In one aspect of the present application, the did universal resolution class (UniDIDResolver) is used to define the creation / change / deactivation / resolution method of DID. When requesting an operation for the did universal resolution class, the execution process is as follows:

[0107] 1. If the current request operation is to create a DID, the request operation includes: optional parameters (options), optional key information (secret), optional operation number (jobId), and did method (method).

[0108] Among them, the optional parameters are used by users to define the public key, holder, service information held, recovery public key and other parameters for creating DID; the optional secret key information is used to define the private key information for creating the DID this time, which is convenient for blockchain transaction signatures, etc.; the optional operation number is used to customize the work number of this operation, which can be used as a record and association of the operation. The did method is used to load the did-sdk corresponding to each method through method.

[0109] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, data DidCreateResponse will also be returned. The returned data may include: optional operation number (jobId), creation status data (didState), and created metadata (metadata).

[0110] Among them, the optional operation number (jobId) is used to return the job number of this operation. The operation number in the returned data must be consistent with the operation number in the requested operation; the creation status data (didState) is used to return the actual creation result of did-sdk; the created metadata (metadata) is the metadata that did-sdk can optionally return after the creation is completed.

[0111] 2. If the current request operation is to change the DID, the request operation includes: optional parameters (options), optional key information (secret), optional operation number (jobId), did method (method), and did (identifier) ​​of this change.

[0112] Among them, the optional parameters are used by users to customize and modify the public key, holder, service information held, modification time, recovery public key and other parameters of the DID.

[0113] Optional secret key information: used to define the private key information for modifying the did, which is convenient for blockchain transaction signatures, etc.; Optional operation number: used to customize the work number of this operation, which can be used as a record and association of operations; did method is used to load the did-sdk corresponding to each method through method; did changed this time: did that needs to be changed this time.

[0114] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data DidUpdateResponse will also be returned. The returned data includes: optional operation number (jobId), change status data (didState), and metadata of the change (metadata).

[0115] Among them, the optional change number (jobId) is used to return the job number of this operation. The operation number in the returned data must be consistent with the operation number in the requested operation; the change status data (didState) is used to return the actual change result of did-sdk; the metadata of the change (metadata) is the metadata that did-sdk can optionally return after the change is completed.

[0116] 3. If the current request operation is to deactivate DID, the request operation includes: optional parameters (options), optional key information (secret), optional operation number (jobId), did method (method), and did (identifier) ​​for this deactivation.

[0117] Among them, the optional parameters are used by users to customize parameters such as the public key message of deactivating DID; optional secret key information: used to define the private key information of the did of the deactivation operator, which is convenient for blockchain transaction signatures, etc.; optional deactivation operation number: used to customize the work number of this deactivation, which can be used as a record and association of the operation; did method: through method, load the did-sdk corresponding to each method; did to be deactivated this time: the did to be deactivated this time.

[0118] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, data DidUpdateResponse will also be returned. The returned data includes: optional deactivation operation number (jobId), deactivation status data (didState), and deactivation metadata (metadata).

[0119] Among them, the optional deactivation number (jobId) is used to return the job number of this operation, which is consistent with the job number in the request operation; the deactivation status data (didState) is used to return the actual deactivation result of did-sdk; the deactivation metadata (metadata) is the metadata that did-sdk can optionally return after the deactivation is completed.

[0120] 4. If the current request operation is to resolve DID, the request operation includes: did method (method) and did (identifier) ​​of this resolution.

[0121] Among them, the did method is used to load the did-sdk corresponding to each method through method; the did to be parsed this time is the did to be parsed this time.

[0122] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data DidResolveResponse will also be returned. The returned data includes: did document (didDocument) and optional did resolution process metadata (didResolutionMetadata).

[0123] Among them, the did document (didDocument) is the document information of the current did, including the public key, holder, service information held, creation time, modification time, recovery public key and other parameters of the DID. The did document is defined in detail at the data model layer (universal-did-model), and needs to keep the document information consistent with the w3c did specification; optional did resolution process metadata (didResolutionMetadata): metadata during the resolution process.

[0124] In another aspect of the present application, the issuer universal resolution class (UniIssuerResolver) is used to define the issuer creation / modification / query method. When requesting an operation on the issuer universal resolution class, the execution process is as follows:

[0125] 1. If the current request operation is to create an issuer, the request operation includes: optional parameters (options), optional secret key information (secret), optional operation number (jobId), and did method (method).

[0126] Among them, the optional parameters are used by users to customize the relevant parameters corresponding to the creation of the issuer, including the issuer DID, issuer name, list of certificates that the issuer can issue, etc.; optional key information: used to define the private key information of the creator of the issuer created this time, to facilitate blockchain transaction signatures, etc.; optional operation number: used to customize the work number of this operation, which can be used as a record and association of the operation; did method: through method, load the did-sdk corresponding to each method.

[0127] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data IssuerRegisterResponse will be returned. The returned data includes: optional operation number (jobId) and creation status data (issuerState).

[0128] Among them, the optional operation number (jobId) is used to return the job number of this operation, which is consistent with the operation number in the request operation; the creation status data (issuerState) is used to return the real issuer creation result of did-sdk.

[0129] 2. If the current request operation is to change the issuer, the request operation includes: optional parameters (options), optional key information (secret), optional operation number (jobId), did method (method), and the issuer did of this change.

[0130] Among them, the optional parameters are used by users to customize the relevant parameters corresponding to the creation of the issuer, including the issuer DID, issuer name, list of certificates that the issuer can issue, etc.; optional key information: used to define the private key information of the creator of the issuer this time, to facilitate blockchain transaction signatures, etc.; optional operation number: used to customize the work number of this operation, which can be used as a record and association of the operation; did method: through method, the did-sdk corresponding to each method can be loaded; the issuer did of this change: the issuer did that needs to be changed this time.

[0131] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data IssuerUpdateResponse will be returned. The returned data includes: optional operation number (jobId) and change status data (issuerState).

[0132] Among them, the optional operation number (jobId) is used to return the job number of this operation, which is consistent with the operation number in the request operation; the change status data (issuerState) is used to return the real issuer creation result of did-sdk.

[0133] 3. If the current request operation is to query the issuer, the request operation includes: did method and the issuer did of this query.

[0134] Among them, did method: through method, you can load the did-sdk corresponding to each method; the issuer did of this query: the issuer did that needs to be queried this time.

[0135] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data IssuerQueryResponse will be returned, and the returned data includes: issuer information (issuer).

[0136] Among them, the issuer information (issuer): issuer DID, issuer name, list of certificates that the issuer can issue, creation time, modification time, etc. The issuer is defined in detail at the data model layer (universal-did-model) to ensure that all issuers maintain universality with the industry's public data structure.

[0137] In another aspect of the present application, the Uni Credential Subject Resolver is used to define the credential subject creation / modification / query method. When requesting an operation on the Uni Credential Subject Resolver, the execution process is as follows:

[0138] 1. If the current request operation is to create a credential subject, the request operation includes: optional parameters (options), optional secret key information (secret), optional job ID (jobId), and did method (method).

[0139] Among them, the optional parameters are used to customize the corresponding relevant parameters for creating the credential subject, including the credential subject name, credential subject constraint information, etc.; optional key information: used to define the private key information of the creator of the credential subject this time, to facilitate blockchain transaction signatures, etc.; optional operation number: used to customize the work number of this operation, which can be used as a record and association of the operation; did method: through method, the did-sdk corresponding to each method can be loaded.

[0140] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data IssuerRegisterResponse will be returned. The returned data includes: optional operation number (jobId) and creation status data (csState).

[0141] The optional operation number (jobId) is used to return the job number of this operation, which is consistent with the operation number in the request operation. The creation state data (csState) is used to return the actual credential theme creation result of did-sdk.

[0142] 2. If the current request operation is to change the credential subject, the request operation includes: optional parameters (options), optional secret key information (secret), optional job ID (jobId), did method (method), and credential subject name (credentialSubject).

[0143] Among them, the optional parameters are used by users to define the corresponding parameters of the credential subject, including credential subject constraint information, etc. Optional key information: used to define the private key information of the creator of this modification of the credential subject, which is convenient for blockchain transaction signature, etc. Optional operation number: used to customize the work number of this operation, which can be used as a record and association of the operation; did method: through method, the did-sdk corresponding to each method can be loaded; credential subject name (credentialSubject): the name of the credential subject of this change.

[0144] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, the data IssuerRegisterResponse will be returned. The returned data includes: optional operation number (jobId) and change status data (csState).

[0145] The optional operation number (jobId) is used to return the job number of this operation, which is consistent with the operation number in the request operation. Change state data (csState) is used to return the actual credential theme change result of did-sdk.

[0146] 3. If the current request operation is to query the credential subject, the request operation includes: did method (method), and the credential subject name (credentialSubjectName) of this query.

[0147] Among them, did method: through method, you can load the did-sdk corresponding to each method; the credential subject name (credentialSubjectName) of this query: the credential subject name that needs to be queried this time.

[0148] According to the target business parameters, after calling the driver tool of the digital identity identifier corresponding to the target driver interface, data CredentialSubjectQueryResponse will be returned, and the returned data includes: credential subject information (credentialSubject).

[0149] Among them, the credential subject information (credentialSubject): includes the credential subject name, credential subject constraint information, creation time, modification time, etc. The credential subject data is defined in detail at the data model layer (universal-did-model) to ensure that all issuers maintain universality with the public data structure of the industry.

[0150] In another aspect of the present application, the VC universal resolution class (Uni Credential Subject Resolver) is used to define VC creation / verification and VP creation / verification methods. When requesting an operation on the VC universal resolution class, the execution process is as follows:

[0151] 1. If the current request operation is to create a VC, the request operation includes the credential type name (credentialSubject), claim data (claim), optional parameters (options), optional key information (secret), and did method (method).

[0152] Among them, the credential type name (credentialSubject): the name of the credential subject created this time; claim data (claim): the claim data of the credential subject issued this time, the relevant data of the user; optional parameters (options): other optional parameters for credential creation; optional key information (secret): used to define the private key information of the issuer of the credential created this time, used for the signature of the credential, etc.; did method (method): through method, the did-sdk corresponding to each method can be loaded.

[0153] According to the target business parameters, after calling the driver tool of the digital identity identifier corresponding to the target driver interface, data (VerifiableCredentialCreateResponse) will be returned, including: verifiable credentials (VC).

[0154] Verifiable Credentials (VC): VC details, including declaration data, VC number, certification information, etc. The VC is defined in detail at the data model layer (universal-did-model) to ensure that all issuers maintain universality with the industry's public data structure.

[0155] 2. If the current request operation is to create a VC, the request operation includes verifiable credentials (vc), optional parameters (options) and did method (method).

[0156] Among them, verifiable credentials (vc): vc that needs to be verified this time, the vc data structure is defined in detail in the data model layer (universal-did-model); optional parameters (options): other optional parameters for credential verification; did method (method): through method, the did-sdk corresponding to each method can be loaded.

[0157] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, data (VerifiableCredentialVerifyResponse) will be returned. The returned data includes: verification status data (verifyState), which is used to indicate whether the vc verification is passed or not.

[0158] 3. If the current request operation is to create a vp, the request operation includes verifiable credentials (vc), optional parameters (options), optional key information (secret), and did method (method).

[0159] Verifiable credential (vc): the vc that needs to be signed this time. The vc data structure is defined in detail in the data model layer (universal-did-model); optional parameters (options): other optional parameters for vp creation; optional secret key information (secret): used to define the user private key information for creating the vp this time, used to sign the credential details vc; did method (method): through method, the did-sdk corresponding to each method can be loaded.

[0160] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, data will be returned (Verifiable Presentation Create Response), including: Verifiable Presentation (VP), which includes vp details, including signed vp, user certification information, etc. Verifiable Presentation (VP) is defined in detail at the data model layer (universal-did-model) to ensure that all issuers maintain universality with the public data structure of the industry.

[0161] 4. If the current request operation is to create a VP, the request operation includes a verifiable credential (VP), optional parameters (options) and a did method (method).

[0162] Among them, verifiable representation (VP): the vp that needs to be verified this time, and the vp data structure is defined in detail in the data model layer (universal-did-model); optional parameters (options): other optional parameters for credential verification; did method (method): through method, the did-sdk corresponding to each method can be loaded.

[0163] According to the target business parameters, after calling the driver tool of the digital identity corresponding to the target driver interface, data (Verifiable Presentation Verify Response) will be returned. The returned data includes: verification state data (verifyState), which is used to indicate whether the VP verification is passed or not.

[0164] By adopting the business service implementation method of digital identity provided by this application, the target business service can be customized through pre-processing, and the driver corresponding to the current DID method can be determined from the driver manager of the configuration layer through the request operation of the target business service, and the call to the driver function is completed through the implementation layer of various drivers. Subsequently, related processing such as synchronization, asynchronous or callback is performed through post-processing, and the results are returned to the upper-layer business, thereby achieving the universality of DID operations by defining a DID universal parser tool, realizing a universal data structure and a universal interface.

[0165] The following is an explanation of the blockchain-based business service implementation device provided by the present application in conjunction with the accompanying drawings. The blockchain-based business service implementation device can execute the above Figure 1-Figure 5 The specific implementation and beneficial effects of any blockchain-based business service implementation method are as mentioned above and will not be repeated below.

[0166] Figure 6 A schematic diagram of the structure of a blockchain-based business service implementation device provided in an embodiment of the present application, such as Figure 6 As shown, the device includes: an acquisition module 201, a determination module 202 and a calling module 203, wherein:

[0167] The acquisition module 201 is used to acquire a request operation for a target business service, where the request operation includes: a target business parameter of the target business service and a target digital identity identification method corresponding to the target business service;

[0168] A determination module 202, used to determine a target drive interface according to a target digital identity identification method;

[0169] The calling module 203 is used to call the driving tool of the digital identity corresponding to the target driving interface according to the target business parameters, so as to realize the calling of the digital identity in the target business service.

[0170] Optionally, the acquisition module 201 is specifically used to obtain the drive interface corresponding to the target digital identity identification method as the target drive interface using a pre-configured drive manager according to the target digital identity identification method, wherein the drive manager is used to manage the drive interfaces of drive tools for multiple types of digital identity identifications, as well as the mapping relationship between each drive interface and the digital identity identification method.

[0171] Optionally, based on the above embodiment, the embodiment of the present application may also provide a business service implementation device based on blockchain, as shown below in conjunction with the accompanying drawings. Figure 6 The implementation process of the given device is described by way of example. Figure 7 A schematic diagram of the structure of a blockchain-based business service implementation device provided in another embodiment of the present application is shown in FIG. Figure 7 As shown, the device also includes: a loading module 204, which is used to load driving tools of multiple types of digital identity identifications and obtain driving interfaces of driving tools of multiple types of digital identity identifications; a loading method configuration file, which obtains the mapping relationship between each driving interface and the digital identity identification method, and stores it in the driver manager.

[0172] like Figure 7 As shown, the device further includes: an initialization module 205, which is used to initialize the driver programs corresponding to each driver interface.

[0173] Optionally, the calling module 202 is specifically configured to call a driving tool of a digital identity corresponding to the target driving interface by using a driving program corresponding to the target driving interface according to the target business parameters.

[0174] Optionally, the acquisition module 201 is specifically used to acquire the execution result of the request instruction returned by the driving tool of the digital identity corresponding to the target driving interface, and the function execution result includes: at least one kind of associated information of the digital identity.

[0175] like Figure 7 As shown, the device further includes: a setting module 206, which is used to set the basic data structure of the association information of various digital identity identifiers associated with the target business service by using a preset basic data model.

[0176] The target business service includes: a digital identity resolution service, and an acquisition module is specifically used to obtain a request instruction for the digital identity resolution service; the request instruction includes: business parameters of the digital identity resolution service, and a digital identity method corresponding to the digital identity resolution service.

[0177] Optionally, the target business service includes: an issuing entity resolution service, and the acquisition module is specifically used to obtain a request instruction for the issuing entity resolution service; the request instruction includes: business parameters of the issuing entity resolution service, and a digital identity identification method corresponding to the issuing entity resolution service.

[0178] Optionally, the target business service includes: a credential subject resolution service, and the acquisition module is specifically used to obtain a request instruction for the credential subject resolution service; the request instruction includes: business parameters of the credential subject resolution service, and a digital identity identification method corresponding to the credential subject resolution service.

[0179] Optionally, the target business service includes: a verifiable claim resolution service, and the acquisition module is specifically used to obtain a request instruction for the verifiable claim resolution service; the request instruction includes: business parameters of the verifiable claim resolution service, and a digital identity identification method corresponding to the verifiable claim resolution service.

[0180] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0181] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0182] Figure 8 A schematic diagram of the structure of a blockchain-based business service implementation device provided in one embodiment of the present application. The blockchain-based business service implementation device can be integrated into a terminal device or a chip of a terminal device.

[0183] The blockchain-based business service implementation device includes: a processor 501, a storage medium 502 and a bus 503.

[0184] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 502 to execute the above Figure 1-Figure 5 The corresponding method embodiment has similar specific implementation methods and technical effects, which will not be described here.

[0185] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.

[0186] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0187] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0188] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0189] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

Claims

1. A method for implementing business services based on blockchain, characterized in that: The method comprises: Obtaining a request instruction for a target business service, the request instruction including: a target business parameter of the target business service, and a target digital identity identification method corresponding to the target business service; Determine the target drive interface according to the target digital identity identification method; According to the target business parameters, calling the driving tool corresponding to the target driving interface to implement the calling of the digital identity in the target business service; The step of determining a target drive interface according to the target digital identity identification method includes: According to the target digital identity identification method, a pre-configured driver manager is used to obtain a driver interface corresponding to the target digital identity identification method as the target driver interface, wherein the driver manager is used to manage driver interfaces of driver tools of multiple types of digital identity identifications, and a mapping relationship between each driver interface and a digital identity identification method; Before obtaining the drive interface corresponding to the target digital identity identification method as the target drive interface by using a pre-configured drive manager according to the target digital identity identification method, the method further includes: Loading the driving tools of the multiple types of digital identity identifications to obtain the driving interfaces of the driving tools of the multiple types of digital identity identifications; The method configuration file is loaded to obtain the mapping relationship between each drive interface and the digital identity identification method, and is stored in the drive manager.

2. The method according to claim 1, characterized in that Before storing in the drive manager, the method further includes: Initialize the driver programs corresponding to the driver interfaces.

3. The method according to claim 1, characterized in that The step of calling the driving tool of the digital identity corresponding to the target driving interface according to the target business parameter includes: According to the target service parameters, a driver program corresponding to the target drive interface is adopted to call a driver tool of the digital identity identifier corresponding to the target drive interface.

4. The method according to claim 1, characterized in that The method further comprises: The execution result of the request instruction returned by the driving tool of the digital identity corresponding to the target driving interface is obtained, and the execution result includes: at least one kind of associated information of the digital identity.

5. The method according to claim 4, characterized in that Before acquiring the execution result of the requested instruction returned by the driving tool of the digital identity corresponding to the target driving interface, the method further includes: The preset basic data model is used to set the basic data structure of the association information of various digital identity identifiers associated with the target business service.

6. The method according to claim 1, characterized in that The target business service includes: a digital identity resolution service, and the step of obtaining a request instruction for the target business service includes: A request instruction for the digital identity resolution service is obtained; the request instruction includes: business parameters of the digital identity resolution service, and a digital identity identification method corresponding to the digital identity resolution service.

7. The method according to claim 1, characterized in that The target business service includes: an issuing entity resolution service, and the step of obtaining a request instruction for the target business service includes: A request instruction for the issuer resolution service is obtained; the request instruction includes: business parameters of the issuer resolution service, and a digital identity identification method corresponding to the issuer resolution service.

8. The method according to claim 1, characterized in that The target business service includes: a credential subject resolution service, and the step of obtaining a request instruction for the target business service includes: A request instruction for the credential subject resolution service is obtained; the request instruction includes: business parameters of the credential subject resolution service, and a digital identity identification method corresponding to the credential subject resolution service.

9. The method according to claim 1, characterized in that The target business service includes: a verifiable claim resolution service, and the step of obtaining a request instruction for the target business service includes: A request instruction for the verifiable claim resolution service is obtained; the request instruction includes: business parameters of the verifiable claim resolution service, and a digital identity identification method corresponding to the verifiable claim resolution service.

10. A business service implementation device based on blockchain, characterized in that: The device comprises: an acquisition module, a determination module and a calling module, wherein: The acquisition module is used to acquire a request instruction for a target business service, wherein the request instruction includes: a target business parameter of the target business service and a target digital identity identification method corresponding to the target business service; The determination module is used to determine the target drive interface according to the target digital identity identification method; The calling module is used to call the driving tool corresponding to the target driving interface according to the target business parameters, so as to realize the calling of the digital identity in the target business service; The acquisition module is further used to acquire the drive interface corresponding to the target digital identity identification method using a pre-configured drive manager according to the target digital identity identification method as the target drive interface, wherein the drive manager is used to manage the drive interfaces of drive tools of multiple types of digital identity identifications, and the mapping relationship between each drive interface and the digital identity identification method; The device also includes a loading module for loading the driving tools of the multiple types of digital identity identifications to obtain the driving interfaces of the driving tools of the multiple types of digital identity identifications; loading a method configuration file to obtain the mapping relationship between each driving interface and the digital identity identification method, and storing it in the driver manager.

11. A business service implementation device based on blockchain, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the blockchain-based business service implementation device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the method described in any one of claims 1 to 9.

12. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is executed.

Citation Information

Patent Citations

  • Data processing method and device, electronic device and readable storage medium

    CN110222064A

  • Rapid platform access method and device, computer equipment and storage medium

    CN111383003A

  • Service control method and device

    CN111935177A

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

    CN112738253A

  • Business service capacity expansion and shrinkage method and device, medium and electronic equipment

    CN112822298A