CN109670951B - Block chain intelligent contract debugging and publishing method and system - Google Patents
Block chain intelligent contract debugging and publishing method and system Download PDFInfo
- Publication number
- CN109670951B CN109670951B CN201811381098.4A CN201811381098A CN109670951B CN 109670951 B CN109670951 B CN 109670951B CN 201811381098 A CN201811381098 A CN 201811381098A CN 109670951 B CN109670951 B CN 109670951B
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- channel
- test
- transaction
- intelligent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method and a device for debugging and releasing a block chain intelligent contract, wherein the method comprises the following steps: s1: automatically creating a testing channel while creating the transaction channel, and synchronously adding or quitting the user into or from the testing channel when the user adds or quits the transaction channel; s2: deploying an intelligent contract to be tested on a test channel, and carrying out service test on the contract content by all users on the test channel together; s3: judging whether the intelligent contract to be tested passes the test, if so, executing the step S4, otherwise, returning the intelligent contract to the developer to modify or select a new intelligent contract, returning to the step S2, and retesting the intelligent contract; s4: and (4) carrying out consensus on the contents of the intelligent contracts by all users on the test channel, and deploying the intelligent contracts to the transaction channel after obtaining the feedback of agreeing to deployment. The invention can reduce the workload of the participants, shorten the operation period of contract updating and effectively improve the operation and query efficiency of the block chain underlying network.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a method and a system for debugging and publishing a block chain intelligent contract.
Background
With the rise and development of blockchain technology, more and more enterprises and organizations are exploring the landfall applications of blockchain technology in a variety of business and life scenarios to make this new technology bring tangible benefits to the various production and life activities of society. As a basic platform for providing contract operation environment and technical support for various upper-layer services, the block chain platform not only ensures the stability of self operation, but also provides support and guarantee for the stability and usability of the upper-layer services.
Currently, the blockchain technology has been applied in various scenes such as finance, logistics, copyright protection, and the like, and due to the complexity and variability of upper-layer services, an intelligent contract deployed on a blockchain often needs to be modified and tested for many times to verify whether the intelligent contract meets the requirements of service operation. However, the method adopted by the block chain platform is repeated modification and repeated deployment, and the implementation method has two problems:
1. the contract content is frequently identified on a transaction channel when the intelligent contract is modified and deployed every time, so that the workload of each participant in a block chain is increased;
2. a lot of test data without value is added in a transaction channel, and the inquiry and storage of blocks and transactions on the channel are influenced.
Disclosure of Invention
In order to solve the problems in the prior art, an embodiment of the present invention provides a method for debugging and publishing a block chain intelligent contract, so as to overcome the problems that in the prior art, the consensus of contract contents on a transaction channel needs to be frequently performed every time an intelligent contract is modified and deployed, the workload of each participant in a block chain is increased, a lot of test data without value is added in the transaction channel, and the query and storage of blocks and transactions on the channel are affected.
In one aspect, a method for debugging and publishing a blockchain intelligent contract is provided, where the method includes the following steps:
s1: automatically creating a testing channel while creating a transaction channel, and synchronously adding or withdrawing a user into or from the testing channel when the user adds or withdraws from the transaction channel;
s2: deploying an intelligent contract to be tested to the test channel, wherein all users on the test channel commonly perform service test on the contract content;
s3: judging whether the intelligent contract to be tested passes the test, if so, executing the step S4, otherwise, returning the intelligent contract to the developer to modify or select a new intelligent contract, returning to the step S2, and retesting the intelligent contract;
s4: and after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment, deploying the intelligent contract on the transaction channel.
Further, the intelligent contracts to be tested comprise newly submitted intelligent contracts and/or historical versions of intelligent contracts.
Further, the S3 specifically includes:
if the newly submitted intelligent contract passes the test, executing the step S4, if the test does not pass, returning the intelligent contract to the developer, modifying the intelligent contract, returning to the step S2, and retesting the intelligent contract; and/or the presence of a gas in the gas,
and if the intelligent contract of the historical version passes the test, executing the step S4, and if the intelligent contract of the historical version does not pass the test, selecting a new intelligent contract, returning to the step S2, and retesting the intelligent contract.
Further, the S2 further includes:
and recording the test data generated by running the intelligent contract on the test channel, wherein a user can inquire the test data in the test channel.
Further, the step S2 further includes:
and after the user obtains the consensus of all the users on the test channel, deleting the test data.
Further, the step S4 further includes:
and recording blocks and/or transaction data generated by the intelligent contracts running on the transaction channel, wherein the blocks and/or the transaction data can be inquired by a user in the transaction channel.
In another aspect, a blockchain intelligent contract debugging and issuing system is provided, the system at least includes:
the new building module is used for providing a transaction channel for a user, and automatically building a test channel while building the transaction channel;
the registration module is used for providing the user with the access or the exit of the transaction channel and synchronously accessing or exiting the user into or from the test channel when the user accesses or exits the transaction channel;
the test module is used for deploying the intelligent contract to be tested to the test channel, and all users on the test channel jointly perform service test on the contract content;
the judging module is used for judging whether the intelligent contract to be tested passes the test, if so, sending the intelligent contract to be tested to the issuing module, and if not, returning the intelligent contract to a developer to modify or select a new intelligent contract and then sending the intelligent contract to the testing module to retest the intelligent contract;
and the issuing module is used for deploying the intelligent contract to the transaction channel after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment.
Further, the system further comprises:
the first storage module is used for recording test data generated by running the intelligent contract on the test channel in the test channel;
and the first query module is used for querying the test data in the test channel by a user.
Further, the system further comprises:
and the deleting module is used for deleting the test data after the user obtains the consensus of all the users on the test channel.
Further, the system further comprises:
the second storage module is used for recording blocks and/or transaction data generated by the intelligent contracts running on the transaction channel;
and the second query module is used for the user to query the block and/or the transaction data in the transaction channel.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
1. according to the method and the system for debugging and releasing the block chain intelligent contract, provided by the embodiment of the invention, when a user establishes a transaction channel, the system automatically establishes a test channel with the same participant for the transaction channel for testing before formal arrangement of the contract, and the intelligent contract content only needs to be ensured by each participant of the transaction channel during testing to be consistent with the business of the participant and does not need to be subjected to consensus authentication of the contract content before each arrangement of the test, so that the workload of the participants is reduced, and the operation period for updating the contract is shortened;
2. according to the method and the system for debugging and releasing the intelligent contract of the block chain, provided by the embodiment of the invention, the test data and the transaction data are respectively stored, and the two groups of data are not interfered with each other, so that the operation and query efficiency of a bottom network of the block chain is effectively improved, and the stability is improved;
3. the method and the system for debugging and publishing the intelligent block chain contract, provided by the embodiment of the invention, introduce the flow normalization and manageability in the software development project into the contract debugging and publishing of the block chain channel, reduce the maintenance cost of the contract and improve the cooperation efficiency of a team to the maximum extent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 flow diagram illustrating a method for debugging and publishing a blockchain intelligent contract, according to an example embodiment;
fig. 2 is a block chain intelligent contract debugging distribution system in accordance with an illustrative embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Fig. 1 is a flowchart illustrating a method for debugging and issuing a blockchain intelligent contract according to an exemplary embodiment, and referring to fig. 1, the method includes the following steps:
s1: and automatically creating a testing channel while creating the transaction channel, and synchronously adding or quitting the user in or from the testing channel when the user adds or quits the transaction channel.
Specifically, a user of the blockchain creates a transaction channel according to business needs, the system automatically creates a test channel with the same participating user while the user creates the transaction channel, and the new blockchain user will synchronously join or withdraw from the corresponding test channel while joining or withdrawing from the transaction channel.
S2: and deploying the intelligent contract to be tested to the test channel, wherein all users on the test channel commonly perform service test on the contract content.
Specifically, users in the blockchain can deploy an intelligent contract to be tested submitted by a contract developer to a test channel, and all users on the test channel jointly perform service test on the contract content. It should be noted that, in the embodiment of the present invention, the content of the intelligent contract only needs to be guaranteed by each participant of the test channel (and these participants are also participants of the transaction channel) whether to be consistent with the service thereof during the test, and does not need to perform consensus authentication of the content of the intelligent contract before each test deployment, thereby reducing the workload of each participant and shortening the operation cycle of contract updating.
The following procedures can be adopted by each participant to test whether the intelligent contract content conforms to the business of the participant:
acquiring a code of an intelligent contract corresponding to the intelligent contract to be tested, compiling the intelligent contract code, and acquiring a compiling file;
analyzing the compiled file and generating a function test page;
and inputting test parameters on the functional test page by the user, and performing functional test on the intelligent contract to be tested.
Furthermore, the test data generated by the intelligent contract running on the test channel is recorded on the test channel, and a user can inquire the test data in the test channel.
Specifically, before the intelligent contract is formally deployed on the transaction channel, the test data generated by running on the test channel is recorded on the test channel, and the test data is queried and displayed on the test channel, that is, the user can query the test data on the test channel.
Further, after the user obtains the consensus of all users on the test channel, the test data can be deleted.
Specifically, when data in the block chain needs to be deleted, common knowledge of all users on the channel needs to be obtained, and the data cannot be deleted by itself. For example, when the data amount in the block chain reaches the load bottleneck, the channel user with more storage space occupied by the test data can initiate deletion of the test data, and after the common identification of all users on the test channel is obtained, the storage space occupied by the data can be released. By doing so, it can be ensured that data on the blockchain cannot be deleted at will.
It should be noted that, in the embodiment of the present invention, the application program may call the SDK to write the transaction into the test channel, and may limit the submission speed of the transaction in the SDK when the application program calls the SDK to write the transaction into the test channel, so as to prevent the test operation of the test channel from interfering with the performance of the transaction channel.
S3: and judging whether the intelligent contract to be tested passes the test, if so, executing the step S4, otherwise, returning the intelligent contract to the developer to modify or select a new intelligent contract, returning to the step S2, and testing the intelligent contract again.
Specifically, after all users on the test channel perform service test on the contract content together, according to the test result, whether the test of the intelligent contract to be tested passes or not is judged, if the test passes, the step S4 is executed, and if the test does not pass, the intelligent contract is handed over to the developer to modify or select a new intelligent contract, and then the step S2 is returned to perform retest on the intelligent contract.
S4: and after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment, deploying the intelligent contract to a formal transaction channel for use.
Specifically, after the test is passed, it is also necessary that all users on the test channel agree with the content of the intelligent contract and obtain the feedback of agreeing to deployment, and then the intelligent contract is deployed on the transaction channel
Further, the blocks and/or transaction data generated by the intelligent contracts running on the transaction channel are recorded on the transaction channel, and the user can inquire the blocks and/or transaction data in the transaction channel.
Specifically, the blocks and/or transaction data generated by the intelligent contracts running on the transaction channel are recorded on the transaction channel, and the blocks and/or transaction data are inquired and displayed on the transaction channel, that is, the user can inquire the blocks and/or transaction data on the transaction channel. It should be noted here that the data of both the transaction channel and the test channel will have the property that the data on the blockchain is not tampered with. And the test data and the transaction data are respectively stored, so that the two groups of data are not interfered with each other, the operation and query efficiency of the block chain underlying network is effectively improved, and the stability is further improved.
Further, the intelligent contracts to be tested comprise newly submitted intelligent contracts and/or historical versions of intelligent contracts.
Further, the S3 specifically includes:
if the newly submitted intelligent contract passes the test, executing the step S4, if the test does not pass, returning the intelligent contract to the developer, modifying the intelligent contract, returning to the step S2, and retesting the intelligent contract; and/or the presence of a gas in the gas,
and if the intelligent contract of the historical version passes the test, executing the step S4, and if the intelligent contract of the historical version does not pass the test, selecting a new intelligent contract, returning to the step S2, and retesting the intelligent contract.
Specifically, in the embodiment of the invention, the intelligent contracts to be tested comprise newly submitted intelligent contracts and/or historical versions of intelligent contracts. Step S4 is executed if the test is passed regardless of whether the smart contract is newly submitted or the smart contract of the historical version, but if the test is not passed, the subsequent operations are slightly different. The method comprises the following specific steps: if the newly submitted intelligent contract fails to pass the test, the intelligent contract is returned to the developer to be modified and then returned to the step S2, and the intelligent contract is tested again; if the test of the intelligent contract of the historical version fails, a new intelligent contract is selected and returned to the step S2, and the intelligent contract is tested again.
That is, if the content of the intelligent contract needs to be updated or rolled back to the previous contract version according to changes such as business adjustment, the user in the blockchain may choose to deploy a new intelligent contract submitted by the developer or an intelligent contract of a historical version used on the current transaction channel onto the test channel, and all users of the test channel perform business testing on the contract content of the test channel. If the test is not passed, the newly submitted intelligent contract can be transferred to a contract developer to be modified and then submitted and tested, the intelligent contract of the historical version can not be modified any more, only the new intelligent contract can be selected to be redeployed to the test channel to be tested, and the last formally deployed contract is still executed in the transaction channel.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 2 is a schematic structural diagram illustrating a blockchain intelligent contract debugging and publishing system according to an exemplary embodiment, and referring to fig. 2, the system at least includes:
and the newly-built module is used for providing a transaction channel for the user, and automatically creating a test channel when the user creates the transaction channel, wherein the test channel corresponds to the transaction channel.
And the registration module is used for providing the user with the access or exit of the transaction channel, and synchronously accessing or exiting the user into or from the test channel when the user accesses or exits the transaction channel.
And the testing module is used for deploying the intelligent contract to be tested to the testing channel, and all users on the testing channel jointly perform service testing on the contract content.
Specifically, in the embodiment of the invention, the intelligent contract content only needs to be ensured by each participant of the test channel (and the participants are also participants of the transaction channel) whether to be consistent with the business thereof during the test, and the consensus authentication of the intelligent contract content is not needed before each test deployment, so that the workload of each participant is reduced, and the operation period for updating the contract is shortened.
And the judging module is used for judging whether the intelligent contract to be tested passes the test, if so, sending the intelligent contract to be tested to the issuing module, and if not, returning the intelligent contract to a developer to modify or select a new intelligent contract and then sending the intelligent contract to the testing module to retest the intelligent contract.
It should be noted here that the intelligent contracts to be tested include newly submitted intelligent contracts and/or historical versions of intelligent contracts. If the test fails, the newly submitted intelligent contract can be transferred to a contract developer to be modified and then submitted and tested, the intelligent contract of the historical version cannot be modified any more, and only the new intelligent contract can be selected to be redeployed to the test channel for testing.
And the issuing module is used for deploying the intelligent contract to the transaction channel after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment.
Further, the system further comprises:
the first storage module is used for recording test data generated by running the intelligent contract on the test channel in the test channel;
the first query module is used for a user to query the test data in the test channel;
the deleting module is used for deleting the test data after the user obtains the consensus of all the users on the test channel;
the second storage module is used for recording blocks and/or transaction data generated by the intelligent contracts running on the transaction channel;
and the second query module is used for the user to query the block and/or the transaction data in the transaction channel.
Specifically, in the embodiment of the present invention, the data of the transaction channel and the test channel have the characteristic that the data on the blockchain cannot be tampered with. And the test data and the transaction data are respectively stored, so that the two groups of data are not interfered with each other, the operation and query efficiency of the block chain underlying network is effectively improved, and the stability is further improved.
It should be noted that the above-mentioned block chain intelligent contract debugging and issuing system may be implemented based on the above-mentioned block chain intelligent contract debugging and issuing method.
In summary, the technical solution provided by the embodiment of the present invention has the following beneficial effects:
1. according to the method and the system for debugging and releasing the block chain intelligent contract, provided by the embodiment of the invention, when a user establishes a transaction channel, the system automatically establishes a test channel with the same participant for the transaction channel for testing before formal arrangement of the contract, and the intelligent contract content only needs to be ensured by each participant of the transaction channel during testing to be consistent with the business of the participant and does not need to be subjected to consensus authentication of the contract content before each arrangement of the test, so that the workload of the participants is reduced, and the operation period for updating the contract is shortened;
2. according to the method and the system for debugging and releasing the intelligent contract of the block chain, provided by the embodiment of the invention, the test data and the transaction data are respectively stored, and the two groups of data are not interfered with each other, so that the operation and query efficiency of a bottom network of the block chain is effectively improved, and the stability is improved;
3. the method and the system for debugging and publishing the intelligent block chain contract, provided by the embodiment of the invention, introduce the flow normalization and manageability in the software development project into the contract debugging and publishing of the block chain channel, reduce the maintenance cost of the contract and improve the cooperation efficiency of a team to the maximum extent.
It should be noted that: the block chain intelligent contract debugging and publishing system provided in the above embodiment is exemplified by only the division of the above functional modules when the debugging and publishing service is triggered, and in practical application, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions. In addition, the block chain intelligent contract debugging and issuing system and the block chain intelligent contract debugging and issuing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method for debugging and publishing a block chain intelligent contract is characterized by comprising the following steps:
s1: automatically creating a testing channel while creating a trading channel, and synchronously adding or withdrawing a user into or from the testing channel when the user adds or withdraws from the trading channel, wherein the testing channel and the trading channel have the same participating user;
s2: deploying an intelligent contract to be tested to the test channel, wherein all users on the test channel commonly perform service test on the contract content;
s3: judging whether the intelligent contract to be tested passes the test, if so, executing the step S4, otherwise, returning the intelligent contract to the developer to modify or select a new intelligent contract, returning to the step S2, and retesting the intelligent contract;
s4: and after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment, deploying the intelligent contract on the transaction channel.
2. The method for debugging and issuing the block chain intelligent contracts according to claim 1, wherein the intelligent contracts to be tested comprise newly submitted intelligent contracts and/or historical versions of intelligent contracts.
3. The method for debugging and issuing the blockchain intelligent contract according to claim 2, wherein the S3 specifically includes:
if the newly submitted intelligent contract passes the test, executing the step S4, if the test does not pass, returning the intelligent contract to the developer, modifying the intelligent contract, returning to the step S2, and retesting the intelligent contract; and/or the presence of a gas in the gas,
and if the intelligent contract of the historical version passes the test, executing the step S4, and if the intelligent contract of the historical version does not pass the test, selecting a new intelligent contract, returning to the step S2, and retesting the intelligent contract.
4. The method for debugging and issuing the blockchain intelligent contracts according to any one of claims 1 to 3, wherein the step S2 further comprises:
and recording the test data generated by running the intelligent contract on the test channel, wherein a user can inquire the test data in the test channel.
5. The method for debugging and issuing the blockchain intelligent contracts according to claim 4, wherein the step S2 further comprises:
and after the user obtains the consensus of all the users on the test channel, deleting the test data.
6. The method for debugging and issuing the blockchain intelligent contracts according to any one of claims 1 to 3, wherein the step S4 further comprises:
and recording blocks and/or transaction data generated by the intelligent contracts running on the transaction channel, wherein the blocks and/or the transaction data can be inquired by a user in the transaction channel.
7. A blockchain intelligent contract debugging and publishing system, the system comprising at least:
the system comprises a newly-built module, a transaction module and a test module, wherein the newly-built module is used for providing a transaction channel for a user, and automatically creating a test channel while creating the transaction channel, and the test channel and the transaction channel have the same participating users;
the registration module is used for providing the user with the access or the exit of the transaction channel and synchronously accessing or exiting the user into or from the test channel when the user accesses or exits the transaction channel;
the test module is used for deploying the intelligent contract to be tested to the test channel, and all users on the test channel jointly perform service test on the contract content;
the judging module is used for judging whether the intelligent contract to be tested passes the test, if so, sending the intelligent contract to be tested to the issuing module, and if not, returning the intelligent contract to a developer to modify or select a new intelligent contract and then sending the intelligent contract to the testing module to retest the intelligent contract;
and the issuing module is used for deploying the intelligent contract to the transaction channel after all users on the test channel agree on the content of the intelligent contract and obtain the feedback of agreeing to deployment.
8. The blockchain intelligent contract debugging and issuing system according to claim 7, further comprising:
the first storage module is used for recording test data generated by running the intelligent contract on the test channel in the test channel;
and the first query module is used for querying the test data in the test channel by a user.
9. The blockchain intelligent contract debugging and issuing system according to claim 8, further comprising:
and the deleting module is used for deleting the test data after the user obtains the consensus of all the users on the test channel.
10. The blockchain intelligent contract debugging and issuing system according to claim 7 or 8, further comprising:
the second storage module is used for recording blocks and/or transaction data generated by the intelligent contracts running on the transaction channel;
and the second query module is used for the user to query the block and/or the transaction data in the transaction channel.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811381098.4A CN109670951B (en) | 2018-11-19 | 2018-11-19 | Block chain intelligent contract debugging and publishing method and system |
| PCT/CN2019/106021 WO2020103545A1 (en) | 2018-11-19 | 2019-09-16 | Blockchain-based smart contract debugging and releasing method and system |
| CA3161753A CA3161753A1 (en) | 2018-11-19 | 2019-09-16 | Blockchain-smart-contract debugging and releasing method and system thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811381098.4A CN109670951B (en) | 2018-11-19 | 2018-11-19 | Block chain intelligent contract debugging and publishing method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109670951A CN109670951A (en) | 2019-04-23 |
| CN109670951B true CN109670951B (en) | 2021-03-26 |
Family
ID=66141813
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811381098.4A Active CN109670951B (en) | 2018-11-19 | 2018-11-19 | Block chain intelligent contract debugging and publishing method and system |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN109670951B (en) |
| CA (1) | CA3161753A1 (en) |
| WO (1) | WO2020103545A1 (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109670951B (en) * | 2018-11-19 | 2021-03-26 | 南京苏宁软件技术有限公司 | Block chain intelligent contract debugging and publishing method and system |
| CN110290168B (en) * | 2019-05-08 | 2022-04-12 | 深圳壹账通智能科技有限公司 | Data transmission method, device, server and storage medium |
| CN110347609B (en) * | 2019-07-18 | 2023-05-23 | 腾讯科技(深圳)有限公司 | Method and device for testing blockchain software |
| CN110543419B (en) * | 2019-08-28 | 2021-09-03 | 杭州趣链科技有限公司 | Intelligent contract code vulnerability detection method based on deep learning technology |
| CN111290958B (en) * | 2020-02-20 | 2023-05-30 | 联动优势科技有限公司 | Method and device for debugging intelligent contract |
| CN111459504B (en) * | 2020-03-30 | 2023-07-04 | 百度国际科技(深圳)有限公司 | Smart contract processing method, device, equipment and storage medium |
| CN111782551B (en) * | 2020-08-04 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Test method and device for block chain item and computer equipment |
| CN111723102A (en) * | 2020-08-21 | 2020-09-29 | 支付宝(杭州)信息技术有限公司 | Intelligent contract updating method and device |
| CN111984271B (en) * | 2020-08-27 | 2023-11-03 | 京东科技信息技术有限公司 | Block chain application program processing method and device and block chain application system |
| CN112433939B (en) * | 2020-11-19 | 2024-08-13 | 腾讯科技(深圳)有限公司 | Intelligent contract testing method and device |
| CN113672632A (en) * | 2021-08-06 | 2021-11-19 | 戈尔特西斯科技(济南)有限公司 | Smart contract-based quick query and invocation method for on-chain historical data change records |
| CN113961202B (en) * | 2021-12-21 | 2022-02-22 | 北京中科金财科技股份有限公司 | Method and system for automatically debugging intelligent contract |
| CN117667676B (en) * | 2023-11-21 | 2024-06-25 | 上海金仕达卫宁软件科技有限公司 | AIGC-based block chain intelligent contract IDE verification test method and system |
| CN119854029B (en) * | 2025-03-18 | 2025-06-06 | 浙江理工大学 | TEE-based state channel dynamic trust guarantee method and device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9934138B1 (en) * | 2016-12-07 | 2018-04-03 | International Business Machines Corporation | Application testing on a blockchain |
| CN108073513A (en) * | 2017-04-21 | 2018-05-25 | 富士通株式会社 | The apparatus and method tested the intelligent contract based on block chain |
| CN107943691B (en) * | 2017-11-17 | 2022-03-01 | 深圳圣马歌科技有限公司 | Method and device for automatically generating function test page of intelligent contract |
| CN108304307B (en) * | 2018-01-24 | 2022-03-04 | 深圳圣马歌科技有限公司 | Performance detection method of intelligent contract on block chain |
| CN108446947B (en) * | 2018-02-07 | 2021-05-18 | 平安科技(深圳)有限公司 | Real estate transaction method and device |
| CN108763058A (en) * | 2018-04-24 | 2018-11-06 | 苏州同济区块链研究院有限公司 | A kind of block chain evaluation system |
| CN108628745A (en) * | 2018-05-03 | 2018-10-09 | 深圳市牛鼎丰科技有限公司 | Track record system, method, computer equipment and the storage medium of application program |
| CN108776890A (en) * | 2018-06-04 | 2018-11-09 | 青岛大学 | A kind of believable intelligent paying out wages method and system based on block chain |
| CN109670951B (en) * | 2018-11-19 | 2021-03-26 | 南京苏宁软件技术有限公司 | Block chain intelligent contract debugging and publishing method and system |
-
2018
- 2018-11-19 CN CN201811381098.4A patent/CN109670951B/en active Active
-
2019
- 2019-09-16 CA CA3161753A patent/CA3161753A1/en active Pending
- 2019-09-16 WO PCT/CN2019/106021 patent/WO2020103545A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| CN109670951A (en) | 2019-04-23 |
| CA3161753A1 (en) | 2020-05-28 |
| WO2020103545A1 (en) | 2020-05-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109670951B (en) | Block chain intelligent contract debugging and publishing method and system | |
| CN105045602B (en) | Method and device for constructing Hadoop application development framework and electronic device | |
| CN110347590A (en) | The interface testing control method and device of operation system | |
| CN103049374B (en) | Automatic testing method and device | |
| CN109815141B (en) | A test method and device | |
| CN116185425B (en) | Event flow arrangement method, device, equipment and medium based on node combination | |
| CN111124872A (en) | Branch detection method and device based on difference code analysis and storage medium | |
| CN110502242A (en) | Code automatic generation method, device, computer equipment and storage medium | |
| CN112905441A (en) | Test case generation method, test method, device and equipment | |
| CN113986741A (en) | Component debugging method and device and computer equipment | |
| US10496423B2 (en) | Method for opening up data and functions of terminal application based on reconstruction technology | |
| CN117290236A (en) | Software testing method, device, computer equipment and computer readable storage medium | |
| CN108563578A (en) | SDK compatibility detection method, device, equipment and readable storage medium | |
| CN115827028A (en) | System upgrading method and device, storage medium and electronic equipment | |
| CN106990974B (en) | APP updating method and device and electronic equipment | |
| US20140282426A1 (en) | Divide and conquer approach to scenario timeline activity attribution | |
| US20070143335A1 (en) | Partition-based undo of partitioned object graph | |
| CN105653433B (en) | The method for tracing and device of a kind of application program | |
| CN112418796B (en) | Sub-process task node activation method and device, electronic equipment and storage medium | |
| CN108733377B (en) | JS interaction method for webpage end and mobile phone end in App | |
| CN114020278B (en) | Data processing method, device, equipment and storage medium | |
| CN114594938B (en) | Service architecture generation method and device and electronic equipment | |
| CN114003834B (en) | Optimization method and device of log module Trace_Log in web page rendering engine | |
| CN115373696B (en) | Low code configuration method, system, equipment and storage medium for software resource generation | |
| US7743076B2 (en) | Extensible action sequences coordinating independently created components |
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 | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20210219 Address after: 210000 Building 2, 699-19 Xuanwu Avenue, Xuanwu District, Nanjing City, Jiangsu Province Applicant after: NANJING SUNING SOFTWARE TECHNOLOGY Co.,Ltd. Address before: 210000, 1-5 story, Jinshan building, 8 Shanxi Road, Nanjing, Jiangsu. Applicant before: SUNING GROUP Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |