Information processing method, device, system and storage medium
By using encryption algorithms and blind signature protocols in the blockchain network, the problems of information leakage and tampering in e-commerce transactions are solved, the traceability and security of transaction information are achieved, and the fairness of the transaction process is ensured.
Patent Information
- Application Number
- CN201910283890.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-04-10
AI Technical Summary
In e-commerce transactions, existing technology cannot effectively ensure the fairness and security of transaction information, leading to leakage or tampering of transaction information, affecting the fairness of transaction results.
Blockchain and encryption algorithms are used to encrypt and record the information of the transaction process, making the transaction information traceable and non-tamperable, and protecting the information security of traders through blind signature protocols and key exchange mechanisms.
It achieves the non-tamperability and traceability of transaction information, avoids the leakage of traders' information, and ensures the fairness and information security of the transaction process.
Smart Images

Figure CN111784338B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an information processing method, device, system and storage medium. Background Art
[0002] Information processing is an important application of e-commerce. With the development of network technology and the improvement of confidentiality systems, transaction models are gradually shifting from traditional models to network-based electronic models.
[0003] At present, in order to ensure fairness in the process of transaction information processing, a unified platform is generally used to manage the personnel information, transaction content, price and other information involved in the transaction, and then the unified platform announces the corresponding results.
[0004] However, this method may cause the transaction information of traders to be leaked or tampered with, thereby affecting the fairness of the transaction and causing losses to the traders. Summary of the invention
[0005] The present invention provides an information processing method, device, system and storage medium, which encrypt and record the information of the transaction process through blockchain and encryption algorithm, so that the transaction information can be traced and cannot be tampered with; and the information leakage of traders can be avoided, thereby ensuring the information security of traders.
[0006] In a first aspect, an embodiment of the present invention provides an information processing method, which is applied in a blockchain network comprising multiple nodes; the blockchain network comprises: a first node, a second node, and a third node; the method comprises:
[0007] The first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by using the first temporary private key;
[0008] The second node executes a blind signature protocol with the third node to obtain a corresponding signature, and completes the on-chain storage of the signature;
[0009] The second node encrypts the transaction content through the signature to obtain the signature ciphertext, and completes the on-chain storage of the signature ciphertext;
[0010] The first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext; if the verification passes, the processing result is sent to the second node.
[0011] In one possible design, the second node and the third node perform a blind signature protocol to obtain a corresponding signature, including:
[0012] An elliptic curve signature algorithm is used between the second node and the third node to generate a signature.
[0013] In a possible design, the second node encrypts the transaction content through the signature to obtain the signature ciphertext, and completes the on-chain storage of the signature ciphertext, including:
[0014] The second node obtains the first session key for key exchange through the second temporary private key and the first temporary public key;
[0015] Calculate a signature ciphertext using the signature and the first session key;
[0016] The signed ciphertext is stored on the chain to obtain a ledger containing the signed ciphertext;
[0017] The second temporary public key is stored on the chain, and a transaction request is initiated to the first node; wherein the second temporary public key is calculated by the second temporary private key.
[0018] In a possible design, the first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext, including:
[0019] The first node obtains a second session key for key exchange through the first temporary private key and the second temporary public key;
[0020] decrypting the signed ciphertext using the second session key;
[0021] The decrypted signature ciphertext is verified by the signature; if the verification is successful, the transaction information of the second node is parsed; the transaction information includes: the auction price.
[0022] In one possible design, the network node further includes: a fourth node;
[0023] After sending the processing result to the second node, the method further includes:
[0024] After the second node completes the on-chain storage of the second temporary private key, an arbitration request is initiated to the fourth node;
[0025] The fourth node obtains the first session key for key exchange through the second temporary private key and the first temporary public key;
[0026] decrypting the signed ciphertext using the first session key;
[0027] The decrypted signature ciphertext is verified by the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0028] In a second aspect, an embodiment of the present invention provides an information processing device, which is applied in a blockchain network comprising multiple nodes; the blockchain network comprises: a first node, a third node, and a second node; the device comprises:
[0029] A transaction initiation module, used to control the first node to complete the on-chain storage of transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by using the first temporary private key;
[0030] A signature module, used to control the execution of a blind signature protocol between the second node and the third node, obtain a corresponding signature, and complete the on-chain storage of the signature;
[0031] An encryption module, used to control the second node to encrypt the transaction content through the signature, obtain the signature ciphertext, and complete the on-chain storage of the signature ciphertext;
[0032] The verification module is used to control the first node to obtain the signature ciphertext from the account book formed after the first node is stored on the chain, and to decrypt and verify the signature ciphertext; if the verification is successful, the processing result is sent to the second node.
[0033] In a possible design, the signature module is specifically used to:
[0034] Control the second node and the third node to use an elliptic curve signature algorithm to generate a signature.
[0035] In a possible design, the encryption module is specifically used to:
[0036] Control the second node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key;
[0037] Calculate a signature ciphertext using the signature and the first session key;
[0038] The signed ciphertext is stored on the chain to obtain a ledger containing the signed ciphertext;
[0039] The second temporary public key is stored on the chain, and a transaction request is initiated to the first node; wherein the second temporary public key is calculated by the second temporary private key.
[0040] In a possible design, the verification module is specifically used to:
[0041] Control the first node to obtain a second session key for key exchange through the first temporary private key and the second temporary public key;
[0042] decrypting the signed ciphertext using the second session key;
[0043] The decrypted signature ciphertext is verified by the signature; if the verification is successful, the transaction information of the second node is parsed; the transaction information includes: the auction price.
[0044] In one possible design, the network node further includes: a fourth node;
[0045] The device also includes:
[0046] An arbitration module, configured to initiate an arbitration request to the fourth node after the second node completes the on-chain storage of the second temporary private key;
[0047] Control the fourth node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key;
[0048] decrypting the signed ciphertext using the first session key;
[0049] The decrypted signature ciphertext is verified by the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0050] In a third aspect, an embodiment of the present invention provides an information processing system, including:
[0051] Memory, used to store programs;
[0052] A processor is used to execute the program stored in the memory. When the program is executed, the processor is used to execute the method as described in any one of the first aspects.
[0053] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, comprising: a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect.
[0054] The information processing method, device, system and storage medium provided by the present invention are applied in a blockchain network including multiple nodes; the blockchain network includes a first node, a second node and a third node; wherein: the first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the second node and the third node execute a blind signature protocol to obtain a corresponding signature, and complete the on-chain storage of the signature; the second node encrypts the transaction content by the signature, obtains a signature ciphertext, and completes the on-chain storage of the signature ciphertext; the first node obtains the signature ciphertext from the account book formed after the on-chain storage, and decrypts and verifies the signature ciphertext; if the verification is passed, the processing result is sent to the second node. The present invention encrypts and records the information of the transaction process through a blockchain and an encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and can avoid the information leakage of the trader, and ensure the information security of the trader. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0056] Figure 1 A schematic diagram of the structure of an application scenario provided by an embodiment of the present invention;
[0057] Figure 2 A flowchart of an information processing method provided in Embodiment 1 of the present invention;
[0058] Figure 3 A flowchart of an information processing method provided in Embodiment 2 of the present invention;
[0059] Figure 4 A schematic diagram of the structure of an information processing device provided in Embodiment 3 of the present invention;
[0060] Figure 5 A schematic diagram of the structure of an information processing device provided in Embodiment 4 of the present invention;
[0061] Figure 6 This is a schematic diagram of the structure of the information processing system provided in Embodiment 5 of the present invention.
[0062] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0065] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0066] Below, some terms in this application are explained to facilitate understanding by those skilled in the art:
[0067] 1) Blockchain is a new distributed infrastructure and computing method that uses block chain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses smart contracts composed of automated script code to program and operate data.
[0068] 2) ED25519 blind signature algorithm
[0069] The ED25519 blind signature algorithm is based on an efficient elliptic curve signature algorithm, namely the ED25519 signature algorithm. In the ED25519 blind signature algorithm, let E(F p ) represents the Curve25519 curve E = {(x,y)∈F p ×F p :-x 2 +x 2 =1+dx 2 y 2}In the prime field F p The base point of the group is B, and the number of group elements is #E(F p )=l2 c , where d = -121665 / 121666∈F p , p = 2 255 -19, l = 2 252+2774231777737235353585193779088364849 is a large prime number, c=3. The main operation stages of the ED25519 blind signature algorithm are as follows, which mainly involve three participants: the signer, the receiver, and the verifier. Since there are several rounds of protocol interactions between the signer and the receiver, it can also be called a blind signature protocol:
[0070] 1. Key generation phase: The signer uses the key generation algorithm to generate a public-private key pair, and randomly generates a 256-bit k as the private key, generating s = H 0,…,255 (k), that is, take the first 256 bits of H as the output value of s, where H is the SHA512 hash algorithm, and the total output length is 512 bits. Let A=sB be the public key of the signer. Therefore, the public and private key pair of the signer is (k,A).
[0071] 2. Session initiation phase: The receiver sends a message Init to the signer to initiate a blind signature request, where Init contains some public request service information.
[0072] 3. Commitment generation phase: The signer generates a commitment value R = rB, where r = H (H 256,…,511 (k)||Init) and sends the commitment value R to the receiver.
[0073] 4. Challenge generation phase: The receiver randomly selects two 256-bit strings a and b as blinding factors and calculates the final commitment value T = R-aB-bA. Then it calculates the challenge value e = H(T||A||M) and the blinded challenge value e′ = e+b mod l, and sends the blinded challenge value e′ to the signer.
[0074] 5. Signature generation phase: The signer calculates the blinded signature term S′=re′s mod l, where s=H 0,…,255 (k), and sends the blinded signature item S′ to the recipient.
[0075] 6. Signature unblinding stage: The receiver calculates the unblinded signature term S = S′-a mod l and outputs (T, S) as the final signature result.
[0076] 7. Signature verification phase: The verifier takes the signature result (T, S), message M and the signer's public key A as input to verify whether 2 c SB=2 c T+2 c H(T||A||M)A, to determine whether the signature is valid.
[0077] Figure 1 A schematic diagram of the structure of an application scenario provided by an embodiment of the present invention, such as Figure 1As shown, the present invention is applied in a blockchain network including multiple nodes, and the blockchain network 20 includes: a first node 21, a third node 22, a second node 23, a fourth node 24, etc. After the data between the nodes in the blockchain network 20 complete the whole network consensus and the consensus is passed, it can be stored in the blockchain. In this embodiment, this process is referred to as on-chain storage. The account book 10 formed after the on-chain storage stores the data that has been agreed upon between the nodes, and the data is traceable and cannot be tampered with.
[0078] The first node 21 first completes the chain storage of the transaction content, which includes: the first temporary public key, the information to be analyzed, and the deadline, and the first temporary public key is calculated by the first temporary private key. Then, the second node 23 and the third node 22 execute the blind signature protocol to obtain the corresponding signature and complete the chain storage of the signature. Then, the second node 23 encrypts the transaction content by signing, obtains the signature ciphertext, and completes the chain storage of the signature ciphertext. The first node 21 obtains the signature ciphertext from the account book 10 formed by the chain storage, and decrypts and verifies the signature ciphertext; if the verification passes, the processing result is sent to the second node. If the second node 23 has an objection to the processing result, the second node 23 completes the chain storage of the second temporary private key and initiates an arbitration request to the fourth node 24. The fourth node 24 obtains the first session key of the key exchange through the second temporary private key and the first temporary public key, and decrypts the signature ciphertext through the first session key. Finally, the fourth node 24 verifies the decrypted signature ciphertext through the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0079] It should be noted that this embodiment does not limit the number of network nodes, and those skilled in the art can increase or decrease the number of network nodes according to actual conditions. That is, there can be multiple first nodes, second nodes, etc., multiple second nodes can participate in the transaction of the same item, and the same node can participate in the transaction of multiple items. Specifically, the above method can be applied in the field of electronic auctions.
[0080] The above method can be applied to encrypt and record the information of the transaction process through blockchain and encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and it can avoid the leakage of bidders' information and ensure the bidders' information security.
[0081] The following specific embodiments are used to describe in detail the technical solutions of the present invention and how the technical solutions of the present application solve the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0082] Figure 2This is a flowchart of an information processing method provided in Embodiment 1 of the present invention, such as Figure 2 As shown, the method in this embodiment may include:
[0083] S101. The first node completes the on-chain storage of the transaction content.
[0084] In this embodiment, the transaction content includes: a first temporary public key X, information to be analyzed (such as auction item information), and a deadline; the first temporary public key is calculated using the first temporary private key x. After obtaining the transaction content, the first node can broadcast the transaction content information to other nodes in the network so that other network nodes can obtain the electronic transaction information and the first temporary public key.
[0085] Specifically, a 256-bit string x is randomly selected as the Diffie-Hellman temporary private key, where X=xB, B is the base point of the group, and X is the Diffie-Hellman temporary public key, and a blockchain transaction is initiated to the authenticator (with the first temporary public key X and the deadline as the transaction content). The transaction can be started after the transaction is confirmed on the chain.
[0086] S102: The second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature.
[0087] In this embodiment, a blind signature protocol is executed between the second node and the third node to obtain a corresponding signature. Optionally, an elliptic curve signature algorithm is used between the second node and the third node to generate a signature.
[0088] Specifically, the bidder randomly selects a 256-bit string y and calculates Y=yB, using (y,Y) as the Diffie-Hellman temporary public-private key pair; then, as the receiver, he initiates the 1st to 6th stages of ED25519 blind signing with the authenticator using M as the plaintext to be signed, and obtains the signature (T,S), where the plaintext to be signed M=str||Y||data, where str is a random string of a specified length randomly selected by the bidder, and data is the transaction information, including the auction amount and other contents.
[0089] S103. The second node encrypts the transaction content by signing, obtains the signature ciphertext, and completes the on-chain storage of the signature ciphertext.
[0090] In this embodiment, the second node obtains the first session key for key exchange through the second temporary private key and the first temporary public key; calculates the signature ciphertext through the signature and the first session key; completes the on-chain storage of the signature ciphertext; after the second node completes the on-chain storage of the second temporary public key, it initiates a transaction request to the first node; wherein the second temporary public key is calculated through the second temporary private key.
[0091] Specifically, the second temporary private key y and the first temporary public key X are used to calculate the first session key sk=H′(yX) of the Diffie-Hellman key exchange, where H′ is a hash function; then the signature ciphertext is calculated Then, the signature ciphertext C is used as the transaction content, the signature ciphertext is stored on the chain, and the second node is notified. After the deadline for submitting the transaction information, the bidder uses the second temporary public key Y as the transaction content to initiate a blockchain transaction with the second node.
[0092] S104. The first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext; if the verification passes, the processing result is sent to the second node.
[0093] In this embodiment, the first node obtains the second session key for key exchange through the first temporary private key and the second temporary public key; decrypts the signature ciphertext through the second session key; verifies the decrypted signature ciphertext through the signature; if the verification passes, the transaction information of the second node is parsed; the transaction information includes: the auction price.
[0094] Specifically, the second node queries the ledger to calculate the second session key sk=H′(xY) of the Diffie-Hellman key exchange, and then decrypts the signed ciphertext to obtain Then, the authenticator's public key is used to verify that (T, S) is indeed the signature result of M. If the verification is successful, M is parsed to obtain the transaction information; valid transaction information is collected, and finally the winning bidder is determined and the processing result is announced.
[0095] This embodiment is applied in a blockchain network including multiple nodes; the blockchain network includes a first node, a second node, and a third node; wherein: the first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by the first temporary private key; the second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature; the second node encrypts the transaction content by signing, obtains a signature ciphertext, and completes the on-chain storage of the signature ciphertext; the first node obtains the signature ciphertext from the account book formed after the on-chain storage, and decrypts and verifies the signature ciphertext; if the verification is passed, the processing result is sent to the second node. The present invention encrypts and records the information of the transaction process through a blockchain and an encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and can avoid the information leakage of the trader and ensure the information security of the bidder.
[0096] Figure 3 This is a flowchart of an information processing method provided in Embodiment 2 of the present invention, such as Figure 3As shown, the method in this embodiment may include:
[0097] S201. The first node completes the on-chain storage of the transaction content.
[0098] S202: The second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature.
[0099] S203. The second node encrypts the transaction content by signing, obtains the signature ciphertext, and completes the on-chain storage of the signature ciphertext.
[0100] S204. The first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext; if the verification passes, the processing result is sent to the second node.
[0101] For the technical principles and specific implementation process of steps S201 to S204 in this embodiment, please refer to Figure 2 The descriptions of steps S101 to S104 in the method are not repeated here.
[0102] S205: After the second node completes the on-chain storage of the second temporary private key, an arbitration request is initiated to the fourth node.
[0103] In this embodiment, if the bidder has any objection to the processing result, the appeal private key (i.e., temporary private key) y is used as the transaction content to initiate a blockchain transaction to the arbitrator and submit y to the chain.
[0104] S206. The fourth node verifies the decrypted signature ciphertext; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0105] In this embodiment, the fourth node obtains the first session key H′(yX) of the key exchange through the second temporary private key y and the first temporary public key X; decrypts the signature ciphertext through the first session key; verifies the decrypted signature ciphertext through the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0106] Specifically, the fourth node calculates the first session key sk=H′(yX), and then obtains The transaction information of the complaining bidder is confirmed to be valid by verifying the signature, and finally an arbitration is made based on the processing results, thus ensuring the fairness and justice of the transaction information processing.
[0107] This embodiment is applied in a blockchain network including multiple nodes; the blockchain network includes a first node, a second node, and a third node; wherein: the first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by the first temporary private key; the second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature; the second node encrypts the transaction content by signing, obtains a signature ciphertext, and completes the on-chain storage of the signature ciphertext; the first node obtains the signature ciphertext from the account book formed after the on-chain storage, and decrypts and verifies the signature ciphertext; if the verification is passed, the processing result is sent to the second node. The present invention encrypts and records the information of the transaction process through a blockchain and an encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and can avoid the information leakage of the trader and ensure the information security of the bidder.
[0108] In addition, this embodiment also includes: a fourth node. After sending the processing result to the second node, the second node completes the on-chain storage of the second temporary private key and initiates an arbitration request to the fourth node; the fourth node verifies the decrypted signature ciphertext and determines whether the processing result is valid, thereby ensuring the fairness and justice of the transaction information processing.
[0109] Figure 4 A schematic diagram of the structure of an information processing device provided in Embodiment 3 of the present invention is shown in FIG. Figure 4 As shown, the device is applied in a blockchain network including multiple nodes; the blockchain network includes: a first node, a third node, and a second node; the device in this embodiment may include:
[0110] The transaction initiation module 31 is used to control the first node to complete the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by using the first temporary private key;
[0111] The signature module 32 is used to control the execution of the blind signature protocol between the second node and the third node, obtain the corresponding signature, and complete the on-chain storage of the signature;
[0112] The encryption module 33 is used to control the second node to encrypt the transaction content by signing, obtain the signature ciphertext, and complete the on-chain storage of the signature ciphertext;
[0113] The verification module 34 is used to control the first node to obtain the signature ciphertext from the account book formed after the on-chain storage, and decrypt and verify the signature ciphertext; if the verification is successful, the processing result is sent to the second node.
[0114] In a possible design, the signature module 32 is specifically configured to:
[0115] Control the use of the elliptic curve signature algorithm to generate a signature between the second node and the third node.
[0116] In a possible design, the encryption module 33 is specifically used for:
[0117] Control the second node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key;
[0118] Calculate a signature ciphertext using the signature and the first session key;
[0119] Store the signature ciphertext on the chain to obtain a ledger containing the signature ciphertext;
[0120] The second temporary public key is stored on the chain, and the first node initiates a transaction request; wherein the second temporary public key is calculated by the second temporary private key.
[0121] In a possible design, the verification module 34 is specifically configured to:
[0122] Control the first node to obtain a second session key for key exchange through the first temporary private key and the second temporary public key;
[0123] decrypting the signed ciphertext using the second session key;
[0124] The decrypted signature ciphertext is verified through the signature; if the verification is successful, the transaction information of the second node is parsed; the transaction information includes: the auction price.
[0125] The transaction information processing device of this embodiment can execute Figure 2 For the technical solution in the method shown, its specific implementation process and technical principles can be found in Figure 2 The relevant descriptions in the method shown will not be repeated here.
[0126] This embodiment is applied in a blockchain network including multiple nodes; the blockchain network includes a first node, a second node, and a third node; wherein: the first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by the first temporary private key; the second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature; the second node encrypts the transaction content by signing, obtains a signature ciphertext, and completes the on-chain storage of the signature ciphertext; the first node obtains the signature ciphertext from the account book formed after the on-chain storage, and decrypts and verifies the signature ciphertext; if the verification is passed, the processing result is sent to the second node. The present invention encrypts and records the information of the transaction process through a blockchain and an encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and can avoid the information leakage of the trader and ensure the information security of the bidder.
[0127] Figure 5 A schematic diagram of the structure of an information processing device provided in Embodiment 4 of the present invention is shown in FIG. Figure 5 As shown, the network node also includes: a fourth node, the device in this embodiment is Figure 4 The device shown may also include:
[0128] The arbitration module 35 is used to initiate an arbitration request to the fourth node after the second node completes the on-chain storage of the second temporary private key;
[0129] Control the fourth node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key;
[0130] decrypting the signed ciphertext using the first session key;
[0131] The decrypted signature ciphertext is verified through the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
[0132] The information processing device of this embodiment can execute Figure 2 , Figure 3 For the technical solution in the method shown, its specific implementation process and technical principles can be found in Figure 2 , Figure 3 The relevant descriptions in the method shown will not be repeated here.
[0133] This embodiment is applied in a blockchain network including multiple nodes; the blockchain network includes a first node, a second node, and a third node; wherein: the first node completes the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; the first temporary public key is calculated by the first temporary private key; the second node and the third node execute a blind signature protocol to obtain a corresponding signature and complete the on-chain storage of the signature; the second node encrypts the transaction content by signing, obtains a signature ciphertext, and completes the on-chain storage of the signature ciphertext; the first node obtains the signature ciphertext from the account book formed after the on-chain storage, and decrypts and verifies the signature ciphertext; if the verification is passed, the processing result is sent to the second node. The present invention encrypts and records the information of the transaction process through a blockchain and an encryption algorithm, so that the transaction information is traceable and cannot be tampered with; and the information leakage of the bidders can be avoided, ensuring the information security of the bidders.
[0134] In addition, this embodiment also includes: a fourth node. After sending the processing result to the second node, the second node completes the on-chain storage of the second temporary private key and initiates an arbitration request to the fourth node; the fourth node verifies the decrypted signature ciphertext and determines whether the processing result is valid, thereby ensuring the fairness and justice of the transaction information processing.
[0135] Figure 6 A structural diagram of an information processing system provided in Embodiment 5 of the present invention is shown in FIG. Figure 6 As shown, the transaction information processing system 40 in this embodiment includes: a processor 41 and a memory 42;
[0136] The memory 42 is used to store computer programs (such as applications, functional modules, etc. that implement the above information processing method), computer instructions, etc. The above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories 42. And the above computer programs, computer instructions, data, etc. can be called by the processor 41.
[0137] The processor 41 is used to execute the computer program stored in the memory 42 to implement the various steps in the method involved in the above embodiment. For details, please refer to the relevant description in the above method embodiment. Among them, the memory 42 and the processor 41 can be coupled and connected via a bus 43.
[0138] This embodiment can perform the above Figure 2 , Figure 3 The technical solution in the method shown has similar implementation process and technical effect to the above method and will not be described in detail here.
[0139] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of a user device executes the computer-executable instructions, the user device executes the above-mentioned various possible methods.
[0140] Among them, computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general or special-purpose computer. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also be present in a communication device as discrete components.
[0141] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An information processing method, characterized in that: Applied in a blockchain network containing multiple nodes; The blockchain network includes: a first node, a second node, and a third node; the method includes: The first node completes the on-chain storage of the transaction content; the transaction content includes: the first temporary public key, the information to be analyzed, and the deadline; The second node executes a blind signature protocol with the third node to obtain a corresponding signature, and completes the on-chain storage of the signature; The second node encrypts the transaction content through the signature to obtain the signature ciphertext, and completes the on-chain storage of the signature ciphertext; The first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext; if the verification is successful, the processing result is sent to the second node; The second node and the third node perform a blind signature protocol to obtain a corresponding signature, including: The second node and the third node use the ED25519 blind signature algorithm based on the elliptic curve signature algorithm to generate a signature; the ED25519 blind signature algorithm includes a key generation phase, a session initiation phase, a commitment generation phase, a challenge generation phase, a signature generation phase, a signature deblinding phase and a signature verification phase; wherein the second node acts as a signer in the ED25519 blind signature algorithm, and the third node acts as a receiver in the ED25519 blind signature algorithm.
2. The method according to claim 1, characterized in that The second node encrypts the transaction content through the signature to obtain the signature ciphertext, and completes the on-chain storage of the signature ciphertext, including: The second node obtains the first session key for key exchange through the second temporary private key and the first temporary public key; Calculate a signature ciphertext using the signature and the first session key; The signed ciphertext is stored on the chain to obtain a ledger containing the signed ciphertext; The second temporary public key is stored on the chain, and a transaction request is initiated to the first node; wherein the second temporary public key is calculated by the second temporary private key.
3. The method according to claim 2, characterized in that The first node obtains the signature ciphertext from the account book formed after being stored on the chain, and decrypts and verifies the signature ciphertext, including: The first node obtains a second session key for key exchange through the first temporary private key and the second temporary public key; decrypting the signed ciphertext using the second session key; The decrypted signature ciphertext is verified by the signature; if the verification is successful, the transaction information of the second node is parsed; the transaction information includes: the auction price.
4. The method according to claim 2, characterized in that: The network node further includes: a fourth node; After sending the processing result to the second node, the method further includes: After the second node completes the on-chain storage of the second temporary private key, an arbitration request is initiated to the fourth node; The fourth node obtains the first session key for key exchange through the second temporary private key and the first temporary public key; decrypting the signed ciphertext using the first session key; The decrypted signature ciphertext is verified by the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
5. An information processing device, characterized in that: Applied in a blockchain network containing multiple nodes; The blockchain network includes: a first node, a third node, and a second node; the device includes: A transaction initiation module, used to control the first node to complete the on-chain storage of the transaction content; the transaction content includes: a first temporary public key, information to be analyzed, and a deadline; A signature module, used to control the execution of a blind signature protocol between the second node and the third node, obtain a corresponding signature, and complete the on-chain storage of the signature; An encryption module, used to control the second node to encrypt the transaction content through the signature, obtain the signature ciphertext, and complete the on-chain storage of the signature ciphertext; A verification module, used to control the first node to obtain the signature ciphertext from the account book formed after the on-chain storage, and decrypt and verify the signature ciphertext; if the verification is successful, send the processing result to the second node; The signature module is specifically used for: The second node and the third node use the ED25519 blind signature algorithm based on the elliptic curve signature algorithm to generate a signature; the ED25519 blind signature algorithm includes a key generation phase, a session initiation phase, a commitment generation phase, a challenge generation phase, a signature generation phase, a signature deblinding phase and a signature verification phase; wherein the second node acts as a signer in the ED25519 blind signature algorithm, and the third node acts as a receiver in the ED25519 blind signature algorithm.
6. The device according to claim 5, characterized in that The encryption module is specifically used for: Control the second node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key; Calculate a signature ciphertext using the signature and the first session key; The signed ciphertext is stored on the chain to obtain a ledger containing the signed ciphertext; The second temporary public key is stored on the chain, and a transaction request is initiated to the first node; wherein the second temporary public key is calculated by the second temporary private key.
7. The device according to claim 6, characterized in that The verification module is specifically used for: Control the first node to obtain a second session key for key exchange through the first temporary private key and the second temporary public key; decrypting the signed ciphertext using the second session key; Verify the decrypted signature ciphertext through the signature; If the verification is successful, the transaction information of the second node is parsed; The transaction information includes: the bidding price.
8. The device according to claim 6, characterized in that The network node further includes: a fourth node; The device also includes: An arbitration module, configured to initiate an arbitration request to the fourth node after the second node completes the on-chain storage of the second temporary private key; Control the fourth node to obtain a first session key for key exchange through the second temporary private key and the first temporary public key; decrypting the signed ciphertext using the first session key; The decrypted signature ciphertext is verified by the signature; if the verification passes, the processing result is determined to be valid; if the verification fails, the processing result is determined to be invalid.
9. An information processing system, characterized in that: include: Memory, used to store programs; A processor, configured to execute the program stored in the memory; when the program is executed, the processor is configured to execute the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: include: A computer program, when running on a computer, causes the computer to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Certificateless partially blind signature method
CN102387019A
CL-PBS (certificateless partially blind signature) method and device
CN106789019A
Method of blockchain information encryption based on complete homomorphic encryption method
CN107666388A
Method and system for privacy protection of block chain transaction
CN107911216A
Blockchain-based information transmission method, terminal and device, and readable storage medium
CN108650077A
