CN115204870A - Block chain application management method and device, computer equipment and storage medium - Google Patents

Block chain application management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115204870A
CN115204870A CN202110401530.7A CN202110401530A CN115204870A CN 115204870 A CN115204870 A CN 115204870A CN 202110401530 A CN202110401530 A CN 202110401530A CN 115204870 A CN115204870 A CN 115204870A
Authority
CN
China
Prior art keywords
target
application
chain
data
blockchain
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.)
Pending
Application number
CN202110401530.7A
Other languages
Chinese (zh)
Inventor
王强
申子熹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110401530.7A priority Critical patent/CN115204870A/en
Publication of CN115204870A publication Critical patent/CN115204870A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a method and a device for managing block chain application, computer equipment and a storage medium; the method and the device for obtaining the block chain can obtain a bottom chain type set of the block chain, wherein the bottom chain type set comprises a bottom chain type of at least one block chain bottom chain; determining a target bottom chain type required for creating a block chain from the bottom chain type set; creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application; and performing data analysis on the on-chain data of the target block chain of the target application through the intelligent contract of the target application so as to manage the target application based on the analysis result. The scheme can improve the management efficiency of the block chain application.

Description

Block chain application management method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for managing a blockchain application, a computer device, and a storage medium.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. In practical applications, applications can be deployed on the blockchain to better utilize the blockchain to carry out services.
In the research and practice process of the related art, the inventors of the present application found that, along with the development of the blockchain, multiple types of blockchains and multiple applications deployed on different types of blockchains appear, so that both the management difficulty and the management efficiency of the blockchain applications need to be improved.
The method comprises the steps of providing a bottom chain type set comprising at least one bottom chain type, creating block chains of different bottom chains based on the block chain bottom chain of each bottom chain type, deploying applications on the created block chains, and performing data analysis and application management on the deployed applications through an intelligent contract. That is to say, the present application not only can support the creation of the blockchains belonging to different bottom chains, but also can support the deployment of applications on different blockchains and perform data analysis and management on the deployed applications, and therefore, the present application can manage multi-chain multi-applications, and compared with a management method of only supporting the blockchain application of a single bottom chain, the present application can effectively improve the management efficiency of the blockchain application, and can avoid invariance and inefficiency brought by only supporting the management of the applications on the single bottom chain.
Disclosure of Invention
The embodiment of the application provides a method and a device for managing a block chain application, a computer device and a storage medium, which can improve the management efficiency of the block chain application.
The embodiment of the application provides a method for managing block chain application, which comprises the following steps:
acquiring a bottom chain type set of a block chain, wherein the bottom chain type set comprises at least one bottom chain type of the block chain bottom chain;
determining a target bottom chain type required for creating a block chain from the bottom chain type set;
creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type;
deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application;
and performing data analysis on the on-chain data of the target block chain of the target application through the intelligent contract of the target application so as to manage the target application based on the analysis result.
Correspondingly, an embodiment of the present application further provides a device for managing blockchain applications, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a bottom chain type set of a block chain, and the bottom chain type set comprises a bottom chain type of at least one block chain bottom chain;
a determining unit, configured to determine, from the bottom chain type set, a target bottom chain type required for creating a block chain;
a creating unit, configured to create a target block chain of a target service based on the block chain bottom chain corresponding to the target bottom chain type;
the deployment unit is used for deploying a target application of the target business on the target blockchain and generating an intelligent contract of the target application;
and the analysis unit is used for carrying out data analysis on the on-chain data of the target block chain of the target application through the intelligent contract of the target application so as to manage the target application based on the analysis result.
In one embodiment, the creating unit includes:
the information determining subunit is used for determining the attribute information of the target block chain to be created;
an initial creating subunit, configured to create an initial block chain of a target service based on the block chain bottom chain and the attribute information;
and the mechanism adding subunit is used for adding a member mechanism to the initial block chain to obtain an added target block chain, wherein the member mechanism has a data processing right for the target block chain.
In one embodiment, the creating unit includes:
the account number determining subunit is used for determining a target account number for creating a target block chain;
the authority checking subunit is used for carrying out authority checking on the target account so as to determine the block chain creation authority of the target account;
and the target creating subunit is used for creating a target block chain of the target service based on the block chain bottom chain through the target account when the permission check is detected to pass.
In an embodiment, the permission verification subunit is configured to:
performing attribution verification on the target account to verify attribution mechanism information of the target account to obtain a first verification result; performing node verification on the target account to verify node information of the target account to obtain a second verification result; and determining the block chain creation authority of the target account number based on the first check result and the second check result.
In one embodiment, the deployment unit includes:
the application acquisition subunit is configured to acquire an application to be deployed of the target service, where the application to be deployed has corresponding application attribute information;
the mechanism determining subunit is used for determining a member mechanism of the application to be deployed, wherein the member mechanism has data processing permission for the application after deployment;
and the application deployment subunit is configured to deploy the application to be deployed to the target block chain based on the application attribute information and the member mechanism, so as to deploy the target application of the target service on the target block chain.
In one embodiment, the deployment unit includes:
a program acquisition subunit, configured to acquire program information of the intelligent contract;
the program compiling subunit is used for compiling the program information to obtain a compiled intelligent contract;
and the relationship establishing subunit is used for establishing a connection relationship between the compiled intelligent contract and the target application to obtain the intelligent contract of the target application.
In an embodiment, after the generating the intelligent contract of the target application, the management apparatus of the blockchain application further includes:
the information acquisition unit is used for acquiring the attribute information of at least one intelligent contract;
the information analysis unit is used for analyzing the attribute information to obtain attribution information and state information of the intelligent contract, wherein the attribution information represents the application of the intelligent contract, and the state information represents the contract state of the intelligent contract;
and the contract management unit is used for managing the intelligent contract based on the attribution information and the state information.
In one embodiment, the analysis unit includes:
a contract determining subunit, configured to determine a target intelligent contract required for data analysis on the target application;
the data acquisition subunit is configured to acquire, by calling an interface of the target intelligent contract, link data of the target application in the target block chain;
and the data analysis subunit is used for carrying out data analysis on the data on the chain so as to manage the target application based on an analysis result.
In an embodiment, the data analysis subunit is configured to:
carrying out structured analysis on the data on the chain to obtain structured data of the data on the chain; generating a data processing interface for the structured data; and performing data analysis on the structured data based on the call request aiming at the data processing interface.
In an embodiment, after the obtaining the on-chain data of the target application in the target block chain, the analyzing unit further includes:
the normalization subunit is configured to perform normalization processing on the data on the chain based on a storage mode of the data on the chain in the target block chain, so as to obtain normalized data of the data on the chain;
a data storage subunit, configured to store the normalized data in a downlink database of the target block chain.
In one embodiment, the data storage subunit is configured to:
determining a data-derived model of the data on the chain; extracting target data information corresponding to the data derivation model from the standardized data; combining the target data information based on the data derivation model to obtain combined information; and storing the combined information to a down-link database of the target block chain.
Accordingly, the present application further provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the management method for blockchain applications according to the present application.
Accordingly, the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the management method for blockchain applications according to the present application.
The method and the device for obtaining the block chain can obtain a bottom chain type set of the block chain, wherein the bottom chain type set comprises at least one bottom chain type of the block chain bottom chain; determining a target bottom chain type required for creating a block chain from the bottom chain type set; creating a target block chain of a target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application; and performing data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
The scheme can provide a bottom chain type set comprising at least one bottom chain type, and based on the block chain bottom chain of each bottom chain type, the block chains of different bottom chains are created, so that the application is deployed on the created block chain, and the data analysis and the application management are carried out on the deployed application through an intelligent contract. That is to say, the method and the device can support not only creation of the blockchains of the different underlying chains, but also deployment of the applications on the different blockchains and data analysis and management of the deployed applications, so that the method and the device can manage multi-chain multi-application, and compared with a management mode that only supports a blockchain application of a single underlying chain, the method and the device can effectively improve management efficiency of the blockchain application and can avoid invariance and inefficiency brought by management of the applications on the single underlying chain through support of only the application on the single underlying chain.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a management method for a blockchain application according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for managing a blockchain application according to an embodiment of the present disclosure;
fig. 3 is a block chain management diagram illustrating a block chain application management method according to an embodiment of the present disclosure;
fig. 4 is a block chain creation flowchart of a block chain application management method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating account configuration in a method for managing a blockchain application according to an embodiment of the present disclosure;
fig. 6 is an application addition flowchart of a management method for blockchain applications according to an embodiment of the present application;
fig. 7 is a schematic diagram of contract addition of a management method for a blockchain application according to an embodiment of the present application;
fig. 8 is a schematic contract management diagram of a management method for blockchain applications according to an embodiment of the present disclosure;
fig. 9 is a schematic data management diagram of a management method for blockchain applications according to an embodiment of the present disclosure;
fig. 10 is a schematic platform architecture diagram of a method for managing a blockchain application according to an embodiment of the present application;
fig. 11 is another flowchart illustrating a method for managing a blockchain application according to an embodiment of the present application;
fig. 12 is a schematic data overview diagram of a management method for blockchain applications according to an embodiment of the present application;
fig. 13 is a developer management diagram of a management method for blockchain applications according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present application;
fig. 15 is another schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
fig. 16 is another schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
fig. 17 is a schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
fig. 18 is another schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
fig. 19 is a schematic structural diagram of another management apparatus for blockchain applications according to an embodiment of the present application;
fig. 20 is another schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
fig. 21 is another schematic structural diagram of a management apparatus for blockchain applications according to an embodiment of the present disclosure;
FIG. 22 is a block diagram of a computer device according to an embodiment of the present application;
FIG. 23 is a block chain system according to an embodiment of the present disclosure;
fig. 24 is another schematic structural diagram of a blockchain system according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method and a device for managing a block chain application, computer equipment and a storage medium. Specifically, the embodiment of the present application provides a management apparatus for a blockchain application suitable for a computer device. The computer device may be a terminal or a server, and the terminal may be a mobile phone, a tablet computer, a notebook computer, and the like. The server may be a single server or a server cluster consisting of multiple servers, e.g., a blockchain.
In the embodiment of the present application, a management apparatus of a blockchain application is taken as an example for execution by a server to introduce a management method of a blockchain application.
Referring to fig. 1, the management system for blockchain applications provided in the embodiment of the present application includes a server 10, a terminal 20, and the like; the server 10 and the terminal 20 are connected via a network, such as a wired or wireless network, wherein the management device of the blockchain application is integrated in the server.
The server 10 may obtain a bottom chain type set of the blockchain, where the bottom chain type set includes a bottom chain type of at least one blockchain bottom chain; and determining a target bottom chain type required for creating the block chain from the bottom chain type set. For example, the server 10 may determine the target bottom chain type through the terminal 20, and specifically, the user may determine the target bottom chain type through interaction with the terminal 20, and the terminal 20 may send the target bottom chain type information to the server 10, so that the server 10 may determine the target bottom chain type selected by the user from the bottom chain type set.
The server 10 may create a target blockchain for the target service based on the blockchain bottom chain corresponding to the target bottom chain type. Moreover, the server 10 may deploy a target application of the target service on the target blockchain, and generate an intelligent contract for the target application; and performing data analysis on the on-chain data of the target application block chain through an intelligent contract of the target application so as to manage the target application based on the analysis result.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The method for block chain application provided by the embodiment of the application can be executed by a terminal or a server, or can be executed by the terminal and the server together; in the embodiment of the present application, the management method of the blockchain application is described as an example executed by the server, and as shown in fig. 2, a specific process of the management method of the blockchain application may be as follows:
101. and acquiring a bottom chain type set of the block chains, wherein the bottom chain type set comprises at least one bottom chain type of the block chain bottom chain.
The block chain is a novel application model of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The blockchain is essentially a decentralized database, and as an underlying technology of bitcoin, is a string of data blocks generated by using cryptography correlation, and each data block is linked by a random hash (also called a hash algorithm), and the next block contains the hash value of the previous block. The block chain technology is widely applied to the scenes of digital assets, intelligent contracts, logistics tracking, product protection and the like.
As an example, the blockchain bottom chain may include BCOS (binary, open & Secure) and Fabric, where BCOS (Be credit named) is a blockchain technology Open source platform focused on enterprise-level application services and has been fully verified in a plurality of enterprise-level application scenarios; fabric is a licensed blockchain framework. It provides a modular framework to serve nodes in the framework, execution of intelligent contracts, and configurable consensus and membership.
The bottom chain type is a type of a bottom chain of the blockchain, for example, the bottom chain type may include a BCOS type and a Fabric type, and the like.
In an embodiment, a server may determine a bottom chain of a blockchain capable of supporting creation, and further determine a bottom chain type set of the blockchain, where the bottom chain type set includes a bottom chain type of at least one bottom chain of the blockchain, and the server may create the blockchain based on the bottom chain of the blockchain corresponding to each bottom chain type.
In another embodiment, the terminal may design a blockchain hub management and control platform corresponding to the management method for blockchain applications, and the server may send information of a bottom chain type set to the terminal after acquiring the bottom chain type set of the blockchain, so that the terminal may display a corresponding bottom chain type in the blockchain hub management and control platform. As an example, fig. 3 illustrates a blockchain backbone management platform of a terminal design, wherein the blockchain backbone management platform provides functions of blockchain management and supports a bottom chain type set for displaying blockchains in related pages. For example, the terminal may present a bottom-chain type list in response to a selection operation directed to the bottom-chain type control shown in 1001, where the bottom-chain type list includes each bottom-chain type in the bottom-chain type set.
102. And determining a target bottom chain type required for creating the block chain from the bottom chain type set.
For example, the server may determine the target bottom chain type through the terminal, for example, a user may select the target bottom chain type from the bottom chain type set through a block chain hub management and control platform of the terminal, and further, the terminal may send information of the target bottom chain type to the server, so that the server may determine the target bottom chain type required for creating the block chain from the bottom chain type set.
As an example, referring to fig. 3, the terminal may obtain, through the control 1001, a target bottom chain type determined by the user from the bottom chain type set, and further, the terminal may send target bottom chain type information to the server, so that the server may determine, from the bottom chain type set, the target bottom chain type required for creating the block chain.
In practical application, the target bottom chain required for creating the block chain can be determined after the target bottom chain type is determined, and the target bottom chain can be determined by determining the bottom chain type and the bottom chain version because the same bottom chain type can include the block chain bottom chains with different bottom chain versions. As an example, referring to fig. 3, the terminal may obtain, through a control 1001, a bottom chain type determined by a user from a bottom chain type set, and obtain, through a control 1002, a bottom chain version of the bottom chain type determined by the user, and the terminal may send bottom chain type information and bottom chain version information to the server, so that the server may determine, based on the bottom chain type information and the bottom chain version information, a target bottom chain required to create a block chain from the bottom chain type set.
103. And creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type.
Related applications of the service can be deployed on the blockchain, so that the service can be provided with services by using the blockchain. In this application, the application related to the target service may be deployed on the target block chain, for example, the target service may be a data sharing service, and the target bottom chain type may be a BCOS type, so that the target block chain may be created based on the BCOS of the block chain bottom chain corresponding to the BCOS type, and the data sharing application of the data sharing service may be deployed on the target block chain, so that the data sharing service may provide the data sharing service by using the target block chain.
It should be noted that, in the present application, for different target bottom chain types determined in step 102, the server may create different target blockchains based on the blockchain bottom chains corresponding to the different target bottom chain types, so that, in the present application, the server can support the creation of blockchains belonging to different types of bottom chains.
Correspondingly, as a specific application of the present application, the blockchain backbone management and control platform on the terminal may provide the following functions to the user: and generating the block chains of the different types of bottom chains on the same block chain central control platform.
In one embodiment, the present application may be applied to a federation chain, where the federation chain is a block chain for between enterprises, the federation chain being only for members of a particular group and limited third parties, and having designated therein a plurality of preselected nodes as billers, the generation of each block being determined jointly by all of the preselected nodes. Therefore, the server may create a blockchain applicable to the inter-enterprise service based on the blockchain bottom chain corresponding to the target bottom chain type, and specifically, the step "create a target blockchain of the target service based on the blockchain bottom chain corresponding to the target bottom chain type" may include:
determining attribute information of a target block chain to be created;
based on the block chain bottom chain and the attribute information, an initial block chain of the target service is created;
and adding a member mechanism for the initial block chain to obtain an added target block chain, wherein the member mechanism has data processing authority aiming at the target block chain.
The attribute information of the target blockchain is information describing an attribute of the target blockchain, and for example, the attribute information may include a name of the blockchain, an encryption algorithm supported by the blockchain, an organization to which the blockchain belongs, a host node of the blockchain, a number of nodes of the blockchain, and the like.
Specifically, when the method is applied to a scenario of a federation chain, a finally generated target blockchain is composed of different blockchain link points, and each blockchain node belongs to different member authorities, so that in the scenario of the federation chain, member authorities also need to be added to the initial blockchain to create a target blockchain applied to participation of the federation chain.
Wherein the member enterprises are members of enterprises participating in the federation chain, each member enterprise can contribute blockchain nodes to the finally generated blockchain, and the member enterprises have data processing authority for the finally generated blockchain.
The data processing permission is a processing permission for data on a link of the target block chain, for example, the data processing permission may include a data writing permission, a data reading permission, a data deleting permission, a data modifying permission, and the like.
In an embodiment, referring to fig. 4, the server may create a target blockchain of the target service based on the blockchain bottom chain corresponding to the target bottom chain type to obtain the service sub-chain of the target service. Specifically, the server may determine the type of the service sub chain to be created by determining the bottom chain type, and determine the bottom chain version under the service sub chain type by determining the bottom chain version, so that the block chain bottom chain required for creating the service sub chain may be determined by the bottom chain type and the bottom chain version. In addition, the server may also determine attribute information of the service sub-chain to be created by determining a sub-chain name, a chain encryption type, an affiliated organization, a host node, an initial node number, and the like of the service sub-chain.
Further, the server may create an initial blockchain based on the blockchain bottom chain and the attribute information. For example, the server may adjust the attribute of the blockchain bottom chain based on the attribute information of the service sub-chain on the basis of the blockchain bottom chain, and use the adjusted blockchain bottom chain as the initial blockchain.
In an application scenario of a federation chain, referring to fig. 4, a server may obtain an added target blockchain by adding a member enterprise to an initial blockchain. Specifically, if it is determined that other organizations need to be invited, the server may send an invitation to the organization to join the service sub-chain through an Identity (ID) of the organization to be invited. It should be noted that other entities are required to join the service subchain, and when creating the chain, the invited entity must agree first and then create the chain by the operation and maintenance manager.
In addition, referring to fig. 4, if it is not necessary to add a member mechanism to the initial blockchain, the initial blockchain may be used as a target blockchain to obtain a target blockchain of the target service.
In practical applications, the server may give a preset account a right to create a target block chain, for example, in an application scenario of a federation chain, an account for creating the target block chain needs to be checked to determine whether the account meets a criterion of the federation chain. Specifically, the step "creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type" may include:
determining a target account number for creating a target block chain;
performing authority verification on the target account to determine the block chain creation authority of the target account;
and when the permission check is detected to pass, establishing a target block chain of the target service through the target account based on the block chain bottom chain.
For example, in an embodiment, referring to fig. 5, a user may apply for an account of a developer through a block chain hub control platform provided by a terminal, the server may obtain application information through the terminal and check through an operation and maintenance platform, and if the application information passes the check, the server may return the check-passing information to the terminal, so that the user may receive the check-passing information through the terminal and perform account login at the terminal. When a user logs in a developer account at a terminal, the terminal can send login information to a server, and the server can determine the account as a target account for creating a target block chain.
Further, the server also needs to perform permission check on the target account to determine whether the target account has a block chain creation permission, and when it is detected that the permission check of the target account passes, the target account is allowed to create a target block chain of the target service based on the bottom chain of the block chain. For example, when detecting that the authority of the target account passes verification, the server may send verification passing information to the terminal, so that a user corresponding to the target account may execute a relevant operation of creating a target block chain through a block chain hub management and control platform of the terminal.
Specifically, the step "performing an authority check on the target account to determine the blockchain creation authority of the target account" may include:
performing attribution verification on the target account to verify attribution mechanism information of the target account to obtain a first verification result;
performing node verification on the target account to verify the node information of the target account to obtain a second verification result;
and determining the block chain creation authority of the target account number based on the first check result and the second check result.
For example, in an application scenario of a federation chain, the attribution check may be performed on the target account to determine whether the institution to which the target account belongs is a member institution of the federation chain.
In one embodiment, referring to fig. 5, when the user's developer account audit passes, the user may add an organization through the developer account to join the federation chain. Specifically, the method may include the steps of adding an organization name, adding an organization identifier, and creating the affiliated organization. After the developer account successfully creates the organization, if the server performs attribution verification on the developer account, it can be determined that the attribution verification of the developer account passes.
The node check is used to check node information of the target account, for example, the node information may include IP information, a mechanism to which the node belongs, a data transmission account, a port, and the like.
In an embodiment, referring to fig. 5, when the developer account of the user passes the audit, the user may add host node information through the developer account, specifically, the method may include adding a host IP Address (Internet Protocol Address refers to an Internet Protocol Address, and is also translated into an Internet Protocol Address), selecting a mechanism to which the user belongs, and filling in an SSH (secure shell, chinese is a secure shell Protocol) account and an SSH port. After the host is successfully added to the developer account, if the server performs node verification on the developer account, it can be determined that the node verification of the developer account passes.
It is noted that in practical applications, it is checked before adding a host whether the performance requirements are met, otherwise the addition may fail.
The method for determining the block chain creation permission based on the first check result and the second check result may be various, for example, it may be set that when both the first check result and the second check result pass the check, the target account is determined to have the block chain creation permission; for another example, it may be set that if the first check result or the second check result is that the check is passed, it is determined that the target account has the creation permission of the block chain; for another example, different weights may be set for the first check result and the second check result, so that whether the target account has the creation permission of the blockchain may be determined through weighted calculation; and so on.
104. Deploying a target application of a target service on a target blockchain, and generating an intelligent contract for the target application.
An intelligent contract is a computer protocol that aims to propagate, verify or execute contracts in an informational manner. Smart contracts allow trusted transactions to be conducted without third parties, which transactions are traceable and irreversible.
On the created target block chain, a corresponding service application may be developed, where the data uplink mechanism and the processing interface may implement automated processing through an intelligent contract, and therefore, the server may deploy the target application of the target service on the target block chain and generate an intelligent contract for the target application, specifically, the step "deploy the target application of the target service on the target block chain" may include:
acquiring an application to be deployed of a target service, wherein the application to be deployed has corresponding application attribute information;
determining a member institution of the application to be deployed, wherein the member institution has a data processing authority for the application after deployment;
and deploying the application to be deployed to the target block chain based on the application attribute information and the member mechanism so as to deploy the target application of the target service on the target block chain.
The application attribute information is information describing an attribute of the target application, and for example, the application attribute information may include an application name, an application version number, and the like.
In an embodiment, a server may obtain an application to be deployed of a target service, where the application to be deployed has corresponding application attribute information, and specifically may include an application name, an application version number, and the like.
In another embodiment, referring to fig. 6, a user may add an application to be deployed newly through a blockchain hub management and control platform of a terminal, and determine a target blockchain for deploying the application to be deployed, an application name of the application to be deployed, an application version number, and the like. Accordingly, the server can obtain the application to be deployed of the target service through the terminal and determine the application attribute information of the application to be deployed.
Further, the server may determine a member authority to deploy the application, wherein the member authority has data processing rights for the deployed application. It is noted that different member organizations may be provided with different levels of data processing permissions for the post-deployment application.
After determining the application attribute and the member mechanism of the application to be deployed, the server deploys the application to be deployed to the target block chain based on the application attribute information and the member mechanism, so as to deploy the target application of the target service on the target block chain.
In addition, the server may also generate an intelligent contract of the target application, and specifically, the step "generating an intelligent contract of the target application" may include:
acquiring program information of an intelligent contract;
compiling the program information to obtain a compiled intelligent contract;
and establishing a connection relation between the compiled intelligent contract and the target application to obtain the intelligent contract of the target application.
The intelligent contract is a computerized agreement, can execute the terms of a certain contract, and particularly can be realized by codes which are deployed on a shared account and are used for executing when certain conditions are met, and is used for completing automated transaction according to actual business requirement codes, such as inquiring the logistics state of goods purchased by a buyer and transferring the electronic money of the buyer to the address of a merchant after the buyer signs the goods; of course, intelligent contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
As an example, the program information of an intelligent contract may be code information that may be used to execute the intelligent contract when certain conditions are met.
In an embodiment, the server may obtain the program information of the intelligent contract through the terminal, for example, referring to fig. 7, the user may input the program information of the intelligent contract through the code editing area described in fig. 7 on the blockchain hub management and control platform of the terminal, so that the server may obtain the program information through the terminal.
In an embodiment, the program information of the intelligent contract acquired by the server may be code information written in a solid language, and the server may compile the program information to obtain a compiled intelligent contract. In addition, the server may further send information related to the compiled smart contract to the terminal, so that the terminal may display the information related to the compiled contract through the blockchain hub management and control platform, for example, referring to fig. 7, an Application Binary Interface (ABI) after the contract is compiled, bin information, a version number of the contract, a contract name, and the like may be displayed in the contract information display area.
The connection relation between the compiled intelligent contract and the target application is used for setting the compiled intelligent contract as the intelligent contract used by the target application.
For example, referring to fig. 6, after acquiring a contract name, a contract path, and program information of the intelligent contract through the terminal, the server may compile the intelligent contract to obtain a compiled intelligent contract, and the server may execute contract deployment on the compiled intelligent contract to deploy the intelligent contract on the target block chain and set the intelligent contract for the target application, thereby establishing a connection relationship between the compiled intelligent contract and the target application.
In practical applications, in addition to generating an intelligent contract of a target application and performing contract deployment on the intelligent contract, similarly, the intelligent contracts of other applications on the same blockchain and the intelligent contracts of other applications on different blockchains may also be generated and further managed, and specifically, in the step "generating an intelligent contract of a target application", the method may further include:
specifically, the step "generating an intelligent contract for a target application" may further include:
acquiring attribute information of at least one intelligent contract;
analyzing the attribute information to obtain attribution information and state information of the intelligent contract, wherein the attribution information represents the application of the intelligent contract, and the state information represents the contract state of the intelligent contract;
and managing the intelligent contract based on the attribution information and the state information.
The attribute information of the intelligent contract is information describing the attribute of the intelligent contract, and the attribute information of the intelligent contract may include a contract name, a contract address, an affiliated application, an affiliated block chain, a contract language, a contract state, creation time, and the like of the intelligent contract.
The server may obtain attribute information of at least one intelligent contract, where the intelligent contracts may be intelligent contracts belonging to the same application, or intelligent contracts belonging to different applications, for example, may be intelligent contracts belonging to different applications on the same blockchain, or may be intelligent contracts belonging to different applications on different blockchains.
Wherein the attribution information of the intelligent contract represents the application to which the intelligent contract belongs; the state information of the intelligent contract characterizes the contract state of the intelligent contract, for example, the contract state may include: deployed, undeployed, decommissioned, and so forth.
In an embodiment, after the server generates an intelligent contract of a target application and executes contract deployment on the intelligent contract, the server may further obtain attribute information of the intelligent contract, where the attribute information may specifically include a contract address, an application to which the contract belongs, a business sub-chain to which the contract belongs, a contract state, contract creation time, and the like, and further manage the intelligent contract.
The server may manage the intelligent contracts in various ways, for example, the intelligent contracts may be classified according to the attribution information and the status information; for another example, referring to fig. 8, the server may send attribute information of each intelligent contract to the terminal to trigger the terminal to display an intelligent contract information list, where the intelligent contract information list includes at least one intelligent contract information item, and each intelligent contract information item corresponds to attribute information of one intelligent contract.
105. And performing data analysis on the on-chain data of the target application block chain through an intelligent contract of the target application so as to manage the target application based on the analysis result.
Wherein the on-chain data is data stored on the target block chain by the target application. Due to the specific chain type storage structure of the block chain, data on the chain can only be acquired and called in an intelligent contract interface mode, therefore, in the application, data analysis can be performed on the data on the chain of the target application block chain through an intelligent contract of the target application, and the target application is managed based on an analysis result. Specifically, the step "performing data analysis on the on-chain data of the target application in the target blockchain through the intelligent contract of the target application to manage the target application based on the analysis result" may include:
determining a target intelligent contract required for data analysis of a target application;
acquiring the link data of the target application in the target block chain by calling an interface of the target intelligent contract;
and performing data analysis on the data on the chain so as to manage the target application based on the analysis result.
Due to the technical characteristics of the scarce computing capability of the node of the block chain, the data structure of key value storage and the like, the complex data query, data analysis, data computation and the like which are not suitable for the block chain are determined, and the work is more suitable for being completed under the chain. Thus, in this embodiment, the server may determine a target intelligent contract for retrieving on-chain data for a target application for a target blockchain.
The server may obtain the data on the link of the target application in the target block chain by calling the interface provided by the target intelligent contract, and specifically, in order to improve efficiency, referring to fig. 9, the server may obtain the logic records of different blocks in a multi-thread manner by task scheduling, so as to efficiently obtain the data on the link of the target application in the target block chain.
Further, the server may analyze the acquired on-chain data to manage the target application based on the analysis result. Specifically, the step "performing data analysis on the data on the chain" may include:
carrying out structured analysis on the data on the chain to obtain structured data of the data on the chain;
generating a data processing interface for the structured data;
and performing data analysis on the structured data based on the call request aiming at the data processing interface.
The structured parsing is used for generating structured data, specifically, the structured data is also called row data, is logically expressed and implemented by a two-dimensional table structure, strictly follows the data format and length specification, and is mainly stored and managed by a relational database.
The Interface is also called Application Programming Interface (API), and is some predefined interfaces (such as functions) or conventions for linking different components of a software system. The interface may be used to provide applications and a set of routines that developers have access to based on certain software or hardware without having to access source code or understand the details of the internal working mechanisms.
In this embodiment, the data processing interface for structured data is an interface providing different data processing functions for structured data, for example, referring to fig. 9, the data processing interface may include a CRUD interface for structured data, where CRUD refers to acronyms of several words of add (Create), retrieve (Retrieve), update (Update), and Delete (Delete) when doing computing processing. CRUD is used primarily to describe the basic operational functions of a database or persistence layer in a software system.
For example, referring to fig. 9, after structured data of the data on the chain is obtained by performing structured parsing on the data on the chain, the server may further perform structured storage on the structured data obtained by parsing through the relational database, and provide a data processing interface in the relational database, for example, a CRUD interface, to generate a mutual data processing interface for the structured data.
Further, the server may obtain a call request of the upper layer user for the data processing interface, and perform corresponding data processing on the structured data, so as to analyze the structured data. For example, operations of adding, deleting, modifying and checking structured data can be performed, visual display of data can be achieved, data analysis can be performed, and the like.
In addition, after the data on the chain is acquired, the server can also perform standardized processing on the chain data according to a chain storage mode, and can assist and automatically store the program data into the database through a persistence framework. Specifically, after the step "acquiring the on-chain data of the target application in the target block chain", the method may further include:
standardizing the data on the link based on a storage mode of the data on the link in the target block chain to obtain standardized data of the data on the link;
the normalized data is stored to a down-link database of the target blockchain.
The storage mode of the data on the block chain may be various, for example, the storage mode may include a chain storage mode, specifically, the chain storage mode stores data elements in a computer memory in a storage unit with an arbitrary address, and the logical relationship between the data elements is implemented in a pointer connection mode.
Wherein the normalization of the data is to scale the data to fall within a small specified interval. In some index processing for comparison and evaluation, unit limitation of data is removed and converted into a dimensionless pure numerical value, so that indexes of different units or orders can be compared and weighted conveniently. The most typical method is data normalization, i.e. mapping data onto [0,1] interval uniformly, and the common methods for data normalization include: dispersion normalization (Min-max normalization), log function transformation, atan function transformation, standard deviation normalization (zero-mean normalization, z-score normalization), fuzzy quantization, and the like.
In this embodiment, the server may perform normalization processing on the on-chain data based on a chain storage mode of the on-chain data in the target block chain to obtain normalized data of the on-chain data, so that data analysis may be performed on the on-chain data based on the normalized data in the subsequent step.
After obtaining the normalized data of the on-chain data, the normalized data may also be stored to the off-chain database of the target blockchain, e.g., the normalized data may be stored to the off-chain database of the target blockchain as needed based on the data derivation model of the on-chain data. Specifically, the step "storing the normalized data in the under-link database of the target block chain" may include:
determining a data derivation model for the data on the chain;
extracting target data information corresponding to the data derivation model from the standardized data;
combining the target data information based on the data export model to obtain combined information;
and storing the combined information into a down-link database of the target block chain.
Where the data export model is a specification to which the on-chain data is exported from the target database, for example, the data export model may include: a block chain detailed data export model, a block transaction data export model, a contract information export model and the like.
Specifically, the blockchain detailed data derivation model may be configured to derive detailed data of each block, which may specifically include a block hash, a block height, a block derivation time, a transaction amount on a block, and the like; the block transaction data derivation model can be used for deriving basic information of each transaction in each block, and specifically can include block hashes, block heights, block out times, intelligent contract names, contract method names, transaction hashes, transaction initiator addresses, transaction receiver addresses and the like; the block contract information derivation model may be configured to derive relevant information of a contract, and specifically may include an Application Binary Interface (ABI) after the contract is compiled, bin information, a version number of the contract, a contract name, and the like.
After determining the data derivation model of the data on the chain, the target data information corresponding to the data derivation model may be extracted from the normalized data, for example, in an embodiment, the data derivation model of the data on the chain is a block chain detailed data derivation model, and the server may extract the target data information including block hash, block height, block time, transaction amount on the block, and the like from the normalized data of the data on the chain. For another example, in an embodiment, the data export model of the data on the link is a block transaction data export model, and the server may extract target data information including a block hash, a block height, a block out time, an intelligent contract name, a method name in a contract, a transaction hash, a transaction initiator address, a transaction receiver address, and the like from the standardized data of the data on the link; and so on.
Further, the extracted target data information may be combined based on a data derivation model of the data on the link to obtain combined information.
As an example, in an embodiment, the data derivation model for the data on the chain is a blockchain detailed data derivation model, wherein the model specification of the blockchain detailed data derivation model may be as follows:
Figure BDA0003020522690000191
the server may extract target data information corresponding to the model from the standardized data extraction blockchain detailed data, where the extracted target data information may specifically include a key ID, a block hash, a block height, a block exit time, a current block transaction amount, a record insertion/update time, and a block time. Further, the server may combine the extracted target data information based on a model specification of the block chain detailed data derivation model to obtain combined information.
As an example, in another embodiment, the data derivation model for the on-chain data is a block transaction data derivation model, wherein the model specification for the block transaction data derivation model may be as follows:
Figure BDA0003020522690000201
the server may extract target data information corresponding to the block transaction data derivation model from the standardized data, where the extracted target data information may specifically include a key ID, a block hash, a block height, a block exit time, a contract name of the transaction, a function name called by the transaction, a transaction hash, a transaction initiator address, a transaction receiver address, and a record insertion/update time. Further, the server may combine the extracted target data information based on a model specification of the block transaction data derivation model to obtain combined information.
As an example, in another embodiment, the data-derived model of the on-chain data is a contract information-derived model, wherein the model specification of the contract information-derived model may be as follows:
Figure BDA0003020522690000211
the server may extract target data information corresponding to the contract information derivation model from the standardized data, where the extracted target data information may specifically include a primary key ID, an ABI hash value, a contract ABI, contract Bin information, a contract name, a version number, and record insertion/update time. Further, the server may combine the extracted target data information based on a model specification of the contract information derivation model to obtain combined information.
After the combined information is obtained, the combined data may be stored in a downlink database of the target block chain, where the downlink database is a database that can provide storage in addition to the target block chain, and for example, the downlink database may include a relational database and a non-relational database, etc.
In practical applications, form data corresponding to each data derivation model may also be derived from the down-link database based on the data derivation model, so that data analysis and management can be performed on the blockchain application based on the derived data.
As can be seen from the above, in this embodiment, a bottom chain type set of a blockchain may be obtained, where the bottom chain type set includes a bottom chain type of at least one blockchain bottom chain; determining a target bottom chain type required for creating a block chain from the bottom chain type set; creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application; and performing data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
The scheme can provide a bottom chain type set comprising at least one bottom chain type, and based on the block chain bottom chain of each bottom chain type, the block chains of different bottom chains are created, so that the applications are deployed on the created block chains, and the data analysis and the application management are carried out on the deployed applications through intelligent contracts. That is to say, the present application not only can support the creation of the blockchains belonging to different bottom chains, but also can support the deployment of applications on different blockchains and perform data analysis and management on the deployed applications, and therefore, the present application can manage multi-chain multi-applications, and compared with a management method of only supporting the blockchain application of a single bottom chain, the present application can effectively improve the management efficiency of the blockchain application, and can avoid invariance and inefficiency brought by only supporting the management of the applications on the single bottom chain.
Secondly, the scheme supports mainstream alliance chains such as FISCO BCOS and Hyperridge Fabric, provides multiple choices for users, and can provide standards to access to the bottom-layer platforms of other manufacturers. The scheme provides development tools such as contract Integrated Development Environment (IDE) and the like, and realizes one-stop development kits such as online editing, compiling, debugging and deploying of contracts. And the complex block chain technology can be packaged into a simple and easy-to-use API, so that the system can be applied to any language development, and the convenience of system chain modification is improved. In addition, a general block chain application component is built in the scheme, an intelligent contract which is verified for a long time is built in the scheme, a service layer does not need to be developed, and the intelligent contract can be used after being opened.
In addition, the scheme may deploy a blockchain backbone management and control platform for the user, and support a developer platform and a data operation and maintenance and analysis platform, as shown in fig. 10. And basic components provided by the hub, such as private key escrow, message queues, CA (certificate authority) certificate services, contract security detection services. The operation and maintenance management module supports services such as application management, statistical log management, contract management and node management.
In addition, the scheme also provides a powerful data analysis and management module aiming at the block chain application, can analyze the transaction, export the transaction to an out-of-chain storage system, realize the structured processing of the data, and access a data analysis and visualization system. The method can provide a data supervision platform for a supervision mechanism, and can conveniently search and monitor illegal contents on the chain.
The method described in the above examples is further described in detail below by way of example.
In this embodiment, a management device for a blockchain application is integrated in a server and a terminal, and the server may be a single server or a server cluster composed of a plurality of servers; the terminal can be a mobile phone, a tablet computer, a notebook computer and other equipment.
As shown in fig. 11, a method for managing blockchain applications includes the following specific processes:
201. the server acquires a bottom chain type set of the block chains, wherein the bottom chain type set comprises at least one bottom chain type of the block chain bottom chain.
The bottom chain type is a type of a bottom chain of the blockchain, for example, the bottom chain type may include a BCOS type and a Fabric type, and the like.
In an embodiment, a server may determine a bottom block chain capable of supporting creation of a block chain, and further determine a bottom chain type set of the block chain, where the bottom chain type set includes a bottom chain type of at least one bottom block chain, and the server may create the block chain based on the bottom block chain corresponding to each bottom chain type.
In addition, as a specific application of the present application, the terminal may be configured with a blockchain center management and control platform as shown in fig. 12, wherein for the management method of blockchain applications described in the present application, the blockchain center management and control platform may be correspondingly provided with functions of data overview, organization management, host management, blockchain management, application management, contract management, private key management, certificate management, notification center, and user management.
Referring to fig. 12, as the data overview function provided by the blockchain backbone management platform is shown, the user can learn the overview of the blockchains and the applications through the data overview page, such as the number of blockchains, the number of applications, the number of organizations, the number of hosts, and so on. Further, the data overview page may also be provided with operation guidelines as shown in fig. 12.
Wherein, the organization management can be used for the user to add new organizations and to learn the relevant information of all organizations. For example, an organization information list may be presented on an organization management page, where the organization information list includes at least one organization information item, and each organization information item corresponds to attribute information of an organization, such as an organization number, an organization name, an organization creation time, and the like.
The host management is also called node management, and the node management can provide functions of pre-lists, node lists and node consensus state modification. The user can add the new node to the prepositive list by adding the new node prepositive. The system will default to pull the group where the prefix is located and the node information of each group. In the node list, the user may modify the consensus status of the nodes.
The block chain management is used for the user to add a block chain and to obtain the relevant information of all the created block chains. For example, the blockchain information list may be presented in the blockchain management page, where the blockchain information list includes at least one blockchain information item, and each blockchain information item corresponds to attribute information of one blockchain, such as a blockchain ID, a blockchain name, a blockchain type, a blockchain status, a blockchain creation time, and the like.
The application management can be used for a user to add new applications and learn relevant information of all the applications. For example, an application information list may be presented in the application management page, where the application information list includes at least one application information item, and each application information item corresponds to attribute information of one application, such as an application ID, an application name, an application version, a block chain to which the application belongs, an application state, an application creation time, and the like.
Among other things, contract management may provide a CRUD functionality for a contract development IDE environment, a list of deployed contracts, contract queries, and precompiled contracts.
Similarly, private key management, certificate management, and user management, may provide management functions for private keys, certificates, and users in the blockchain, respectively. As an example, private key management may be used for newly creating a private key user and a public key user, and specifically, private key management may be used for newly creating a private key user, where the private key is to be hosted in a signature service, and then signing contract deployment and contract invocation through the signature service. It is noted that the external account can be imported through the newly created public key account, and is mainly used for associating the transaction with the user.
202. And the server sends the bottom chain type set to the terminal, and the terminal determines a target bottom chain type required by block chain creation from the bottom chain type set.
In an embodiment, the server may determine the target bottom chain type through the terminal, for example, the user may select the target bottom chain type from the bottom chain type set through a blockchain hub management and control platform of the terminal, and further, the terminal may send the target bottom chain type information to the server, so that the server may determine the target bottom chain type required for creating the blockchain from the bottom chain type set.
203. And the terminal sends the target bottom chain type to the server.
204. And the server creates a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type.
In an embodiment, the present application may be applied to a federation chain, where a server may determine attribute information of a target blockchain to be created, further create an initial blockchain of a target service based on a blockchain bottom chain and the attribute information, and add a member authority to the initial blockchain to obtain an added target blockchain, where the member authority has a data processing right for the target blockchain. If no member mechanism needs to be added to the initial block chain, the initial block chain can be used as a target block chain to obtain a target block chain of the target service.
In another embodiment, the server may give a preset account the right to create the target blockchain, for example, in an application scenario of the federation chain, an account for creating the target blockchain needs to be checked to determine whether the account meets a criterion of the federation chain. Therefore, the server may determine a target account for creating a target block chain, and perform an authority check on the target account to determine a block chain creation authority of the target account. And when the permission check is detected to pass, establishing a target block chain of the target service through the target account based on the block chain bottom chain.
In this embodiment, the blockchain hub management and control platform on the terminal may set a developer management page accordingly, and referring to fig. 13, the developer management may be used for the operation and maintenance manager to add new developers and learn about information of all developers. For example, a developer information list may be presented in a developer management page, where the developer information list includes at least one developer information item, and each developer information item corresponds to attribute information of a developer, such as a developer name, a belonging business, a mailbox, a telephone, a status, an account creation time, and the like.
205. The server deploys a target application of the target service on the target blockchain and generates an intelligent contract of the target application.
In an embodiment, a server may obtain an application to be deployed of a target service, where the application to be deployed has corresponding application attribute information. Further, the server may determine a member organization of the application to be deployed, where the member organization has a data processing permission for the application after deployment, and in this case, the server may deploy the application to be deployed to the target block chain based on the application attribute information and the member organization, so as to deploy the target application of the target service on the target block chain.
In an embodiment, the server may obtain program information of the intelligent contract, and perform compiling processing on the program information to obtain a compiled intelligent contract, and further, the server may establish a connection relationship between the compiled intelligent contract and the target application to generate the intelligent contract of the target application.
206. And the server performs data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
In an embodiment, the server may determine a target intelligent contract required for data analysis on the target application, and obtain the on-chain data of the target application in the target block chain by calling an interface of the target intelligent contract, and further, the server may perform data analysis on the on-chain data to manage the target application based on an analysis result.
As can be seen from the above, the embodiment of the present application may provide a bottom chain type set including at least one bottom chain type, create block chains belonging to different bottom chains based on the bottom chain of the block chain of each bottom chain type, further deploy an application on the created block chain, and perform data analysis and application management on the deployed application through an intelligent contract. That is to say, the embodiment of the present application may support not only creation of block chains belonging to different bottom chains, but also deployment of applications on different block chains and data analysis and management of the deployed applications, so that the embodiment of the present application may manage multi-chain and multi-application, and compared with a management manner that only supports a single bottom chain block chain application, the embodiment of the present application may effectively improve management efficiency of block chain applications, and may avoid invariance and inefficiency caused by only supporting management of applications on a single bottom chain.
Moreover, the method and the device can quickly construct a block chain technology platform, have visual deployment nodes, quickly construct the chain and centrally manage multiple chains. The method provides convenient operation and maintenance management tools for contract management, node management, certificate management, private key management, configuration management and the like. And multiple block chain applications can be managed on the same management platform, so that centralized management of multiple chains and multiple applications is realized.
In order to better implement the method, correspondingly, the embodiment of the present application further provides a management device for the blockchain application, wherein the management device for the blockchain application may be integrated in a server or a terminal. The server can be a single server or a server cluster consisting of a plurality of servers; the terminal can be a mobile phone, a tablet computer, a notebook computer and other equipment.
For example, as shown in fig. 14, the management apparatus for the blockchain application may include an obtaining unit 301, a determining unit 302, a creating unit 303, a deploying unit 304, and an analyzing unit 305, as follows:
an obtaining unit 301, configured to obtain a bottom chain type set of a block chain, where the bottom chain type set includes a bottom chain type of at least one block chain bottom chain;
a determining unit 302, configured to determine, from the set of bottom chain types, a target bottom chain type required for creating a blockchain;
a creating unit 303, configured to create a target block chain of a target service based on the block chain bottom chain corresponding to the target bottom chain type;
a deployment unit 304, configured to deploy a target application of the target service on the target blockchain, and generate an intelligent contract for the target application;
an analyzing unit 305, configured to perform data analysis on the on-chain data of the target block chain for the target application through the smart contract of the target application, so as to manage the target application based on an analysis result.
In an embodiment, referring to fig. 15, the creating unit 303 may include:
an information determining subunit 3031, configured to determine attribute information of a target block chain to be created;
an initial creating subunit 3032, configured to create an initial blockchain of a target service based on the blockchain bottom chain and the attribute information;
a mechanism adding subunit 3033, configured to add a member mechanism to the initial blockchain, to obtain an added target blockchain, where the member mechanism has a data processing right for the target blockchain.
In an embodiment, referring to fig. 16, the creating unit 303 may include:
an account determination subunit 3034, configured to determine a target account for creating a target block chain;
the authority checking subunit 3035 may be configured to perform authority checking on the target account to determine a block chain creation authority of the target account;
the target creating subunit 3036 may be configured to create, when it is detected that the authority check passes, a target block chain of a target service based on the bottom block chain through the target account.
In an embodiment, the permission check subunit 3035 may be configured to:
performing attribution verification on the target account to verify attribution mechanism information of the target account to obtain a first verification result; performing node verification on the target account to verify node information of the target account to obtain a second verification result; and determining the block chain creation authority of the target account number based on the first check result and the second check result.
In an embodiment, referring to fig. 17, the deployment unit 304 may include:
the application obtaining subunit 3041 may be configured to obtain an application to be deployed of the target service, where the application to be deployed has corresponding application attribute information;
an organization determination subunit 3042, which may determine a member organization of the application to be deployed, where the member organization has a data processing authority for the post-deployment application;
the application deployment subunit 3043 may deploy, based on the application attribute information and the member institution, the application to be deployed to the target block chain, so as to deploy the target application of the target service on the target block chain.
In an embodiment, referring to fig. 18, the deployment unit 304 may include:
a program acquisition subunit 3044 operable to acquire program information of the intelligent contract;
a program compiling subunit 3045, configured to compile the program information to obtain a compiled intelligent contract;
the relationship establishing subunit 3046 may establish a connection relationship between the compiled intelligent contract and the target application, to obtain the intelligent contract of the target application.
In an embodiment, referring to fig. 19, after the generating the intelligent contract of the target application, the management apparatus of the blockchain application may further include:
an information obtaining unit 306, which may be configured to obtain attribute information of at least one intelligent contract;
an information analysis unit 307, configured to analyze the attribute information to obtain attribution information and state information of the intelligent contract, where the attribution information represents an application to which the intelligent contract belongs, and the state information represents a contract state of the intelligent contract;
the contract management unit 308 may be configured to manage the intelligent contracts based on the attribution information and the status information.
In an embodiment, referring to fig. 20, the analyzing unit 305 may include:
a contract determination subunit 3051, which may be configured to determine a target intelligent contract required for data analysis on the target application;
the data obtaining sub-unit 3052 may be configured to obtain, by invoking an interface of the target intelligent contract, data on the target block chain of the target application;
a data analysis subunit 3053, configured to perform data analysis on the data on the chain, so as to manage the target application based on an analysis result.
In an embodiment, the data analysis subunit 3053 may be specifically configured to:
carrying out structured analysis on the data on the chain to obtain structured data of the data on the chain; generating a data processing interface for the structured data; and performing data analysis on the structured data based on the call request aiming at the data processing interface.
In an embodiment, referring to fig. 21, after the acquiring the on-chain data of the target application in the target block chain, the analyzing unit 305 may further include:
the normalizing subunit 3054 is configured to perform normalization processing on the data on the chain based on a storage mode of the data on the chain in the target block chain, so as to obtain normalized data of the data on the chain;
a data store subunit 3055, which may be used to store the normalized data to a downlink database of the target blockchain.
In an embodiment, the data storage subunit 3055 may be specifically configured to:
determining a data-derived model of the data on the chain; extracting target data information corresponding to the data derivation model from the standardized data; combining the target data information based on the data derivation model to obtain combined information; and storing the combined information to a downlink database of the target block chain.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the management apparatus for blockchain application of the present embodiment, the obtaining unit 301 obtains a bottom chain type set of blockchains, where the bottom chain type set includes at least one bottom chain type of blockchain bottom chain; determining, by the determining unit 302, a target bottom chain type required for creating a blockchain from the set of bottom chain types; creating, by the creating unit 303, a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying, by the deployment unit 304, a target application of the target service on the target blockchain, and generating an intelligent contract for the target application; the target application is subjected to data analysis on the on-chain data of the target blockchain by the analysis unit 305 through the intelligent contract of the target application, so as to manage the target application based on the analysis result.
The scheme can provide a bottom chain type set comprising at least one bottom chain type, and based on the block chain bottom chain of each bottom chain type, the block chains of different bottom chains are created, so that the application is deployed on the created block chain, and the data analysis and the application management are carried out on the deployed application through an intelligent contract. That is to say, the method and the device can support not only creation of the blockchains of the different underlying chains, but also deployment of the applications on the different blockchains and data analysis and management of the deployed applications, so that the method and the device can manage multi-chain multi-application, and compared with a management mode that only supports a blockchain application of a single underlying chain, the method and the device can effectively improve management efficiency of the blockchain application and can avoid invariance and inefficiency brought by management of the applications on the single underlying chain through support of only the application on the single underlying chain.
In addition, an embodiment of the present application further provides a computer device, where the computer device may be a server or a terminal, and as shown in fig. 18, a schematic structural diagram of the computer device according to the embodiment of the present application is shown, specifically:
the computer device may include components such as a memory 401 having one or more computer-readable storage media, an input unit 402, a display unit 403, a processor 404 including one or more processing cores, and a power supply 405. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 22 is not intended to be limiting of computer devices and may include more or fewer components than those shown, or some of the components may be combined, or a different arrangement of components. Wherein:
the memory 401 may be used to store software programs and modules, and the processor 404 executes various functional applications and data processing by operating the software programs and modules stored in the memory 401. The memory 401 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the computer device, and the like. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 401 may also include a memory controller to provide the processor 404 and the input unit 402 access to the memory 401.
The input unit 402 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 402 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 404, and can receive and execute commands sent by the processor 404. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 402 may include other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 403 may be used to display information input by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 403 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 404 to determine the type of touch event, and then the processor 404 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 22 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel for input and output functions.
The processor 404 is a control center of the computer device, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the computer device and processes data by operating or executing software programs and/or modules stored in the memory 401 and calling data stored in the memory 401, thereby performing overall monitoring of the mobile phone. Optionally, processor 404 may include one or more processing cores; preferably, the processor 404 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 404.
The computer device also includes a power source 405 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 404 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 405 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the computer device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 404 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 401 according to the following instructions, and the processor 404 runs the application program stored in the memory 401, so as to implement various functions as follows:
acquiring a bottom chain type set of a block chain, wherein the bottom chain type set comprises at least one bottom chain type of the bottom chain of the block chain; determining a target bottom chain type required for creating a block chain from the bottom chain type set; creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application; and performing data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the computer device of this embodiment may provide a bottom chain type set including at least one bottom chain type, create a blockchain belonging to a different bottom chain based on the blockchain bottom chain of each bottom chain type, further deploy an application on the created blockchain, and perform data analysis and application management on the deployed application through an intelligent contract. That is to say, the computer device of this embodiment may support not only creation of blockchains belonging to different bottom chains, but also deployment of applications on different blockchains and data analysis and management of the deployed applications, and therefore, the computer device of this embodiment may manage multi-chain multi-applications, and compared with a management manner that only supports a blockchain application of a single bottom chain, the present application may effectively improve management efficiency of blockchain applications, and may avoid invariance and inefficiency caused by management of applications on a single bottom chain by only supporting the application on the single bottom chain.
The system related to the embodiment of the application can be a distributed system formed by connecting a client, a plurality of nodes (any form of computing equipment in an access network, such as a server and a user terminal) through a network communication mode.
Taking a distributed system as a blockchain system as an example, referring To fig. 23, fig. 23 is an optional structural schematic diagram of the distributed system 500 applied To the blockchain system provided in the embodiment of the present application, and is formed by a plurality of nodes 600 (computing devices in any form in an access network, such as servers and user terminals) and a client 700, a Peer-To-Peer (P2P) network is formed between the nodes, and the P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, which includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.
Referring to the functions of each node in the blockchain system shown in fig. 23, the functions involved include:
1) Routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) The application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recorded data, carrying a digital signature in the recorded data to represent a source of task data, and sending the recorded data to other nodes in the block chain system, so that the recorded data is added to a temporary block when the other nodes verify the source and the integrity of the recorded data.
For example, the services implemented by the application include:
2.1 Wallet) for providing functions of conducting transactions of electronic money, including initiating transactions (i.e. sending transaction records of current transactions to other nodes in the blockchain system, and storing the record data of the transactions in temporary blocks of the blockchain as a response for acknowledging that the transactions are valid after the other nodes are successfully verified; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
2.2 Shared account book) is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify that the record data are valid, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3 Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by code deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement code, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to a merchant's address after the buyer has signed up for goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and the blocks record the record data submitted by the nodes in the Block chain system.
Referring to fig. 24, fig. 24 is an alternative schematic diagram of a Block Structure (Block Structure) provided in an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the management methods for blockchain applications provided in the present application. For example, the instructions may perform the steps of:
acquiring a bottom chain type set of a block chain, wherein the bottom chain type set comprises at least one bottom chain type of the bottom chain of the block chain; determining a target bottom chain type required for creating a block chain from the bottom chain type set; creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type; deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application; and performing data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in the management method for any block chain application provided in the embodiment of the present application, beneficial effects that can be achieved by the management method for any block chain application provided in the embodiment of the present application may be achieved, for details, see the foregoing embodiment, and are not described herein again.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the methods provided in the various alternative implementations of the management aspect of the blockchain application described above.
The method, the apparatus, the computer device, and the storage medium for managing a blockchain application provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A method for managing blockchain applications, comprising:
acquiring a bottom chain type set of a block chain, wherein the bottom chain type set comprises at least one bottom chain type of the bottom chain of the block chain;
determining a target bottom chain type required for creating a block chain from the bottom chain type set;
creating a target block chain of the target service based on the block chain bottom chain corresponding to the target bottom chain type;
deploying a target application of the target service on the target blockchain, and generating an intelligent contract of the target application;
and performing data analysis on the link data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
2. The method for managing a blockchain application according to claim 1, wherein creating a target blockchain of a target service based on a blockchain bottom chain corresponding to the target bottom chain type includes:
determining attribute information of a target block chain to be created;
based on the block chain bottom chain and the attribute information, an initial block chain of a target service is created;
and adding a member mechanism to the initial block chain to obtain an added target block chain, wherein the member mechanism has a data processing authority aiming at the target block chain.
3. The method for managing a blockchain application according to claim 1, wherein creating a target blockchain of a target service based on a blockchain bottom chain corresponding to the target bottom chain type includes:
determining a target account number for creating a target block chain;
performing authority verification on the target account number to determine a block chain creation authority of the target account number;
and when the permission check is detected to pass, creating a target block chain of the target service through the target account based on the block chain bottom chain.
4. The method for managing a blockchain application according to claim 3, wherein performing a permission check on the target account to determine a blockchain creation permission of the target account includes:
performing attribution verification on the target account to verify attribution mechanism information of the target account to obtain a first verification result;
performing node verification on the target account to verify node information of the target account to obtain a second verification result;
and determining the block chain creation authority of the target account number based on the first check result and the second check result.
5. The method for managing blockchain applications of claim 1, wherein deploying a target application of the target service on the target blockchain comprises:
acquiring an application to be deployed of the target service, wherein the application to be deployed has corresponding application attribute information;
determining a member institution of the application to be deployed, wherein the member institution has a data processing authority for the application after deployment;
and deploying the application to be deployed to the target block chain based on the application attribute information and the member mechanism so as to deploy the target application of the target service on the target block chain.
6. The method for managing a blockchain application according to claim 1, wherein generating an intelligent contract for the target application comprises:
acquiring program information of an intelligent contract;
compiling the program information to obtain a compiled intelligent contract;
and establishing a connection relation between the compiled intelligent contract and the target application to obtain the intelligent contract of the target application.
7. A method for managing blockchain applications as in claim 1 wherein after said generating of said smart contract for said target application, said method further comprises:
acquiring attribute information of at least one intelligent contract;
analyzing the attribute information to obtain attribution information and state information of the intelligent contract, wherein the attribution information represents the application to which the intelligent contract belongs, and the state information represents the contract state of the intelligent contract;
and managing the intelligent contract based on the attribution information and the state information.
8. The method for managing a blockchain application according to claim 1, wherein performing data analysis on the on-chain data of the target application in the target blockchain through an intelligent contract of the target application to manage the target application based on an analysis result comprises:
determining a target intelligent contract required for data analysis of the target application;
acquiring the link data of the target application in the target block chain by calling an interface of the target intelligent contract;
and performing data analysis on the data on the chain so as to manage the target application based on the analysis result.
9. The method for managing blockchain applications of claim 8, wherein analyzing the data on the chain includes:
carrying out structured analysis on the data on the chain to obtain structured data of the data on the chain;
generating a data processing interface for the structured data;
and performing data analysis on the structured data based on the call request aiming at the data processing interface.
10. The method for managing blockchain applications according to claim 8, wherein after said obtaining the on-chain data of the target application, the method further comprises:
based on the storage mode of the data on the chain in the target block chain, carrying out standardization processing on the data on the chain to obtain the standardized data of the data on the chain;
storing the normalized data to a down-link database of the target blockchain.
11. The method of claim 10, wherein storing the standardized model to the target blockchain's off-chain database comprises:
determining a data-derived model of the data on the chain;
extracting target data information corresponding to the data derivation model from the standardized data;
combining the target data information based on the data derivation model to obtain combined information;
and storing the combined information to a down-link database of the target block chain.
12. An apparatus for managing blockchain applications, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a bottom chain type set of a block chain, and the bottom chain type set comprises at least one bottom chain type of the block chain;
a determining unit, configured to determine, from the bottom chain type set, a target bottom chain type required for creating a block chain;
a creating unit, configured to create a target block chain of a target service based on the block chain bottom chain corresponding to the target bottom chain type;
the deployment unit is used for deploying a target application of the target business on the target blockchain and generating an intelligent contract of the target application;
and the analysis unit is used for carrying out data analysis on the on-chain data of the target application in the target block chain through the intelligent contract of the target application so as to manage the target application based on the analysis result.
13. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the operations of the method for managing a blockchain application according to any one of claims 1 to 11.
14. A storage medium storing instructions adapted to be loaded by a processor to perform the steps in the management of a blockchain application according to any one of claims 1 to 11.
CN202110401530.7A 2021-04-14 2021-04-14 Block chain application management method and device, computer equipment and storage medium Pending CN115204870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110401530.7A CN115204870A (en) 2021-04-14 2021-04-14 Block chain application management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110401530.7A CN115204870A (en) 2021-04-14 2021-04-14 Block chain application management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115204870A true CN115204870A (en) 2022-10-18

Family

ID=83574272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110401530.7A Pending CN115204870A (en) 2021-04-14 2021-04-14 Block chain application management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115204870A (en)

Similar Documents

Publication Publication Date Title
US11921682B2 (en) Extracting data from a blockchain network
US11875400B2 (en) Systems, methods, and apparatuses for dynamically assigning nodes to a group within blockchains based on transaction type and node intelligence using distributed ledger technology (DLT)
US10564936B2 (en) Data processing systems for identity validation of data subject access requests and related methods
CN105940410B (en) For removing the cleaner of personal recognizable information
US20190386940A1 (en) Method for providing recording and verification service for data received and transmitted by messenger service, and server using method
CN104067283B (en) Identify the wooden horse application program of mobile environment
GB2565411A (en) Improved hardware security module management
US20210105133A1 (en) Audit result data storage method and device, audit result data query method and device, and audit item storage method and device
CN111639309B (en) Data processing method and device, node equipment and storage medium
CN114971827A (en) Account checking method and device based on block chain, electronic equipment and storage medium
WO2020213763A1 (en) Method and system for verifying block-chain data stored in storage having different format from block-chain
CN109918375A (en) It is a kind of based on block chain and the big text of distributed storage storage, index and search method
Garcia Bringas et al. BlockChain platforms in financial services: current perspective
CN110807209B (en) Data processing method, device and storage medium
CN115114372A (en) Data processing method, device and equipment based on block chain and readable storage medium
JP2020197873A (en) Information processing system and method for controlling information processing system
JP7460348B2 (en) Transaction processing system and method enabling blockchain expansion
CN116521509A (en) Intelligent contract testing method, device, equipment, storage medium and product
CN115204870A (en) Block chain application management method and device, computer equipment and storage medium
KR20230132878A (en) Reduce transaction cancellations in execute-order-verify blockchain models
JP7249453B1 (en) Contract management program, information processing device, information processing system, information processing method
CN114338059B (en) Application opening method, device, terminal and storage medium
CN117057806B (en) Data processing method and device based on block chain and related equipment
US11443064B2 (en) Verifiable removal of item of confidential information from data of a record
KR20210114818A (en) Method and apparatus for generating hybrid blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40075342

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination