CN109347640B - Data processing method and terminal based on block chain dynamic intelligent contract - Google Patents
Data processing method and terminal based on block chain dynamic intelligent contract Download PDFInfo
- Publication number
- CN109347640B CN109347640B CN201811128275.8A CN201811128275A CN109347640B CN 109347640 B CN109347640 B CN 109347640B CN 201811128275 A CN201811128275 A CN 201811128275A CN 109347640 B CN109347640 B CN 109347640B
- Authority
- CN
- China
- Prior art keywords
- output information
- information
- node
- intelligent contract
- intelligent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/142—Network analysis or design using statistical or mathematical methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
Abstract
The invention provides a data processing method and a terminal based on a block chain dynamic intelligent contract, wherein a first number of intelligent contracts are randomly selected from a plurality of intelligent contracts, and a first intelligent contract is selected from the first number of intelligent contracts, so that a random first node in a block chain processes information input by a user through the first intelligent contract, the processed output information is signed through a private key to obtain signature information, the output information and the signature information are randomly sent to another node in the block chain, and when the node verifies that the signature information and the output information pass, the signature information and the output information are recorded and stored; respectively counting the number of each kind of same output information until n existsi(i ═ 1,2, …, m) such thatOtherwise, repeating S1-S4; the invention solves the problem that the user input data is easy to be attacked by hackers when being processed by an intelligent contract in the block chain.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a data processing method and a terminal based on a block chain dynamic intelligent contract.
Background
The original chain (YC) community no longer follows the rule of "Code is law", and intelligent contracts (such as intelligent contracts written in different development languages and different developers) with the same rule but different codes can be used at different nodes. As long as the rules are consistent, the same result can be calculated by the correct intelligent contract. For example, to calculate the result of "1 +1 ═ the original chain community may be written in the C + + language or the Go language, and the same rule is used to obtain a consistent result.
The heterogeneous intelligent contract mechanism adopted in the original chain is a static heterogeneous intelligent contract mechanism, the safety problem of the intelligent contract in the block chain is solved to a certain extent, but a hacker can attack various intelligent contracts in the system and threaten the safety of the block chain.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the invention provides a data processing method and a terminal based on a block chain dynamic intelligent contract, which improve the safety of a block chain.
In order to solve the technical problem, the invention provides a data processing method based on a block chain dynamic intelligent contract, which comprises the following steps:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatA is a preset first threshold; if present, n isiAnd processing the corresponding output information as the output information after the information input to the user, otherwise, repeatedly executing the steps S1 to S4.
The invention also provides a data processing terminal based on the block chain dynamic intelligent contract, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatA is a preset first threshold; if present, n isiAnd processing the corresponding output information as the output information after the information input to the user, otherwise, repeatedly executing the steps S1 to S4.
The invention has the beneficial effects that:
the invention provides a data processing method based on block chain dynamic intelligent contracts, which comprises the steps of randomly selecting a preset first number of intelligent contracts from a plurality of intelligent contracts, selecting a first intelligent contract from the first number of intelligent contracts, enabling a random first node in a block chain to process information input by a user through the first intelligent contract, signing the processed output information through a private key to obtain signature information, randomly sending the output information and the signature information to another node in the block chain, and recording and storing the signature information and the signature information after the node verifies the signature information and the output information; respectively counting the number of each kind of same output information until n existsi(i ═ 1,2, …, m) such thatOtherwise, repeating S1-S4;according to the method, when user data is processed each time, an intelligent contract is randomly selected to process the data, output information processed by different nodes is statistically analyzed for different intelligent contracts by a statistical method, so that output information meeting a certain condition is selected, a hacker cannot grasp the processing rule of a block chain on user input information, and the problem that the hacker is easily attacked when the user input data is processed by one intelligent contract in the block chain is solved; the invention improves the safety of the block chain and greatly enhances the difficulty of hackers attacking the intelligent contract.
Drawings
Fig. 1 is a schematic diagram illustrating main steps of a data processing method based on a blockchain dynamic intelligent contract according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data processing terminal based on a blockchain dynamic intelligent contract according to an embodiment of the present invention;
description of reference numerals:
1. a memory; 2. a processor.
Detailed Description
In order to explain technical contents, objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, the present invention provides a data processing method based on a block chain dynamic intelligent contract, including the following steps:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information; the first node corresponds to the information, namely the first node is a node for processing the information input by the user;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatA is a preset first threshold; if present, n isiAnd processing the corresponding output information as the output information after the information input to the user, otherwise, repeatedly executing the steps S1 to S4.
The functions of the preset intelligent contracts are the same, namely under the condition of no attack, the input is the same, and the output of different intelligent contracts is the same.
As can be seen from the above description, the present invention provides a data processing method based on a block chain dynamic intelligent contract, where a preset first number of intelligent contracts are randomly selected from a plurality of intelligent contracts, and a first intelligent contract is selected from the first number of intelligent contracts, so that a random first node in the block chain processes information input by a user through the first intelligent contract, signs the processed output information through a private key to obtain signature information, randomly sends the output information and the signature information to another node in the block chain, and records and stores the signature information and the output information after the node verifies the signature information and the output information; respectively counting the number of each kind of same output information until n existsi(i ═ 1,2, …, m) such thatOtherwise, repeating S1-S4; by the method, when the user data is processed each time, an intelligent contract is randomly selected to process the data, so that the method is simple and convenient to useThe output information processed by different intelligent contracts and different nodes is subjected to statistical analysis by a statistical method, so that the output information meeting a certain condition is selected, a hacker cannot grasp the processing rule of a block chain on the input information of the user, and the problem that the hacker is easy to attack when the input data of the user is processed by one intelligent contract in the block chain is solved; the invention improves the safety of the block chain and greatly enhances the difficulty of hackers attacking the intelligent contract.
Further, the S1 specifically includes:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
From the above description, it can be known that, by the above method, an intelligent contract can be randomly extracted, and the input information of the user is processed by a random first node, so that the rule of the block chain for processing the input information of the user is traceless, and the security of the block chain system can be greatly enhanced.
Further, the S1 is preceded by:
b mutually different intelligent contracts are deployed in the blockchain.
From the above description, it can be seen that the method can enable the destination node to adopt different intelligent contracts when processing the input data.
Further, the S3 specifically includes:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
From the above description, it can be known that the security of the system can be further improved by the second node effectively verifying the signature information and the output information sent by the first node.
Further, the S2 is preceded by:
a private key and a public key are stored on each node in the block chain, and the public keys stored on each node are the same.
As can be seen from the above description, the signature can be verified by the public key on the second node by the above method.
Referring to fig. 2, the data processing terminal based on the block chain dynamic intelligent contract provided by the present invention includes a memory 1, a processor 2 and a computer program stored in the memory 1 and capable of running on the processor 2, and when the processor 2 executes the computer program, the following steps are implemented:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatA is a preset first threshold; if present, n isiAnd processing the corresponding output information as the output information after the information input to the user, otherwise, repeatedly executing the steps S1 to S4.
Further, in the data processing terminal based on the blockchain dynamic intelligent contract, the S1 specifically is:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
Further, the data processing terminal based on the blockchain dynamic intelligent contract further includes, before the S1:
b mutually different intelligent contracts are deployed in the blockchain.
Further, in the data processing terminal based on the blockchain dynamic intelligent contract, the S3 specifically is:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
Further, the data processing terminal based on the blockchain dynamic intelligent contract further includes, before the S2:
a private key and a public key are stored on each node in the block chain, and the public keys stored on each node are the same.
Referring to fig. 1, a first embodiment of the present invention is:
the invention provides a data processing method based on a block chain dynamic intelligent contract, which comprises the following steps:
s0: b mutually different intelligent contracts are deployed in the blockchain;
s1: randomly selecting a preset first number of intelligent contracts from the b intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
wherein, the S1 specifically is:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
S105: storing a private key and a public key on each node in the block chain, wherein the public keys stored on each node are the same; namely, the public key on any node can decrypt the information signed by the private key of other nodes;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node in a P2P (point-to-point) communication mode;
the second node and the first node are two different nodes;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
wherein, the S3 specifically is:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
S4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatIf present, n isiThe corresponding output information is used as the output information after the information input by the user is processed, otherwise, the steps S1 to S4 are repeatedly executed;
the purpose of step S5 is to randomly select only one n satisfying the above conditioni(one is randomly selected if there are plural ones), and niAnd only one corresponding output information (if a plurality of corresponding output information exist, one of the output information is randomly selected).
Referring to fig. 2, the second embodiment of the present invention is:
the invention provides a data processing terminal based on a block chain dynamic intelligent contract, which comprises a memory 1, a processor 2 and a computer program which is stored on the memory 1 and can run on the processor 2, wherein the processor 2 realizes the following steps when executing the computer program:
s0: b mutually different intelligent contracts are deployed in the blockchain;
s1: randomly selecting a preset first number of intelligent contracts from the b intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
wherein, the S1 specifically is:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
S105: storing a private key and a public key on each node in the block chain, wherein the public keys stored on each node are the same; namely, the public key on any node can decrypt the information signed by the private key of other nodes;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
the second node and the first node are two different nodes;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
wherein, the S3 specifically is:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
S4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
s5: judging whether n existsiI is 1,2, … m, such thatIf present, n isiAnd processing the corresponding output information as the output information after the information input to the user, otherwise, repeatedly executing the steps S1 to S4.
The third embodiment of the invention is as follows:
1. 3 intelligent contracts (A, B and C) are selected from a plurality of preset intelligent contracts which are different from each other.
2. Node u for executing intelligent contract SCiRandomly selecting one intelligent contract from 3 intelligent contracts to process input information of user to obtain output informationAnd the private key on the node signs the output information to obtain the signature informationRandomly sending the output information and the signature information to a node; wherein input is the input information of the user, uiFor a randomly selected node in the block chain,pki is node uiA stored private key;
3. after the other node receiving the information verifies the output information and the signature information, the other node records and stores the output information and the signature information
4. Step 1-Step3 are repeatedly executed to form a counter matrix:
wherein (SC)U(input))j(j-1, 2, …, m) represents the j-th output information, njIndicates the number of the j-th output information,representing a passing nodePrivate key stored onTo (SC)U(input))jSignature information obtained after signature is carried out;
5. the consensus node makes statistics on the last counting matrix in the consensus round if n existsiI is 1,2, … m, such thatThen the result is (SC)U(input))iThe output information corresponding to the user input information is represented.
In summary, the present invention provides a dynamic intelligence method based on block chainsThe contract data processing method and the terminal thereof enable a random first node in a block chain to process information input by a user through a first intelligent contract by randomly selecting a preset first number of intelligent contracts from a plurality of intelligent contracts and selecting the first intelligent contract from the first number of intelligent contracts, sign the processed output information through a private key to obtain signature information, randomly send the output information and the signature information to another node in the block chain, and record and store the signature information and the signature information after the node verifies the signature information and the output information; respectively counting the number of each kind of same output information until n existsiI is 1,2, … m, such thatOtherwise, repeating S1-S4; according to the method, when user data is processed each time, an intelligent contract is randomly selected to process the data, output information processed by different nodes is statistically analyzed for different intelligent contracts by a statistical method, so that output information meeting a certain condition is selected, a hacker cannot grasp the processing rule of a block chain on user input information, and the problem that the hacker is easily attacked when the user input data is processed by one intelligent contract in the block chain is solved; the invention improves the safety of the block chain and greatly enhances the difficulty of hackers attacking the intelligent contract.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A data processing method based on a block chain dynamic intelligent contract is characterized by comprising the following steps:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
2. The method for data processing based on the blockchain dynamic intelligent contract according to claim 1, wherein the step S1 is specifically that:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
3. The method for data processing based on the blockchain dynamic intelligent contract according to claim 2, wherein the step S1 is preceded by the step of:
b mutually different intelligent contracts are deployed in the blockchain.
4. The method for data processing based on the blockchain dynamic intelligent contract according to claim 1, wherein the step S3 is specifically that:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
5. The method for data processing based on the blockchain dynamic intelligent contract according to claim 4, wherein the step of S2 is preceded by the step of:
a private key and a public key are stored on each node in the block chain, and the public keys stored on each node are the same.
6. A data processing terminal based on a block chain dynamic intelligent contract, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps:
s1: randomly selecting a preset first number of intelligent contracts from a plurality of preset intelligent contracts, and randomly selecting one intelligent contract from the first number of intelligent contracts to obtain a first intelligent contract; a first node in the control block chain processes information input by a user through the first intelligent contract to obtain output information;
s2: signing the output information through a private key of the first node to obtain signature information, and sending the output information and the signature information to a random second node;
s3: when the second node verifies the signature information and the output information, the second node records and stores the output information and the signature information received by the node;
s4: respectively counting the number of each kind of the same output information, wherein the number of the jth kind of the output information is njJ is 1,2, … m, where m represents the number of types of output information that have been recorded;
7. The data processing terminal according to claim 6, wherein the S1 is specifically configured to:
selecting a first number c of intelligent contracts from preset b intelligent contracts to obtainSelecting schemes, wherein each selecting scheme comprises c intelligent contracts; numbering each selection scheme; each option is numbered asAre different from each other; b and c are positive integers, and b is larger than c;
Acquiring and numbering a selection scheme of the random number to obtain a target selection scheme;
randomly selecting an intelligent contract from the target selection scheme to obtain the first intelligent contract;
and a first node randomly selected in the control block chain processes the information input by the user through the first intelligent contract to obtain output information.
8. The data processing terminal according to claim 7, wherein the S1 is preceded by:
b mutually different intelligent contracts are deployed in the blockchain.
9. The data processing terminal according to claim 6, wherein the S3 is specifically configured to:
decrypting the signature information through a public key stored on the second node to obtain first decryption information; the public key corresponds to the private key;
judging whether the first decryption information is consistent with the output information or not, and if so, verifying the signature information and the output information;
and recording and storing the output information and the signature information received on the node.
10. The data processing terminal according to claim 9, wherein the S2 is preceded by:
a private key and a public key are stored on each node in the block chain, and the public keys stored on each node are the same.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811128275.8A CN109347640B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal based on block chain dynamic intelligent contract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811128275.8A CN109347640B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal based on block chain dynamic intelligent contract |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109347640A CN109347640A (en) | 2019-02-15 |
CN109347640B true CN109347640B (en) | 2021-06-15 |
Family
ID=65306738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811128275.8A Active CN109347640B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal based on block chain dynamic intelligent contract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109347640B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297643B (en) * | 2022-03-10 | 2022-07-08 | 众连智能科技有限公司 | Defense method and device of intelligent contract and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169125A (en) * | 2017-05-31 | 2017-09-15 | 北京小米移动软件有限公司 | The dispensing statistics acquisition methods and device of multimedia resource |
CN107341402A (en) * | 2017-06-19 | 2017-11-10 | 上海策链信息科技有限公司 | A kind of program excutive method and device |
CN108282334A (en) * | 2018-04-13 | 2018-07-13 | 济南浪潮高新科技投资发展有限公司 | It is a kind of based on the multi-party key agreement device of block chain, method and system |
CN108304307A (en) * | 2018-01-24 | 2018-07-20 | 深圳圣马歌科技有限公司 | The method for testing performance of intelligent contract on a kind of block chain |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11128603B2 (en) * | 2016-09-30 | 2021-09-21 | Nec Corporation | Method and system for providing a transaction forwarding service in blockchain implementations |
-
2018
- 2018-09-27 CN CN201811128275.8A patent/CN109347640B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169125A (en) * | 2017-05-31 | 2017-09-15 | 北京小米移动软件有限公司 | The dispensing statistics acquisition methods and device of multimedia resource |
CN107341402A (en) * | 2017-06-19 | 2017-11-10 | 上海策链信息科技有限公司 | A kind of program excutive method and device |
CN108304307A (en) * | 2018-01-24 | 2018-07-20 | 深圳圣马歌科技有限公司 | The method for testing performance of intelligent contract on a kind of block chain |
CN108282334A (en) * | 2018-04-13 | 2018-07-13 | 济南浪潮高新科技投资发展有限公司 | It is a kind of based on the multi-party key agreement device of block chain, method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109347640A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kiayias et al. | Non-interactive proofs of proof-of-work | |
Zhao et al. | Secure multi-party computation: theory, practice and applications | |
AU2017257448B2 (en) | Implementing logic gate functionality using a blockchain | |
Kiayias et al. | Delegatable pseudorandom functions and applications | |
RU2619895C1 (en) | Data encryption system and methods | |
CN102611692B (en) | Secure computing method in multi-tenant data centers | |
CN109241484B (en) | Method and equipment for sending webpage data based on encryption technology | |
US9712320B1 (en) | Delegatable pseudorandom functions and applications | |
CN109347620B (en) | Sample alignment method, system and computer readable storage medium | |
US20160301524A1 (en) | Methods and apparatuses of digital data processing | |
Kerber et al. | Mining for privacy: How to bootstrap a snarky blockchain | |
CN106464484A (en) | Obfuscated performance of a predetermined function | |
Ramkumar | A blockchain based framework for information system integrity | |
CN109347640B (en) | Data processing method and terminal based on block chain dynamic intelligent contract | |
Ananth et al. | On secure two-party computation in three rounds | |
Khalid et al. | Cryptanalysis of ultralightweight mutual authentication protocol for radio frequency identification enabled Internet of Things networks | |
CN110234082B (en) | Addressing method and device of mobile terminal, storage medium and server | |
US20230050494A1 (en) | Robust Input Verification for Secure Multi-Party Computation (MPC) with Clients | |
Selvi et al. | Hyper elliptic curve cryptography in multi cloud-security using DNA (genetic) techniques | |
Pointcheval et al. | A New-Complete Problem and Public-Key Identification | |
CN114205087A (en) | Block chain based random number generation method | |
Yao et al. | Security of weak secrets based cryptographic primitives via the Renyi entropy | |
Szymoniak | Kaochow protocol timed analysis | |
Pechenkin et al. | Modeling the search for vulnerabilities via the fuzzing method using an automation representation of network protocols | |
Nigam et al. | Symbolic timed observational equivalence |
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 |