CN110751476A - Method and system for managing side chain application by using block chain intelligent contract - Google Patents
Method and system for managing side chain application by using block chain intelligent contract Download PDFInfo
- Publication number
- CN110751476A CN110751476A CN201911269777.7A CN201911269777A CN110751476A CN 110751476 A CN110751476 A CN 110751476A CN 201911269777 A CN201911269777 A CN 201911269777A CN 110751476 A CN110751476 A CN 110751476A
- Authority
- CN
- China
- Prior art keywords
- side chain
- app
- developer
- contract
- application management
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method and a system for managing side chain application by using a block chain intelligent contract. Managing the side chain App by deploying an application management contract; according to the scheme, a unique identifier (App ID) is distributed to the side chain App, and only the transaction of the side chain App which is distributed with the legal App ID and is deployed can finally enter a transaction pool; otherwise, the transaction pool cannot be entered, and the deployment cannot be obtained on the block chain public chain platform.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a method and a system for managing side chain application by using a block chain intelligent contract.
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. Currently, blockchains are undergoing evolution from bitcoin, etherhouse single-chain architectures to Cosmos, Polkadot multi-chain architectures. Both the bitcoin and the etherhouse are single-chain architectures, developers cannot develop side-chain applications based on the bitcoin and the etherhouse, and application deployment can only be realized by developing scripts running on the bitcoin and the etherhouse.
Cosmos and Polkadot provide a multi-chain architecture aiming at the problem of expansibility of a single-chain architecture such as Bingjuan and Ethwang. The application developer can develop the side chain according to the SDK (Software Development Kit) provided by the application developer and access the main chain. However, at present, there is no management method for deploying applications on a public chain of a block chain, and any developer can deploy applications on the public chain, so that management of the applications on the block chain cannot be managed, and many potential safety hazards exist. The invention provides a side chain application management system under a block chain multi-chain architecture.
Disclosure of Invention
To solve the above problems, the present invention provides a method and system for managing a side-chain application using a block chain intelligent contract.
The embodiment of the invention provides a system for managing side chain application by using a block chain intelligent contract, which comprises a side chain developer client, an application management server, an administrator client and a block chain public chain platform, wherein the side chain developer client comprises:
the side chain developer client is used for submitting application information to an application management server, wherein the application information comprises a user account number of the side chain developer and a side chain initial mining node address set;
the application management server is used for distributing a side chain App ID to the side chain developer after receiving the application information, and establishing a first mapping relation between a user account of the side chain developer and the side chain App ID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to the side chain developer client;
the side chain developer client is used for displaying the side chain App ID to the side chain developer, and the side chain developer submits the attribute of a starting contract under the side chain App ID to the administrator client;
the administrator client is used for deploying the starting contract under the side chain App ID according to input information of an administrator after receiving the attribute of the starting contract under the side chain App ID, and starting the side chain App corresponding to the side chain App ID;
the block chain public chain platform is used for receiving an extended contract deployment message which is sent by the side chain developer to deploy an extended contract under the side chain App ID and carries preset information, and the preset information comprises the side chain App ID and a user account of the side chain developer; and judging whether a first mapping relation exists in the application management contract and is consistent with the preset information, and if so, submitting the extended contract deployment message to a transaction pool.
In one embodiment, the application management server is further configured to establish a second mapping relationship between the side chain App ID and the side chain initial mining node address set while establishing the first mapping relationship, and store the second mapping relationship into the application management contract.
In one embodiment, the application management server is further configured to verify the application information after receiving the application information and before allocating a side chain App ID to the side chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer.
In one embodiment, the administrator client is further configured to send a started notification to the side chain developer client after a side chain App corresponding to the side chain App ID is started, and the side chain developer client displays the started notification to the side chain developer; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends an extension contract deployment message carrying preset information to the block chain public chain platform.
In one embodiment, after the block chain common link platform determines whether a first mapping relationship exists in the application management contract and is consistent with the preset information, the method further includes:
if not, the extended contract deployment message is discarded.
The embodiment of the invention provides a method for managing side chain application by using a block chain intelligent contract, which comprises the following steps:
a side chain developer client submits application information to an application management server, wherein the application information comprises a user account number of the side chain developer and a side chain initial mining node address set;
after receiving the application information, the application management server allocates a side chain App ID to the side chain developer and establishes a first mapping relation between a user account of the side chain developer and the side chain App ID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to the side chain developer client;
the side chain developer client displays the side chain App ID to the side chain developer, and the side chain developer submits the attribute of a starting contract under the side chain App ID to an administrator client;
after receiving the attribute of the starting contract under the side chain App ID, the administrator client deploys the starting contract under the side chain App ID according to the input information of the administrator, and starts the side chain App corresponding to the side chain App ID;
a block chain public chain platform receives an extended contract deployment message which is sent by the side chain developer after the extended contract under the side chain App ID is deployed and carries preset information, wherein the preset information comprises the side chain App ID and a user account of the side chain developer; and judging whether a first mapping relation exists in the application management contract and is consistent with the preset information, and if so, submitting the extended contract deployment message to a transaction pool.
In one embodiment, the application management server establishes a second mapping relationship between the side chain App ID and a side chain initial mining node address set while establishing the first mapping relationship, and stores the second mapping relationship into the application management contract.
In one embodiment, the application management server checks the application information after receiving the application information and before distributing a side chain App ID for the side chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer. A
In one embodiment, the administrator client sends a started notification to the side chain developer client after the side chain App corresponding to the side chain App ID is started, and the side chain developer client displays the started notification to the side chain developer; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends an extension contract deployment message carrying preset information to the block chain public chain platform.
In one embodiment, after the block chain common link platform determines whether a first mapping relationship exists in the application management contract and is consistent with the preset information, the method further includes:
if not, the extended contract deployment message is discarded.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a system for managing a sideline application using a block chain intelligent contract according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a system for managing side chain application by using a block chain intelligent contract, which comprises a side chain developer client, an application management server, an administrator client and a block chain public chain platform, wherein the side chain developer client comprises:
the side chain developer client is used for submitting application information to the application management server, and the application information comprises a user account of the side chain developer and a side chain initial mining node address set;
the application management server is used for distributing a side chain App ID to the side chain developer after receiving the application information, and establishing a first mapping relation between a user account of the side chain developer and the side chain App ID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to a side chain developer client;
the side chain developer client is used for displaying the side chain App ID to the side chain developer, and the side chain developer submits the attribute of starting the contract under the side chain App ID to the administrator client;
the system comprises an administrator client, a side chain App server and a side chain management server, wherein the administrator client is used for deploying a starting contract under a side chain App ID according to input information of an administrator after receiving the attribute of the starting contract under the side chain App ID, and starting the side chain App corresponding to the side chain App ID;
the block chain public chain platform is used for receiving an extended contract deployment message which is sent by a side chain developer after the extended contract under the side chain App ID is deployed and carries preset information, and the preset information comprises the side chain App ID and a user account number of the side chain developer; and judging whether a first mapping relation in the application management contract is consistent with preset information or not, and if so, submitting the extended contract deployment message to a transaction pool.
The technical method has the following beneficial effects: aiming at the current situation that a block chain multi-chain architecture is lack of side chain App management at present, the embodiment of the invention provides a side chain application management system, which realizes the management of a side chain App by deploying an application management contract; according to the scheme, a unique identifier (App ID) is distributed to the side chain App, and only the side chain App distributed with the legal App ID can finally enter a transaction pool; otherwise, the deployment can not be obtained on the block chain public chain platform, and the transaction pool can not be entered. According to the scheme, management of the side chain App is achieved through the App ID, such as management of entering a transaction pool and management of the App life cycle, and the intellectualization, convenience and safety of the supervision side chain App are improved.
In one embodiment, the application management server is further configured to establish a second mapping relationship between the side chain App ID and the side chain initial mining node address set while establishing the first mapping relationship, and store the second mapping relationship into the application management contract. The second mapping gives the initial miner node of the side chain App for starting side chain excavation.
In one embodiment, the application management server is further configured to, after receiving the application information, check the application information (e.g., verify validity of a user account of the side-chain developer and verify validity of an address set of an initial mining node of the side chain) before assigning a side-chain App ID to the side-chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer.
In one embodiment, the administrator client is further configured to send a started notification to the side chain developer client after the side chain App corresponding to the side chain App ID is started, and the side chain developer client displays the started notification to the side chain developer; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends the extension contract deployment message carrying the preset information to the block chain public chain platform.
In one embodiment, after the determining whether the first mapping relationship in the application management contract is consistent with the preset information by the blockchain public link platform, the method further includes: if not, the extended contract deployment message is discarded. So that a side-chain App that does not obtain a legitimate side-chain App ID cannot enter the transaction pool.
Corresponding to the foregoing side chain application management, an embodiment of the present invention further provides a method for managing a side chain application using a block chain intelligent contract, including:
the side chain developer client submits application information to an application management server, wherein the application information comprises a user account number of the side chain developer and a side chain initial mining node address set;
after receiving the application information, the application management server allocates a side chain App ID to the side chain developer, and establishes a first mapping relation between a user account of the side chain developer and the side chain App ID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to a side chain developer client;
the side chain developer client displays the side chain App ID to the side chain developer, and the side chain developer submits the attribute of starting the contract under the side chain App ID to the administrator client;
after receiving the attribute of a starting contract under the side chain App ID, the administrator client deploys the starting contract under the side chain App ID according to the input information of the administrator, and starts a side chain App corresponding to the side chain App ID;
the block chain public chain platform receives an extended contract deployment message which is sent by a side chain developer after deploying an extended contract under a side chain App ID and carries preset information, wherein the preset information comprises the side chain App ID and a user account of the side chain developer; and judging whether a first mapping relation in the application management contract is consistent with preset information or not, and if so, submitting the extended contract deployment message to a transaction pool.
In one embodiment, the application management server establishes a second mapping relationship between the side chain App ID and the side chain initial mining node address set while establishing the first mapping relationship, and stores the second mapping relationship into the application management contract.
In one embodiment, the application management server checks the application information after receiving the application information and before distributing a side chain App ID for a side chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer.
In one embodiment, after starting a side chain App corresponding to a side chain App ID, the administrator client sends a started notification to the side chain developer client, and the side chain developer client displays the started notification to the side chain developer; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends the extension contract deployment message carrying the preset information to the block chain public chain platform.
In one embodiment, after the determining whether the first mapping relationship in the application management contract is consistent with the preset information by the blockchain public link platform, the method further includes: if not, the extended contract deployment message is discarded.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A system for managing sideline applications using blockchain intelligent contracts, comprising a sideline developer client, an application management server, an administrator client, and a blockchain public chain platform, wherein:
the side chain developer client is used for submitting application information to an application management server, wherein the application information comprises a user account number of the side chain developer and a side chain initial mining node address set;
the application management server is used for distributing a side chain App ID for the side chain developer after receiving the application information and establishing a first mapping relation between a user account of the side chain developer and the side chain App ID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to the side chain developer client;
the side chain developer client is used for displaying the side chain App ID to the side chain developer, and the side chain developer submits the attribute of a starting contract under the side chain App ID to the administrator client;
the administrator client is used for deploying the starting contract under the side chain App ID according to input information of an administrator after receiving the attribute of the starting contract under the side chain App ID, and starting the side chain App corresponding to the side chain App ID;
the block chain public chain platform is used for receiving an extended contract deployment message which is sent by the side chain developer to deploy an extended contract under the side chain App ID and carries preset information, and the preset information comprises the side chain App ID and a user account of the side chain developer; and judging whether a first mapping relation exists in the application management contract and is consistent with the preset information, and if so, submitting the extended contract deployment message to a transaction pool.
2. The system of claim 1,
the application management server is further configured to establish a second mapping relationship between the side chain App ID and the side chain initial mining node address set while establishing the first mapping relationship, and store the second mapping relationship in the application management contract.
3. The system of claim 1,
the application management server is further used for verifying the application information after receiving the application information and before distributing a side chain App ID for the side chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer.
4. The system of claim 1, wherein the administrator client is further configured to send a launched notification to the sidechain developer client after launching the sidechain App corresponding to the sidechain App id, the launched notification being displayed to the sidechain developer by the sidechain developer client; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends an extension contract deployment message carrying preset information to the block chain public chain platform.
5. The system of claim 1,
after the block chain common link platform determines whether a first mapping relationship is consistent with the preset information in the application management contract, the method further includes:
if not, the extended contract deployment message is discarded.
6. A method for managing sideline applications using blockchain intelligent contracts, comprising:
a side chain developer client submits application information to an application management server, wherein the application information comprises a user account number of the side chain developer and a side chain initial mining node address set;
after receiving the application information, the application management server allocates a side chain AppID to the side chain developer, wherein the side chain App ID is a unique identifier of a side chain, and establishes a first mapping relation between a user account of the side chain developer and the side chain AppID; writing the first mapping relationship to an application management contract; and sending the side chain App ID to the side chain developer client;
the side chain developer client displays the side chain App ID to the side chain developer, and the side chain developer submits the attribute of a starting contract under the side chain App ID to an administrator client;
after receiving the attribute of the starting contract under the side chain App ID, the administrator client deploys the starting contract under the side chain App ID according to the input information of the administrator, and starts the side chain App corresponding to the side chain App ID;
a block chain public chain platform receives an extended contract deployment message which is sent by the side chain developer after the extended contract under the side chain App ID is deployed and carries preset information, wherein the preset information comprises the side chain App ID and a user account of the side chain developer; and judging whether a first mapping relation exists in the application management contract and is consistent with the preset information, and if so, submitting the extended contract deployment message to a transaction pool.
7. The method of claim 6,
and the application management server establishes a second mapping relation between the side chain App ID and the side chain initial mining node address set while establishing the first mapping relation, and stores the second mapping relation into the application management contract.
8. The method of claim 6,
after receiving the application information, the application management server checks the application information before distributing a side chain AppID for the side chain developer; when the verification passes, a side chain App ID is assigned to the side chain developer.
9. The method of claim 6,
after the side chain App corresponding to the side chain App ID is started, the administrator client sends a started notification to the side chain developer client, and the side chain developer client displays the started notification to the side chain developer; after the side chain developer sees the started notification, the side chain developer deploys the extension contract under the side chain App ID and sends an extension contract deployment message carrying preset information to the block chain public chain platform.
10. The method of claim 6,
after the block chain common link platform determines whether a first mapping relationship is consistent with the preset information in the application management contract, the method further includes:
if not, the extended contract deployment message is discarded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911269777.7A CN110751476A (en) | 2019-12-11 | 2019-12-11 | Method and system for managing side chain application by using block chain intelligent contract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911269777.7A CN110751476A (en) | 2019-12-11 | 2019-12-11 | Method and system for managing side chain application by using block chain intelligent contract |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110751476A true CN110751476A (en) | 2020-02-04 |
Family
ID=69285930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911269777.7A Pending CN110751476A (en) | 2019-12-11 | 2019-12-11 | Method and system for managing side chain application by using block chain intelligent contract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110751476A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111798315A (en) * | 2020-07-01 | 2020-10-20 | 深圳市蔚链科技有限公司 | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium |
CN111984271A (en) * | 2020-08-27 | 2020-11-24 | 北京海益同展信息科技有限公司 | Block chain application program processing method and device and block chain application system |
CN113112140A (en) * | 2021-04-07 | 2021-07-13 | 中国电子科技网络信息安全有限公司 | Chain code application intelligent contract ID management method suitable for block chain infrastructure service |
CN115334038A (en) * | 2022-08-20 | 2022-11-11 | 信通院(江西)科技创新研究院有限公司 | APPID application management method and system based on block chain |
-
2019
- 2019-12-11 CN CN201911269777.7A patent/CN110751476A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111798315A (en) * | 2020-07-01 | 2020-10-20 | 深圳市蔚链科技有限公司 | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium |
CN111984271A (en) * | 2020-08-27 | 2020-11-24 | 北京海益同展信息科技有限公司 | Block chain application program processing method and device and block chain application system |
CN111984271B (en) * | 2020-08-27 | 2023-11-03 | 京东科技信息技术有限公司 | Block chain application program processing method and device and block chain application system |
CN113112140A (en) * | 2021-04-07 | 2021-07-13 | 中国电子科技网络信息安全有限公司 | Chain code application intelligent contract ID management method suitable for block chain infrastructure service |
CN115334038A (en) * | 2022-08-20 | 2022-11-11 | 信通院(江西)科技创新研究院有限公司 | APPID application management method and system based on block chain |
CN115334038B (en) * | 2022-08-20 | 2024-03-26 | 信通院(江西)科技创新研究院有限公司 | APPID application management method and system based on blockchain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110751476A (en) | Method and system for managing side chain application by using block chain intelligent contract | |
US10871953B2 (en) | Application update method and apparatus | |
CN111680050B (en) | Fragment processing method, device and storage medium for alliance chain data | |
US8219827B2 (en) | Secure boot with optional components | |
RU2744322C2 (en) | "function-as-service" platform (faas) in housing network | |
US11367055B2 (en) | Decentralized pooled mining for enabling proof-of-work on blockchains | |
CN112887160B (en) | Block chain all-in-one machine, multi-node deployment method and device thereof, and storage medium | |
US9026795B2 (en) | Apparatus and method for signing application | |
CN110619520B (en) | Block chain system and routing method applied to routing nodes of block chain system | |
CN108234134A (en) | Block synchronous method and system | |
CN104272699A (en) | Certificate based connection to cloud virtual machine | |
US11507359B2 (en) | Performing firmware updates using blockchain | |
CN111930443B (en) | Operation and maintenance method, system, computer equipment and storage medium based on block chain | |
CN106464667B (en) | Certificate management method, equipment and system | |
US20160301699A1 (en) | Installation package authorization method and apparatus | |
CN111104201A (en) | System migration method and device, electronic equipment and storage medium | |
CN106453263A (en) | Method and system of binding cellphone number with APP | |
CN113256291A (en) | Method and device for creating account and distributing transaction in blockchain system | |
CN112181599B (en) | Model training method, device and storage medium | |
CN104917800A (en) | Method and device for establishing redundancy connection for virtual machine | |
KR20210074982A (en) | Electronic terminal device that enables update processing for application and forgery detection of application based on blockchain and operating method thereof | |
CN107277108B (en) | Method, device and system for processing messages at nodes of block chain | |
KR20190130377A (en) | Network server mediating game item transaction between user terminals and method of operating thereof | |
CN111932326B (en) | Data processing method based on block chain network and related equipment | |
CN113497827A (en) | Information sharing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |