CN113535691B - User service registration method and device - Google Patents
User service registration method and device Download PDFInfo
- Publication number
- CN113535691B CN113535691B CN202111082161.6A CN202111082161A CN113535691B CN 113535691 B CN113535691 B CN 113535691B CN 202111082161 A CN202111082161 A CN 202111082161A CN 113535691 B CN113535691 B CN 113535691B
- Authority
- CN
- China
- Prior art keywords
- service
- user
- contract
- blockchain
- execution logic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 230000006870 function Effects 0.000 claims abstract description 57
- 230000004044 response Effects 0.000 claims abstract description 19
- 230000000977 initiatory effect Effects 0.000 claims description 16
- 230000000007 visual effect Effects 0.000 claims description 13
- 238000012800 visualization Methods 0.000 claims 2
- 238000004891 communication Methods 0.000 description 23
- 230000008569 process Effects 0.000 description 20
- 238000012545 processing Methods 0.000 description 13
- 230000003993 interaction Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 241000280258 Dyschoriste linearis Species 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
One or more embodiments of the present specification provide a user service registration method and apparatus. The method comprises the following steps: receiving a user service registration request initiated by a service provider; in response to the user service registration request, determining a contract execution logic set for realizing service functions corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains in a blockchain service network; and combining the contract execution logics in the contract execution logic set to generate the user service so as to complete the service registration of the user service.
Description
Technical Field
Embodiments of the present disclosure relate to the field of block chain technologies, and in particular, to a method and an apparatus for user service registration.
Background
As blockchain technology develops, more and more services can be implemented using intelligent contracts deployed in blockchain systems. The blockchain system serves as an infrastructure behind the business, and the operation and maintenance need to be invested in cost. Therefore, some large service organizations have introduced their own blockchain systems to provide basic services related to blockchains to business parties who are unable to build blockchain systems. And the service party accessing the blockchain system can realize the corresponding service by calling the intelligent contract deployed in the blockchain system.
However, in practical applications, different blockchain systems are usually independent from each other, and how to utilize the independent blockchain systems to more effectively provide basic services related to blockchains for a service provider is a technical problem to be solved.
Disclosure of Invention
According to a first aspect of various embodiments of the present specification, a user service registration method is provided, which is applied to a centralized management and control platform corresponding to a blockchain service network, where the blockchain service network includes at least one member blockchain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member blockchain; the method comprises the following steps:
receiving a user service registration request initiated by a service provider;
in response to the user service registration request, determining a contract execution logic set for realizing service functions corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains;
and combining the contract execution logics in the contract execution logic set to generate the user service so as to complete the service registration of the user service.
According to a second aspect of the embodiments of the present specification, a user service registration method is further provided, which is applied to a centralized management and control platform corresponding to a blockchain service network, where the blockchain service network includes at least one member blockchain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on member blockchains in a blockchain service network; the method comprises the following steps:
receiving a solution registration request initiated by a service provider;
in response to the solution registration request, determining a user service set for realizing a service function corresponding to the service solution from the registered user services; the user services include contract execution logic included in user intelligent contracts deployed on member blockchains;
and combining the user services in the user service set to generate the service solution so as to complete the service registration of the service solution.
According to a third aspect of the embodiments of the present specification, there is further provided a user service registration apparatus applied to a centralized management and control platform corresponding to a blockchain service network, where the blockchain service network includes at least one member blockchain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member blockchain; the device comprises:
the device comprises:
the first receiving module is used for receiving a user service registration request initiated by a service provider;
the first determining module is used for responding to the user service registration request and determining a contract execution logic set for realizing the service function corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains in a blockchain service network;
and the first registration module combines the contract execution logics in the contract execution logic set to generate the user service so as to complete the service registration of the user service.
According to a fourth aspect of the embodiments of the present specification, there is further provided a user service registration apparatus applied to a centralized management and control platform corresponding to a blockchain service network, where the blockchain service network includes at least one member blockchain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member blockchain; the device comprises:
the second receiving module is used for receiving a solution registration request initiated by a service provider;
a second determining module, configured to determine, in response to the solution registration request, a user service set for implementing a service function corresponding to the service solution from the registered user services; the user services include contract execution logic included in user intelligent contracts deployed on member blockchains;
and the second registration module is used for combining the user services in the user service set to generate the service solution so as to complete the service registration of the service solution.
In the above embodiments of the present specification, a blockchain service network formed by at least one member blockchain may be established in a registration manner, and based on contract execution logic included in a user intelligent contract distributed on the member blockchain, a standardized user service is further registered on a centralized management and control platform;
contract execution logic that may be derived from the user's intelligent contracts on different member blockchains due to the user service; therefore, by the mode, the service capability of the user intelligent contracts on different member block chains is integrated, contract execution logic with basic service capability contained in the user intelligent contracts on different member block chains is integrated to generate services with more complex service capability, so that the service capability of the user intelligent contracts deployed on different member block chains can be fully circulated and shared among the member block chains, and the problem of information isolated island caused by the fact that the service capability provided by the member block chains cannot be integrated is fundamentally solved.
Drawings
Fig. 1 is a network architecture diagram of a block chain service network according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for managing a blockchain services network according to an exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a process of registering a target blockchain according to the present specification.
Fig. 4 is a flowchart illustrating a service registration method for registering a user service on a centralized management and control platform according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a service registration method for registering a service solution on a centralized management and control platform according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating a method of service usage for user services registered on a centralized governance platform according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating another service usage method for a user service registered on a centralized administration platform according to an example embodiment.
FIG. 8 is a schematic block diagram of an electronic device in accordance with an exemplary embodiment.
Fig. 9 is a block diagram illustrating a user service registration apparatus according to an example embodiment.
FIG. 10 is a block diagram illustrating another user service registration apparatus in accordance with an exemplary embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
As blockchain technology continues to evolve, more and more blockchains are built. However, each blockchain is usually independent from another blockchain, and different blockchains usually cannot be connected with each other. This, in turn, results in the service capabilities of the user intelligence contracts deployed on a single blockchain not being adequately circulated and shared between different blockchains.
The technical scheme is that a block chain service network formed by at least one member block chain is built, and contract execution logics contained in user intelligent contracts distributed on the member block chains in the block chain service network are integrated to form standardized services which are opened to service users.
When the method is implemented, a target block chain needing to be added into the block chain service network can be registered to become a member block chain of the block chain service network in a mode of sending a registration request to a centralized management and control platform of the block chain service network.
And when receiving a registration request corresponding to the target block chain, the centralized management and control platform may perform registration processing on the target block chain, so as to add the target block chain as a member block chain to the block chain service network.
The centralized management and control platform can support the registration of user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member block chain.
After the target blockchain is added to the blockchain service network as a member blockchain, a subsequent service provider may integrate contract execution logic included in the user intelligent contract deployed on the target blockchain to generate a target user service, or integrate contract execution logic included in the user intelligent contract deployed on the target blockchain with contract execution logic included in user intelligent contracts deployed on other member blockchains to generate a target user service, and then register the target user service to the centralized management and control platform.
When the centralized management and control platform registers the target blockchain, a blockchain account corresponding to the centralized management and control platform can be created in the target blockchain. Subsequently, when a user needs to invoke the target user service registered on the centralized control platform, a contract invocation for the user intelligent contract deployed on the target blockchain may be initiated based on the blockchain account created in the target blockchain and corresponding to the centralized control platform, so as to complete the service invocation for the user service.
In the technical scheme, a block chain service network formed by at least one member block chain can be established in a registration mode, and based on contract execution logic contained in a user intelligent contract distributed on the member block chain, standardized user service is further registered on a centralized management and control platform;
contract execution logic that may be derived from the user's intelligent contracts on different member blockchains due to the user service; therefore, by the mode, the service capability of the user intelligent contracts on different member block chains is integrated, contract execution logic with basic service capability contained in the user intelligent contracts on different member block chains is integrated to generate services with more complex service capability, so that the service capability of the user intelligent contracts deployed on different member block chains can be fully circulated and shared among the member block chains, and the problem of information isolated island caused by the fact that the service capability provided by the member block chains cannot be integrated is fundamentally solved.
Referring to fig. 1, fig. 1 is a network architecture diagram of a block chain service network according to an exemplary embodiment of the present disclosure.
As shown in fig. 1, in the network architecture of the above-mentioned blockchain service network, a blockchain service network composed of a plurality of member blockchains, a target blockchain network to be registered, and a centralized management and control platform for managing the blockchain service network may be included. It should be noted that, in the initial case, there is no member blockchain in the blockchain service network, and the target blockchain can be added to the blockchain service network only after the target blockchain is registered by the centralized management platform.
The target blockchain network to be registered shown in fig. 1 refers to a blockchain network that is not temporarily added to the blockchain service network, and the target blockchain network may perform registration interaction with the centralized management and control platform to apply for adding as a member blockchain to the target blockchain network.
The first member blockchain, the second member blockchain, and the third member blockchain shown in fig. 1 refer to member blockchains that have joined the above-described blockchain service network.
In an embodiment, at least some member blockchains in the blockchain service network may be heterogeneous blockchains.
It should be noted that, the narrow isomeric blockchains generally mean that there are significant differences in the value of circulation on the blockchains; that is, two blockchains with significant differences in value passed through may be generally referred to as heterogeneous blockchains. For example, bitcoin networks and etherhouses are heterogeneous blockchains in the narrow sense.
The heterogeneous block chains in a broad sense mean that the types of the block chains and/or the adopted block chain protocols have obvious differences; that is, the type of blockchain and/or the blockchain protocol employed is significantly between two blockchains, which may also be generally referred to as heterogeneous blockchains. For example, ANT CHAIN blocks (ANT CHAIN) and superhedge fabric CHAIN blocks are generalized heterogeneous CHAIN blocks.
On each member blockchain in the blockchain service network, a plurality of user intelligent contracts can be deployed.
The contract execution logic expressed by the contract code in the user intelligent contracts may generally include a plurality of contract execution logics respectively corresponding to different basic service capabilities.
For example, in practical applications, the contract execution logic included in an intelligent contract may be generally in the form of a function, and one intelligent contract may include a plurality of functions respectively corresponding to different service functions.
The centralized management and control platform shown in fig. 1 may be specifically a service platform for performing centralized management on the blockchain service network. It should be noted that the hardware device bearing the centralized management and control platform may be a server, or may be a server cluster formed by a plurality of servers, and is not particularly limited in this specification.
The centralized management and control platform is used as a centralized service platform and can manage members of the block chain service network; for example, it may be responsible for registration of member blockchains in a blockchain services network into the network, for exiting the network, and so on.
In addition, the centralized management and control platform can be used for realizing cross-chain access among member block chains;
for example, in practical applications, on the centralized management and control platform, a cross-chain service component may be mounted, and the cross-chain service component is specifically used for implementing cross-chain data interaction between member blockchains. Each member blockchain added into the blockchain service network can realize cross-chain data access with other member blockchains through the cross-chain service component on the centralized control platform.
Or, in the process of performing centralized management on each member blockchain, the centralized management and control platform may also issue and deploy a system intelligent contract for implementing cross-chain data access to each member blockchain, so that each member blockchain network may implement cross-chain data access with other member blockchains based on the deployed system intelligent contract.
Furthermore, the centralized management and control platform can be used for performing member management on the blockchain service network, realizing cross-chain access among member blockchains, and supporting registration of user services generated by contract execution logic combination included in user intelligent contracts deployed on the member blockchains.
The user service specifically refers to a service with more complex service capability generated after the contract execution logic with basic service capability included in the user intelligent contracts on different member block chains is combined.
For example, in implementation, contract execution logic with basic service capability included in user intelligent contracts distributed on each member blockchain may be combined as basic service components to generate more complex user services, and then the user services may be registered as standardized services to a centralized management and control platform for a user to call. In an embodiment, the user service registered on the centralized management and control platform may specifically include a service generated by combining at least one contract execution logic included in a user intelligent contract deployed on each member block chain according to a logic order of service logics corresponding to the user service.
It should be noted that the service logic corresponding to the user service and the logic sequence of the service logic generally depend on the specific service registration requirement of the user, and in practical applications, the service logic can be customized by the user based on the actual requirement.
Further, in another illustrated embodiment, at least some of the contract execution logic that is combined to generate the user service may correspond to user intelligent contracts deployed on different member blockchains, respectively. That is, the user may combine contract execution logic included in user intelligent contracts distributed over different member blockchains to generate a user service.
Certainly, in practical applications, at least part of the contract execution logics in the contract execution logics for generating the user services in a combined manner may also be derived from contract execution logics included in a plurality of user intelligent contracts in the same member block chain; alternatively, the contract execution logic may be derived from a plurality of contract execution logics included in the same user intelligent contract in the same member block chain, and is not particularly limited in this specification.
In order to facilitate users of the service provider to freely combine contract execution logic contained in intelligent contracts of the users deployed on the member blockchains to generate user services with more complex service capabilities, the centralized platform can open access rights of the contract execution logic contained in the intelligent contracts of the users deployed on the member blockchains in the blockchain service network to the users of the service provider.
When the centralized platform opens the access right of the contract execution logic included in the user intelligent contract deployed on each member blockchain in the blockchain service network to the user of the service provider, in order to protect the data privacy security of each user intelligent contract deployed on each member blockchain to the maximum extent, the centralized platform may specifically selectively open only the access right of the contract execution logic included in the part of the user intelligent contract deployed on the member blockchain to the user of the service provider. And the contract execution logic with unopened access right cannot be used for combining and generating the user service.
In an embodiment shown, the centralized management and control platform may further support a contract execution logic included in a user intelligent contract deployed on each member blockchain, and the contract execution logic is registered on the centralized management and control platform. Accordingly, the user service registered on the centralized management and control platform may be a service generated by combining at least one contract execution logic registered on the centralized management and control platform.
For example, in one example, the centralized management and control platform may support registration of contract execution logic included in a user intelligent contract deployed on each member blockchain as a basic service component on the centralized management and control platform; wherein the basic service components are to be used as basic units for combining and generating the user service. The user service registered on the centralized management and control platform may be a service generated by combining at least one basic service component registered on the centralized management and control platform. And the deployer or manager of the user intelligent contract deployed on each member blockchain can send a basic component registration request to the centralized management and control platform, wherein the basic component registration request can include identification information (such as a function name) of target contract execution logic to be registered, which is included in the user intelligent contract. When receiving the basic component registration request, the centralized management and control platform may allocate a basic service component identifier to the deployer or the manager, and then bind the identifier information of the target contract execution logic to be registered, the address of the user intelligent contract containing the target contract execution logic, and the identifier information of the member block chain for deploying the user intelligent contract with the basic service component identifier to complete the registration of the basic service component.
In this case, the centralized management and control platform may only open the access right of the contract execution logic registered on the centralized management and control platform to the user of the service provider, so that the user of the service provider may freely combine at least one contract execution logic registered on the centralized management and control platform to define new user services. And the access right of the contract execution logic which is not registered in the centralized management and control platform can not be opened to the user of the service party. In this way, the data privacy of the user intelligent contracts on each member blockchain can be protected to the greatest extent, so that the service provider can only freely combine contract execution logics registered on the centralized management and control platform to define new user services, and cannot access contract intelligent logics with unopened access rights.
For example, in an example, the centralized management and control platform may output the registered contract execution logic to a user of the service provider through a visual interface, so as to open an access right of the contract execution logic that is registered on the centralized management and control platform to the user of the service provider, then may obtain at least one contract execution logic that is selected by the user of the service provider in the visual interface, and then combine at least one contract execution logic that is selected by the user of the service provider in the visual interface according to a logic sequence of service logics corresponding to user services that the user of the service provider needs to register.
Due to contract execution logic included in user intelligent contracts deployed on various member blockchains, privacy of the user or other contract execution logic that is not conveniently open may be involved; therefore, by means of the method, a deployer or a manager of the user intelligent contract deployed on each member blockchain can selectively register only part of contract execution logic contained in the user intelligent contract on the centralized management and control platform, and only the access right of the contract execution logic registered on the centralized management and control platform is opened to the user of the service provider, so that the data privacy security of the user intelligent contract deployed on each member blockchain can be guaranteed to the greatest extent.
Certainly, in practical application, the centralized management and control platform may specifically select to open access permissions of contract execution logic included in all user intelligent contracts deployed on the member blockchain to users of the service provider.
In this case, the centralized management and control platform may no longer support the contract execution logic included in the user intelligent contract deployed on each member blockchain, and perform registration on the centralized management and control platform. After each member block chain joins the block chain service network, the centralized control platform can actively scan and analyze the block chain data of each member block chain to acquire the deployment condition of the user intelligent contract on each member block chain; for example, the user intelligent contracts deployed on the member blockchains and the contract execution logic included in the user intelligent contracts are acquired through a block scanning and analyzing mode. And then, opening the access authority of contract execution logic contained in all the user intelligent contracts deployed on the scanned and analyzed member blockchains to the user of the service provider.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for building a blockchain service network according to an exemplary embodiment of the present disclosure, where the method is applied to the centralized management and control platform shown in fig. 1; the method comprises the following steps:
step 201: receiving a registration request corresponding to a target block chain;
the target blockchain refers to a blockchain which needs to be added into the blockchain service network but is not completely added into the registration. The target blockchain can be registered to become a member blockchain of the blockchain service network by means of registering interaction with a centralized control platform of the blockchain service network and sending a registration request to the centralized control platform.
The registration request may be specifically initiated by a user having a registration authority of the target block chain through a user account registered on the centralized management and control platform;
for example, in practical applications, the user having the registration authority of the target block chain, the user account registered on the centralized management and control platform may specifically include a system administrator account in the centralized management and control platform, an administrator account registered on the centralized management and control platform by an administrator of the target block chain, a user account registered on the centralized management and control platform by a deployer user of a user intelligent contract in the target block chain, and the like. It should be noted that the user account issuing the registration request specifically refers to a centralized account registered in the centralized management and control platform, and not to a blockchain account registered in each member blockchain.
Wherein, in the registration request, some basic registration information related to the target block chain to be registered may be included. The basic registration information may specifically include access address information of the target block chain, and block chain configuration information related to the target block chain, and the like.
Of course, in practical applications, in the above registration request, besides some basic registration information related to the above target block chain to be registered, other forms of registration information may be included, and are not particularly limited in this specification. The access address information of the target block chain is specifically used for establishing network connection with a centralized management and control platform; in practical application, the access address information may specifically include domain name information or IP address information corresponding to one or more node devices in the target block chain, so that the centralized management and control platform may establish communication connection with the one or more node devices in the target block chain based on the domain name information or the IP address information.
The block chain configuration information may specifically include any form of information that can be used to indicate the basic configuration of the target block chain; for example, the block chain configuration information may specifically include block chain type information corresponding to the target block chain, protocol type information of a block chain protocol used by the target block chain, and algorithm type information of a consensus algorithm used by the target block chain, and the like.
For example, in one example, the registration request may be expressed in the following data format:
{chain001.io;Common chain;Polkadot ;…}
in the data format shown above, the domain name information of the target block chain is "chain 001. io", the block chain type is "Common chain", and the adopted block chain protocol is "Polkadot". Of course, in practical applications, the data format shown above may also include other forms of data content, which are not listed in this specification.
Step 202: responding to the registration request, and performing registration processing aiming at the target block chain so as to join the target block chain as a member block chain into the block chain service network; the registration processing comprises the step of creating a blockchain account corresponding to the centralized management and control platform in the target blockchain, wherein the blockchain account is used for initiating contract calling aiming at a target user intelligent contract deployed on the target blockchain when a service user calls a target user service registered on the centralized management and control platform; wherein the user service comprises contract execution logic of a target user intelligence contract deployed by the target blockchain.
When receiving a registration request corresponding to a target block chain, the centralized management and control platform may respond to the registration request and perform validity check on the registration request; for example, the validity check of the registration request may specifically include checking whether an initiator of the registration request has a corresponding registration right; and whether the data format in the registration request meets preset rules or format requirements, and the like.
After the centralized management and control platform completes the validity check on the registration request, if the registration request passes the validity check, the centralized management and control platform may further perform registration processing on the target block chain based on the data content carried in the registration request, so as to add the target block chain as a member block chain to the block chain service network.
The registration processing performed by the centralized management and control platform on the target blockchain may specifically include creating a blockchain account corresponding to the centralized management and control platform in the target blockchain.
For example, in implementation, a public-private key pair may be applied to the centralized management and control platform in the target block chain, the private key is held by a management user of the centralized management and control platform, a corresponding account address is generated by calculation based on the public key (for example, the account address may be a hash value calculated by the public key), and then a block chain account corresponding to the account address is created in the target block chain.
It should be noted that, in a blockchain adopting an account model, the types of accounts supported by the blockchain generally include an external account and a contract account. An external account is an account directly controlled by the user, also referred to as a user account. And the contract account is created by the user through an external account, the account containing the contract code (i.e. the smart contract). The creation of the blockchain account corresponding to the centralized management and control platform in the target blockchain described above may be specifically an external account. After the corresponding blockchain account is created for the centralized management and control platform in the target blockchain, the centralized management and control platform obtains the legal user identity in the target blockchain, so that the centralized management and control platform can initiate a contract call for the user intelligent contract deployed in the target blockchain based on the external account.
The registration process performed by the centralized management and control platform on the target blockchain may include other forms of registration process procedures related to the registration process of the target blockchain, besides creating a blockchain account corresponding to the centralized management and control platform in the target blockchain.
For example, in an illustrated embodiment, the registration processing performed on the target blockchain by the centralized management and control platform may specifically further include deploying at least one system intelligence contract in the target blockchain; the at least one system intelligent contract may specifically include a target system intelligent contract for performing cross-chain communication with other member blockchains.
Of course, in addition to the target system intelligence contracts for cross-chain communication with other member blockchains, system intelligence contracts for implementing other underlying management functions may be included; for example, the at least one system intelligent contract may further include an intelligent contract for performing service management on the target block chain, an intelligent contract for performing service incentive on a user service registered on the centralized management and control platform or a user related to the service solution, and the like, which are not listed in this specification.
The process of registering the target blockchain is described in detail below by a specific embodiment.
Referring to fig. 3, fig. 3 is a flowchart illustrating a process of registering a target blockchain according to the present disclosure, which includes the following steps:
step 301, a registration request corresponding to a target block chain is initiated by a registration direction centralized platform;
after receiving the registration request, the centralized management and control platform may respond to the registration request and start to perform registration processing on the target block chain. In this embodiment, the registration process performed on the target block chain may include the following registration process flow shown in step 302 to step 306.
Step 302, saving the block chain configuration information of the target block chain;
step 303, establishing communication connection with at least part of node devices in the target block chain based on the access address information of the target block chain;
as mentioned above, some block chain configuration information related to the target block chain may be included in the registration request; for example, the block chain configuration information may include access address information of the target block chain, configuration information related to the target block chain, and the like. After receiving the registration request, the centralized management and control platform may acquire the block chain configuration information carried in the registration request, and then perform a subsequent registration processing procedure for the target block chain based on the acquired block chain configuration information.
After receiving the registration request, the centralized management and control platform may store the configuration information of the blockchain related to the target blockchain, which is read from the registration request, as the configuration information of the member blockchain in a local database.
For example, in implementation, the centralized management and control platform may maintain an information base for storing the blockchain configuration information related to each member blockchain in the blockchain service network, and the centralized management and control platform may read the blockchain configuration information related to the target blockchain from the registration request, and store the read blockchain configuration information as the blockchain configuration information of the member blockchain into the information base.
After the centralized management and control platform stores the configuration information of the blockchain related to the target blockchain as the configuration information of the member blockchain in a local database, the centralized management and control platform can further establish communication connection with at least part of node equipment in the target blockchain based on the access address information of the target blockchain read from the registration request.
For example, as described above, the access address information may specifically include domain name information or IP address information corresponding to one or more node devices in the target block chain, and the centralized management and control platform may establish a communication connection with one or more node devices in the target block chain based on the domain name information or the IP address information. In implementation, the centralized management and control platform may establish communication connection with all node devices in the target blockchain, or may establish communication connection with only some key node devices in the target blockchain (for example, all nodes storing a complete blockchain ledger).
Step 304, obtaining the blockchain data related to the target blockchain from the node device in the target blockchain based on the communication connection.
After establishing a communication connection with at least part of the node devices in the target blockchain, the centralized management and control platform may continue to acquire blockchain data related to the target blockchain from the node devices in the target blockchain based on the communication connection.
The block chain data related to the target block chain acquired from the node device in the target block chain may specifically include any form of data related to the target block chain, and is not particularly limited in this specification;
for example, in an example, the blockchain data related to the target blockchain acquired from the node device in the target blockchain may specifically include a complete blockchain ledger of the target blockchain, authentication root data corresponding to the blockchain ledger of the target blockchain, and public key data of each node device in the target blockchain, and the like.
In the field of blockchain, the authentication root data corresponding to the blockchain account may generally include created block data in the blockchain account, block header data of each block, and the like, and may be data used for authenticating data stored in the blockchain account.
After acquiring the blockchain data related to the target blockchain from the node device in the target blockchain, the centralized management and control platform may store the acquired blockchain data in the database.
For example, as described above, the centralized management and control platform may maintain an information base for storing the blockchain configuration information related to each member blockchain in the blockchain service network, and the centralized management and control platform may read the blockchain configuration information related to the target blockchain from the registration request, and store the read blockchain configuration information as the blockchain configuration information of the member blockchain into the information base. After acquiring the blockchain data related to the target blockchain from the node device in the target blockchain, the centralized management and control platform may also perform associated storage on the acquired blockchain data and the blockchain configuration information related to the target blockchain in the information base.
And 305, creating a blockchain account corresponding to the centralized management and control platform on the target blockchain.
After the centralized control platform acquires the blockchain data related to the target blockchain from the node device in the target blockchain based on the communication connection, the centralized control platform may also continue to create a corresponding blockchain account for the centralized control platform on the target blockchain. The specific process of creating the above blockchain account is not described in detail.
After a corresponding blockchain account is created for the centralized management and control platform on the target blockchain, at this time, the centralized management and control platform has obtained a legal user identity in the target blockchain and has the capability of invoking a user intelligent contract deployed on the target blockchain, and a subsequent centralized management and control platform may initiate a contract invocation for the user intelligent contract deployed on the target blockchain based on the blockchain account.
In the centralized management and control platform, a list of blockchain accounts may be maintained. The blockchain account list may specifically include blockchain accounts corresponding to the centralized management and control platform created on each member blockchain. After a corresponding blockchain account is created for the centralized management and control platform on the target blockchain, the blockchain account may be added to the blockchain account list for maintenance.
It should be noted that the blockchain accounts corresponding to the centralized management and control platform created on each member blockchain may be specifically the same or different. For example, in one example, in order to facilitate account management, the blockchain accounts corresponding to the centralized management and control platform created on each member blockchain may be the same preset blockchain account by default. For example, in implementation, each member blockchain may reserve a certain fixed blockchain account in advance, and the certain fixed blockchain account is used as a blockchain account corresponding to the centralized management and control platform.
Step 306, deploying at least one system intelligent contract in the target block chain; wherein the at least one system intelligence contract comprises a target system intelligence contract for cross-chain communication with other member blockchains.
After a corresponding blockchain account is created for the centralized management and control platform on the target blockchain, the centralized management and control platform may further continue to deploy at least one system intelligence contract in the target blockchain. The at least one system intelligence contract may specifically include a target system intelligence contract for cross-chain communication with other member blockchains.
The at least one system intelligent contract may include, in addition to a target system intelligent contract for performing cross-link communication with other member blockchains, a system intelligent contract for performing network administration on a target blockchain network, a system intelligent contract for performing service incentive on a user related to a user service registered on a centralized management and control platform, and the like, which are not particularly limited in this specification.
It should be noted that the system intelligent contract and the user intelligent contract deployed on the target blockchain are two completely different types of intelligent contracts.
The system intelligent contract comprises contract execution logic, which is usually execution logic related to some management functions on a centralized management and control platform. For example, the contract execution logic included in the system intelligent contract for network administration as described above may be the execution logic related to the function of the centralized management and control platform for network administration on the block chain service network; accordingly, the contract execution logic included in the system intelligent contract for service incentive of the user related to the user service registered on the centralized management and control platform may be the execution logic related to the function of service incentive of the user related to the registered user service by the centralized management and control platform. The user intelligent contract includes contract execution logic, which is usually related to user service logic defined by the user on the member block chain.
By deploying at least one system intelligent contract on the target blockchain, on the basis that the centralized management and control platform already has the capability of calling the user intelligent contract deployed on the target blockchain, the user on the target blockchain can also complete some operations related to the management function on the centralized management and control platform on the target blockchain by calling the system intelligent contract deployed on the target blockchain.
Step 307, a successful registration message corresponding to the target block chain is returned to the registrar.
After the centralized management and control platform performs the registration processing procedures shown in steps 302 to 306 for the target block chain, the target block chain is used as a member block chain and successfully joins the member block chain to the block chain service network.
In this case, the centralized management and control platform returns a successful registration message corresponding to the target block chain to the registrar, so as to notify the registrar that the target block chain has been used as a member block chain and successfully joined to the block chain service network.
It should be noted that, in the above embodiment, the sequence of each registration processing flow shown in steps 302 to 306 is only illustrative, and is not particularly limited in this specification. It is understood that, in practical applications, the sequence of the registration processing flows shown in steps 302 to 306 in the above embodiments may be flexibly adjusted and interchanged based on actual registration requirements.
In this specification, after a target blockchain is added to the blockchain service network as a member blockchain, a user of a subsequent service provider may combine, according to a requirement of the user, a contract execution logic included in a target intelligent contract deployed on the target blockchain with a contract execution logic included in a user intelligent contract deployed on another member blockchain to generate a target user service, and then register the target user service to the centralized management and control platform.
It can be understood that the contract execution logic for generating the target user service in combination will include the contract execution logic included in the target user intelligent contract deployed on the target blockchain.
When a service user needs to invoke the target user service registered on the centralized control platform, a contract invocation aiming at the target user contract deployed on the target blockchain can be initiated by the blockchain identity represented by the blockchain account based on the blockchain account corresponding to the centralized control platform established in the target blockchain.
After the target user service is registered on the centralized management and control platform, the centralized management and control platform may specifically deploy the target user service as a standardized service so as to be opened to a service user for calling.
It should be noted that, when the centralized management and control platform deploys the target user service after the registration is completed, a distributed deployment manner may be specifically adopted, and a centralized deployment manner may also be adopted.
In an illustrated embodiment, when the centralized management and control platform deploys the target user service, the user service may be deployed in a distributed manner on each member block chain in a form of a system intelligent contract, so as to be invoked by a service user.
Because the contract invoking logic constituting the target user service may include contract execution logic included in a plurality of user intelligent contracts distributed on a plurality of member block chains, a user may also need to invoke the plurality of user intelligent contracts distributed on the plurality of member block chains across chains when invoking the target user service; therefore, when the centralized management and control platform deploys the user service registered on the centralized management and control platform, the centralized management and control platform may specifically develop a corresponding cross-chain call logic for the user service, and then deploy the cross-chain call logic as a contract execution logic of a system intelligent contract on each member block chain.
For example, as mentioned above, the system intelligence contract includes contract execution logic, which is typically execution logic associated with some management functions on a centralized management platform. Therefore, in this way, corresponding cross-chain call logic is developed for the user service, and is also deployed on each member block chain in the form of a system intelligence contract as a part of some management function related execution logic on the centralized management and control platform.
In an embodiment, the target system intelligent contract for cross-chain communication may include cross-chain call logic corresponding to the target user service.
The cross-chain call logic may be specifically configured to: determining each user intelligent contract corresponding to each contract execution logic of the target user service, deploying each member block chain of each user intelligent contract, and respectively initiating cross-chain calling aiming at each user intelligent contract according to the logic sequence of the service logic corresponding to the target user service based on the block chain account corresponding to the centralized control platform and established in each member block chain.
In this way, the service user can initiate a call to the target user service registered on the centralized management and control platform by calling the cross-chain call logic included in the target system intelligent contract. In an embodiment, in the target system intelligent contract, service configuration information corresponding to the target user service and a blockchain account list created on each member blockchain for the centralized platform may also be maintained.
For example, in implementation, service configuration information corresponding to the target user service and a blockchain account list created for the centralized platform on each member blockchain may be specifically stored in an account storage space of the target system intelligent contract; for example, the service configuration information and the blockchain account list may be specifically organized in a key-value key value pair form, and configured as a Merkle tree stored in a storage medium carried by a node device in each member blockchain; and storing the root hash of the Merkle tree into an account structure body of the contract account corresponding to the target system intelligent contract.
The service configuration information may specifically include: and combining and generating corresponding relations among identification information (such as function names) of each contract execution logic served by the target user, contract addresses of each user intelligent contract containing each contract execution logic, and block chain identifications of each member block chain for deploying each user intelligent contract.
In this case, the cross-chain call logic may specifically be composed of the following execution logic:
and query logic, configured to query the correspondence in the service configuration information corresponding to the target user service maintained in the target system intelligent contract, so as to determine each contract execution logic that combines and generates the target user service, each user intelligent contract that includes each contract execution logic, and each member block chain that deploys each user intelligent contract. And after determining that each member blockchain of each user intelligent contract is deployed, further querying the blockchain account list maintained in the target system intelligent contract to determine blockchain accounts corresponding to the centralized platform and created on each member blockchain.
And the cross-chain logic is used for respectively initiating cross-chain calling aiming at each user intelligent contract according to the logic sequence of the service logic corresponding to the target user service, wherein the cross-chain logic is determined based on the query logic and comprises each user intelligent contract of each contract execution logic, each member block chain for deploying each user intelligent contract, the block chain account and the like which are established on each member block chain and correspond to the centralized platform. The details of implementing the user intelligent contracts deployed on the other member blockchains are called across the chains, and are not detailed in this specification, and those skilled in the art may refer to the description in the related art.
In an embodiment, the service configuration information may further include: and generating a calling sequence determined by each contract execution logic of the target user service for combination based on the logic sequence of the service logic corresponding to the target user service.
In this case, when the cross-link logic included in the target system intelligent contract is called and the cross-link call to the user intelligent contract is respectively initiated according to the logic sequence of the service logic corresponding to the target user service, the call sequence included in the service configuration information may be specifically read, and then the cross-link call to the user intelligent contract is respectively initiated according to the read call sequence.
Of course, in practical applications, the logic sequence of the service logic corresponding to the target user service may be maintained not in the target system intelligent contract as a part of the service configuration information, but on the centralized management and control platform.
In this case, when the cross-chain logic included in the target system intelligent contract is called and the cross-chain call to the user intelligent contracts is respectively initiated according to the logic sequence of the service logic corresponding to the target user service, the off-chain interaction may be specifically performed with the centralized management and control platform, the logic sequence of the service logic corresponding to the target user service is read from the centralized management and control platform, and then the cross-chain call to the user intelligent contracts is initiated according to the read call sequence.
For example, when the target system intelligent contract is implemented, the target system intelligent contract may specifically perform out-of-link interaction with the centralized management and control platform through an oracle preplan program, and read a logic sequence of service logic corresponding to the target user service from the centralized management and control platform. The specific implementation details of the target system intelligent contract performing the out-of-link interaction with the centralized management and control platform through the oracle.
In an embodiment shown in the present disclosure, after the centralized management and control platform deploys a target system intelligent contract for performing cross-chain communication on each member blockchain, when a user of a subsequent service provider registers a new user service on the centralized management and control platform, the centralized management and control platform may further store service configuration information corresponding to the newly registered user service to the target system intelligent contract, so as to update service configuration information maintained in the target system intelligent contract.
In an illustrated embodiment, after the centralized management and control platform deploys a target system intelligent contract for performing cross-chain communication on each member blockchain, if a new member blockchain is added to the blockchain service network subsequently, the centralized management and control platform may also store a blockchain account, which is created on the new member blockchain and corresponds to the centralized management and control platform, in the target system intelligent contract, so as to update a blockchain account list maintained in the target system intelligent contract.
It should be noted that, in practical application, the centralized management and control platform described above updates the service configuration information and the blockchain account list maintained in the target system intelligent contract, specifically, a real-time update mode may be adopted, and an offline update mode may also be adopted.
On one hand, if a real-time updating manner is adopted, when a new user service is registered on the centralized management and control platform, the centralized management and control platform can immediately store the service configuration information corresponding to the newly registered user service to the target system intelligent contract so as to update the service configuration information maintained in the target system intelligent contract.
Correspondingly, when the new member blockchain is added to the blockchain service network, the centralized management and control platform may also immediately store the blockchain account corresponding to the centralized management and control platform, which is created on the new member blockchain, to the target system intelligent contract, so as to update the blockchain account list maintained in the target system intelligent contract.
On the other hand, if an offline updating mode is adopted, the service configuration information and the blockchain account list maintained in the target system intelligent contract can be triggered to be updated each time the target system intelligent contract is called.
In this case, each time a new user service is registered on the centralized management and control platform, the centralized management and control platform may cache service configuration information corresponding to the newly registered user service. When the target system intelligent contract is called, the cached service configuration information is stored in the target system intelligent contract so as to update the service configuration information maintained in the target system intelligent contract. Correspondingly, when the new member blockchain is added to the blockchain service network, the centralized management and control platform may cache the blockchain account corresponding to the centralized management and control platform and created on the new member blockchain. When the target system intelligent contract is called, the cached block chain account is stored in the target system intelligent contract so as to update a block chain account list maintained in the target system intelligent contract.
For example, in implementation, an execution logic for data synchronization may be introduced into the target system intelligent contract, so that the execution logic for data synchronization may be run first when the target system intelligent contract is called each time, perform data synchronization between the service configuration information and the blockchain account list with the centralized management and control platform, update the service configuration information and the blockchain account list maintained in the target system intelligent contract based on the service configuration information and the blockchain account cached by the centralized management and control platform, and then continue to execute the called contract execution logic.
In an embodiment shown in the present invention, when the centralized management and control platform deploys the target user service, the centralized management and control platform may also centrally deploy the user service on the centralized management and control platform in a form of a service interface, so as to be called by a service user.
The service interface may include a calling method related to the target user service (for example, the calling method may specifically be in the form of an interface function), and the calling logic corresponding to the calling methods may specifically include: determining each user intelligent contract corresponding to each contract execution logic of the target user service, deploying each member block chain of each user intelligent contract, and respectively initiating cross-chain calling aiming at each user intelligent contract according to the logic sequence of the service logic corresponding to the target user service based on the block chain account corresponding to the centralized control platform and established in each member block chain.
In this case, when a service user needs to invoke the target user service registered on the centralized management and control platform, a call request for the service interface may be initiated to invoke the target user service.
And after receiving a call request for the service interface, the centralized management and control platform may respond to the call request, execute the call method included in the service interface, determine to combine and generate each user intelligent contract corresponding to each contract execution logic of the target user service, deploy each member block chain of each user intelligent contract, respectively initiate a cross-chain call for each user intelligent contract according to a logic sequence of the service logic corresponding to the target user service based on a block chain account corresponding to the centralized management and control platform and created in each member block chain, then summarize a call result of the cross-chain call for each user intelligent contract, and return the call result to the service user.
For example, in an example, the service configuration information corresponding to the target user service and the blockchain account list created for the centralized platform on each member blockchain described in the above embodiment may be specifically maintained on the centralized management and control platform; for example, in practical applications, the service configuration information and the blockchain account list may be written into the service interface as a form of a call parameter related to the service interface.
Correspondingly, the invoking logic corresponding to the invoking method related to the target user service included in the service interface may specifically include:
and query logic, configured to query the corresponding relationship in the service configuration information, so as to determine each contract execution logic that is combined to generate the target user service, each user intelligent contract that includes each contract execution logic, and each member block chain that deploys each user intelligent contract. And after determining that each member blockchain of each user intelligent contract is deployed, further querying the blockchain account list to determine blockchain accounts which are created on each member blockchain and correspond to the centralized platform.
And the cross-chain logic is used for respectively initiating cross-chain calling aiming at the intelligent contracts of the users according to the logic sequence of the service logic corresponding to the target user service according to the block chain account which is created on each member block chain and corresponds to the centralized platform, and inquired by the inquiry logic.
In another example, the service configuration information maintained by the centralized management and control platform may further include: and generating a calling sequence determined by each contract execution logic of the target user service for combination based on the logic sequence of the service logic corresponding to the target user service.
In this case, when the cross-link logic respectively initiates a cross-link call to the intelligent contracts of the users according to the logic sequence of the service logic corresponding to the service of the target user, the cross-link logic may specifically read the call sequence from the service configuration information, and then respectively initiate a cross-link call to the intelligent contracts of the users according to the read call sequence.
Referring to fig. 4, fig. 4 is a flowchart illustrating a service registration method for registering a user service on a centralized management and control platform according to an exemplary embodiment, where the method is applied to the centralized management and control platform shown in fig. 1; the method comprises the following steps:
the service provider may be specifically a user having a service requirement for registering a user service in the centralized control level. The user of the service provider can combine contract execution logics contained in user intelligent contracts deployed on each member block chain according to the service requirement of the user, generate user service, and then register the user service to the centralized management and control platform.
It should be noted that the user of the service provider may be specifically a user who registers a blockchain account in any member blockchain on the blockchain service network. That is, the user of the service provider may be a user member belonging to a member blockchain in the blockchain service network.
In this case, the user of the service provider may combine, according to the service requirement of the user, the contract execution logic included in the intelligent contract deployed on the member blockchain with the contract execution logic included in the user intelligent contract deployed on other member blockchains to generate a user service, and then register the user service to the centralized management and control platform.
Certainly, in an actual application, the user of the service provider may specifically be a user who has not registered a blockchain account on each member blockchain in the blockchain service network, but a user who has registered a user account on the centralized management and control platform; that is, the user of the service provider is a user member who is not affiliated to any member blockchain in the blockchain service network, but is affiliated to the centralized management and control platform. For example, the user of the service provider may specifically be a platform administrator who registers an administrator account on the centralized management and control platform.
In this case, the user of the service provider may freely combine contract execution logic included in the user intelligent contracts deployed on each member blockchain according to the service requirement of the user based on the global knowledge of the user about the deployment situation of the user intelligent contracts on each member blockchain, generate a user service, and then register the user service to the centralized management and control platform.
When the user of the service provider registers the user service with the centralized management and control platform, the registration may be specifically completed through a user client interfacing with the centralized management and control platform. The user of the service provider can initiate a service registration request to the centralized management and control platform by executing a service registration operation on the user client, so that the centralized management and control platform can respond to the service registration request and register user services on the centralized management and control platform.
when receiving a user service registration request initiated by a user of the service provider, the centralized management and control platform may respond to the user service registration request to determine a contract execution logic set for implementing a service function corresponding to a user service that the user of the service provider needs to register; wherein the set of contract execution logic includes contract execution logic included in a user intelligent contract deployed on each member blockchain.
For example, as previously described, at least some of the contract execution logic that is combined to generate the user services described above may correspond to user intelligent contracts deployed on different member blockchains, respectively. In this case, at least a portion of the contract execution logic in the set of contract execution logic may be contract execution logic included in a user-intelligent contract from a different member blockchain. Certainly, in practical applications, at least part of the contract execution logics in the contract execution logics for generating the user services in a combined manner may also be the contract execution logics included in a plurality of user intelligent contracts in the same member block chain; alternatively, it may be derived from multiple contract execution logic contained by the same user intelligent contract in the same member blockchain. In this case, at least part of the contract execution logic in the contract execution logic set may also be the contract execution logic contained in a plurality of user intelligent contracts in the same member block chain; alternatively, the contract execution logic may be derived from a plurality of contract execution logics included in the same user intelligent contract in the same member block chain, and is not particularly limited in this specification.
In one embodiment shown, the centralized management and control platform can support the contract execution logic contained in the user intelligent contracts deployed on each member blockchain, and the contract execution logic is registered on the centralized management and control platform. Accordingly, the user service registered on the centralized management and control platform may be a service generated by combining at least one contract execution logic registered on the centralized management and control platform.
In this case, when the centralized management and control platform responds to the user service registration request to determine a contract execution logic set for implementing a service function corresponding to a user service that needs to be registered by the user of the service provider, a contract execution logic set for implementing a service function corresponding to the user service may be specifically determined from already registered contract execution logics on the centralized management and control platform.
In an illustrated embodiment, the centralized management and control platform may output the registered contract execution logic to the user of the service provider through the visual interface on the merchant user client, so as to open the access right of the contract execution logic which completes registration on the centralized management and control platform to the user of the service provider.
And a user of the service provider may select at least one registered contract execution logic from the visual interface based on a service requirement of the user, carry identification information (such as a function name) corresponding to the selected contract execution logic in the user service registration request, and send the service registration request to the centralized management and control platform.
In this case, when determining, in response to the user service registration request, a contract execution logic set for implementing a service function corresponding to the user service from the already registered contract execution logics on the centralized management and control platform, the centralized management and control platform may specifically acquire the identification information carried in the user service registration request, and then determine at least one contract execution logic corresponding to the identification information in the already registered contract execution logics as a contract execution logic set for implementing the service function corresponding to the user service.
In another embodiment, the user of the service provider may define service logic for the user service that needs to be registered based on the service requirement of the user. The user service registration request may also carry, instead of the identification information corresponding to the contract execution logic selected from the visual interface and registered at least one, description information related to the service logic defined by the user of the service provider for the user service. For example, the description information may specifically be a function description related to a user service that the user needs to register.
In this case, when the centralized management and control platform determines, in response to the user service registration request, a contract execution logic set for implementing a service function corresponding to the user service from among contract execution logics already registered on the centralized management and control platform, the registered contract execution logics may be specifically matched with the service logics indicated by the description information, respectively; and then according to the matching result, determining at least one contract execution logic matched with the service logic indicated by the description information in the registered contract execution logics as a contract execution logic set for realizing the service function corresponding to the user service.
By the method, a user of a service provider can only submit description information related to service logic corresponding to user service to be registered to the centralized management and control platform on the premise of not knowing service logic corresponding to each registered contract execution logic, and the centralized management and control platform can search a contract execution logic set capable of generating the user service in a combined manner from the registered contract execution logic in a logic matching manner, so that users who have little knowledge on the service logic of each registered contract execution logic can autonomously register new user service on the centralized management and control platform based on self service requirements, and convenience in registering the user service on the centralized management and control platform can be improved,
and 403, combining the contract execution logics in the contract execution logic set to generate the user service so as to complete service registration of the user service.
After the centralized management and control platform determines a contract execution logic set for implementing a service function corresponding to the user service from the registered contract execution logics on the centralized management and control platform, the contract execution logics in the contract execution logic set may be combined to generate the user service, so as to complete service registration of the user service.
In an embodiment shown in the present disclosure, the centralized management and control platform may allocate a service identifier to a user of the service provider, combine the contract execution logics in the contract execution logic set to generate a contract execution logic combination, and then bind the contract execution logic combination and the service identifier to complete service registration for the user service.
For example, in implementation, the contract execution logic in the contract execution logic set may be combined with the service logic defined by the user of the service provider for the user service in a logic order to obtain a contract execution logic combination, and then the contract execution logic combination is bound to the service identifier to complete service registration for the user service.
In an embodiment shown, after the service registration of the user service is completed, the centralized management and control platform may generate corresponding service configuration information for the user service whose registration is completed, and locally store the service configuration information generated for the user service.
For example, in implementation, on the centralized management and control platform, an information base for storing service configuration information corresponding to a registered user service may be specifically maintained, and after a new user service is registered, the service configuration information generated for the new user service may be stored in the information base in association with a service identifier allocated to the new user service.
Specific contents of the service configuration information are not particularly limited in this specification; for example, it may include: and combining and generating identification information of each contract execution logic of the user service, a contract address of each user intelligent contract containing each contract execution logic, and a corresponding relation between block chain identifications of each member block chain for deploying each user intelligent contract, and the like.
In this specification, the centralized management and control platform may support, in addition to registering a user service generated by executing a logical combination of contracts included in a user intelligent contract deployed on each member blockchain, in an actual application, generating a service solution by combining at least one user service that has been registered.
Referring to fig. 5, fig. 5 is a flowchart illustrating a service registration method for registering a service solution on a centralized management and control platform according to an exemplary embodiment, where the method may also be applied to the centralized management and control platform shown in fig. 1; the method comprises the following steps:
the service solution is specifically a solution in which service capabilities generated after at least one user service registered on the centralized management and control platform is combined are more complex.
When the user of the service provider registers the user service with the centralized management and control platform, the registration may be specifically completed through a user client interfacing with the centralized management and control platform. The user of the service provider may initiate a solution registration request to the centralized management and control platform by performing a service registration operation on the user client, so that the centralized management and control platform may respond to the solution registration request to register a service solution on the centralized management and control platform.
when receiving a solution registration request initiated by a user of the service provider, the centralized management and control platform may respond to the solution registration request to determine a user service set for implementing a service function corresponding to a service solution that the user of the service provider needs to register.
In one embodiment, the centralized management and control platform may output the registered user services to a user of the service provider through a visual interface, so that the user of the service provider selects at least one user service in the visual interface for generating the service solution in combination. Accordingly, the solution registration request may carry identification information corresponding to the at least one user service selected by the user of the service provider, and when the centralized management and control platform responds to the solution registration request and determines a user service set for implementing a service function corresponding to the service solution from the registered user services on the centralized management and control platform, the centralized management and control platform may specifically obtain the identification information carried in the solution registration request, and then determine at least one user service corresponding to the identification information in the registered user services as the user service set for implementing the service function corresponding to the service solution.
In another embodiment, the user of the service provider may also define a service logic for the service solution to be registered based on the service requirement of the user. However, in the solution registration request, the identification information corresponding to the at least one registered user service selected from the visual interface may not be carried, but the description information related to the service logic defined by the user of the service provider for the service solution may be carried. For example, the description information may specifically be a function description related to a service solution for which the user needs to register
In this case, when the centralized management and control platform determines, in response to the solution registration request, a user service set for implementing a service function corresponding to the service solution from among the user services already registered on the centralized management and control platform, the service logics corresponding to the registered user services may be specifically matched with the service logics indicated by the description information, respectively; and then according to the matching result, determining at least one user service which is matched with the service logic indicated by the description information in the registered user services as a user service set for realizing the service function corresponding to the service solution.
After the centralized management and control platform determines a user service set for implementing a service function corresponding to the service solution from the registered user services on the centralized management and control platform, the user services in the user service set may be combined to generate the service solution, so as to complete registration of the service solution.
In an embodiment shown in the present disclosure, the centralized management and control platform may allocate a scheme identifier to a user of the service provider, combine user services in the user service set to generate a user service combination, and then bind the user service combination and the scheme identifier to complete service registration for the service solution.
For example, in implementation, the user services in the user service set may be combined with the service logic defined by the user of the service provider for the service solution in a logic order to obtain a user service combination, and then the user service combination is bound to the solution identifier to complete registration of the service solution.
In an illustrated embodiment, after the service registration of the service solution is completed, the centralized management and control platform may generate corresponding service configuration information for the service solution whose registration is completed, and locally store the service configuration information generated for the service solution.
For example, in implementation, on the centralized management and control platform, an information base for storing service configuration information corresponding to a registered service solution may be specifically maintained, and after a new service solution is registered, the service configuration information generated for the new service solution may be stored in the information base in association with a service identifier allocated to the new service solution.
Specific contents of the service configuration information are not particularly limited in this specification; for example, it may include: the service identification of each user service which is combined to generate the service solution, the identification information of each contract execution logic which is combined to generate each user service, the contract address of each user intelligent contract which comprises each contract execution logic, and the corresponding relation between the block chain identifications of each member block chain which is used for deploying each user intelligent contract, and the like.
In this specification, when a user of a service provider registers a user service in the centralized management and control platform, the centralized management and control platform may specifically perform service deployment on the user service that has been registered as a standardized service, so as to open the service provider for calling.
When the registered user service is deployed, the centralized management and control platform may be centrally deployed on the centralized management and control platform in the form of a service interface, or may be distributed on each member block chain in the form of a system intelligent contract.
Referring to fig. 6, fig. 6 is a flowchart illustrating a service usage method for a user service registered on a centralized management and control platform according to an exemplary embodiment, where the method may also be applied to the centralized management and control platform shown in fig. 1; the centralized management and control platform is provided with a service interface corresponding to the registered user service; the method comprises the following steps:
601, obtaining a call request aiming at the service interface and initiated by a service user;
the user service registered and completed on the centralized management and control platform may be specifically deployed on the centralized management and control platform in a form of a service interface. And the service user with the user service calling requirement can call the user service which is centrally deployed on the centralized management and control platform by initiating a calling request aiming at the service interface.
The service user may specifically be a user having the call requirement of the user service, or may be a business system having the call requirement of the user service, and is not particularly limited in this specification.
Wherein, the service interface may specifically include a calling method related to the user service; for example, in practical applications, the calling method included in the service interface may specifically be in the form of an interface function. The calling logic corresponding to the calling methods may specifically include: determining each user intelligent contract corresponding to each contract execution logic of the combined generated user service, deploying each member block chain of each user intelligent contract, and respectively initiating cross-chain calling aiming at each user intelligent contract based on a block chain account which is created in each member block chain and corresponds to a centralized control platform.
After receiving a call request of a user of the service user for the service interface, the centralized management and control platform may respond to the call request, execute the call method included in the service interface, determine to combine and generate each user intelligent contract corresponding to each contract execution logic of the user service, deploy each member block chain of each user intelligent contract, and respectively initiate a cross-chain call for each user intelligent contract based on a block chain account corresponding to the centralized management and control platform and created in each member block chain.
In an embodiment shown, service configuration information corresponding to a registered user service may be specifically maintained on the centralized management and control platform, and a blockchain account list created for the centralized platform on each member blockchain; for example, in practical applications, the service configuration information and the blockchain account list may be written into the service interface as a form of a call parameter related to the service interface.
Correspondingly, the invoking logic corresponding to the invoking method related to the target user service included in the service interface may specifically include:
and query logic, configured to query the corresponding relationship in the service configuration information to determine each contract execution logic for generating the target user service in a combined manner, each user intelligent contract including each contract execution logic, and each member block chain for deploying each user intelligent contract. And after determining that each member blockchain of each user intelligent contract is deployed, further querying the blockchain account list to determine blockchain accounts which are created on each member blockchain and correspond to the centralized platform.
And the cross-chain logic respectively initiates cross-chain calling aiming at the intelligent contracts of the users according to the block chain accounts which are created on the member block chains and correspond to the centralized platform, and are inquired by the inquiry logic.
In one embodiment shown, the user service may specifically be a service generated by combining at least one contract execution logic included in a user intelligent contract deployed on each member blockchain according to a logical order of service logics corresponding to the user service.
In this case, when the cross-chain logic initiates a cross-chain call for each user intelligent contract according to the blockchain account corresponding to the centralized platform created on each member blockchain, the cross-chain logic may specifically initiate a cross-chain call for each user intelligent contract according to the logic sequence according to the blockchain account corresponding to the centralized platform created on each member blockchain.
In an embodiment shown, the service configuration information maintained by the centralized management and control platform may further include: and generating calling sequence information determined by each contract execution logic of the user service for combination based on the logic sequence of the service logic corresponding to the user service. Correspondingly, when the cross-chain logic respectively initiates cross-chain calling for the intelligent contracts of the users according to the logic sequence of the service logic corresponding to the user service, the cross-chain logic may specifically read the calling sequence from the service configuration information, and then respectively initiate cross-chain calling for the intelligent contracts of the users according to the read calling sequence.
After the centralized management and control platform completes the cross-chain call of the intelligent contract of each user by calling the service interface, the call result of the cross-chain call of the intelligent contract of each user can be further summarized, and the call result is used as the call result of the service of the user and is returned to the service user.
Referring to fig. 7, fig. 7 is a flowchart illustrating another service usage method for a user service registered on a centralized management and control platform according to an exemplary embodiment of the present specification, where the method may be applied to a node device in any target member blockchain in the blockchain service network shown in fig. 1. Each member block chain in the block chain service network is respectively provided with at least one system intelligent contract issued by a centralized control platform; the at least one system intelligence contract comprises a target system intelligence contract for cross-chain communication with other member blockchains; the target system intelligent contract comprises a cross-chain calling logic corresponding to the user service registered and completed on the centralized management and control platform; the method comprises the following steps:
the user service registered and completed on the centralized management and control platform may be specifically deployed on the centralized management and control platform in the form of the system intelligent contract. And the service user with the calling requirement of the user service can call the user service which is decentralized and deployed on each member blockchain by initiating a contract calling mode aiming at the target system intelligent contract.
The service user may specifically be a user having the call requirement of the user service, or may be a user intelligent contract having the call requirement of the user service and deployed on any member blockchain, which is not particularly limited in this specification.
For example, in one case, if the service user is a user with a call request of the user service, the user may be a user who registers a blockchain account with the target member blockchain. The user may initiate a contract invocation for the target system intelligence contract deployed on the target member blockchain based on a blockchain account registered on the target member blockchain to complete the service invocation for the user service.
In another case, if the service user is a target user intelligent contract deployed on the target member blockchain, the contract execution logic included in the target user intelligent contract may have a nested calling relationship with the user service; for example, contract execution logic included in the target user intelligent contract references user services registered on the centralized governance platform. In this case, the target user intelligent contract may further initiate a contract invocation for the target system intelligent contract in a nested invocation mode among the intelligent contracts in the process of executing the included contract execution logic.
Accordingly, the specific content of the call data generally depends on the specific type of the service user;
for example, if the service user is a user with a call request of the user service, the call data may be a contract call transaction initiated by the user on a blockchain account registered in the target member blockchain and used for calling the target system contract.
If the service user is a target user intelligent contract deployed on the target member blockchain, the invoking data may be specifically an invoking message, which is sent by the target user intelligent contract to the target system intelligent contract and is specific to the user service, when the target system intelligent contract is invoked by the target user intelligent contract.
For example, in practical applications, mutual invocation between intelligent contracts generally adopts a "message invocation" mode, and when one intelligent contract needs to invoke another intelligent contract, an invocation message is sent to the other intelligent contract. Therefore, in this specification, when the target system intelligent contract is called, the target user intelligent contract may specifically initiate a contract call for the target system intelligent contract by sending a call message to the target system intelligent contract in the manner of "message call".
It should be noted that, when a certain intelligent contract calls other intelligent contracts in a "message call" manner, the other intelligent contracts return call results to the intelligent contract that sends the call message after the call is completed, so as to trigger the intelligent contract to continue executing the contract execution logic of the next step based on the call results.
At least one system intelligent contract issued by a centralized control platform can be deployed on the target member block chain; the at least one system intelligence contract may specifically include a target system intelligence contract for cross-chain communication with other member blockchains. The target system intelligent contract may specifically include a cross-chain call logic corresponding to the user service.
For example, because the contract invoking logic constituting the user service may include contract execution logic included in a plurality of user intelligent contracts distributed on a plurality of member blockchains, the user may also need to invoke a plurality of user intelligent contracts distributed on a plurality of member blockchains across the chains when invoking the user service; therefore, when the centralized management and control platform deploys the user service, a corresponding cross-chain call logic may be specifically developed for the user service, and then the cross-chain call logic is deployed on the target member block chain as a contract execution logic of the system intelligent contract.
The cross-chain call logic may be specifically configured to: determining each user intelligent contract corresponding to each contract execution logic of the user service, deploying each member block chain of each user intelligent contract, and respectively initiating cross-chain calling aiming at each user intelligent contract according to the logic sequence of the service logic corresponding to the target user service based on the block chain account corresponding to the centralized control platform and established in each member block chain.
In this way, the service user can initiate the call to the target user service registered on the centralized management and control platform by autonomously calling the cross-chain call logic contained in the target system intelligent contract.
When the node device on the target member block chain receives call data initiated by a service user, the node device may respond to the call data, call the cross-chain call logic included in the target system intelligent contract, determine each user intelligent contract corresponding to each contract execution logic combined to generate the user service, deploy each member block chain of each user intelligent contract, and respectively initiate cross-chain call for each user intelligent contract according to a logic sequence of the service logic corresponding to the target user service based on a block chain account corresponding to a centralized control platform created in each member block chain.
For example, in one case, if the service user is a user with a call request of the user service, the user may be a user who registers a blockchain account with the target member blockchain. The invoking data may be a contract invoking transaction for the target system intelligent contract, which is packaged by the user through a blockchain account registered in the target member blockchain. After receiving the contract invoking transaction, the node device may respond to the contract invoking transaction and further invoke the cross-chain invoking logic included in the target system intelligent contract.
In another case, if the service user is a target user intelligent contract deployed on the target member blockchain, the contract execution logic included in the target user intelligent contract may have a nested calling relationship with the user service. In this case, the invoking data may specifically be an invoking message sent by the target user intelligent contract to the target system intelligent contract. After receiving the call message, the node device may respond to the call message and further call the cross-chain call logic included in the target system intelligent contract.
In an embodiment, in the target system intelligent contract, service configuration information corresponding to the user service and a blockchain account list created on each member blockchain for the centralized platform may be further maintained.
For example, in implementation, service configuration information corresponding to the user service and a blockchain account list created for the centralized platform on each member blockchain may be specifically stored in an account storage space of the target system intelligent contract; for example, the service configuration information and the blockchain account list may be specifically organized in a key-value key value pair form, and configured as a Merkle tree stored in a storage medium carried by a node device in each member blockchain; and storing the root hash of the Merkle tree into an account structure body of the contract account corresponding to the target system intelligent contract.
The service configuration information may specifically include: and combining and generating corresponding relations among identification information (such as function names) of each contract execution logic of the user service, contract addresses of each user intelligent contract containing each contract execution logic, and block chain identifications of each member block chain for deploying each user intelligent contract.
In this case, the cross-chain call logic may specifically be composed of the following execution logic:
and query logic, configured to query the correspondence in the service configuration information corresponding to the user service and maintained in the target system intelligent contract, so as to determine each contract execution logic that is combined to generate the user service, each user intelligent contract that includes each contract execution logic, and each member block chain that deploys each user intelligent contract. And after determining that each member blockchain of each user intelligent contract is deployed, further querying the blockchain account list maintained in the target system intelligent contract to determine blockchain accounts corresponding to the centralized platform and created on each member blockchain.
And the cross-chain logic is used for respectively initiating cross-chain calling aiming at each user intelligent contract determined based on the query logic and comprising each user intelligent contract of each contract execution logic, each member block chain for deploying each user intelligent contract, block chain accounts corresponding to the centralized platform and the like established on each member block chain. The details of implementing the user intelligent contracts deployed on the other member blockchains are called across the chains, and are not detailed in this specification, and those skilled in the art may refer to the description in the related art.
In this case, when the node device on the target member blockchain receives call data initiated by a service user, the node device may respond to the call data, call the query logic included in the target system intelligent contract, and query the corresponding relationship to determine each contract execution logic that is combined to generate the user service, each user intelligent contract that includes the each contract execution logic, and each member blockchain that deploys the each user intelligent contract. And further querying the blockchain account list to determine blockchain accounts corresponding to the centralized platform and created on the member blockchains. Then, the cross-chain logic included in the target system intelligent contract may be further invoked, and based on the determined blockchain account, a cross-chain invocation for each user intelligent contract is respectively initiated.
In one embodiment shown, the user service may specifically be a service generated by combining at least one contract execution logic included in a user intelligent contract deployed on each member blockchain according to a logical order of service logics corresponding to the user service.
In this case, the above-mentioned cross-chain logic is specifically configured to: and respectively initiating cross-link calling aiming at each user intelligent contract according to the logic sequence, wherein the information is determined based on the query logic, comprises each user intelligent contract of each contract execution logic, each member block chain for deploying each user intelligent contract, the block chain account which is established on each member block chain and corresponds to the centralized platform and the like.
Correspondingly, when the node device invokes the cross-link logic included in the target system intelligent contract and respectively initiates a cross-link call for the user intelligent contract based on the determined blockchain account, the node device may specifically initiate a cross-link call for the user intelligent contract based on the determined blockchain account according to the logic sequence.
In an embodiment shown, in the service configuration information, the method may further include: and generating a calling sequence determined by each contract execution logic of the target user service for combination based on the logic sequence of the service logic corresponding to the target user service.
The above-mentioned cross-chain logic is specifically configured to: and reading the calling sequence included in the service configuration information, determining information including each user intelligent contract of each contract execution logic, each member block chain for deploying each user intelligent contract, a block chain account corresponding to the centralized platform and the like established on each member block chain based on query logic, and respectively initiating cross-chain calling aiming at each user intelligent contract according to the read logic sequence.
Correspondingly, when the node device invokes the cross-link logic included in the target system intelligent contract and respectively initiates cross-link calls for the user intelligent contracts according to the determined block chain account and the logic sequence, the node device may specifically read the call sequence included in the service configuration information, and then respectively initiate cross-link calls for the user intelligent contracts according to the read logic sequence based on the determined block chain account.
Of course, in practical applications, the logic sequence of the service logic corresponding to the target user service may be maintained not in the target system intelligent contract as a part of the service configuration information, but on the centralized management and control platform.
In this case, when the cross-chain logic included in the target system intelligent contract is called and the cross-chain call to the user intelligent contracts is respectively initiated according to the logic sequence of the service logic corresponding to the target user service, the off-chain interaction may be specifically performed with the centralized management and control platform, the logic sequence of the service logic corresponding to the target user service is read from the centralized management and control platform, and then the cross-chain call to the user intelligent contracts is initiated according to the read call sequence.
For example, when the target system intelligent contract is implemented, the target system intelligent contract may specifically perform out-of-link interaction with the centralized management and control platform through another oracle predictive machine program, and read a logic sequence of service logic corresponding to the target user service from the centralized management and control platform. The specific implementation details of the target system intelligent contract performing the out-of-link interaction with the centralized management and control platform through the oracle.
In an embodiment shown in the present disclosure, after the centralized management and control platform deploys a target system intelligent contract for performing cross-chain communication on each member blockchain, when a user of a subsequent service provider registers a new user service on the centralized management and control platform, the centralized management and control platform may further store service configuration information corresponding to the newly registered user service to the target system intelligent contract, so as to update service configuration information maintained in the target system intelligent contract.
In an illustrated embodiment, after the centralized management and control platform deploys a target system intelligent contract for performing cross-chain communication on each member blockchain, if a new member blockchain is added to the blockchain service network subsequently, the centralized management and control platform may also store a blockchain account, which is created on the new member blockchain and corresponds to the centralized management and control platform, in the target system intelligent contract, so as to update a blockchain account list maintained in the target system intelligent contract.
It should be noted that, in practical application, the centralized management and control platform described above updates the service configuration information and the blockchain account list maintained in the target system intelligent contract, specifically, a real-time update mode may be adopted, and an offline update mode may also be adopted.
On one hand, if a real-time updating manner is adopted, when a new user service is registered on the centralized management and control platform, the centralized management and control platform can immediately store the service configuration information corresponding to the newly registered user service to the target system intelligent contract so as to update the service configuration information maintained in the target system intelligent contract.
Correspondingly, when the new member blockchain is added to the blockchain service network, the centralized management and control platform may also immediately store the blockchain account corresponding to the centralized management and control platform, which is created on the new member blockchain, to the target system intelligent contract, so as to update the blockchain account list maintained in the target system intelligent contract.
On the other hand, if an offline updating mode is adopted, the service configuration information and the blockchain account list maintained in the target system intelligent contract can be triggered to be updated each time the target system intelligent contract is called.
In this case, each time a new user service is registered on the centralized management and control platform, the centralized management and control platform may cache service configuration information corresponding to the newly registered user service. When the target system intelligent contract is called, the cached service configuration information is stored in the target system intelligent contract so as to update the service configuration information maintained in the target system intelligent contract. Correspondingly, when the new member blockchain is added to the blockchain service network, the centralized management and control platform may cache the blockchain account corresponding to the centralized management and control platform and created on the new member blockchain. When the target system intelligent contract is called, the cached block chain account is stored in the target system intelligent contract so as to update a block chain account list maintained in the target system intelligent contract.
For example, in implementation, an execution logic for data synchronization may be introduced into the target system intelligent contract, so that the execution logic for data synchronization may be run first when the target system intelligent contract is called each time, perform data synchronization between the service configuration information and the blockchain account list with the centralized management and control platform, update the service configuration information and the blockchain account list maintained in the target system intelligent contract based on the service configuration information and the blockchain account cached by the centralized management and control platform, and then continue to execute the called contract execution logic.
In an illustrated embodiment, the centralized management and control platform may support, in addition to registering the user service, registering, on the centralized management and control platform, an associated user service for a user intelligent contract that is a user of the service and is deployed on each member blockchain.
When the service user is a target user intelligent contract deployed on the target member blockchain, the deployment party or the management party of the target user intelligent contract can register the associated user service for the target user intelligent contract by sending a user intelligent contract registration request to the centralized management and control platform.
The user intelligent contract registration request may specifically carry a contract address of the target user intelligent contract and a service identifier of a target user service that needs to be associated with the target user intelligent contract.
After receiving a user intelligent contract registration request sent by a deployment party or a management party of the target user intelligent contract, the centralized management and control platform can respond to the user intelligent contract registration request, read a service identifier of a target user service and a contract address of the target user intelligent contract carried in the user intelligent contract registration request, then create an association relationship between the service identifier of the target user service and the contract address of the target user intelligent contract, and store the association relationship on the centralized management and control platform.
In this case, the invocation data for the user service may specifically be an invocation message for the user service that is submitted by the target user intelligent contract to the target system intelligent contract. Before the node device responds to the call message and calls the cross-chain call logic included in the target system intelligent contract, whether the user service is registered as the user service associated with the target user intelligent contract or not can be determined;
for example, in an example, the association relationship may be specifically maintained in the target system intelligent contract as a part of the service configuration information. In this case, before the node device invokes the cross-chain invocation logic included in the target system intelligent contract in response to the invocation message, the association relationship may be queried to determine whether the user service is already registered as a user service associated with the target user intelligent contract.
Of course, the association relationship may be maintained not in the target system intelligent contract but on the centralized management and control platform as part of the service configuration information. In this case, before the node device invokes the cross-chain invocation logic included in the target system intelligent contract in response to the invocation message, the node device may perform an off-chain interaction with the centralized management and control platform through an oracle ora. Or, before the node device responds to the call message and calls the cross-chain call logic included in the target system intelligent contract, the node device may perform an off-chain interaction with the centralized management and control platform through an oracle preplan program, send an inquiry request to the centralized management and control platform, inquire the association relationship by the centralized management and control platform to determine whether the user service is registered as a user service associated with the target user intelligent contract, and return an inquiry result to the target system intelligent contract.
When it is determined that the user service is registered as the user service associated with the target user intelligent contract, the cross-chain call logic included in the target system intelligent contract may be further called. And if the user service is determined not to be registered as the user service associated with the target user intelligent contract, rejecting the target user intelligent contract to call the cross-link calling logic contained in the target system intelligent contract.
By the method, the user service can be flexibly registered for each user intelligent contract which is deployed on each member block chain and serves as a service user, and the service calling authority of each user intelligent contract serving as the service user is strictly controlled according to the registration result; for example, through the registration mechanism, the call authority of the user service registered on the centralized management and control platform can be limited in the user intelligent contracts associated with the user services, and further, each user intelligent contract can only be used as a service user to call the user service associated with the user intelligent contract.
In this specification, when a user of a service provider registers a service solution in the centralized management and control platform, the centralized management and control platform may specifically deploy the registered service solution as a standardized service, so as to open the service solution to a service user for invocation. When deploying the registered service solution, the centralized management and control platform may be specifically deployed on the centralized management and control platform in the form of a service interface, or may be deployed on each member block chain in a distributed manner in the form of a system intelligent contract, so as to be invoked by a service user.
It should be noted that, the detailed process of the centralized management and control platform deploying the service solution after registration and the detailed process of the service user invoking the service solution after deployment are not described in detail in this specification, and those skilled in the art may refer to the detailed process of the user service after registration and the detailed process of the user service after service user invoking deployment, which are shown in fig. 6 and fig. 7 above.
In the above embodiments, a service generated after combining user services registered on a centralized management and control platform, specifically, contract execution logic included in a user intelligent contract on each member blockchain on a blockchain service network, is taken as an example for explanation. It should be noted that, in practical applications, the user service registered on the centralized management and control platform may be a service generated by combining contract execution logic included in the user intelligent contracts on the member blockchains, and specifically may also be a data service generated by combining blockchain data on the member blockchains.
In this case, the blockchain account corresponding to the centralized management and control platform, which is created on each member blockchain, is specifically configured to initiate data access for generating blockchain data of the user service for a combination on each member blockchain when the service user invokes the user service.
Accordingly, when the user service is a data service generated after combining the blockchain data on the member blockchains, details of registration, deployment, and invocation of the user service are similar to those of the registration, deployment, and invocation processes for the user service described in the embodiments shown in fig. 2 to fig. 7.
For example, in this case, when registering such user services with the centralized management and control platform, the service provider may send a user service registration request to the centralized management and control platform, and after receiving the user service registration request, the centralized management and control platform may determine, in response to the user service registration request, a block chain data set for implementing a service function corresponding to the user service; the blockchain data set comprises blockchain data deployed on each member blockchain in a blockchain service network; then, the blockchain data in the blockchain data set are combined to generate the user service, so as to complete service registration for the user service, details of the specific registration service are not described again, and those skilled in the art may refer to the record of each embodiment shown in fig. 4, and are not described again in this specification.
When the user service is deployed, the user service may be centrally deployed on the centralized management and control platform in the form of a service interface, or may be distributed on each member block chain in the form of a system intelligent contract. For example, taking a form of a system intelligent contract that is distributed and deployed in each member block chain as an example, at this time, the cross-chain call logic corresponding to the user service included in the system intelligent contract for performing cross-chain communication may be specifically configured to: determining each member blockchain corresponding to each blockchain data of the user service, which is generated in a combined manner, and respectively initiating data access aiming at each blockchain data on each member blockchain based on a blockchain account which is created in each member blockchain and corresponds to the centralized management and control platform. When a service user needs to invoke the user service, the service user may invoke the cross-chain invocation logic included in the system intelligent contract to initiate invocation of the user service registered on the centralized management and control platform, details of specific service invocation are not described again, and those skilled in the art may refer to the records of each embodiment shown in fig. 6 and fig. 7, and are not described again in this specification.
The present specification also provides embodiments of an apparatus, an electronic device, and a storage medium, corresponding to embodiments of the foregoing method.
FIG. 8 is a schematic block diagram of an electronic device in accordance with an exemplary embodiment. Referring to fig. 8, at the hardware level, the apparatus includes a processor 802, an internal bus 804, a network interface 806, a memory 808, and a non-volatile memory 810, but may also include hardware required for other services. One or more embodiments of the present description may be implemented in software, such as by the processor 802 reading a corresponding computer program from the non-volatile storage 810 into the memory 808 and then executing the computer program. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Fig. 9 is a block diagram of a user service registration apparatus according to an exemplary embodiment, which may be applied to the electronic device shown in fig. 8 to implement the technical solution of the present specification, as shown in fig. 9. The device is applied to a centralized control platform corresponding to a block chain service network, wherein the block chain service network comprises at least one member block chain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member blockchain; the apparatus 900 comprises:
a first receiving module 901, configured to receive a user service registration request initiated by a service provider;
a first determining module 902, configured to determine, in response to the user service registration request, a contract execution logic set for implementing a service function corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains in a blockchain service network;
and the first registration module 903 is used for combining the contract execution logics in the contract execution logic set to generate the user service so as to complete service registration of the user service.
The specific details of the modules of the apparatus 900 have been described in detail in the method flow described above, and therefore are not described herein again.
Fig. 10 is a block diagram of another user service registration apparatus shown in this specification according to an exemplary embodiment, which may also be applied to the electronic device shown in fig. 8 to implement the technical solution of this specification. The device is applied to a centralized control platform corresponding to a block chain service network, wherein the block chain service network comprises at least one member block chain; the centralized management and control platform supports registered user service; the user services comprise user services generated by contract execution logic combination contained in user intelligent contracts deployed on each member blockchain; the apparatus 1000 comprises:
a second receiving module 1001, which receives a solution registration request initiated by a service provider;
a second determining module 1002, configured to determine, in response to the solution registration request, a user service set used for implementing a service function corresponding to the service solution from the registered user services; the user services include contract execution logic included in user intelligent contracts deployed on member blockchains;
the second registration module 1003, combining the user services in the user service set to generate the service solution, so as to complete service registration of the service solution.
The specific details of the modules of the apparatus 1000 have been described in detail in the method flow described above, and therefore are not described herein again.
Correspondingly, the present specification also provides an electronic device, which includes a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of all of the method flows described previously.
Accordingly, the present specification also provides a computer readable storage medium having executable instructions stored thereon; wherein the instructions, when executed by a processor, implement steps of all of the method flows previously described.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.
Claims (21)
1. A user service registration method is applied to a centralized management and control platform corresponding to a block chain service network, and comprises the following steps:
receiving a user service registration request initiated by a service provider;
in response to the user service registration request, determining a contract execution logic set for realizing service functions corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains in a blockchain service network;
responding to the user service registration request, and distributing a service identifier for the service provider;
and combining the contract execution logics in the contract execution logic set to obtain a contract execution logic combination, and binding the contract execution logic combination with the service identifier.
2. The method of claim 1, wherein a blockchain account corresponding to the centralized management and control platform is created on each member chain in the blockchain service network; the block chain account is used for initiating contract invoking aiming at a user intelligent contract corresponding to the contract execution logic for combining and generating the user service when a service user invokes the user service registered on the centralized management and control platform.
3. The method of claim 1, wherein the contract execution logic contained in the user intelligent contract deployed on each member blockchain is registered on the centralized management and control platform;
determining a contract execution logic set for realizing a service function corresponding to the user service, including:
and determining a contract execution logic set for realizing the service function corresponding to the user service from the registered contract execution logic on the centralized management and control platform.
4. The method of claim 3, further comprising:
outputting, by the service provider, the contract execution logic registered on the centralized governing platform to the service provider through a visualization interface to select, by the service provider, at least one contract execution logic in the visualization interface for combined generation of the user service.
5. The method of claim 4, wherein the user service registration request carries identification information corresponding to at least one contract execution logic selected by the service provider in the visual interface;
determining a contract execution logic set for implementing a service function corresponding to the user service from the registered contract execution logics on the centralized management and control platform, including:
acquiring identification information corresponding to the at least one contract execution logic carried in the user service registration request, and determining the at least one contract execution logic corresponding to the identification information in the registered contract execution logic as a contract execution logic set for realizing a service function corresponding to the user service.
6. The method of claim 3, wherein the user service registration request carries description information of service logic defined by the service provider for the user service;
determining a contract execution logic set for implementing a service function corresponding to the user service from the registered contract execution logics on the centralized management and control platform, including:
matching the registered contract execution logics with the service logics indicated by the description information respectively; and according to the matching result, determining at least one contract execution logic matched with the service logic indicated by the description information in the registered contract execution logics as a contract execution logic set for realizing the service function corresponding to the user service.
7. The method of claim 1, wherein combining contract execution logic in the contract execution logic set to obtain a contract execution logic combination comprises:
and combining the contract execution logics in the contract execution logic set according to the logic sequence of the service logics corresponding to the user service to obtain a contract execution logic combination.
8. The method of claim 7, at least some of the contract execution logic that is combinatorially generated to the user services corresponding to user intelligent contracts deployed on different member blockchains, respectively.
9. The method of claim 3, further comprising:
receiving a contract execution logic registration request initiated by a contract management party of a target intelligent contract deployed on any target member blockchain; the contract execution logic registration request comprises identification information of target contract execution logic to be registered, wherein the identification information comprises a target intelligent contract;
and responding to the contract execution logic registration request, and registering the target contract execution logic corresponding to the identification information on the centralized management and control platform.
10. The method of claim 1, wherein the user service is distributed and deployed on each member block chain in the form of a system intelligent contract for being called by a service user; and/or the presence of a gas in the gas,
the user service is centrally deployed on the centralized management and control platform in a service interface mode so as to be called by a service user.
11. A solution registration method is applied to a centralized management and control platform corresponding to a block chain service network, and comprises the following steps:
receiving a solution registration request initiated by a service provider;
in response to the solution registration request, determining a user service set for realizing a service function corresponding to a service solution from the registered user services; the user services include contract execution logic included in user intelligent contracts deployed on member blockchains;
assigning a solution identification to the service provider in response to the solution registration request;
and combining the user services in the user service set to obtain a user service combination, and binding the user service combination with the scheme identifier.
12. The method of claim 11, further comprising:
outputting the user services registered on the centralized management and control platform to the service provider through a visual interface, so that at least one user service used for combining and generating the service solution is selected by the service provider in the visual interface.
13. The method of claim 12, wherein the solution registration request carries identification information corresponding to at least one user service selected by the service provider in the visual interface;
determining a user service set for realizing a service function corresponding to the service solution from the registered user services, including:
and acquiring identification information corresponding to the at least one user service carried in the user service registration request, and determining the at least one user service corresponding to the identification information in the registered user services as a user service set for realizing a service function corresponding to the service solution.
14. The method of claim 12, wherein the user service registration request carries description information of service logic defined by the service provider for the service solution;
determining a user service set for realizing a service function corresponding to the service solution from the registered user services, including:
matching service logics corresponding to the registered user services with the service logics indicated by the description information respectively; and determining at least one user service which is matched with the service logic indicated by the description information in the registered user services as a user service set for realizing the service function corresponding to the service solution according to the matching result.
15. The method of claim 11, combining the user services in the user service set to obtain a user service combination, comprising:
and combining the user services in the user service set according to the logic sequence of the service logic corresponding to the service solution to obtain a user service combination.
16. The method of claim 15, wherein at least some of the contract execution logic that is combinatorially generated to the user services correspond to user intelligent contracts deployed on different member blockchains, respectively.
17. The method of claim 11, wherein the service solution is deployed in a distributed manner on each member block chain in the form of a system intelligence contract for being called by a service user; or,
the service solution is centrally deployed on the centralized management and control platform in the form of a service interface so as to be called by a service user.
18. A user service registration device is applied to a centralized management and control platform corresponding to a block chain service network, and comprises:
the first receiving module is used for receiving a user service registration request initiated by a service provider;
the first determining module is used for responding to the user service registration request and determining a contract execution logic set for realizing the service function corresponding to the user service; the contract execution logic set comprises contract execution logic contained in user intelligent contracts deployed on member blockchains in a blockchain service network;
the first register module responds to the user service register request, distributes service identification for the service provider, combines the contract execution logics in the contract execution logic set to obtain a contract execution logic combination, and binds the contract execution logic combination with the service identification.
19. A solution registration device applied to a centralized management and control platform corresponding to a blockchain service network comprises:
the second receiving module is used for receiving a solution registration request initiated by a service provider;
a second determining module, which is used for responding to the solution registration request and determining a user service set used for realizing the service function corresponding to the service solution from the registered user services; the user services include contract execution logic included in user intelligent contracts deployed on member blockchains;
the second registration module responds to the solution registration request, distributes a scheme identifier for the service provider, combines the user services in the user service set to obtain a user service combination, and binds the user service combination with the scheme identifier.
20. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of claims 1-10 or 11-18 by executing the executable instructions.
21. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the steps of the method according to any one of claims 1-10 or 11-18.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082161.6A CN113535691B (en) | 2021-09-15 | 2021-09-15 | User service registration method and device |
PCT/CN2022/109864 WO2023040502A1 (en) | 2021-09-15 | 2022-08-03 | User service registration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082161.6A CN113535691B (en) | 2021-09-15 | 2021-09-15 | User service registration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113535691A CN113535691A (en) | 2021-10-22 |
CN113535691B true CN113535691B (en) | 2022-01-25 |
Family
ID=78092635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082161.6A Active CN113535691B (en) | 2021-09-15 | 2021-09-15 | User service registration method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113535691B (en) |
WO (1) | WO2023040502A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113535691B (en) * | 2021-09-15 | 2022-01-25 | 支付宝(杭州)信息技术有限公司 | User service registration method and device |
CN115102993B (en) * | 2022-07-15 | 2023-08-11 | 北京智芯微电子科技有限公司 | Active access method, device and equipment for plug and play of terminal and readable medium |
CN115664718A (en) * | 2022-09-27 | 2023-01-31 | 蚂蚁区块链科技(上海)有限公司 | Cross-chain calling method and device for intelligent contract |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108667612A (en) * | 2018-04-03 | 2018-10-16 | 中电科大数据研究院有限公司 | A kind of trust service framework and method based on block chain |
CN108667618A (en) * | 2018-05-10 | 2018-10-16 | 阿里巴巴集团控股有限公司 | Data processing method, device, server and the system of block chain member management |
CN110348202A (en) * | 2019-07-12 | 2019-10-18 | 北京物资学院 | A kind of mutual role help system and method based on block chain intelligence contract |
CN110995521A (en) * | 2020-03-03 | 2020-04-10 | 支付宝(杭州)信息技术有限公司 | Service providing method, device, equipment and system |
US10642967B2 (en) * | 2017-11-28 | 2020-05-05 | American Express Travel Related Services Company, Inc. | Single sign-on solution using blockchain |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566153B (en) * | 2017-07-21 | 2020-09-25 | 哈尔滨工程大学 | Self-management micro-service implementation method |
US11316690B2 (en) * | 2017-09-13 | 2022-04-26 | Vijay Madisetti | Blockchain token-based cloud orchestration architecture for discrete virtual network instances |
CN111861433B (en) * | 2018-03-30 | 2024-04-02 | 创新先进技术有限公司 | Business execution method and device based on block chain and electronic equipment |
CN108989389B (en) * | 2018-06-11 | 2020-09-11 | 北京航空航天大学 | Method for establishing intelligent contract micro-servitization |
US11381558B2 (en) * | 2019-10-18 | 2022-07-05 | Avaya Inc. | Blockchain-based device enrollment service |
CN112488706B (en) * | 2020-11-23 | 2023-02-17 | 国网河南省电力公司信息通信公司 | Cloud service management method and system based on block chain |
CN113535691B (en) * | 2021-09-15 | 2022-01-25 | 支付宝(杭州)信息技术有限公司 | User service registration method and device |
-
2021
- 2021-09-15 CN CN202111082161.6A patent/CN113535691B/en active Active
-
2022
- 2022-08-03 WO PCT/CN2022/109864 patent/WO2023040502A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10642967B2 (en) * | 2017-11-28 | 2020-05-05 | American Express Travel Related Services Company, Inc. | Single sign-on solution using blockchain |
CN108667612A (en) * | 2018-04-03 | 2018-10-16 | 中电科大数据研究院有限公司 | A kind of trust service framework and method based on block chain |
CN108667618A (en) * | 2018-05-10 | 2018-10-16 | 阿里巴巴集团控股有限公司 | Data processing method, device, server and the system of block chain member management |
CN110348202A (en) * | 2019-07-12 | 2019-10-18 | 北京物资学院 | A kind of mutual role help system and method based on block chain intelligence contract |
CN110995521A (en) * | 2020-03-03 | 2020-04-10 | 支付宝(杭州)信息技术有限公司 | Service providing method, device, equipment and system |
CN112954073A (en) * | 2020-03-03 | 2021-06-11 | 支付宝(杭州)信息技术有限公司 | Service providing method, device, equipment and system |
Non-Patent Citations (2)
Title |
---|
Permission Blockchain based Smart Contract Utilizing Biometric Authentication as a Service;Sawant G;《2020 International Conference on Convergence to Digital World》;20201231;全文 * |
基于区块链智能合约的可信存证***研究与实现;曹迪迪;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20200215(第2020年第02期);第I136-590页 * |
Also Published As
Publication number | Publication date |
---|---|
WO2023040502A1 (en) | 2023-03-23 |
CN113535691A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113535691B (en) | User service registration method and device | |
CN108898390B (en) | Intelligent contract calling method and device based on block chain and electronic equipment | |
JP6880188B2 (en) | Methods, systems, and devices for data access | |
CN111431956B (en) | Cross-network service access method, device, system and storage medium | |
Bozic et al. | Securing virtual machine orchestration with blockchains | |
CN113542435B (en) | User service using method and device | |
US11687354B2 (en) | Virtual machine management using onboarding operations and openstack control | |
US11423473B2 (en) | Blockchain-based leasing | |
CN112380294B (en) | Block chain cross-chain access method and device | |
CN111782668A (en) | Data structure reading and updating method and device, and electronic equipment | |
US11783071B2 (en) | Authenticating accesses to a shared datastore of a multi-tenant computer system | |
WO2022008996A1 (en) | Privacy preserving architecture for permissioned blockchains | |
CN113535335B (en) | Virtual resource allocation method and device based on block chain and electronic equipment | |
CN112400182A (en) | Method and device for executing intelligent contracts in block chain and electronic equipment | |
WO2021035141A1 (en) | Blockchain network control system and methods | |
CN113067897B (en) | Cross-chain interaction method and device | |
CN115002228B (en) | Service cascade calling method and device, electronic equipment and storage medium | |
CN113535690B (en) | Block chain service network establishing method and device | |
WO2022206210A1 (en) | Blockchain-based asset management | |
CN113067914B (en) | Method and device for distributing subnet identification, electronic equipment and storage medium | |
CN113469815A (en) | Data management method and device | |
CN113095824B (en) | Asset management method and device based on block chain and electronic equipment | |
CN115221559A (en) | Data account access authorization method and device | |
CN115665228B (en) | Cross-node service discovery method and device | |
WO2024066018A1 (en) | Method and apparatus for cross-chain calling of smart contracts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |