CN111339201B - Evaluation method and system based on block chain - Google Patents

Evaluation method and system based on block chain Download PDF

Info

Publication number
CN111339201B
CN111339201B CN202010127680.9A CN202010127680A CN111339201B CN 111339201 B CN111339201 B CN 111339201B CN 202010127680 A CN202010127680 A CN 202010127680A CN 111339201 B CN111339201 B CN 111339201B
Authority
CN
China
Prior art keywords
contract
intelligent contract
intelligent
blockchain
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.)
Active
Application number
CN202010127680.9A
Other languages
Chinese (zh)
Other versions
CN111339201A (en
Inventor
陈杭
朱国平
钟亮
冯浩铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010127680.9A priority Critical patent/CN111339201B/en
Publication of CN111339201A publication Critical patent/CN111339201A/en
Application granted granted Critical
Publication of CN111339201B publication Critical patent/CN111339201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention provides an evaluation method and system based on a blockchain. The evaluation method based on the blockchain comprises the following steps: the block chain system determines a data tag according to the received transaction request information; the blockchain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends transaction request information and an intelligent contract registration form 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 form and the transaction request information, and sends the execution result to the blockchain system; the blockchain 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 true reliability of the experimental result.

Description

Evaluation method and system based on block chain
Technical Field
The invention relates to the technical field of blockchains, in particular to a blockchain-based evaluation method and a blockchain-based evaluation system.
Background
In the technical field of traditional scientific research, each new technology is required to be subjected to experimental verification after being proposed, and the specific verification process is as follows: the technical proposal discloses technical details and experimental results in the forms of papers, conferences and the like after acquiring a public test data set accepted in the technical field and then performing experimental verification. The process is usually completed by a technical proposer independently without any supervision, the effect on the technical realization cannot be ensured to be absolutely effective and reliable, and the problems of adding marks in a test data set or adding mark codes in a program privately exist, so that the execution performance effect of the technical algorithm is improved.
Such behavior is not allowed in any field, but no effective means is formed in the industry to stop such behavior at present, because: firstly, the public test set has no control limit, any person can acquire and use the data set without depending on a specific platform, and any person can locally use the data set after downloading the data, namely, the data set can be locally subjected to random addition and modification operation; secondly, the technical prototype to specific code implementation are 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 blockchain so as to verify the true reliability of an experimental result.
In order to achieve the above object, an embodiment of the present invention provides a blockchain-based evaluation method, including:
the block chain system determines a data tag according to the received transaction request information;
the blockchain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends transaction request information and an intelligent contract registration form 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 form and the transaction request information, and sends the execution result to the blockchain system;
the blockchain 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 invention also provides an evaluation system based on the block chain, which comprises the following steps: 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 the intelligent contract set corresponding to the data tag, and sending transaction request information and an intelligent contract registration form of each intelligent contract to a contract container corresponding to the intelligent contract; combining 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 for: and generating an execution result according to the intelligent contract registry and the transaction request information, and sending the execution result to the blockchain system.
According to the blockchain-based evaluation method and system, a blockchain system determines a data tag according to received transaction request information, a plurality of intelligent contracts are selected from an intelligent contract set corresponding to the data tag, and the transaction request information and an intelligent contract registration form of each intelligent contract are sent to a contract container corresponding to the intelligent contract; the contract container generates an execution result according to the intelligent contract registration form and the transaction request information, and sends the execution result to the blockchain system; the blockchain system combines 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 true 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 that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a blockchain-based assessment method in an embodiment of the invention;
FIG. 2 is a flow chart of a blockchain-based assessment method in another embodiment of the present invention;
FIG. 3 is a flow chart of generating an execution result in an embodiment of the present invention;
FIG. 4 is a block diagram of a blockchain-based evaluation system in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Those skilled in the art will appreciate that embodiments of the invention may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In view of the fact that the authenticity of an experimental result cannot be verified at present, the embodiment of the invention provides an evaluation method based on a blockchain, so as to verify the authenticity and reliability of the experimental result. The present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a flow chart of a blockchain-based assessment method in an embodiment of the invention. As shown in fig. 1, the blockchain-based evaluation method includes:
s101: the blockchain system determines the 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 a transaction cache queue first, and the transaction request information is obtained from the head of the queue each time.
S102: the blockchain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends transaction request information and an intelligent contract registration form of each intelligent contract to a contract container corresponding to the intelligent contract.
Wherein 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 at a system level, the blockchain system generates a system intelligent contract;
when the contract type is user-level, the blockchain system generates a user-intelligent contract.
When there is no data tag in the transaction request information, the blockchain system may select a plurality of intelligent contracts from the data domain. The user can set the proportion between the system intelligent contracts and the user intelligent contracts 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: each contract container generates an execution result according to the intelligent contract registry and the transaction request information, and sends the execution result to the blockchain system.
S104: the blockchain 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 the implementation, a transaction ID corresponds to a block, and a user can obtain a test result by querying the block corresponding to the transaction ID.
The execution subject of the blockchain-based assessment method shown in fig. 1 may be a blockchain system including a plurality of nodes and a plurality of contract containers. As can be seen from the flow shown in fig. 1, the blockchain system in the blockchain-based evaluation method according to the embodiment of the present invention determines a data tag according to the received transaction request information, and 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 form 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 form and the transaction request information, and sends the execution result to the blockchain system; the blockchain system combines 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 true reliability of the experimental result can be verified.
In one embodiment, all data (e.g., smart contract deployment requests, transaction request information, etc.) uploaded to the blockchain by the user needs to be encrypted, and the system can decrypt the encrypted data before further processing. The encryption and decryption flow is as follows:
1. the user invokes the blockchain system encryption interface and the blockchain system transmits its own public key PubS to the user.
2. After the user takes the public key PubS, the user encrypts the data by using the public key PubS to obtain the ciphertext. The user signs the ciphertext by using the private key PrIC, prevents the ciphertext from being tampered in the transmission process, and sends the public key PubC to the blockchain system for signature verification.
3. After the block chain system receives the encrypted data sent by the user, firstly, the public key PubC is used for verifying the ciphertext, and if the ciphertext is tampered in the middle, the verification is not passed. After the verification passes, the block chain system uses the private key PrIS of the system to decrypt the ciphertext.
FIG. 2 is a flow chart of a blockchain-based assessment method in another embodiment of the present invention. As shown in fig. 2, before S101 is performed, it includes:
s201: one node of the block chain system packs and compresses a test data set under a data set storage path in a received intelligent contract deployment request to generate a test data set compression packet; wherein the smart contract deployment request includes a data tag.
In one embodiment, prior to performing S201, comprising: the system administrator or user invokes the data upload interface to upload the test data set and the blockchain 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 smart contract deployment request also includes contract types, data set storage paths, data fields, data specifications, user IDs, 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:
Figure BDA0002394895440000041
Figure BDA0002394895440000051
the data description is a custom item, and 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:
checking whether the user ID is an administrator when the contract type is at the system level; if it is an administrator, it is checked whether the current node has been logged in using an administrator user. When the node logs 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 packet;
and when the contract type is user level, the node decrypts the test data set, packs and compresses the decrypted test data set, and generates a test data set compression packet.
S202: and 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 blockchain system.
The forwarding message further comprises a contract ID generated according to the data set storage path; taking the contract type of the system level as an example, the format of the forwarding message is as follows:
Figure BDA0002394895440000052
s203: each node of the blockchain system decompresses the test data set compression package to the directory of the intelligent contract mirror image, and takes the directory as an intelligent contract path.
In one embodiment, before executing S203, the smart contract image needs to be assembled, and the following statements are added to the smart contract image: RUN tar zxvf faceImageTest01.Tar-C/data.
S204: each node generates an intelligent contract registration form 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 a smart contract registry. As shown in table 1, the structure of the smart contract registry is as follows:
TABLE 1
Field name Type(s) Description of the invention
Contract type Shaping type 1, system level; 2, user level
Data field Character string To which field the test dataset belongs
Data label Character string Different tag data in the same field
Contract ID Character string Intelligent contract unique identification
Smart contract path Character string Test data set in-mirror path
FIG. 3 is a flow chart of generating an execution result in an embodiment of the present invention. As shown in fig. 3, each contract container generates an execution result including:
s301: 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: each contract container puts the intelligent contract path in the intelligent contract registration form into the pre-execution file to generate the execution file.
S303: each contract container executes the execution file according to the execution command to generate an execution result.
The flow of the embodiment of the invention is as follows:
1. the system administrator or user invokes the data upload interface to upload the test data set and the blockchain 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. And one node of the blockchain 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 packet.
3. And 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 blockchain system.
4. Each node of the blockchain system decompresses the test data set compression package to the directory of the intelligent contract mirror image, and takes the directory as an intelligent contract path.
5. Each node generates an intelligent contract registration form 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 blockchain system determines a data tag according to the 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 form of each intelligent contract to a contract container corresponding to the intelligent contract.
7. 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. Each contract container puts the intelligent contract path in the intelligent contract registration form into the pre-execution file to generate the execution file.
9. Each contract container executes the execution file according to the execution command, generates an execution result, and sends the execution result to the blockchain system.
10. The blockchain 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 summary, the blockchain system in the blockchain-based evaluation method of the embodiment of the invention determines a data tag according to the 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 form 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 form and the transaction request information, and sends the execution result to the blockchain system; the blockchain system combines 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 true reliability of the experimental result can be verified.
Aiming at the problem of checking the authenticity of the current industrial scientific research achievements, the invention provides an operation platform and encourages users to share the encrypted technical source code by integrating the test data set disclosed in each field and the private test data set of the users, links the intelligent contract with the test data set by utilizing the characteristics of the contract container, and simultaneously executes the technical model program in the contract container to finally obtain the test result. The whole data transmission process has confidential operation, and the isolation of the contract container can not enable the outside to directly acquire the internal data, so that the purposes of sharing data and source codes and protecting privacy and intellectual property are achieved, and the true reliability of experimental results can be verified.
In summary, the blockchain-based evaluation method of the embodiment of the invention has the following beneficial effects:
(1) The smart contract is combined with the test dataset: through the 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. Because of 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 disclosed test set is transparent to the user disclosure, the test data set issued by the user is blocked for other users, the user cannot view the test data set issued by other users, the user test data set is shared, the user privacy data is ensured, and the user can use the test data set of other users through the blockchain system but cannot occupy the existing state.
(2) Intelligent contract execution technology model program: the user uploads the encrypted technical model program and runs in the contract container, which provides a good environment in which the user can use other user test data and run his own code, as other users cannot acquire the code executed in the contract container. According to the execution results of the technical model program on different data test sets, a user can optimize and improve the technical model program, and the adaptability of the program is improved.
(3) Multi-intelligent contract, 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 with better performance on the public data test sets in the past usually cannot achieve the effect of the public test when used in the actual application scene. The invention uses a plurality of intelligent contracts to test a plurality of test data sets, can avoid single test on the open test data sets, and more comprehensively verifies the technical model program, so that the test result is more convincing and credible.
Based on the same inventive concept, the embodiment of the invention also provides a block chain-based evaluation system, and because the principle of solving the problem of the system is similar to that of the block chain-based evaluation method, the implementation of the system can refer to the implementation of the method, and the repetition is omitted.
FIG. 4 is a block diagram of a blockchain-based evaluation system in an embodiment of the invention. As shown in fig. 4, the blockchain-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 the intelligent contract set corresponding to the data tag, and sending transaction request information and an intelligent contract registration form of each intelligent contract to a contract container corresponding to the intelligent contract; combining 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 for: and generating an execution result according to the intelligent contract registry and the transaction request information, and sending the execution result to the blockchain system.
In one embodiment, the contract container is specifically for:
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 registry; placing the intelligent contract path in the intelligent contract registration form 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, a blockchain system includes a plurality of nodes that are configured to:
packaging and compressing a test data set under a data set storage path in the received intelligent contract deployment request to generate a test data set compression packet; wherein the smart contract deployment request includes 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 blockchain system; decompressing the test data set compression packet to the directory of the intelligent contract mirror image, and taking the directory as an intelligent contract path; and generating an intelligent contract registry 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 of the embodiments, the node is further configured to:
judging the contract type in the intelligent contract deployment request; and when the contract type is user level, decrypting the test data set, and packaging and compressing the decrypted test data set to generate a test data set compression packet.
In one embodiment, the blockchain system selects a smart contract including a system smart contract and a plurality of user smart contracts;
when the contract type is at a system level, the blockchain system generates a system intelligent contract;
when the contract type is user-level, the blockchain system generates a user-intelligent contract.
In summary, the blockchain system in the blockchain-based evaluation system of the embodiment of the invention determines a data tag according to the 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 form 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 form and the transaction request information, and sends the execution result to the blockchain system; the blockchain system combines 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 true reliability of the experimental result can be verified.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
Those of skill in the art will further appreciate that the various illustrative logical blocks (illustrative logical block), units, and steps described in connection with the embodiments of the invention may be implemented by electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components (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. Those skilled in the art may implement the described functionality in varying ways for each particular application, but such implementation is not to be understood as beyond the scope of the embodiments of the present invention.
The various illustrative logical blocks, or units, or devices described in the embodiments of the invention 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. A general purpose processor may be a microprocessor, but in the alternative, the general purpose 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. In an example, a storage medium may be coupled to the processor such that 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 reside in a user terminal. In the alternative, the processor and the storage medium may reside as distinct components in a user terminal.
In one or more exemplary designs, the above-described functions of embodiments of the present invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on a computer-readable medium or transmitted as one or more instructions or code on the computer-readable medium. Computer readable media includes both computer storage media and communication media that facilitate transfer of computer programs from one place to another. A 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 may 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 that may be used to carry or store program code in the form of instructions or data structures and other data structures that may be read by a general or special purpose computer, or a general or special purpose processor. Further, any connection is properly termed a computer-readable medium, e.g., 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 wireless such as infrared, radio, and microwave, and is also included in the definition of computer-readable medium. The disks (disks) and disks (disks) include compact disks, laser disks, optical disks, DVDs, floppy disks, and blu-ray discs where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included within the computer-readable media.

Claims (8)

1. A blockchain-based assessment method, comprising:
the block chain system determines a data tag according to the received transaction request information;
the blockchain system selects a plurality of intelligent contracts from the intelligent contract set corresponding to the data tag, and sends the transaction request information and an intelligent contract registration form 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 registry and the transaction request information, and sends the execution result to the blockchain system;
the block chain system combines the execution results corresponding to the same transaction ID into a test result, and writes the test result into a newly generated block;
the respective contract containers generating execution results including:
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 register table into the pre-execution file to generate an execution file;
and executing the execution file by each contract container according to the execution command to generate an execution result.
2. The blockchain-based assessment method of claim 1, further comprising:
one node of the blockchain system packs and compresses a test data set under a data set storage path in a received intelligent contract deployment request to generate a test data set compression packet; 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 blockchain system;
each node of the blockchain system decompresses the test data set compression packet to a directory of an intelligent contract mirror image, and takes the directory as the intelligent contract path;
and each node generates the intelligent contract registration form 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.
3. The blockchain-based assessment method of claim 2, further comprising:
the node judges the contract type in the intelligent contract deployment request;
and when the contract type is user level, the node decrypts the test data set, packages and compresses the decrypted test data set, and generates a test data set compression packet.
4. The blockchain-based assessment method of claim 3, wherein:
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 at a system level, the blockchain system generates the system intelligent contract;
the blockchain system generates the user intelligence contract when the contract type is at the user level.
5. A blockchain-based evaluation system, comprising: 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 the intelligent contract set corresponding to the data tag, and sending the transaction request information and an intelligent contract registration form 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: generating an execution result according to the intelligent contract registry and the transaction request information, and sending the execution result to the blockchain system;
the contract container is specifically used for:
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 registry; placing the intelligent contract path in the intelligent contract registration form 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.
6. The blockchain-based assessment system of claim 5, wherein the blockchain system includes a plurality of nodes for:
packaging and compressing a test data set under a data set storage path in the received intelligent contract deployment request to generate a test data set compression packet; 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 blockchain 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 registry 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.
7. The blockchain-based evaluation system of claim 6, wherein the node is further configured to:
judging the contract type in the intelligent contract deployment request; and when the contract type is user level, decrypting the test data set, and packaging and compressing the decrypted test data set to generate a test data set compression packet.
8. The blockchain-based assessment system of claim 7, wherein:
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 at a system level, the blockchain system generates the system intelligent contract;
the blockchain system generates the user intelligence contract when the contract type is at the user level.
CN202010127680.9A 2020-02-28 2020-02-28 Evaluation method and system based on block chain Active CN111339201B (en)

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 CN111339201A (en) 2020-06-26
CN111339201B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485905B (en) * 2021-02-26 2023-09-05 杜自然 Test method, device, equipment and computer storage medium in data transaction
CN112990481B (en) * 2021-03-12 2022-10-28 北京航空航天大学 Automatic evaluation method for machine learning model based on block chain
CN114531454B (en) * 2022-02-25 2024-01-16 中发国研信息技术研究院(北京)有限公司 Unmanned data set credibility evaluation system based on blockchain
CN116975850B (en) * 2023-09-25 2024-01-05 腾讯科技(深圳)有限公司 Contract operation method, contract operation device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11055703B2 (en) * 2017-06-19 2021-07-06 Hitachi, Ltd. Smart contract lifecycle management

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN111339201A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111339201B (en) Evaluation method and system based on block chain
US20190229927A1 (en) Method and apparatus for processing account information in block chain, storage medium, and electronic apparatus
CN102138300B (en) Message authentication code pre-computation with applications to secure memory
CN113095749A (en) Logistics information transmission method, system and device based on block chain
CN117278224A (en) Method and system for verifying identity attribute information
CN109472164A (en) The verification method and its network and electronic equipment of contract dataset
JP6543743B1 (en) Management program
US10609010B2 (en) System, methods and software application for sending secured messages on decentralized networks
EP2020108A2 (en) System and method for drm translation
CN104255009A (en) Systems and methods for segment integrity and authenticity for adaptive streaming
CN111476573B (en) Account data processing method, device, equipment and storage medium
CN108965228B (en) Dispute relief system with KYC data mark of multiple keys and method thereof
CN113169866A (en) Techniques to prevent collusion using simultaneous key distribution
CN110381012B (en) Method and system for facilitating broadcast of encrypted data
KR20200085095A (en) Electronic apparatus and method for managing data based on block chain
US20220286275A1 (en) Method and system for the atomic exchange of blockchain assets using transient key pairs
WO2021036511A1 (en) Method for data encryption, storage and reading, terminal device, and storage medium
CN110598377A (en) Software serial number management method and device based on block chain
CN111680013A (en) Data sharing method based on block chain, electronic equipment and device
CN108846671B (en) Online secure transaction method and system based on block chain
CN110955909B (en) Personal data protection method and block link point
US10057054B2 (en) Method and system for remotely keyed encrypting/decrypting data with prior checking a token
CN116366289A (en) Safety supervision method and device for remote sensing data of unmanned aerial vehicle
CN116015846A (en) Identity authentication method, identity authentication device, computer equipment and storage medium
WO2020000491A1 (en) File storage method and apparatus, and storage medium

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