CN109118360B - Block chain account checking method, device, equipment and storage medium - Google Patents

Block chain account checking method, device, equipment and storage medium Download PDF

Info

Publication number
CN109118360B
CN109118360B CN201810796845.4A CN201810796845A CN109118360B CN 109118360 B CN109118360 B CN 109118360B CN 201810796845 A CN201810796845 A CN 201810796845A CN 109118360 B CN109118360 B CN 109118360B
Authority
CN
China
Prior art keywords
transaction
node
reconciliation
block
records
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810796845.4A
Other languages
Chinese (zh)
Other versions
CN109118360A (en
Inventor
田新雪
马书惠
肖征荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810796845.4A priority Critical patent/CN109118360B/en
Publication of CN109118360A publication Critical patent/CN109118360A/en
Application granted granted Critical
Publication of CN109118360B publication Critical patent/CN109118360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Abstract

The embodiment of the invention provides a block chain account checking method, a block chain account checking device, block chain account checking equipment and a storage medium. The method comprises the following steps: the block reconciliation node receives a reconciliation request sent by the transaction receiving node, wherein the reconciliation request comprises identification information of a transaction to be inquired; the block reconciliation node determines a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired; the block reconciliation node acquires all transaction records of the transaction initiating node; and the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node. The embodiment of the invention reduces the workload of the transaction receiving node for processing account checking, reduces the occupancy rate of the CPU of the transaction receiving node and improves the account checking efficiency.

Description

Block chain account checking method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a block chain account checking method, a device, equipment and a storage medium.
Background
In the existing blockchain network, a receiver of two transaction parties is usually a shop, which can keep accessing the blockchain network in real time, but an initiator of two transaction parties is usually a user terminal, and the initiator cannot keep accessing the blockchain network in real time due to the limitations of the electric quantity and network flow of the user terminal, so that the receiver checks the transaction record of the initiator.
The receiver needs to receive all the transaction broadcast messages and the broadcast message generated by the new block in real time. When more and more nodes exist in the blockchain network, about ten thousand transactions per second exist, the network bandwidth and the real-time performance are very high, meanwhile, a receiving party directly provides collection service for a final user and needs high real-time performance, and if a large amount of CPUs are consumed to process account checking work, a pause phenomenon may occur under the condition of a peak, and the user experience is greatly influenced.
Disclosure of Invention
The embodiment of the invention provides a block chain account checking method, a block chain account checking device, block chain account checking equipment and a storage medium, so as to reduce the occupancy rate of a CPU (central processing unit) of a transaction receiving node and improve the account checking efficiency.
In a first aspect, an embodiment of the present invention provides a block chain reconciliation method, including:
the block reconciliation node receives a reconciliation request sent by the transaction receiving node, wherein the reconciliation request comprises identification information of a transaction to be inquired;
the block reconciliation node determines a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired;
the block reconciliation node acquires all transaction records of the transaction initiating node;
and the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node.
In a second aspect, an embodiment of the present invention provides a block chain reconciliation apparatus, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving an account checking request sent by a transaction receiving node, and the account checking request comprises identification information of a transaction to be inquired;
the determining module is used for determining a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired;
the acquisition module is used for acquiring all transaction records of the transaction initiating node;
and the reconciliation module is used for reconciling all transaction records of the transaction initiating node.
In a third aspect, an embodiment of the present invention provides a block reconciliation node, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
According to the block chain account checking method, device, equipment and storage medium provided by the embodiment of the invention, an account checking request sent by a transaction receiving node is received through a block account checking node, wherein the account checking request comprises identification information of a transaction to be inquired; determining a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired; and checking account of all transaction records of the transaction initiating node is carried out, so that the workload of the transaction receiving node for processing the account checking is reduced, the occupancy rate of a CPU of the transaction receiving node is reduced, and the account checking efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a block chain reconciliation method according to an embodiment of the present invention;
fig. 3 is a flowchart of a block chain reconciliation method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a blockchain reconciliation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a block reconciliation node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The block chain reconciliation method provided by the invention can be applied to the communication system shown in figure 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12, and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a Base Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like. The terminal device 12 and the server 13 may be nodes in a blockchain network.
The invention provides a block chain reconciliation method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a block chain reconciliation method according to an embodiment of the present invention. The embodiment of the invention provides a block chain account checking method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
step 201, a block reconciliation node receives a reconciliation request sent by a transaction receiving node, wherein the reconciliation request comprises identification information of a transaction to be inquired.
In this embodiment, the transaction receiving node may specifically be the server 13 shown in fig. 1, and the transaction initiating node may specifically be the terminal device 12 shown in fig. 1, and it can be understood that the server 13 may be a cloud server of a store, a server local to the store, or a remote server providing an accounting service for the store. The terminal device 12 may specifically be a user terminal held by a consumer, such as a mobile phone. In this embodiment, the terminal device 12 and the server 13 may be nodes in a blockchain network, but due to the limitations of the power and the network traffic of the terminal device 12, the terminal device 12 cannot maintain real-time access to the blockchain network. In addition, the server 13 may maintain a real-time access blockchain network. The terminal device 12 and the server 13 may be connected by a plurality of network connection methods, for example, the network connection methods include: infrared, bluetooth, NFC, wifi, internet connection, scanning two-dimensional code or modes such as third party transfer.
In this embodiment, the terminal device 12 signs the transaction transfer message with its own private key and sends the signed transaction transfer message to the server 13. When the server 13 receives the transaction transfer message sent by the terminal device 12 and signed by the private key of the terminal device 12, the server 13 sends a broadcast message to the blockchain network, wherein the broadcast message includes the transaction transfer message sent by the terminal device 12 to the server 13 and signed by the private key of the terminal device 12.
As shown in fig. 1, the communication system further includes: the block reconciliation node 14, the block reconciliation node 14 may specifically be a high performance server cluster, and the block reconciliation node 14 is accessed into a block chain network, such as a P2P network running a block chain, through high bandwidth. When the server 13 receives the transaction transfer message sent by the terminal device 12 and signed by the private key of the terminal device 12, the server 13 sends a reconciliation request to the block reconciliation node as a query direction, and optionally, the server 13 signs the reconciliation request by the private key of the server 13 and sends the request to the block reconciliation node 14; the reconciliation request may include identification information of a transaction to be queried, and in addition, the reconciliation request may also include service cost information and compensation conditions of the query, where the compensation conditions may specifically be: if the actual payment of the transaction initiating node of the transaction is successful, but the block reconciliation node feeds back that the transaction is unsuccessful, the transaction initiating node obtains certain compensation of the block reconciliation node; and if the actual payment of the transaction initiating node of the transaction is unsuccessful, but the block reconciliation node feeds back that the transaction is successful, the transaction receiving node obtains certain compensation of the block reconciliation node.
Step 202, the block reconciliation node determines a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired.
When the block reconciliation node 14 receives the reconciliation request sent by the server 13, the identification information of the transaction to be queried included in the reconciliation request is obtained, and a corresponding transaction initiating node, such as the terminal device 12, is determined according to the identification information.
Step 203, the block reconciliation node obtains all transaction records of the transaction initiating node.
The block reconciliation node 14 obtains all transaction records for the terminal device 12.
And step 204, the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node.
The block reconciliation node 14 reconciles all transaction records for the terminal device 12.
Optionally, the checking all transaction records of the transaction initiating node by the block checking node includes: the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node according to a rule generated by a block in a block chain; if all transaction records of the transaction initiating node meet the rule, the block reconciliation node determines that the transaction to be inquired is successful; and if all transaction records of the transaction initiating node do not accord with the rule, the block reconciliation node determines that the transaction to be inquired fails.
For example, the block reconciliation node 14 performs reconciliation on all transaction records of the terminal device 12 according to the rule generated by the block in the block chain, and if all transaction records of the terminal device 12 meet the rule generated by the block, the block reconciliation node 14 determines that the transaction to be queried is successful; if all transaction records of the terminal device 12 do not meet the rules for block generation, the block reconciliation node 14 determines that the transaction to be queried fails.
Optionally, when the block reconciliation node determines that the transaction to be queried fails, the block reconciliation node sends all transaction records of the transaction initiating node to the transaction receiving node.
When the block reconciliation node 14 determines that the transaction to be queried fails, the block reconciliation node 14 signs all transaction records of the terminal device 12 by using its own private key and sends the signed transaction records to the server 13. Or, the block reconciliation node 14 signs all transaction records of the terminal device 12 and result information of the transaction failure to be inquired together with a private key of the block reconciliation node 14 and then sends the signed transaction records and the result information to the server 13.
In addition, when the block reconciliation node 14 determines that the transaction to be queried is successful, the server 13 sends result information of the success of the transaction to be queried to the terminal device 12.
The embodiment of the invention receives an account checking request sent by a transaction receiving node through a block account checking node, wherein the account checking request comprises identification information of a transaction to be inquired; determining a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired; and checking account of all transaction records of the transaction initiating node is carried out, so that the workload of the transaction receiving node for processing the account checking is reduced, the occupancy rate of a CPU of the transaction receiving node is reduced, and the account checking efficiency is improved.
Fig. 3 is a flowchart of a block chain reconciliation method according to another embodiment of the present invention. On the basis of the foregoing embodiment, the block chain reconciliation method provided in this embodiment specifically includes the following steps:
step 301, the block reconciliation node receives a transaction record broadcasted in the block chain network.
In this embodiment, the block reconciliation node 14 may receive the transaction records broadcast in the blockchain network in real time.
Optionally, the receiving, by the block reconciliation node, the transaction record broadcasted in the block chain network includes: and the block reconciliation node receives the transaction transfer information which is broadcast in the block chain network and sent to the transaction receiving node by the transaction initiating node.
For example, when the server 13 receives the transaction transfer message sent by the terminal device 12 and signed by the private key of the terminal device 12, the server 13 sends a broadcast message to the blockchain network, where the broadcast message includes the transaction transfer message sent by the terminal device 12 to the server 13 and signed by the private key of the terminal device 12. When the server 13 sends a broadcast message into the blockchain network, the blockchain accounting node 14 may receive the broadcast message, that is, the blockchain accounting node 14 may receive the transaction transfer message sent by the terminal device 12 to the server 13 and signed by the private key of the terminal device 12.
Step 302, the block reconciliation node sorts the transaction records broadcasted in the block chain network according to the timestamp of the transaction records broadcasted in the block chain network.
When the block reconciliation node 14 receives the transaction records broadcasted in the blockchain network, the transaction records broadcasted in the blockchain network may also be sorted according to the timestamp of each transaction record, including the transaction records of the first N generated blocks, and optionally, the transaction records according to the blocks of the generated blocks are subject to.
Assume that all transaction records from time T1 to time T2 are sorted by timestamp as:
t 1X 1- > X2 is 10-membered
t 2X 2- > X3 20-membered
……
tn-1: x2- > X5: 40 yuan
tn X8- > Xn 100-membered.
Step 303, the block reconciliation node receives a reconciliation request sent by the transaction receiving node, where the reconciliation request includes identification information of a transaction to be queried.
And step 304, the block reconciliation node determines a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired.
For example, the identification information of the transaction to be queried may specifically be the identification information of the transaction initiating node, and the block reconciliation node receives a reconciliation request of the transaction receiving node, for example, the server 13, at time T1, where the reconciliation request includes the identification information of the transaction initiating node, for example, the terminal device 12, and the identification information of the terminal device 12 is, for example, X2.
Step 305, the block reconciliation node obtains all transaction records of the transaction initiating node.
The block reconciliation node determines that the terminal device 12 has 50 yuan at the time of T1 according to the block chain, and extracts all transaction records about X2 in the time period from T1 to T2, specifically:
t 1X 1- > X2 is 10-membered
t 2X 2- > X3 20-membered
tn-1: x2- > X5: 40 yuan
Step 306, the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node.
Specifically, the block reconciliation node reconciles all transaction records described above with respect to X2.
The embodiment of the invention receives an account checking request sent by a transaction receiving node through a block account checking node, wherein the account checking request comprises identification information of a transaction to be inquired; determining a transaction initiating node corresponding to the identification information according to the identification information of the transaction to be inquired; and checking account of all transaction records of the transaction initiating node is carried out, so that the workload of the transaction receiving node for processing the account checking is reduced, the occupancy rate of a CPU of the transaction receiving node is reduced, and the account checking efficiency is improved.
Fig. 4 is a schematic structural diagram of a blockchain reconciliation apparatus according to an embodiment of the present invention. The blockchain reconciliation device may be specifically the blockchain reconciliation node in the above embodiment. The blockchain reconciliation device provided by the embodiment of the invention can execute the processing flow provided by the blockchain reconciliation method embodiment, as shown in fig. 4, the blockchain reconciliation device 40 includes: a receiving module 41, a determining module 42, an obtaining module 43 and a reconciliation module 44; the receiving module 41 is configured to receive an account checking request sent by a transaction receiving node, where the account checking request includes identification information of a transaction to be queried; the determining module 42 is configured to determine, according to the identification information of the transaction to be queried, a transaction initiating node corresponding to the identification information; the obtaining module 43 is configured to obtain all transaction records of the transaction initiating node; the reconciliation module 44 is configured to reconcile all transaction records of the transaction initiating node.
Optionally, the reconciliation module 44 is specifically configured to: checking all transaction records of the transaction initiating node according to a rule generated by a block in a block chain; if all transaction records of the transaction initiating node meet the rule, the determining module 42 is further configured to determine that the transaction to be queried is successful; the determining module 42 is further configured to determine that the transaction to be queried fails if all transaction records of the transaction initiating node do not comply with the rule.
Optionally, the blockchain reconciliation apparatus 40 further includes: the sending module 45 is configured to send all transaction records of the transaction initiating node to the transaction receiving node when the determining module determines that the transaction to be queried fails.
Optionally, the receiving module 41 is further configured to receive a transaction record broadcasted in the blockchain network; the blockchain reconciliation device 40 further comprises: a sorting module 46; the sorting module 46 is configured to sort the transaction records broadcasted in the blockchain network according to the timestamp of the transaction record broadcasted in the blockchain network.
Optionally, when the receiving module 41 receives the transaction record broadcasted in the blockchain network, the receiving module is specifically configured to: and receiving the transaction transfer information which is broadcasted in the block chain network and sent to the transaction receiving node by the transaction initiating node.
The blockchain reconciliation apparatus in the embodiment shown in fig. 4 can be used for executing the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of a block reconciliation node according to an embodiment of the present invention. The block reconciliation node provided by the embodiment of the invention can execute the processing flow provided by the block chain reconciliation method embodiment, as shown in fig. 5, the block reconciliation node 50 comprises a memory 51, a processor 52, a computer program and a communication interface 53; wherein a computer program is stored in the memory 51 and configured to execute the block chain reconciliation method described in the above embodiments by the processor 52.
The block reconciliation node in the embodiment shown in fig. 5 can be used for executing the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the block chain reconciliation method described in the above embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A blockchain reconciliation method comprising:
the block reconciliation node receives a transaction record broadcasted in a block chain network, wherein the transaction record comprises a transaction transfer message sent from a transaction initiating node to a transaction receiving node;
the block reconciliation node sorts the transaction records broadcasted in the block chain network according to the timestamp of the transaction records broadcasted in the block chain network;
when the block reconciliation node receives a reconciliation request sent by a transaction receiving node, the block reconciliation node determines a transaction initiating node corresponding to identification information according to the identification information of a transaction to be inquired; the account checking request comprises identification information and compensation information of a transaction to be inquired, wherein the compensation information comprises: when the actual payment of the transaction initiating node is successful but the block reconciliation node fails to feed back the transaction, the transaction initiating node obtains the compensation of the block reconciliation node; when the actual payment of the transaction initiating node is unsuccessful, but the block reconciliation node feeds back that the transaction is successful, the transaction receiving node obtains the compensation of the block reconciliation node;
the block reconciliation node acquires all transaction records of the transaction initiating node;
and the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node.
2. The method of claim 1, wherein the block reconciliation node reconciles all transaction records of the transaction initiating node, comprising:
the block reconciliation node performs reconciliation on all transaction records of the transaction initiating node according to a rule generated by a block in a block chain;
if all transaction records of the transaction initiating node meet the rule, the block reconciliation node determines that the transaction to be inquired is successful;
and if all transaction records of the transaction initiating node do not accord with the rule, the block reconciliation node determines that the transaction to be inquired fails.
3. The method of claim 2, wherein when the block reconciliation node determines that the transaction to be queried fails, the block reconciliation node sends all transaction records of the transaction initiating node to the transaction receiving node.
4. The method according to any one of claims 1-3, further comprising:
the block reconciliation node receives a transaction record broadcasted in a block chain network;
and the block reconciliation node sequences the transaction records broadcasted in the block chain network according to the timestamp of the transaction records broadcasted in the block chain network.
5. The method of claim 4, wherein the block reconciliation node receives a transaction record broadcast in a block chain network, comprising:
and the block reconciliation node receives the transaction transfer information which is broadcast in the block chain network and sent to the transaction receiving node by the transaction initiating node.
6. A blockchain reconciliation apparatus comprising:
the receiving module is used for receiving a transaction record broadcasted in the block chain network, wherein the transaction record comprises a transaction transfer message sent from a transaction initiating node to a transaction receiving node; sequencing the transaction records broadcasted in the blockchain network according to the timestamp of the transaction records broadcasted in the blockchain network;
the system comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining a transaction initiating node corresponding to identification information according to the identification information of a transaction to be inquired when receiving an account checking request sent by a transaction receiving node; the account checking request comprises identification information and compensation information of a transaction to be inquired, wherein the compensation information comprises: when the actual payment of the transaction initiating node is successful but the block reconciliation node fails to feed back the transaction, the transaction initiating node obtains the compensation of the block reconciliation node; when the actual payment of the transaction initiating node is unsuccessful, but the block reconciliation node feeds back that the transaction is successful, the transaction receiving node obtains the compensation of the block reconciliation node;
the acquisition module is used for acquiring all transaction records of the transaction initiating node;
and the reconciliation module is used for reconciling all transaction records of the transaction initiating node.
7. The blockchain reconciliation device of claim 6, wherein the reconciliation module is specifically configured to:
checking all transaction records of the transaction initiating node according to a rule generated by a block in a block chain;
if all transaction records of the transaction initiating node meet the rules, the determining module is further used for determining that the transaction to be inquired is successful;
and if all the transaction records of the transaction initiating node do not accord with the rule, the determining module is also used for determining that the transaction to be inquired fails.
8. The blockchain reconciliation device of claim 7 further comprising:
and the sending module is used for sending all transaction records of the transaction initiating node to the transaction receiving node when the determining module determines that the transaction to be inquired fails.
9. A blockchain reconciliation device according to any one of claims 6 to 8 wherein the receiving module is further configured to receive transaction records broadcasted in a blockchain network;
the block chain reconciliation device further comprises: and the sequencing module is used for sequencing the transaction records broadcasted in the block chain network according to the timestamp of the transaction records broadcasted in the block chain network.
10. The blockchain reconciliation device of claim 9 wherein the receiving module, when receiving the transaction record broadcasted in the blockchain network, is specifically configured to:
and receiving the transaction transfer information which is broadcasted in the block chain network and sent to the transaction receiving node by the transaction initiating node.
11. A block reconciliation node, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-5.
CN201810796845.4A 2018-07-19 2018-07-19 Block chain account checking method, device, equipment and storage medium Active CN109118360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810796845.4A CN109118360B (en) 2018-07-19 2018-07-19 Block chain account checking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810796845.4A CN109118360B (en) 2018-07-19 2018-07-19 Block chain account checking method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109118360A CN109118360A (en) 2019-01-01
CN109118360B true CN109118360B (en) 2021-05-18

Family

ID=64862316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810796845.4A Active CN109118360B (en) 2018-07-19 2018-07-19 Block chain account checking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109118360B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109903193A (en) * 2019-01-17 2019-06-18 平安城市建设科技(深圳)有限公司 The distribution method of commission, device, equipment and storage medium in house prosperity transaction
CN110414975A (en) * 2019-06-11 2019-11-05 软通智慧科技有限公司 User management method, device, equipment and storage medium
CN110555698A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 data processing method, data processing device, computer equipment and storage medium
CN110597919B (en) * 2019-09-25 2023-09-01 腾讯科技(深圳)有限公司 Block chain-based data management method, device, equipment and storage medium
CN111881166B (en) * 2020-07-22 2024-03-08 中国工商银行股份有限公司 Method, device and system for processing operation data based on block chain
CN117333184A (en) * 2023-09-20 2024-01-02 金网络(北京)数字科技有限公司 Supply chain reconciliation method, system and storage medium based on blockchain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1360623A2 (en) * 2000-11-08 2003-11-12 Orchestria Limited An information management system
CN104320262A (en) * 2014-11-05 2015-01-28 中国科学院合肥物质科学研究院 User public key address binding, searching and verifying method and system based on crypto currency open account book technology
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology
CN108764868A (en) * 2018-05-25 2018-11-06 全链通有限公司 Block chain node-agent account checking method and block reconciliation agent node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9177313B1 (en) * 2007-10-18 2015-11-03 Jpmorgan Chase Bank, N.A. System and method for issuing, circulating and trading financial instruments with smart features
CN107256485B (en) * 2017-05-27 2020-12-04 北京小米移动软件有限公司 Transaction record information acquisition method and device and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1360623A2 (en) * 2000-11-08 2003-11-12 Orchestria Limited An information management system
CN104320262A (en) * 2014-11-05 2015-01-28 中国科学院合肥物质科学研究院 User public key address binding, searching and verifying method and system based on crypto currency open account book technology
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology
CN108764868A (en) * 2018-05-25 2018-11-06 全链通有限公司 Block chain node-agent account checking method and block reconciliation agent node

Also Published As

Publication number Publication date
CN109118360A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
US11876856B2 (en) Method for computational-power sharing and related device
CN108712506B (en) Block chain node communication method and device and block chain node
CN109640274B (en) Short message sending method and device based on block chain and computer readable storage medium
CN108769142B (en) Transaction information processing method and block generation node
CN109067724A (en) Block chain data trade method, apparatus, equipment and storage medium
CN108900528B (en) Block chain real-name authentication method, device, equipment and storage medium
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
RU2008137607A (en) AUTOMATED TRANSFORMATION OF ACCOUNTS IN THE SETTLEMENT SYSTEM WITH WIRELESS COMMUNICATION SUBSCRIBERS
CN108596636B (en) Anti-counterfeiting method and device and terminal equipment
CN108810120B (en) Block chain node communication method and device and block chain node
CN108877290B (en) Parking space scheduling method, device, equipment and storage medium
JP2016505229A (en) Communication control method, user equipment, network server, and system
CN108683727B (en) Block processing method and main node
CN109087096B (en) Block chain account checking method, device, equipment and storage medium
CN108876611B (en) Transaction information processing method and device and block link points
CN108777710B (en) Inter-node communication method and device of block chain and block chain node
CN102752739B (en) Open chucking method, terminal, server and system in the air
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN108768733B (en) Block chain account book processing method and device and block chain link points
CN108898419B (en) Reward information processing method and device and block link points
CN111857606B (en) Data storage method, device, computer equipment and storage medium
CN108848144B (en) Method and device for accessing nodes in block chain and block chain link point
CN114679793A (en) Slice resource allocation method, device, terminal, network equipment and storage medium
CN103648107A (en) A method for simultaneously supervising voice and short message communication of a mobile terminal in real time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant