Disclosure of Invention
Based on the above problems, the embodiments of the present application provide a method and an apparatus for performing zero-knowledge proof transaction verification based on UTXO, and a related product.
The embodiment of the application discloses the following technical scheme:
1. a method for zero-knowledge proof transaction verification based on UTXO, comprising:
the transaction verification node acquires a transfer transaction request initiated in the blockchain system;
and verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality of the transaction balance, transaction dominance and UTXO balance matching.
2. The method for zero-proof of knowledge transaction verification based on a UTXO of claim 1, wherein the method for zero-proof of knowledge transaction verification based on a UTXO further comprises: the transaction verification node acquires transaction certification data generated when a transfer transaction request is initiated in the blockchain system;
and verifying the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verifying the authenticity of the account transfer transaction request according to the verification result.
3. The method of UTXO-based zero-knowledge proof transaction verification as claimed in claim 2, wherein the set transaction authenticity verification rule is a proof data verification function in a zero-knowledge algorithm, the verifying the transaction proof data to a verification result according to the set transaction authenticity verification rule, verifying the authenticity of the posting transaction request according to the verification result, comprising:
and verifying the transaction certification data to a verification result according to the certification data verification function, and verifying the authenticity of the transfer transaction request according to the verification result.
4. The method of zero knowledge proof of transaction verification based on UTXO of claim 2, wherein the transaction verification node obtains transaction proof data generated when initiating a transfer transaction request in a blockchain system, previously comprising: acquiring a plaintext address, a transaction amount and a random number of each related transaction party related to the transfer transaction request; and generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party.
5. The method for zero-knowledge proof of transaction verification based on UTXO of any of claims 1-4, wherein the transfer transaction request includes a hidden transaction amount, a hidden transaction address for each associated counterparty to which the transfer transaction request relates.
6. An apparatus for zero-proof-of-knowledge transaction verification based on UTXO, comprising:
the request acquisition unit is used for acquiring a transfer transaction request initiated in the blockchain system by the transaction verification node;
and the verification unit is used for verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a transaction balance normality verification rule, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises the transaction balance normality, the transaction dominance and the UTXO balance matching.
7. The apparatus for zero proof of knowledge transaction verification based on a UTXO of claim 6, wherein the apparatus for zero proof of knowledge transaction verification based on a UTXO further comprises: the certification data acquisition unit is used for enabling the transaction verification node to acquire transaction certification data generated when the transfer transaction request is initiated in the blockchain system;
the verification unit is further used for verifying the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verifying the authenticity of the transfer transaction request according to the verification result.
8. The apparatus for zero-knowledge proof transaction verification based on UTXO of claim 7, wherein the verification unit is further configured to verify the transaction proof data to a verification result according to a proof data verification function, and verify the authenticity of the posting transaction request according to the verification result.
9. The apparatus for zero proof of knowledge transaction verification based on a UTXO of claim 7, wherein the apparatus for zero proof of knowledge transaction verification based on a UTXO further comprises: the associated data acquisition unit is used for acquiring the plaintext address, the transaction amount and the random number of each associated transaction party related to the transfer transaction request; and the certification data generating unit is used for generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party.
10. The apparatus for zero knowledge proof of transaction verification based on UTXO of any one of claims 6-9, wherein the transfer transaction request includes a hidden transaction amount, a hidden transaction address for each associated counterparty to which the transfer transaction request relates.
11. An electronic device, comprising a memory and a processor, wherein the memory stores an executable program, and the processor executes the executable program to perform the following steps:
the transaction verification node acquires a transfer transaction request initiated in the blockchain system;
and verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality of the transaction balance, transaction dominance and UTXO balance matching.
12. The electronic device of claim 11, wherein the processor is further configured to execute the transaction verification node to obtain transaction attestation data generated when a transfer transaction request was initiated in the blockchain system;
when the processor verifies the authenticity of the transfer transaction request according to the set transaction authenticity verification rule, the processor comprises the following steps: and verifying the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verifying the authenticity of the account transfer transaction request according to the verification result.
13. The electronic device of claim 12, wherein the set transaction authenticity verification rule is a certification data verification function in a zero-knowledge algorithm, and the processor, when executing a verification result of verifying the transaction certification data according to the set transaction authenticity verification rule, and verifying the authenticity of the billed transaction request according to the verification result, comprises:
and verifying the transaction certification data to a verification result according to the certification data verification function, and verifying the authenticity of the transfer transaction request according to the verification result.
14. The electronic device of claim 12, wherein the processor, prior to executing the transaction verification node to obtain the transaction attestation data generated when initiating the transfer transaction request in the blockchain system, is further configured to: acquiring a plaintext address, a transaction amount and a random number of each related transaction party related to the transfer transaction request; and generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party.
15. The electronic device of any of claims 11-14, wherein the transfer transaction request includes a hidden transaction amount, a hidden transaction address for each associated counterparty involved in the transfer transaction request.
16. A blockchain system, comprising: at least one block chain node is used as a transaction verification node, and the transaction verification node acquires a transfer transaction request initiated in a block chain system; and verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality of the transaction balance, transaction dominance and UTXO balance matching.
17. A computer storage medium having a computer program stored thereon, the computer program being operative to perform the steps of:
the transaction verification node acquires a transfer transaction request initiated by a transaction initiation node in the blockchain system;
the transaction server inquires a hidden transaction address of a block link point aimed at by the transfer transaction request in transaction information locally cached by the transaction server;
and inquiring the balance of the block link point initiating the transfer transaction request in the transaction information according to the hidden transaction address.
In the technical scheme of the embodiment of the application, a transfer transaction request initiated in a blockchain system is obtained through a transaction verification node; and verifying the authenticity of the transfer transaction request according to the set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality and transaction dominance of the transaction balance, so that a solution for verifying the authenticity of the transfer transaction request is provided.
Detailed Description
It is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the technical scheme of the embodiment of the application, a transfer transaction request initiated in a blockchain system is obtained through a transaction verification node; and verifying the authenticity of the transfer transaction request according to the set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality and transaction dominance of the transaction balance, so that a solution for verifying the authenticity of the transfer transaction request is provided.
Fig. 1 is a schematic flowchart of a method for verifying a zero-knowledge proof transaction based on UTXO according to an embodiment of the present application; as shown in fig. 1, a method for zero-knowledge proof transaction verification based on UTXO includes:
s101, a transaction verification node acquires a transfer transaction request initiated in a blockchain system;
and S102, verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a transaction balance normality verification rule, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises the transaction balance normality, the transaction dominance and the UTXO balance matching.
In this embodiment, UTXO is also called un Transaction Outputs, i.e. the Unspent Transaction Outputs, in the blockchain system, all legitimate blockchain transactions can be traced back to the output of one or more transactions onwards, the source of these chains is the mine excavation reward, and the end is the current Unspent Transaction output. Each transaction has a number of transaction inputs, i.e., sources of funds, and a number of transaction outputs, i.e., destinations of funds. Generally, each transaction costs (pend) an input to produce an output, and the output produced is the "unspent transaction output," UTXO. Only the last transaction needs to be seen in the UTXO.
In the embodiment, partial blockchain nodes are screened in the blockchain system to serve as transaction verification nodes, the authenticity of the transaction is verified, in order to guarantee the validity of verification results, the number of the transaction verification nodes can be multiple, and if a certain proportion of the transaction verification nodes pass verification, the transfer transaction request is true and valid. Here, it should be noted that the transaction verification node only verifies the authenticity of the transaction request, and does not pay attention to the specific contents of the transaction, such as how much credit the sender pays specifically, how much credit the payee receives, and how much credit the transaction verification node pays. Here, it should be noted that in order to verify the authenticity of the transfer transaction request, only the sum of how much credit the initiator is to pay, how much credit the payee is to receive, and how much credit the transaction verification node is to pay is actually concerned.
Therefore, as mentioned above, the transaction verification node does not pay attention to how many lines the issuer pays, how many lines the payee pays, and how many lines the transaction verification node pays, and therefore, in order to ensure the security and privacy of the transaction, how many lines the issuer pays, how many lines the payee receives, and how many lines the transaction verification node pays, which are substantially plain text lines, are processed to form a hidden transaction amount, such as encrypted or hashed or specific data encapsulation. In addition, the transaction verification node also pays attention to the plaintext transaction address of the payee, the plaintext transaction address of the payee and the plaintext transaction address of the transaction verification node, and therefore, the plaintext addresses are processed to form a hidden transaction address, such as encryption or hash operation or specific data encapsulation, so that the security and privacy of the transaction are ensured.
Or, based on basic privacy address protocol (BSAP), or improved privacy address protocol (ISAP), or double-key privacy address protocol (DKSAP), the public key of the payer, the public key of the payee, and the public key of the transaction verification node, performing a certain combined hash operation on the public key of the payer, the public key of the payee, and the public key of the transaction verification node to obtain the hidden transaction addresses of the payer, the payee, and the transaction verification node, respectively.
In this embodiment, the transaction verification node does not need to know the specific knowledge of the transaction separately, or only verifies the relationship related to the transaction, so that the authenticity verification based on the zero-knowledge proof can be realized.
In this embodiment, when the authenticity verification is specifically performed, the normality verification rule of the transaction balance, the transaction dominance verification rule of the initiator of the transfer transaction request, and the UTXO balance matching verification rule may be respectively performed to verify the normality of the transaction balance, the transaction dominance, and the UTXO balance matching, if all the three are verified, it indicates that the transfer transaction request is true or legal, otherwise, if only one verification is different, it indicates that the transfer transaction request is not true or illegal.
Fig. 2 is a schematic flow chart illustrating a method for verifying zero-knowledge proof transaction based on UTXO according to a second embodiment of the present application; as shown in fig. 2, the method for zero-knowledge proof transaction verification based on UTXO includes:
s201, a transaction verification node acquires transaction certification data generated when a transfer transaction request is initiated in a blockchain system;
s202, a transaction verification node acquires a transfer transaction request initiated in a blockchain system;
s203, verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a transaction balance normality verification rule, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises the transaction balance normality, the transaction dominance and the UTXO balance matching.
For this reason, in this embodiment, when the authenticity of the transfer transaction request is verified according to the set transaction authenticity verification rule in step S203, the method specifically includes: and verifying the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verifying the authenticity of the account transfer transaction request according to the verification result.
Further, the setting of the transaction authenticity verification rule is a verification function of the certification data in the zero-knowledge algorithm, and the verifying of the transaction certification data to the verification result according to the setting of the transaction authenticity verification rule and the verifying of the authenticity of the ledger transaction request according to the verification result include: and verifying the transaction certification data to a verification result according to the certification data verification function, and verifying the authenticity of the transfer transaction request according to the verification result.
Therefore, in the embodiment, the transaction certification data is introduced, so that the authenticity and reliability of the verification result are further ensured.
Optionally, in this embodiment, the obtaining, by the transaction verification node, transaction certification data generated when the transfer transaction request is initiated in the blockchain system includes: acquiring a plaintext address, a transaction amount and a random number of each related transaction party related to the transfer transaction request; and generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party. Therefore, the transaction relation can be directly embodied by the plaintext address, the transaction amount and the random number of each associated transaction party, so that the plaintext address, the transaction amount and the random number of each associated transaction party are directly used for generating the transaction certification data to generate the certification data, the authenticity can be more directly embodied when the authenticity is verified, and meanwhile, the architecture of the whole algorithm and the data volume can be simplified.
In this embodiment, the transfer transaction request includes a hidden transaction amount and a hidden transaction address of each related transaction party involved in the transfer transaction request.
Fig. 3 is a schematic structural diagram of an apparatus for performing zero-knowledge proof transaction verification based on UTXO according to a third embodiment of the present application; as shown in fig. 3, an apparatus for zero-knowledge proof of transaction verification based on UTXO includes:
a request obtaining unit 301, configured to obtain, by a transaction verification node, a transfer transaction request initiated in a blockchain system;
the verification unit 302 is configured to verify the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, where the transaction authenticity verification rule includes a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request, and a UTXO balance matching verification rule, and the authenticity includes normality of the transaction balance, transaction dominance, and UTXO balance matching. In this embodiment, UTXO is also called un Transaction Outputs, i.e. the Unspent Transaction Outputs, in the blockchain system, all legitimate blockchain transactions can be traced back to the output of one or more transactions onwards, the source of these chains is the mine excavation reward, and the end is the current Unspent Transaction output. Each transaction has a number of transaction inputs, i.e., sources of funds, and a number of transaction outputs, i.e., destinations of funds. Generally, each transaction costs (pend) an input to produce an output, and the output produced is the "unspent transaction output," UTXO. Only the last transaction needs to be seen in the UTXO.
In the embodiment, partial blockchain nodes are screened in the blockchain system to serve as transaction verification nodes, the authenticity of the transaction is verified, in order to guarantee the validity of verification results, the number of the transaction verification nodes can be multiple, and if a certain proportion of the transaction verification nodes pass verification, the transfer transaction request is true and valid. Here, it should be noted that the transaction verification node only verifies the authenticity of the transaction request, and does not pay attention to the specific contents of the transaction, such as how much credit the sender pays specifically, how much credit the payee receives, and how much credit the transaction verification node pays. Here, it should be noted that in order to verify the authenticity of the transfer transaction request, only the sum of how much credit the initiator is to pay, how much credit the payee is to receive, and how much credit the transaction verification node is to pay is actually concerned.
Therefore, as mentioned above, the transaction verification node does not pay attention to how many lines the issuer pays, how many lines the payee pays, and how many lines the transaction verification node pays, and therefore, in order to ensure the security and privacy of the transaction, how many lines the issuer pays, how many lines the payee receives, and how many lines the transaction verification node pays, which are substantially plain text lines, are processed to form a hidden transaction amount, such as encrypted or hashed or specific data encapsulation. In addition, the transaction verification node also pays attention to the plaintext transaction address of the payee, the plaintext transaction address of the payee and the plaintext transaction address of the transaction verification node, and therefore, the plaintext addresses are processed to form a hidden transaction address, such as encryption or hash operation or specific data encapsulation, so that the security and privacy of the transaction are ensured.
Or, based on basic privacy address protocol (BSAP), or improved privacy address protocol (ISAP), or double-key privacy address protocol (DKSAP), the public key of the payer, the public key of the payee, and the public key of the transaction verification node, performing a certain combined hash operation on the public key of the payer, the public key of the payee, and the public key of the transaction verification node to obtain the hidden transaction addresses of the payer, the payee, and the transaction verification node, respectively.
In this embodiment, the transaction verification node does not need to know the specific knowledge of the transaction separately, or only verifies the relationship related to the transaction, so that the authenticity verification based on the zero-knowledge proof can be realized.
In this embodiment, when the authenticity verification is specifically performed, the normality verification rule of the transaction balance, the transaction dominance verification rule of the initiator of the transfer transaction request, and the UTXO balance matching verification rule may be respectively performed to verify the normality of the transaction balance, the transaction dominance, and the UTXO balance matching, if all the three are verified, it indicates that the transfer transaction request is true or legal, otherwise, if only one verification is different, it indicates that the transfer transaction request is not true or illegal.
Fig. 4 is a schematic structural diagram of an apparatus for performing zero-knowledge proof transaction verification based on UTXO according to a fourth embodiment of the present application; as shown in fig. 4, an apparatus for zero-knowledge proof of transaction verification based on UTXO includes:
the certification data acquiring unit 401 is configured to enable the transaction verification node to acquire transaction certification data generated when the transfer transaction request is initiated in the blockchain system;
a request obtaining unit 402, configured to obtain, by a transaction verification node, a transfer transaction request initiated in a blockchain system;
a verification unit 403, configured to verify the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, where the transaction authenticity verification rule includes a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request, and a UTXO balance matching verification rule, and the authenticity includes normality of the transaction balance, transaction dominance, and UTXO balance matching.
Optionally, in an embodiment, the verification unit is further configured to verify the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verify the authenticity of the ledger transaction request according to the verification result.
Optionally, in an embodiment, the verification unit is further configured to verify the transaction certification data to a verification result according to a certification data verification function, and verify the authenticity of the posting transaction request according to the verification result. In this embodiment, the proof data verification function is, for example, a verification function defined in a zero-knowledge proof algorithm.
Optionally, in an embodiment, the apparatus for zero-knowledge proof of transaction verification based on UTXO further includes: the associated data acquisition unit is used for acquiring the plaintext address, the transaction amount and the random number of each associated transaction party related to the transfer transaction request; and the certification data generating unit is used for generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party.
Optionally, in an embodiment, the transfer transaction request includes a hidden transaction amount and a hidden transaction address of each associated transaction party involved in the transfer transaction request.
Therefore, in the embodiment, the transaction certification data is introduced, so that the authenticity and reliability of the verification result are further ensured.
Therefore, the transaction relation can be directly embodied by the plaintext address, the transaction amount and the random number of each associated transaction party, so that the plaintext address, the transaction amount and the random number of each associated transaction party are directly used for generating the transaction certification data to generate the certification data, the authenticity can be more directly embodied when the authenticity is verified, and meanwhile, the architecture of the whole algorithm and the data volume can be simplified.
In this embodiment, the transfer transaction request includes a hidden transaction amount and a hidden transaction address of each related transaction party involved in the transfer transaction request.
Fig. 5 is a schematic structural diagram of an electronic device in a fifth embodiment of the present application; as shown in fig. 5, the electronic device includes a memory 501 and a processor 502, the memory stores an executable program, and the processor executes the executable program to perform the following steps:
the transaction verification node acquires a transfer transaction request initiated in the blockchain system;
and verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality of the transaction balance, transaction dominance and UTXO balance matching.
Optionally, in an embodiment of the electronic device, the processor is further configured to execute the transaction verification node to obtain transaction certification data generated when the transfer transaction request is initiated in the blockchain system;
when the processor verifies the authenticity of the transfer transaction request according to the set transaction authenticity verification rule, the processor comprises the following steps: and verifying the transaction certification data to a verification result according to a set transaction authenticity verification rule, and verifying the authenticity of the account transfer transaction request according to the verification result.
Optionally, in an embodiment of the electronic device, the set transaction authenticity verification rule is a verification function of certification data in a zero-knowledge algorithm, and the processor, when executing a verification result of verifying the transaction certification data according to the set transaction authenticity verification rule, and verifying the authenticity of the posting transaction request according to the verification result, includes:
and verifying the transaction certification data to a verification result according to the certification data verification function, and verifying the authenticity of the transfer transaction request according to the verification result.
Optionally, in an embodiment of the electronic device, before the executing the transaction verification node to obtain the transaction certification data generated when the transfer transaction request is initiated in the blockchain system, the processor is further configured to execute: acquiring a plaintext address, a transaction amount and a random number of each related transaction party related to the transfer transaction request; and generating transaction certification data according to the plaintext address, the transaction amount and the random number of each associated transaction party.
Optionally, in an embodiment of the electronic device, the transfer transaction request includes a hidden transaction amount and a hidden transaction address of each associated transaction party involved in the transfer transaction request.
Fig. 6 is a schematic structural diagram of a blockchain system in an embodiment of the present application; as shown in fig. 6, the blockchain system includes: at least one block chain node is used as a transaction verification node, and the transaction verification node acquires a transfer transaction request initiated in a block chain system; and verifying the authenticity of the transfer transaction request according to a set transaction authenticity verification rule, wherein the transaction authenticity verification rule comprises a normality verification rule of a transaction balance, a transaction dominance verification rule of an initiator of the transfer transaction request and a UTXO balance matching verification rule, and the authenticity comprises normality of the transaction balance, transaction dominance and UTXO balance matching.
FIG. 7 is a computer storage medium according to a seventh embodiment of the present application; as shown in fig. 7, the computer storage medium has a computer program stored thereon, and the computer program is executed to perform the following steps:
the transaction verification node acquires a transfer transaction request initiated by a transaction initiation node in the blockchain system;
the transaction server inquires a hidden transaction address of a block link point aimed at by the transfer transaction request in transaction information locally cached by the transaction server;
and inquiring the balance of the block link point initiating the transfer transaction request in the transaction information according to the hidden transaction address.
Fig. 8 is a schematic hardware structure diagram of an electronic device in an eighth embodiment of the present application; as shown in fig. 8, the hardware structure of the electronic device may include: a processor 801, a communication interface 802, a computer-readable medium 803, and a communication bus 804;
the processor 801, the communication interface 802 and the computer-readable medium 803 complete communication with each other through the communication bus 804;
optionally, the communication interface 802 may be an interface of a communication module, such as an interface of a GSM module;
the processor 801 may be specifically configured to run an executable program stored in the memory, so as to perform all or part of the processing steps of any of the above-described method embodiments.
The Processor 801 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
Fig. 5 is a schematic structural diagram of a blockchain system in the fifth embodiment of the present application; as shown in fig. 5, the blockchain system includes: the transaction verification node acquires a transfer transaction request initiated by a transaction initiation node in a blockchain system, inquires a hidden transaction address of the blockchain node aimed by the transfer transaction request in transaction information locally cached by the transaction verification node, and inquires the balance of the blockchain node initiating the transfer transaction request in the transaction information according to the hidden transaction address.
Optionally, in an embodiment of the blockchain system, all transaction information of each blockchain node is cached on the transaction server in a manner of a key-value pair, where a key of the key-value pair stores at least a hidden transaction address of the blockchain node, and a value of the key-value pair stores at least a transaction amount of the blockchain node.
Optionally, in an embodiment of the blockchain system, the processor executes the step of the transaction server querying the transaction information cached locally by the transaction server for the hidden transaction address of the blockchain link to which the transfer transaction request is directed, including: the transaction server traverses the transaction information cached locally at the transaction server to query the hidden transaction address of the block link point to which the transfer transaction request is directed.
Optionally, in an embodiment of the blockchain system, the processor performs the step of the transaction verification node obtaining a transfer transaction request initiated by a transaction initiation node in the blockchain system, and before the step, the method further includes: and generating the hidden transaction address according to a balance check key and a payment key of the blockchain node, wherein the payment key is unknown to the transaction server.
Optionally, in an embodiment of the blockchain system, the processor in executing the step of the transaction server querying the transaction information cached locally therein for the hidden transaction address of the blockchain link to which the transfer transaction request is directed includes: and the transaction server analyzes the transaction information locally cached by the transaction server to obtain an analysis result, and inquires a hidden transaction address of the block link point aimed at by the transfer transaction request in the analysis result.
FIG. 6 is a schematic diagram of a computer storage medium according to a sixth embodiment of the present application; as shown in fig. 6, the computer storage medium has a computer program stored thereon, and the computer program is executed to perform the following steps:
the transaction verification node acquires a transfer transaction request initiated by a transaction initiation node in the blockchain system;
the transaction server inquires a hidden transaction address of a block link point aimed at by the transfer transaction request in transaction information locally cached by the transaction server;
and inquiring the balance of the block link point initiating the transfer transaction request in the transaction information according to the hidden transaction address.
[91] In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain a corresponding hardware circuit structure by programming an improved device flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
[92] The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
[93] The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[94] For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
[95] As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
[96] The present application is described with reference to flowchart illustrations and/or block diagrams of apparatus, devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
[97] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
[98] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
[99] In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
[100] The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
[101] Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
[102] It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
[103] As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
[104] The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
[105] The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
[106] The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.