CN111339201A - Evaluation method and system based on block chain - Google Patents
Evaluation method and system based on block chain Download PDFInfo
- Publication number
- CN111339201A CN111339201A CN202010127680.9A CN202010127680A CN111339201A CN 111339201 A CN111339201 A CN 111339201A CN 202010127680 A CN202010127680 A CN 202010127680A CN 111339201 A CN111339201 A CN 111339201A
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- contract
- block chain
- intelligent
- data set
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Abstract
The invention provides a block chain-based evaluation method and system. The evaluation method based on the block chain comprises the following steps: the block chain system determines a data tag according to the received transaction request information; the block chain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract; each contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system; the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block. The invention can verify the authenticity and reliability of the experimental result.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to an evaluation method and system based on a block chain.
Background
In the technical field of traditional scientific research, each new technology needs to be experimentally verified after being proposed, and the specific verification process is as follows: a technical presenter acquires a publicly-recognized test data set in the technical field, and then discloses technical details and experimental results in the forms of papers, conferences and the like after experimental verification. The process is usually finished by a technical proposition party independently without any supervision, the absolute effectiveness and the reliability of the technical realization effect cannot be guaranteed, and the problems of adding marks in a test data set or adding mark codes in a program privately and the like may exist, so that the execution expression effect of the technical algorithm is improved.
Such behavior is not allowed in any field, but currently, no effective means is formed in the industry to prevent such behavior because: firstly, the public test set has no control limitation, and can be used by anyone, and the data set does not depend on a specific platform, and can be used locally after anyone downloads data, namely, the data set can be added and modified locally; secondly, the implementation of the technical prototype to the specific code is two completely different concepts, and most scientific researchers only provide technical models and do not provide technical model programs for protecting own intellectual property rights, so that the reality of experimental results is not verified.
Disclosure of Invention
The embodiment of the invention mainly aims to provide an evaluation method and system based on a block chain so as to verify the authenticity and reliability of an experimental result.
In order to achieve the above object, an embodiment of the present invention provides an evaluation method based on a block chain, including:
the block chain system determines a data tag according to the received transaction request information;
the block chain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract;
each contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system;
the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block.
The embodiment of the present invention further provides an evaluation system based on a block chain, including: a blockchain system and a plurality of contract containers;
the blockchain system is used for: determining a data tag according to the received transaction request information; selecting a plurality of intelligent contracts from an intelligent contract set corresponding to the data labels, and sending the transaction request information and the intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract; merging the execution results corresponding to the same transaction ID into a test result, and writing the test result into a newly generated block;
the contract container is used for: and generating an execution result according to the intelligent contract registration table and the transaction request information, and sending the execution result to the blockchain system.
The block chain system in the evaluation method and system based on the block chain determines the data labels according to the received transaction request information, selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract; the contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system; the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block, so that the authenticity and reliability of the experimental result can be verified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings 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 that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a block chain based evaluation method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for blockchain-based assessment in another embodiment of the present invention;
FIG. 3 is a flow chart of the generation of execution results in an embodiment of the present invention;
fig. 4 is a block diagram of a block chain-based evaluation system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In view of the fact that the authenticity of the experimental result cannot be verified at present, the embodiment of the invention provides an evaluation method based on a block chain, so as to verify the authenticity and reliability of the experimental result. The present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a block chain-based evaluation method according to an embodiment of the present invention. As shown in fig. 1, the evaluation method based on the block chain includes:
s101: the blockchain system determines a data tag based on the received transaction request information.
After receiving the transaction request information sent by the user, the blockchain system can be stored in the transaction buffer queue first, and the transaction request information is obtained from the head of the queue each time.
S102: and the block chain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract.
The intelligent contracts selected by the block chain system comprise a system intelligent contract and a plurality of user intelligent contracts;
when the contract type is a system level, the block chain system generates a system intelligent contract;
when the contract type is user level, the blockchain system generates a user intelligent contract.
When the transaction request information does not have the data tag, the blockchain system can select a plurality of intelligent contracts from the data field. The user can set the proportion between the system intelligent contract and the user intelligent contract in the transaction request information, and when the proportion exceeds the maximum number of the user intelligent contracts corresponding to the data field, all the user intelligent contracts corresponding to the data field are selected.
S103: and each contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system.
S104: the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block.
In specific implementation, one transaction ID corresponds to one block, and a user can acquire a test result by inquiring the block corresponding to the transaction ID.
The execution subject of the block chain-based evaluation method shown in fig. 1 may be a block chain system including a plurality of nodes and a plurality of contract containers. As can be seen from the flow shown in fig. 1, in the evaluation method based on a blockchain according to the embodiment of the present invention, a blockchain system determines a data tag according to received transaction request information, selects a plurality of intelligent contracts from an intelligent contract set corresponding to the data tag, and sends the transaction request information and an intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract; the contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system; the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block, so that the authenticity and reliability of the experimental result can be verified.
In one embodiment, all data (such as an intelligent contract deployment request, transaction request information, and the like) uploaded to the blockchain by a user needs to be encrypted, and the system can perform the next processing after decrypting the encrypted data. The flow of encryption and decryption is as follows:
1. and the user calls an encryption interface of the block chain system, and the block chain system transmits the public key PubS of the block chain system to the user.
2. And after the user takes the public key PubS, encrypting the data by using the public key PubS to obtain a ciphertext. And the user signs the ciphertext by using the private key PrIC of the user, prevents the ciphertext from being tampered in the transmission process, and sends the public key PubC of the user to the block chain system for signature verification.
3. After the block chain system receives encrypted data sent by a user, the public key PubC is used for checking the ciphertext, and if the ciphertext is tampered midway, the check is not passed. And after the signature verification is passed, the block chain system decrypts the ciphertext by using a private key PrIS of the system.
Fig. 2 is a flowchart of a block chain-based evaluation method according to another embodiment of the present invention. As shown in fig. 2, before executing S101, the method includes:
s201: one node of the block chain system packs and compresses a test data set under a data set storage path in the received intelligent contract deployment request to generate a test data set compression package; wherein the smart contract deployment request includes a data tag.
In one embodiment, prior to performing S201, comprising: and a system administrator or a user calls the data uploading interface to upload the test data set, and the block chain system returns to the data set storage path. A system administrator or user initiates an intelligent contract deployment request to one of the nodes of the blockchain system.
The intelligent contract deployment request also includes a contract type, a data set storage path, a data domain, a data description, a user ID, and the like. Taking an intelligent contract deployment request initiated by a system administrator as an example, the format of the intelligent contract deployment request is as follows:
the data specification is a self-defining item, which can be described in detail according to actual data information. The test data set uploaded by the system administrator is a test data set disclosed in each field.
The node judges the contract type in the intelligent contract deployment request:
when the contract type is system level, checking whether the user ID is an administrator; if it is an administrator, it is checked whether the current node has logged in using the administrator user. When the node is logged in by using an administrator user, the node packs and compresses a test data set under a data set storage path in the received intelligent contract deployment request to generate a test data set compression package;
and when the contract type is the user level, decrypting the test data set by the node, and packaging and compressing the decrypted test data set to generate a test data set compression package.
S202: and the nodes generate forwarding messages according to the intelligent contract deployment request and the test data set compression packets, and forward the test data set compression packets and the forwarding messages to other nodes of the block chain system.
Wherein, the forwarding message also comprises a contract ID generated according to the data set storage path; taking a contract type of a system level as an example, the format of the forwarding message is as follows:
s203: each node of the block chain system decompresses the test data set compression packet to be under the directory of the intelligent contract mirror image, and the directory is used as an intelligent contract path.
In one embodiment, before executing S203, an intelligent contract image needs to be assembled, and the following statements are added to the intelligent contract image: RUN tar zxvf faceImageTest01.tar-C/data.
S204: each node generates an intelligent contract registration table according to the intelligent contract path and the forwarding message, and starts an intelligent contract mirror image to generate an intelligent contract and a contract container.
Table 1 is an intelligent contract registry. As shown in table 1, the structure of the intelligent contract registry is as follows:
TABLE 1
Name of field | Type (B) | Description of the invention |
Contract type | Shaping machine | 1, system level; 2, user level |
Data field | Character string | Domain to which a test data set belongs |
Data label | Character string | Tag data of the same domain |
Contract ID | Character string | Intelligent contract unique identifier |
Intelligent contract path | Character string | Testing data set path within mirror image |
FIG. 3 is a flow chart of generating execution results in an embodiment of the present invention. As shown in fig. 3, the generation of the execution result by each contract container includes:
s301: and each contract container generates a pre-execution file according to the technical model program in the transaction request information and generates an execution command according to the transaction request information and the intelligent contract registry.
S302: and each contract container puts the intelligent contract path in the intelligent contract registration table into a pre-execution file to generate an execution file.
S303: and executing the execution file by each contract container according to the execution command to generate an execution result.
The flow of the embodiment of the invention is as follows:
1. and a system administrator or a user calls the data uploading interface to upload the test data set, and the block chain system returns to the data set storage path. A system administrator or user initiates an intelligent contract deployment request to one of the nodes of the blockchain system.
2. One node of the block chain system packs and compresses the test data set under the data set storage path in the received intelligent contract deployment request to generate a test data set compression package.
3. And the nodes generate forwarding messages according to the intelligent contract deployment request and the test data set compression packets, and forward the test data set compression packets and the forwarding messages to other nodes of the block chain system.
4. Each node of the block chain system decompresses the test data set compression packet to be under the directory of the intelligent contract mirror image, and the directory is used as an intelligent contract path.
5. Each node generates an intelligent contract registration table according to the intelligent contract path and the forwarding message, and starts an intelligent contract mirror image to generate an intelligent contract and a contract container.
6. The block chain system determines a data label according to received transaction request information, selects a plurality of intelligent contracts from an intelligent contract set corresponding to the data label, and sends the transaction request information and an intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract.
7. And each contract container generates a pre-execution file according to the technical model program in the transaction request information and generates an execution command according to the transaction request information and the intelligent contract registry.
8. And each contract container puts the intelligent contract path in the intelligent contract registration table into a pre-execution file to generate an execution file.
9. And each contract container executes the execution file according to the execution command, generates an execution result and sends the execution result to the block chain system.
10. The block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block.
To sum up, the block chain system in the evaluation method based on the block chain in the embodiment of the present invention determines the data tag according to the received transaction request information, selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract; the contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system; the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block, so that the authenticity and reliability of the experimental result can be verified.
Aiming at the problem of the authenticity check of the scientific research achievements in the current industry, the invention provides an operation platform and encourages users to share encrypted technical source codes by integrating the test data sets and the user private test data sets disclosed in all fields, utilizes the characteristics of a contract container to link an intelligent contract and the test data sets, and executes a technical model program in the contract container to finally obtain a test result. The whole data transmission process is operated by secret keys, and the isolation of the contract container enables the outside world not to directly acquire the internal data, so that the data and the source codes are shared, the privacy and the intellectual property are protected, and the authenticity and the reliability of the experimental result can be verified.
In summary, the evaluation method based on the block chain in the embodiment of the present invention has the following beneficial effects:
(1) intelligent contracts are combined with test data sets: with a contract container, the test data set is stored in the contract container, while the source code of the technical model program must also run in the contract container. Due to the isolation of the contract container, the test data set and the source code are isolated from the outside in the whole execution process and cannot be tampered. Besides, the public test set is transparent to the user, the test data sets issued by the user are blocked from other users, the user cannot check the test data sets issued by other users, the user test data sets are shared, the user privacy data are guaranteed, and the user can use the test data sets of other users through the blockchain system but cannot be owned by the user.
(2) The intelligent contract executes the technical model program: users upload encrypted technical model programs and run in the contract container, other users can not obtain the code executed in the contract container too, the contract container provides a good environment that users can use other users to test data and run their own code. According to the execution results of the technical model program on different data test sets, the user can optimize and improve the technical model program and improve the adaptability of the program.
(3) And (3) multi-intelligent contract and multi-test set verification: most of the public test data sets actually have better data quality than the personal data sets of users, but the technical models which are better represented on the public data test sets in the past generally cannot achieve the effect of public tests when used in practical application scenes. The invention utilizes a plurality of intelligent contracts to test a plurality of test data sets, can avoid single test only on the public test data set, and comprehensively verifies the technical model program, so that the test result has more persuasiveness and reliability.
Based on the same inventive concept, the embodiment of the invention also provides an evaluation system based on the block chain, and as the principle of solving the problems of the system is similar to the evaluation method based on the block chain, the implementation of the system can refer to the implementation of the method, and repeated parts are not described again.
Fig. 4 is a block diagram of a block chain-based evaluation system according to an embodiment of the present invention. As shown in fig. 4, the block chain-based evaluation system includes: a blockchain system and a plurality of contract containers;
the blockchain system is used for: determining a data tag according to the received transaction request information; selecting a plurality of intelligent contracts from an intelligent contract set corresponding to the data labels, and sending the transaction request information and the intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract; merging the execution results corresponding to the same transaction ID into a test result, and writing the test result into a newly generated block;
the contract container is used for: and generating an execution result according to the intelligent contract registration table and the transaction request information, and sending the execution result to the blockchain system.
In one embodiment, the contract container is specifically configured to:
generating a pre-execution file according to a technical model program in the transaction request information, and generating an execution command according to the transaction request information and an intelligent contract registration table; putting the intelligent contract path in the intelligent contract registration table into a pre-execution file to generate an execution file; and executing the execution file according to the execution command to generate an execution result.
In one embodiment, the blockchain system includes a plurality of nodes for:
packing and compressing the test data set under the data set storage path in the received intelligent contract deployment request to generate a test data set compression package; wherein the intelligent contract deployment request comprises a data tag; generating a forwarding message according to the intelligent contract deployment request and the test data set compression packet, and forwarding the test data set compression packet and the forwarding message to other nodes of the block chain system; decompressing the test data set compression packet to a directory of an intelligent contract mirror image, and taking the directory as an intelligent contract path; and generating an intelligent contract registration table according to the intelligent contract path and the forwarding message, and starting an intelligent contract mirror image to generate an intelligent contract and a contract container.
In one embodiment, the node is further configured to:
judging the contract type in the intelligent contract deployment request; and when the contract type is the user level, decrypting the test data set, and packaging and compressing the decrypted test data set to generate a test data set compression package.
In one embodiment, the intelligent contracts selected by the blockchain system comprise a system intelligent contract and a plurality of user intelligent contracts;
when the contract type is a system level, the block chain system generates a system intelligent contract;
when the contract type is user level, the blockchain system generates a user intelligent contract.
To sum up, the block chain system in the evaluation system based on the block chain in the embodiment of the present invention determines the data tag according to the received transaction request information, selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to the contract container corresponding to the intelligent contract; the contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system; the block chain system merges the execution results corresponding to the same transaction ID into a test result, and writes the test result into the newly generated block, so that the authenticity and reliability of the experimental result can be verified.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The various illustrative logical blocks, or elements, or devices described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.
Claims (10)
1. A block chain-based evaluation method is characterized by comprising the following steps:
the block chain system determines a data tag according to the received transaction request information;
the block chain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels, and sends the transaction request information and the intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract;
each contract container generates an execution result according to the intelligent contract registration table and the transaction request information, and sends the execution result to the block chain system;
and the block chain system merges the execution results corresponding to the same transaction ID into a test result and writes the test result into a newly generated block.
2. The block chain-based evaluation method according to claim 1, wherein the generating of the execution result by each contract container includes:
each contract container generates a pre-execution file according to a technical model program in the transaction request information, and generates an execution command according to the transaction request information and the intelligent contract registry;
each contract container puts the intelligent contract path in the intelligent contract registration table into the pre-execution file to generate an execution file;
and each contract container executes the execution file according to the execution command to generate an execution result.
3. The blockchain-based evaluation method according to claim 1, further comprising:
one node of the block chain system packs and compresses a test data set under a data set storage path in the received intelligent contract deployment request to generate a test data set compression package; wherein the smart contract deployment request includes the data tag;
the node generates a forwarding message according to the intelligent contract deployment request and the test data set compression packet, and forwards the test data set compression packet and the forwarding message to other nodes of the block chain system;
each node of the block chain system decompresses the test data set compression packet to a directory of an intelligent contract mirror image, and the directory is used as the intelligent contract path;
and each node generates the intelligent contract registration table according to the intelligent contract path and the forwarding message, and starts the intelligent contract mirror image to generate the intelligent contract and the contract container.
4. The blockchain-based evaluation method according to claim 3, further comprising:
the node judges the contract type in the intelligent contract deployment request;
and when the contract type is the user level, the node decrypts the test data set, and packages and compresses the decrypted test data set to generate a test data set compression package.
5. The block chain-based evaluation method according to claim 4, wherein:
the intelligent contracts selected by the block chain system comprise a system intelligent contract and a plurality of user intelligent contracts;
when the contract type is a system level, the blockchain system generates the system intelligent contract;
when the contract type is the user level, the blockchain system generates the user intelligent contract.
6. An evaluation system based on a blockchain, comprising: a blockchain system and a plurality of contract containers;
the blockchain system is to: determining a data tag according to the received transaction request information; selecting a plurality of intelligent contracts from the intelligent contract set corresponding to the data labels, and sending the transaction request information and the intelligent contract registration table of each intelligent contract to a contract container corresponding to the intelligent contract; merging the execution results corresponding to the same transaction ID into a test result, and writing the test result into a newly generated block;
the contract container is to: and generating an execution result according to the intelligent contract registration table and the transaction request information, and sending the execution result to the blockchain system.
7. The blockchain-based evaluation system of claim 6, wherein the contract container is specifically configured to:
generating a pre-execution file according to a technical model program in the transaction request information, and generating an execution command according to the transaction request information and the intelligent contract registration table; putting the intelligent contract path in the intelligent contract registration table into the pre-execution file to generate an execution file; and executing the execution file according to the execution command to generate an execution result.
8. The blockchain-based evaluation system of claim 6, wherein the blockchain system comprises a plurality of nodes configured to:
packing and compressing the test data set under the data set storage path in the received intelligent contract deployment request to generate a test data set compression package; wherein the smart contract deployment request includes the data tag; generating a forwarding message according to the intelligent contract deployment request and the test data set compression packet, and forwarding the test data set compression packet and the forwarding message to other nodes of the block chain system; decompressing the test data set compression packet to a directory of an intelligent contract mirror image, and taking the directory as the intelligent contract path; and generating the intelligent contract registration table according to the intelligent contract path and the forwarding message, and starting the intelligent contract mirror image to generate the intelligent contract and the contract container.
9. The blockchain-based assessment system of claim 8, wherein the node is further configured to:
judging the contract type in the intelligent contract deployment request; and when the contract type is the user level, decrypting the test data set, and packaging and compressing the decrypted test data set to generate a test data set compression package.
10. The blockchain-based evaluation system according to claim 9, wherein:
the intelligent contracts selected by the block chain system comprise a system intelligent contract and a plurality of user intelligent contracts;
when the contract type is a system level, the blockchain system generates the system intelligent contract;
when the contract type is the user level, the blockchain system generates the user intelligent contract.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010127680.9A CN111339201B (en) | 2020-02-28 | 2020-02-28 | Evaluation method and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010127680.9A CN111339201B (en) | 2020-02-28 | 2020-02-28 | Evaluation method and system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111339201A true CN111339201A (en) | 2020-06-26 |
CN111339201B CN111339201B (en) | 2023-04-25 |
Family
ID=71183897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010127680.9A Active CN111339201B (en) | 2020-02-28 | 2020-02-28 | Evaluation method and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111339201B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990481A (en) * | 2021-03-12 | 2021-06-18 | 北京航空航天大学 | Automatic evaluation method for machine learning model based on block chain |
CN113485905A (en) * | 2021-02-26 | 2021-10-08 | 杜自然 | Test method, device, equipment and computer storage medium in data transaction |
CN114531454A (en) * | 2022-02-25 | 2022-05-24 | 中发国研信息技术研究院(北京)有限公司 | Unmanned data set credible evaluation system based on block chain |
CN116975850A (en) * | 2023-09-25 | 2023-10-31 | 腾讯科技(深圳)有限公司 | Contract operation method, contract operation device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107833060A (en) * | 2017-11-13 | 2018-03-23 | 中国银行股份有限公司 | The verification method and system of intelligent contract transaction in a kind of block chain |
CN108763058A (en) * | 2018-04-24 | 2018-11-06 | 苏州同济区块链研究院有限公司 | A kind of block chain evaluation system |
US20180365686A1 (en) * | 2017-06-19 | 2018-12-20 | Hitachi, Ltd. | Smart contract lifecycle management |
CN110033244A (en) * | 2019-03-15 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Intelligent contract based on block chain executes method and device and electronic equipment |
CN110392052A (en) * | 2019-07-22 | 2019-10-29 | 中国工商银行股份有限公司 | A kind of block chain intelligence contract processing system and method |
CN110443075A (en) * | 2019-08-05 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of method and device of block chain intelligence contract verifying deployment |
-
2020
- 2020-02-28 CN CN202010127680.9A patent/CN111339201B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180365686A1 (en) * | 2017-06-19 | 2018-12-20 | Hitachi, Ltd. | Smart contract lifecycle management |
CN107833060A (en) * | 2017-11-13 | 2018-03-23 | 中国银行股份有限公司 | The verification method and system of intelligent contract transaction in a kind of block chain |
CN108763058A (en) * | 2018-04-24 | 2018-11-06 | 苏州同济区块链研究院有限公司 | A kind of block chain evaluation system |
CN110033244A (en) * | 2019-03-15 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Intelligent contract based on block chain executes method and device and electronic equipment |
CN110392052A (en) * | 2019-07-22 | 2019-10-29 | 中国工商银行股份有限公司 | A kind of block chain intelligence contract processing system and method |
CN110443075A (en) * | 2019-08-05 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of method and device of block chain intelligence contract verifying deployment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113485905A (en) * | 2021-02-26 | 2021-10-08 | 杜自然 | Test method, device, equipment and computer storage medium in data transaction |
CN113485905B (en) * | 2021-02-26 | 2023-09-05 | 杜自然 | Test method, device, equipment and computer storage medium in data transaction |
CN112990481A (en) * | 2021-03-12 | 2021-06-18 | 北京航空航天大学 | Automatic evaluation method for machine learning model based on block chain |
CN112990481B (en) * | 2021-03-12 | 2022-10-28 | 北京航空航天大学 | Automatic evaluation method for machine learning model based on block chain |
CN114531454A (en) * | 2022-02-25 | 2022-05-24 | 中发国研信息技术研究院(北京)有限公司 | Unmanned data set credible evaluation system based on block chain |
CN114531454B (en) * | 2022-02-25 | 2024-01-16 | 中发国研信息技术研究院(北京)有限公司 | Unmanned data set credibility evaluation system based on blockchain |
CN116975850A (en) * | 2023-09-25 | 2023-10-31 | 腾讯科技(深圳)有限公司 | Contract operation method, contract operation device, electronic equipment and storage medium |
CN116975850B (en) * | 2023-09-25 | 2024-01-05 | 腾讯科技(深圳)有限公司 | Contract operation method, contract operation device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111339201B (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108681853B (en) | Logistics information transmission method, system and device based on block chain | |
CN111339201A (en) | Evaluation method and system based on block chain | |
CN104255009A (en) | Systems and methods for segment integrity and authenticity for adaptive streaming | |
US20190354962A1 (en) | Distributed Ledger Payments Platform for Telecoms | |
CN111476573B (en) | Account data processing method, device, equipment and storage medium | |
CN111314172B (en) | Block chain-based data processing method, device, equipment and storage medium | |
CN108965228B (en) | Dispute relief system with KYC data mark of multiple keys and method thereof | |
WO2017066995A1 (en) | Method and device for preventing unauthorized access to server | |
CN110598377A (en) | Software serial number management method and device based on block chain | |
WO2021169767A1 (en) | Data processing method and apparatus, device and medium | |
WO2021036511A1 (en) | Method for data encryption, storage and reading, terminal device, and storage medium | |
CN110245117A (en) | The credible delet method of data and system on a kind of cloud based on block chain | |
CN111367923A (en) | Data processing method, data processing device, node equipment and storage medium | |
CN112653556A (en) | TOKEN-based micro-service security authentication method, device and storage medium | |
CN108846671B (en) | Online secure transaction method and system based on block chain | |
CN116455572B (en) | Data encryption method, device and equipment | |
US20120017086A1 (en) | Information security transmission system | |
CN110955909B (en) | Personal data protection method and block link point | |
US10275604B2 (en) | Security record transfer in a computing system | |
WO2020000491A1 (en) | File storage method and apparatus, and storage medium | |
CN111130788B (en) | Data processing method and system, data reading method and iSCSI server | |
CN111125734B (en) | Data processing method and system | |
CN114499875A (en) | Service data processing method and device, computer equipment and storage medium | |
CN113378195A (en) | Method, apparatus, medium, and program product for encrypted communication | |
KR20090022493A (en) | Device authenticating apparatus, method and computer readable record-medium on which program for executing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |