CN110599170A - Transaction information processing method and system based on block chain and storage medium - Google Patents

Transaction information processing method and system based on block chain and storage medium Download PDF

Info

Publication number
CN110599170A
CN110599170A CN201910872327.0A CN201910872327A CN110599170A CN 110599170 A CN110599170 A CN 110599170A CN 201910872327 A CN201910872327 A CN 201910872327A CN 110599170 A CN110599170 A CN 110599170A
Authority
CN
China
Prior art keywords
virtual resource
party
transaction information
information
transaction
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.)
Granted
Application number
CN201910872327.0A
Other languages
Chinese (zh)
Other versions
CN110599170B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910872327.0A priority Critical patent/CN110599170B/en
Publication of CN110599170A publication Critical patent/CN110599170A/en
Application granted granted Critical
Publication of CN110599170B publication Critical patent/CN110599170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Bioethics (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a transaction information processing method and system based on a block chain and a storage medium. Wherein, the method comprises the following steps: acquiring first transaction information saved on a second blockchain node, and acquiring virtual resource transfer information, wherein the virtual resource transfer information is used for representing the number of target virtual resources of a second transaction account transferred to the second party in the first virtual resources, and checking the number of the target virtual resources represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the number of the target virtual resources is correct. The invention solves the technical problem of inaccurate data in the account checking process in the related technology.

Description

Transaction information processing method and system based on block chain and storage medium
Technical Field
The invention relates to the field of blockchain, in particular to a transaction information processing method and system based on blockchain and a storage medium.
Background
In the related art, in the process of checking income, a scheme of periodically counting and checking accounts based on offline data is mainly adopted, data of one party is generally used as the standard, the other party checks the data according to the data which can be collected by the other party, the workload is large, and the place where the data is in doubt cannot prove which party has correct data.
That is to say, in the related art, since the accuracy of the account cannot be guaranteed, the accuracy of the reconciliation method in the related art is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a transaction information processing method and system based on a block chain and a storage medium, which are used for at least solving the technical problem of inaccurate data in the account checking process in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a transaction information processing method based on a blockchain, including: acquiring first transaction information stored on a second blockchain node, wherein the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written into a first blockchain node and the second blockchain node which are located in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used for representing the quantity of first virtual resources of a first transaction account transferred to a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party related to the target event; acquiring virtual resource transfer information, wherein the virtual resource transfer information is used for indicating the number of target virtual resources of a second transaction account transferred to the second party in the first virtual resource; checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the amount of the target virtual resource is correct.
According to another aspect of the embodiments of the present invention, there is also provided a transaction information processing system based on a blockchain, including: a first obtaining unit, configured to obtain first transaction information stored on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written in a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to indicate a quantity of a first virtual resource of a first transaction account number transferred to a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party related to the target event; a second obtaining unit, configured to obtain virtual resource transfer information, where the virtual resource transfer information is used to indicate an amount of a target virtual resource of a second transaction account transferred to the second party in the first virtual resource; a first checking unit, configured to check, based on the first transaction information stored on the second blockchain node, the number of the target virtual resource indicated by the virtual resource transfer information, so as to determine whether the number of the target virtual resource is correct.
As an optional example, the system further includes: a first determining unit, configured to determine that the first transaction information stored on the blockchain is correct if the first numerical value is the same as the second numerical value after checking whether the first numerical value is the same as the second numerical value, and transfer the target virtual resource in the first virtual resource to the second transaction account of the second party if the first transaction information is correct; a second determination unit, configured to determine that the first transaction information stored on the block chain is incorrect when the first value is different from the second value after checking whether the first value is the same as the second value, and acquire correct first transaction information when the first transaction information is incorrect; and adding correct first transaction information into the block chain.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above transaction information processing method based on blockchain when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above transaction information processing method based on a blockchain through the computer program.
In the embodiment of the present invention, a method is adopted for acquiring first transaction information stored on a second blockchain node, and acquiring virtual resource transfer information, where the virtual resource transfer information is used to indicate the number of target virtual resources of a second transaction account transferred to the second party in the first virtual resource, and the number of the target virtual resources indicated by the virtual resource transfer information is checked based on the first transaction information stored on the second blockchain node. According to the method, in the process of checking the data, the first transaction information is acquired from the blockchain, and the virtual resource transfer information is checked by using the first transaction information stored in the blockchain, so that the accuracy and the alignment of the virtual resource transfer information are realized, the accuracy of the data in the checking process is ensured, and the technical problem of inaccurate data in the checking process in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application environment of an alternative blockchain-based transaction information processing method according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating an alternative blockchain-based transaction information processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative blockchain-based transaction information processing method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative blockchain-based transaction information processing method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of yet another alternative blockchain-based transaction information processing method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of yet another alternative blockchain-based transaction information processing method according to an embodiment of the invention;
FIG. 7 is a block diagram of an alternative blockchain based transaction information processing system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, a transaction information processing method based on a blockchain is provided, and optionally, as an optional implementation manner, the transaction information processing method based on a blockchain may be applied, but not limited, to an environment as shown in fig. 1.
Human-computer interaction between the user 102 and the user device 104 in fig. 1 is possible. The user equipment 104 comprises a memory 106 for storing interaction data and a processor 108 for processing the interaction data. User device 104 may interact with server 112 via network 110. The server 112 includes a blockchain 114 for storing data. As shown in steps S102 and S104, the user device 116 may obtain the first transaction information from the server' S blockchain 114, receive the virtual resource transfer information from the user device 104, and check the amount of the target virtual resource in the virtual resource transfer information using the first transaction information.
It should be noted that, in the related art, in the process of checking the data of the account, since the account is usually provided manually, the accuracy of the data in the account cannot be guaranteed. The method is adopted in the scheme, so that the transaction record can be written into the block chain after the first party generates any transaction record. After the second party receives the virtual resource transmitted by the first party, the virtual resource can be checked through the transaction record in the block chain, so that the data accuracy in the account checking process is ensured.
Alternatively, the user devices 104 and 116 may be, but are not limited to, mobile phones, tablet computers, notebook computers, PCs, and the like, and the network 110 may include, but is not limited to, a wireless network or a wired network. Wherein, this wireless network includes: WIFI and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The server 112 may include, but is not limited to, any hardware device capable of performing computations.
Optionally, as an optional implementation manner, as shown in fig. 2, the transaction information processing method based on a blockchain includes:
s202, a second party obtains first transaction information stored on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written in a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to represent a quantity of a first virtual resource of a first transaction account number transferred to a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for the second party related to the target event;
s204, the second party acquires virtual resource transfer information, wherein the virtual resource transfer information is used for representing the number of target virtual resources of a second transaction account transferred to the second party in the first virtual resource;
s206, the second party checks the number of the target virtual resources represented by the virtual resource transfer information based on the first transaction information stored on the second blockchain node to determine whether the number of the target virtual resources is correct.
Alternatively, the transaction information processing method based on the blockchain can be applied to the process of revenue sharing and checking without limitation. For example, for a profit with split for multi-party participation, each party may capture a portion of the profit. And the benefit may be the sum of the balances of one or more parties. To ensure transparency of the revenue, the credits for each party are written onto the blockchain, and each party may act as a node on the blockchain. After a period of time, or at a contracted split time, the second party receives the transfer from the first party or other party. At this point, the second party may obtain all the balance information from the blockchain and use the balance information to check whether the transfer received by the second party is the same as the income due to the second party. If there are different parts, the transfer is not reasonable. By the method, when the account is checked, the accuracy of the data is guaranteed, and the accuracy of the account checking is improved.
Optionally, multiple parties may be included in the present solution, and both the first party and the second party are one of the multiple parties. Each party may be a benefit agent such as an individual or a team. Each party may act as a node in the blockchain. Each party may generate revenue and loss records. I.e., revenue and expense. After each party generates income and expense, the corresponding income and expense values are written into the block chain. Taking the first party as an example, the first party may be a developer of a software application. Such as a developer of a software application for viewing videos. A first account number registered with a first party may generate a consumption record. Such as recharging, members transacting, etc. The consumption is recorded as revenue for the first party. The partial revenue is recorded into the blockchain. And the second party may be a movie vendor. The movie of the second party is played on the software application of the first party. After the first party obtains the income, the first party needs to give a certain income share to the second party. To avoid the revenue sharing tie-out information being opaque, the second party may obtain all of the first transaction information saved to the first party in the blockchain and then view the amount of the first virtual resource in the first transaction information. E.g., 100 ten thousand, and then the second party should earn 40 ten thousand, e.g., one quarter of the income the second party earns, based on the agreed proportion. The second party obtains the amount of target virtual resources of a second transaction account number transferred to the second party by the first party by using the first transaction account number. If 40 ten thousand, it means that the account is correct. If the number is not 40 ten thousand, the account is wrong. At this point, a further check may be made based on the first transaction information stored on the blockchain.
Optionally, each of the multiple parties in the scheme may generate revenue or expenses. If there are three parties in total, each of the three parties is a node on the blockchain. For example, if a first party receives 30 million receipts, a second party pays 20 million receipts, and a third party receives 10 million receipts, the third party should store the receipt and payment records in the blockchain 302, as shown in FIG. 3. The three parties have a total revenue of 20 million. Then the 20 ten thousand profits are divided according to the agreed division ratio.
Optionally, in the present scheme, when dividing, a different dividing ratio may be set for each transaction. For example, if a total party earns 30 ten thousand per transaction, the first party, the second party and the third party may set the income sharing ratio to be 2:4:4, and 2/(2+4+4) out of 30 ten thousand of the first party is 6 ten thousand. And the second party and the third party are each divided into 12 ten thousand. In addition, for another transaction, if the second party pays 10 thousands, the first party, the second party and the third party of the transaction agree to share the ratio of 5:2:3, the first party needs to pay 5 thousands, the second party needs to pay 2 thousands, and the third party needs to pay 3 thousands. Flexibility in the splitting process is achieved by setting different splitting ratios for each transaction. Optionally, the agreed division ratio may also be set differently according to different transaction types, such as setting a ratio for income, setting another ratio for expenditure, and the like. And is not particularly limited herein.
Optionally, the second party in the present solution may check the amount of the target virtual resource of revenue. In the checking process, the second party may obtain all the first transaction information stored on the blockchain, and then calculate all the income and expense in the first transaction information to obtain the total income. If the first transaction information comprises a plurality of pieces of income and expenditure information, after statistics, the total income is 20 thousands. The second party's second transaction account number receives a total of 20 million resources. The second party may perform a check. In the case of the same value, it is determined that the virtual resource transfer information, i.e., the above-described received 20 ten thousand resources, is correct. If the values are found to be different in the checking, the virtual resource transfer information is an error information.
For example, the second party receives 50 tens of thousands of target virtual resources transferred by the first party, and obtains virtual resource transfer information, where the virtual resource transfer information carries the transfer number of the first party: 50 ten thousand. The second party obtains the first transaction information from the blockchain and uses the first transaction information to check if 50 thousands are correct. To determine if the second party received 50 thousand transfers in and out of the accounts receivable.
Optionally, after the first transaction information is acquired, the second party may further perform item-by-item check on the virtual resource transfer information by using the first transaction information. For example, as shown in fig. 4, the second party receives three times of virtual resource transfer information, which are +30, +50, +20, respectively, and after the second party acquires the first transaction information on the blockchain, the first transaction information stores three times of earnings of the first party, which are +30, +50, +30, respectively. The third virtual resource transfer information acquired by the second party is: +20 is not true. The virtual resource transfer information that should be acquired is + 30. Therefore, it can be checked that the virtual resource transfer information acquired for the third time is incorrect. The labeling may be performed. For example, as shown in fig. 5, the third virtual resource transfer information is labeled. After checking the error information, the marked result is sent to the party who transfers the third virtual resource transfer information to the second party. Such as the first party.
Optionally, in this scheme, after the first party generates the first transaction information, the first transaction information is written into the blockchain, and then the first transaction information may be checked. Optionally, the first party may compare the income and expense records of all the first parties in the first transaction information written into the blockchain with the actual income and expense records of the first party one by one. Before comparison, the actual income and expense records can be sorted according to the time sequence. After sorting, alignment was performed bar by bar. Alternatively, the first party may obtain a total of the actual income and expense records of the first party to obtain a total first value, and then compare the total value of all the transaction information of the first party stored on the blockchain with the first value. Optionally, if the first party finds the value is incorrect during the comparison process, the correct transaction value may be added to the blockchain for saving. When the mapping relation is recorded, the new record is stored in the mapping relation, and the old record is deleted from the mapping relation. If the first transaction record of No. 5/month & lt 3 & gt is found to be wrong, writing a new correct transaction record into the blockchain, deleting the mapping relation of the old transaction record of No. 5/month & lt 3 & gt, and acquiring the new transaction record when the first transaction record of No. 5/month & lt 3 & gt is acquired.
Optionally, each node in the scheme can be added or deleted. The allocation ratio of accounts may change at each new addition or deletion.
The following description is made with reference to a specific example. As shown in steps S602 to S618 of fig. 6, the method is divided into four stages: paying by the user to generate payment information; the charging manufacturer synchronizes the charging account in real time by using a block chain technology; the charging manufacturer divides the payment into payment according to the predetermined proportion on time; and the cooperation manufacturer utilizes the block chain data to perform account meeting and account checking.
In the stage of generating payment information for user payment, when the user wants to use the value added service of the product (e.g. member removing advertisement of video, or purchasing a single card) when using the product, the user pays the product, and the charging party, i.e. vendor a in fig. 6, executes step S602, and should generate a piece of normative record information including necessary data fields (e.g. payment time, payment user id, payment item, payment amount, etc.) for providing a basis for dividing the future income into portions.
For the billing vendors to synchronize the billing accounts in real time by using the blockchain technique, the billing vendors such as vendor a synchronously write the payment record information generated by the user payment of the previous step into the block by using the blockchain technique, and write the record into the enterprise-level private blockchain commonly owned by the partners, all vendors such as vendor a can obtain and hold the record information by using step S606, vendor B can obtain and hold the record information by using step S610 through step S608 and vendor C, and the above steps S606, step S608 and step S610 can be performed at different times. The record of the information cannot be tampered and irreversible, so that the safety and reliability of the account information are guaranteed.
For the toll-collecting manufacturer, the payment is divided into payment in accordance with the predetermined ratio, the manufacturer A divides and accounts the received money in accordance with the predetermined and periodic timing (Monday or monthly), through step S612, and the payment belonging to each partner manufacturer, such as manufacturer B and manufacturer C, is paid to the corresponding manufacturer B and manufacturer C through step S614. The manufacturer B and the manufacturer C which receive the money perform accounting on accounts through the steps S616 and S618, and the accounting information is fed back to the manufacturer A, and the manufacturer A finishes accounting, payment and accounting processes of the cost period.
For the cooperative manufacturer, the block chain data is utilized to perform accounting and reconciliation, after the cooperative manufacturer such as a manufacturer B and a manufacturer C receives the goods of the manufacturer A, the block chain account information is utilized to check the account of the period, and if the account is matched with the received goods, the collection information is fed back to the manufacturer A; if the account is abnormal, accounting and checking are carried out by using the account data in the block chain, the account with the problem is fed back to the manufacturer A, and the two parties check by using the synchronous block chain data, so that the problem is finally solved.
Through the embodiment, the account information generated by multiple parties is stored in the block chain through the method, and after the income is divided, the income is checked through the block chain, so that the effect of improving the accuracy of account checking is realized.
As an optional embodiment, the checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the virtual resource transfer information is correct includes:
s1, acquiring a first numerical value in the first transaction information stored on the second block chain node;
s2, checking whether the first value is the same as the amount of the target virtual resource.
Optionally, the first numerical value may be a total value of income and expense in the first transaction information, or may be a numerical value of a single transaction.
Optionally, the second party in the present solution may check the amount of the target virtual resource of revenue. In the checking process, the second party may obtain all the first transaction information stored on the blockchain, and then calculate all the income and expense in the first transaction information to obtain the total income. If the first transaction information comprises a plurality of pieces of income and expenditure information, after statistics, the total income is 20 thousands. The second party's second transaction account number receives a total of 20 million resources. The second party may perform a check. In the case of the same value, it is determined that the virtual resource transfer information, i.e., the above-described received 20 ten thousand resources, is correct. If the values are found to be different in the checking, the virtual resource transfer information is an error information.
Through the embodiment, the first transaction information is checked through the method, so that the effect of accurately checking account information is achieved. Under the condition that account information is wrong, the account information can be fed back in time, and the effect of improving the account checking accuracy is achieved.
As an optional embodiment, after checking whether the first value is the same as the amount of the target virtual resource, the method further comprises:
s1, determining that the virtual resource transfer information is wrong under the condition that the first value in the first transaction information is different from the amount of the target virtual resource;
and S2, under the condition that the virtual resource transfer information is wrong, marking information which is different from the first numerical value in the virtual resource transfer information, and returning the marked virtual resource transfer information to the first interactive account of the first party.
Optionally, in the present scheme, the error information may be labeled, and then all the virtual resource transfer information labeled with the error information is returned to the first interactive account of the first party, or in the present scheme, the error information may be only returned to the first interactive account of the first party. The error information may be marked with a generation time and an error location. The virtual resource transfer information may be a specific value in the error information.
Through the embodiment, the virtual resource transfer information corresponding to the error information is returned to the first party through the method, so that the first party can check the error information and then transfer the account accurately, and the accuracy of account checking is realized.
As an optional embodiment, after checking whether the first value is the same as the amount of the target virtual resource, the method further comprises:
s1, determining that the virtual resource transfer information is correct under the condition that the first numerical value in the first transaction information is the same as the number of the target virtual resources;
and S2, returning a confirmation message for indicating that the virtual resource transfer information is correct to the first interactive account of the first party under the condition that the virtual resource transfer information is correct.
Optionally, in this scheme, after the second party checks the virtual resource transfer information, if the value of the target virtual resource in the virtual resource transfer information is the same as the first value in the first transaction information, it indicates that the number of the target virtual resource is correct, and at this time, the second party may send a confirmation message to the first party, so as to indicate that the second party has received the virtual resource transfer information and that the virtual resource transfer information is correct.
Through the embodiment, the confirmation message is returned through the method, so that the accuracy of account checking is ensured.
As an optional example, before the obtaining the first transaction information saved on the second blockchain node, the method further comprises:
s1, acquiring a first numerical value in the first transaction information stored on the first block chain node;
s2, acquiring a second numerical value in the transaction information generated by executing the target event in the first application;
s3, checking whether the first value is the same as the second value.
Alternatively, the above-mentioned checking step may be performed by the first party.
Optionally, in this scheme, after the first party generates the first transaction information, the first transaction information is written into the blockchain, and then the first transaction information may be checked. Optionally, the first party may compare the income and expense records of all the first parties in the first transaction information written into the blockchain with the actual income and expense records of the first party one by one. Before comparison, the actual income and expense records can be sorted according to the time sequence. After sorting, alignment was performed bar by bar. Alternatively, the first party may obtain a total of the actual income and expense records of the first party to obtain a total first value, and then compare the total value of all the transaction information of the first party stored on the blockchain with the first value.
Through the embodiment, whether all transaction data written into the first party of the block chain are matched with all transaction data actually generated by the first party is checked through the method, so that the accuracy of the data written into the block chain is guaranteed, and the accuracy of the account checking process is further guaranteed.
As an alternative embodiment, after checking whether the first value and the second value are the same, the method further comprises:
s1, determining that the first transaction information stored in the block chain is correct when the first numerical value is the same as the second numerical value, and transferring the target virtual resource in the first virtual resource to the second transaction account of the second party when the first transaction information is correct.
Optionally, if the first transaction information is correct, the information stored on the blockchain is said to be correct. At this time, the corresponding target virtual resource is transferred to the second transaction account of the second party according to the information stored in the block chain, so as to complete the transaction. The second party may check the transaction data.
Through the embodiment, whether all transaction data written into the blockchain of the first party are matched with all transaction data actually generated by the first party is checked through the method, and the target virtual resource is transferred to the second party under the condition of data matching, so that the accuracy of the data written into the blockchain is ensured, and the accuracy of the account checking process is further ensured.
As an alternative embodiment, after checking whether the first value and the second value are the same, the method further comprises:
s1, determining that the first transaction information stored in the block chain is incorrect when the first numerical value is different from the second numerical value, and acquiring correct first transaction information when the first transaction information is incorrect; and adding correct first transaction information into the block chain.
Optionally, since the data on the blockchain is not deletable or modifiable, if an erroneous record is found, a correct record is newly added and the mapping relationship is saved. And if the corresponding data record needs to be acquired next time, acquiring the correct data record.
Through the method, the actually generated correct data can still be stored in the blockchain and used under the condition that the data recorded in the blockchain is deviated from the actually generated data, and the accuracy of the account checking process is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a blockchain-based transaction information processing system for implementing the above blockchain-based transaction information processing method. The system may include a first party and a second party. As shown in fig. 7, the system includes:
(1) a first obtaining unit 702, configured to obtain first transaction information stored on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written into a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to represent a quantity of a first virtual resource of a first transaction account of a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party related to the target event;
(2) a second obtaining unit 704, configured to obtain virtual resource transfer information, where the virtual resource transfer information is used to indicate an amount of a target virtual resource of a second transaction account transferred to the second party in the first virtual resource;
(3) a first checking unit 706, configured to check, based on the first transaction information stored on the second blockchain node, the number of the target virtual resource indicated by the virtual resource transfer information to determine whether the number of the target virtual resource is correct.
Alternatively, the blockchain-based transaction information processing system can be applied to, but not limited to, a revenue sharing and checking process. For example, for a profit with split for multi-party participation, each party may capture a portion of the profit. And the benefit may be the sum of the balances of one or more parties. To ensure transparency of the revenue, the credits for each party are written onto the blockchain, and each party may act as a node on the blockchain. After a period of time, or at a contracted split time, the second party receives the transfer from the first party or other party. At this point, the second party may obtain all the balance information from the blockchain and use the balance information to check whether the transfer received by the second party is the same as the income due to the second party. If there are different parts, the transfer is not reasonable. By the method, when the account is checked, the accuracy of the data is guaranteed, and the accuracy of the account checking is improved. The first acquiring unit 702, the second acquiring unit 704 and the first collating unit 706 in the above-described system may be, but are not limited to, installed in a device of the second party.
Optionally, multiple parties may be included in the present solution, and both the first party and the second party are one of the multiple parties. Each party may be a benefit agent such as an individual or a team. Each party may act as a node in the blockchain. Each party may generate revenue and loss records. I.e., revenue and expense. After each party generates income and expense, the corresponding income and expense values are written into the block chain. Taking the first party as an example, the first party may be a developer of a software application. Such as a developer of a software application for viewing videos. A first account number registered with a first party may generate a consumption record. Such as recharging, members transacting, etc. The consumption is recorded as revenue for the first party. The partial revenue is recorded into the blockchain. And the second party may be a movie vendor. The movie of the second party is played on the software application of the first party. After the first party obtains the income, the first party needs to give a certain income share to the second party. To avoid the revenue sharing tie-out information being opaque, the second party may obtain all of the first transaction information saved to the first party in the blockchain and then view the amount of the first virtual resource in the first transaction information. E.g., 100 ten thousand, and then the second party should earn 40 ten thousand, e.g., one quarter of the income the second party earns, based on the agreed proportion. And the second party acquires the target virtual resource of the second transaction account transferred to the second party by the first party by using the first transaction account. If 40 ten thousand, it means that the account is correct. If the number is not 40 ten thousand, the account is wrong. At this point, a further check may be made based on the first transaction information stored on the blockchain.
Optionally, each of the multiple parties in the scheme may generate revenue or expenses. If there are three parties in total, each of the three parties is a node on the blockchain. For example, if a first party receives 30 million receipts, a second party pays 20 million receipts, and a third party receives 10 million receipts, the third party should store the receipt and payment records in the blockchain 302, as shown in FIG. 3. The three parties have a total revenue of 20 million. Then the 20 ten thousand profits are divided according to the agreed division ratio.
Optionally, the second party in the present solution may check the target virtual resource for revenue. In the checking process, the second party may obtain all the first transaction information stored on the blockchain, and then calculate all the income and expense in the first transaction information to obtain the total income. If the first transaction information comprises a plurality of pieces of income and expenditure information, after statistics, the total income is 20 thousands. The second party's second transaction account number receives a total of 20 million resources. The second party may perform a check. In the case of the same value, it is determined that the virtual resource transfer information, i.e., the above-described received 20 ten thousand resources, is correct. If the values are found to be different in the checking, the virtual resource transfer information is an error information.
Optionally, after the first transaction information is acquired, the second party may further perform item-by-item check on the virtual resource transfer information by using the first transaction information. For example, as shown in fig. 4, the second party receives three times of virtual resource transfer information, which are +30, +50, +20, respectively, and after the second party acquires the first transaction information on the blockchain, the first transaction information stores three times of earnings of the first party, which are +30, +50, +30, respectively. The third virtual resource transfer information acquired by the second party is: +20 is not true. The virtual resource transfer information that should be acquired is + 30. Therefore, it can be checked that the virtual resource transfer information acquired for the third time is incorrect. The labeling may be performed. For example, as shown in fig. 5, the third virtual resource transfer information is labeled. After checking the error information, the marked result is sent to the party who transfers the third virtual resource transfer information to the second party. Such as the first party.
Optionally, in this scheme, after the first party generates the first transaction information, the first transaction information is written into the blockchain, and then the first transaction information may be checked. Optionally, the first party may compare the income and expense records of all the first parties in the first transaction information written into the blockchain with the actual income and expense records of the first party one by one. Before comparison, the actual income and expense records can be sorted according to the time sequence. After sorting, alignment was performed bar by bar. Alternatively, the first party may obtain a total of the actual income and expense records of the first party to obtain a total first value, and then compare the total value of all the transaction information of the first party stored on the blockchain with the first value. Optionally, if the first party finds the value is incorrect during the comparison process, the correct transaction value may be added to the blockchain for saving. When the mapping relation is recorded, the new record is stored in the mapping relation, and the old record is deleted from the mapping relation. If the first transaction record of No. 5/month & lt 3 & gt is found to be wrong, writing a new correct transaction record into the blockchain, deleting the mapping relation of the old transaction record of No. 5/month & lt 3 & gt, and acquiring the new transaction record when the first transaction record of No. 5/month & lt 3 & gt is acquired.
Optionally, each node in the scheme can be added or deleted. The allocation ratio of accounts may change at each new addition or deletion.
The following description is made with reference to a specific example. As shown in steps S602 to S618 of fig. 6, the method is divided into four stages: paying by the user to generate payment information; the charging manufacturer synchronizes the charging account in real time by using a block chain technology; the charging manufacturer divides the payment into payment according to the predetermined proportion on time; and the cooperation manufacturer utilizes the block chain data to perform account meeting and account checking.
In the stage of generating payment information for user payment, when the user wants to use the value added service of the product (e.g. member removing advertisement of video, or purchasing a single card) when using the product, the user pays the product, and the charging party, i.e. vendor a in fig. 6, executes step S602, and should generate a piece of normative record information including necessary data fields (e.g. payment time, payment user id, payment item, payment amount, etc.) for providing a basis for dividing the future income into portions.
For the billing vendors to synchronize the billing accounts in real time by using the blockchain technique, the billing vendors such as vendor a synchronously write the payment record information generated by the user payment of the previous step into the block by using the blockchain technique, and write the record into the enterprise-level private blockchain commonly owned by the partners, all vendors such as vendor a can obtain and hold the record information by using step S606, vendor B can obtain and hold the record information by using step S610 through step S608 and vendor C, and the above steps S606, step S608 and step S610 can be performed at different times. The record of the information cannot be tampered and irreversible, so that the safety and reliability of the account information are guaranteed.
For the toll-collecting manufacturer, the payment is divided into payment in accordance with the predetermined ratio, the manufacturer A divides and accounts the received money in accordance with the predetermined and periodic timing (Monday or monthly), through step S612, and the payment belonging to each partner manufacturer, such as manufacturer B and manufacturer C, is paid to the corresponding manufacturer B and manufacturer C through step S614. The manufacturer B and the manufacturer C which receive the money perform accounting on accounts through the steps S616 and S618, and the accounting information is fed back to the manufacturer A, and the manufacturer A finishes accounting, payment and accounting processes of the cost period.
For the cooperative manufacturer, the block chain data is utilized to perform accounting and reconciliation, after the cooperative manufacturer such as a manufacturer B and a manufacturer C receives the goods of the manufacturer A, the block chain account information is utilized to check the account of the period, and if the account is matched with the received goods, the collection information is fed back to the manufacturer A; if the account is abnormal, accounting and checking are carried out by using the account data in the block chain, the account with the problem is fed back to the manufacturer A, and the two parties check by using the synchronous block chain data, so that the problem is finally solved.
Through the embodiment, the account information generated by multiple parties is stored in the block chain through the method, and after the income is divided, the income is checked through the block chain, so that the effect of improving the accuracy of account checking is realized.
As an alternative embodiment, the first collating unit includes:
(1) the first acquisition module is used for acquiring a first numerical value in the first transaction information stored on the second blockchain node;
(2) and the first checking module is used for checking whether the first value is the same as the quantity of the target virtual resource.
Through the embodiment, the first transaction information is checked through the method, so that the effect of accurately checking account information is achieved. Under the condition that account information is wrong, the account information can be fed back in time, and the effect of improving the account checking accuracy is achieved.
As an optional implementation, the first collating unit further includes:
(1) a first determination module, configured to determine that the virtual resource transfer information is erroneous if the first value in the first transaction information is different from the amount of the target virtual resource after checking whether the first value is the same as the amount of the target virtual resource;
(2) and the first returning module is used for labeling information which is different from the first numerical value in the virtual resource transfer information under the condition that the virtual resource transfer information is wrong, and returning the labeled virtual resource transfer information to the first interactive account of the first party. .
Through the embodiment, the virtual resource transfer information corresponding to the error information is returned to the first party through the method, so that the first party can check the error information and then transfer the account accurately, and the accuracy of account checking is realized.
As an optional implementation, the first collating unit further includes:
(1) a second determining module, configured to determine that the virtual resource transfer information is correct if the first value in the first transaction information is the same as the number of the target virtual resource after checking whether the first value is the same as the number of the target virtual resource;
(2) and the second returning module is used for returning a confirmation message for indicating that the virtual resource transfer information is correct to the first interactive account of the first party under the condition that the virtual resource transfer information is correct.
Through the embodiment, the confirmation message is returned to the first party through the method, so that the first party can acquire the transfer result, and the account checking accuracy is improved.
As an optional implementation, the system further comprises:
(1) a third obtaining unit, configured to obtain a first numerical value in the first transaction information stored in the first blockchain node before the first transaction information stored in the second blockchain node is obtained;
(2) the fourth acquisition unit is used for acquiring a second numerical value in the transaction information generated by executing the target event in the first application;
(3) a second checking unit for checking whether the first value and the second value are the same.
Alternatively, the third acquiring unit, the fourth acquiring unit, and the second collating unit may be installed in the first-party correlation apparatus.
Through the embodiment, whether all transaction data written into the first party of the block chain are matched with all transaction data actually generated by the first party is checked through the method, so that the accuracy of the data written into the block chain is guaranteed, and the accuracy of the account checking process is further guaranteed.
As an optional implementation, the system further comprises:
(1) a first determining unit, configured to determine that the first transaction information stored on the blockchain is correct if the first numerical value is the same as the second numerical value after checking whether the first numerical value is the same as the second numerical value, and transfer the target virtual resource in the first virtual resource to the second transaction account of the second party if the first transaction information is correct;
(2) a second determination unit, configured to determine that the first transaction information stored on the block chain is incorrect when the first value is different from the second value after checking whether the first value is the same as the second value, and acquire correct first transaction information when the first transaction information is incorrect; and adding correct first transaction information into the block chain.
Through the method, the actually generated correct data can still be stored in the blockchain and used under the condition that the data recorded in the blockchain is deviated from the actually generated data, and the accuracy of the account checking process is improved.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above method for processing transaction information based on blockchain, as shown in fig. 8, the electronic device includes a memory 802 and a processor 804, the memory 802 stores a computer program therein, and the processor 804 is configured to execute the steps in any of the above method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network. For example, the electronic apparatus may be applied in the user equipment 116 shown in fig. 1, and is responsible for checking the amount of the target virtual resource in the virtual resource transfer information using the first transaction information.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring first transaction information saved on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written into a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to represent a quantity of a first virtual resource of a first transaction account transferred to a first party associated with the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party associated with the target event;
s2, acquiring virtual resource transfer information, where the virtual resource transfer information is used to indicate the amount of a target virtual resource of a second transaction account transferred to the second party in the first virtual resource;
s3, checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the amount of the target virtual resource is correct.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the electronic device may also be a terminal such as a mobile phone, a tablet computer, a notebook computer, a PC, and the like. The electronic device may interact with the server via a network, and the server may be any hardware device capable of performing calculations. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
The memory 802 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for processing transaction information based on a blockchain in the embodiment of the present invention, and the processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, that is, implements the method for processing transaction information based on a blockchain. The memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 802 can further include memory located remotely from the processor 804, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 802 may be, but not limited to, specifically configured to store information such as the first transaction information. As an example, as shown in fig. 8, the memory 802 may include, but is not limited to, a first obtaining unit 702, a second obtaining unit 704, and a first checking unit 706 in the transaction information processing apparatus based on the blockchain. In addition, the transaction information processing apparatus may further include, but is not limited to, other module units in the above transaction information processing apparatus based on the blockchain, which is not described in detail in this example.
Optionally, the transmitting device 806 is configured to receive or transmit data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 806 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 806 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 808 for displaying the result of the collation; and a connection bus 810 for connecting the respective module parts in the above-described electronic apparatus.
According to a further aspect of embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps in any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring first transaction information saved on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written into a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to represent a quantity of a first virtual resource of a first transaction account transferred to a first party associated with the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party associated with the target event;
s2, acquiring virtual resource transfer information, where the virtual resource transfer information is used to indicate the amount of a target virtual resource of a second transaction account transferred to the second party in the first virtual resource;
s3, checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the amount of the target virtual resource is correct.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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, units or modules, and may be in an electrical 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, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention and it should be appreciated that those skilled in the art can make various modifications and improvements without departing from the principle of the present invention, and such modifications and improvements should be considered as the protection scope of the present invention.

Claims (14)

1. A transaction information processing method based on a block chain is characterized by comprising the following steps:
acquiring first transaction information stored on a second blockchain node, wherein the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written into a first blockchain node and the second blockchain node which are located in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used for representing the quantity of first virtual resources of a first transaction account transferred to a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party related to the target event;
acquiring virtual resource transfer information, wherein the virtual resource transfer information is used for indicating the number of target virtual resources of a second transaction account transferred to the second party in the first virtual resource;
checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information saved on the second blockchain node to determine whether the virtual resource transfer information is correct.
2. The method of claim 1, wherein checking the amount of the target virtual resource represented by the virtual resource transfer information based on the first transaction information maintained at the second blockchain node to determine whether the virtual resource transfer information is correct comprises:
acquiring a first numerical value in first transaction information stored on the second blockchain node;
checking whether the first value is the same as the amount of the target virtual resource.
3. The method of claim 2, wherein after checking whether the first value is the same as the amount of the target virtual resource, the method further comprises:
determining that the virtual resource transfer information is erroneous if a first value in the first transaction information is different from the amount of the target virtual resource;
and under the condition that the virtual resource transfer information is wrong, marking information which is different from the first numerical value in the virtual resource transfer information, and returning the marked virtual resource transfer information to the first interactive account of the first party.
4. The method of claim 2, wherein after checking whether the first value is the same as the amount of the target virtual resource, the method further comprises:
determining that the virtual resource transfer information is correct under the condition that the first numerical value in the first transaction information is the same as the quantity of the target virtual resource;
and under the condition that the virtual resource transfer information is correct, returning a confirmation message for indicating that the virtual resource transfer information is correct to the first interactive account of the first party.
5. The method of claim 1, wherein prior to said obtaining the first transaction information stored at the second blockchain node, the method further comprises:
acquiring a first numerical value in first transaction information stored on the first block chain node;
acquiring a second numerical value in transaction information generated by executing a target event in the first application;
checking whether the first value and the second value are the same.
6. The method of claim 5, wherein after checking whether the first value and the second value are the same, the method further comprises:
and under the condition that the first numerical value is the same as the second numerical value, determining that the first transaction information stored on the block chain is correct, and under the condition that the first transaction information is correct, transferring the target virtual resource in the first virtual resource to the second transaction account of the second party.
7. The method of claim 5, wherein after checking whether the first value and the second value are the same, the method further comprises:
determining that the first transaction information stored on the blockchain is incorrect when the first numerical value is different from the second numerical value, and acquiring correct first transaction information when the first transaction information is incorrect; and adding correct first transaction information into the block chain.
8. A blockchain-based transaction information processing system, comprising:
a first obtaining unit, configured to obtain first transaction information stored on a second blockchain node, where the first transaction information is transaction information generated by executing a target event in a first application, the first transaction information is set to be written in a first blockchain node and the second blockchain node in the same blockchain, the first transaction information includes first virtual resource quantity information, the first virtual resource quantity information is used to indicate a quantity of a first virtual resource of a first transaction account number transferred to a first party related to the first application, the first blockchain node is a blockchain node set for the first party, and the second blockchain node is a blockchain node set for a second party related to the target event;
a second obtaining unit, configured to obtain virtual resource transfer information, where the virtual resource transfer information is used to indicate an amount of a target virtual resource of a second transaction account transferred to the second party in the first virtual resource;
a first checking unit, configured to check, based on the first transaction information stored on the second blockchain node, the number of the target virtual resource indicated by the virtual resource transfer information, so as to determine whether the virtual resource transfer information is correct.
9. The system according to claim 8, wherein the first collating unit includes:
the first acquisition module is used for acquiring a first numerical value in the first transaction information stored on the second blockchain node;
and the first checking module is used for checking whether the first value is the same as the quantity of the target virtual resource.
10. The system of claim 9, wherein the first collating unit further includes:
a first determination module, configured to determine that the virtual resource transfer information is erroneous if the first value in the first transaction information is different from the amount of the target virtual resource after checking whether the first value is the same as the amount of the target virtual resource;
and the first returning module is used for labeling information which is different from the first numerical value in the virtual resource transfer information under the condition that the virtual resource transfer information is wrong, and returning the labeled virtual resource transfer information to the first interactive account of the first party.
11. The system of claim 9, wherein the first collating unit further includes:
a second determining module, configured to determine that the virtual resource transfer information is correct if the first value in the first transaction information is the same as the number of the target virtual resource after checking whether the first value is the same as the number of the target virtual resource;
and the second returning module is used for returning a confirmation message for indicating that the virtual resource transfer information is correct to the first interactive account of the first party under the condition that the virtual resource transfer information is correct.
12. The system of claim 8, further comprising:
a third obtaining unit, configured to obtain a first numerical value in the first transaction information stored in the first blockchain node before the first transaction information stored in the second blockchain node is obtained;
the fourth acquisition unit is used for acquiring a second numerical value in the transaction information generated by executing the target event in the first application;
a second checking unit for checking whether the first value and the second value are the same.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed, carries out the method of any one of claims 1 to 7.
14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN201910872327.0A 2019-09-16 2019-09-16 Transaction information processing method and system based on block chain and storage medium Active CN110599170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910872327.0A CN110599170B (en) 2019-09-16 2019-09-16 Transaction information processing method and system based on block chain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910872327.0A CN110599170B (en) 2019-09-16 2019-09-16 Transaction information processing method and system based on block chain and storage medium

Publications (2)

Publication Number Publication Date
CN110599170A true CN110599170A (en) 2019-12-20
CN110599170B CN110599170B (en) 2021-06-25

Family

ID=68859845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910872327.0A Active CN110599170B (en) 2019-09-16 2019-09-16 Transaction information processing method and system based on block chain and storage medium

Country Status (1)

Country Link
CN (1) CN110599170B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314066A (en) * 2020-01-23 2020-06-19 腾讯科技(深圳)有限公司 Block chain-based data transfer method, terminal and computer-readable storage medium
CN112561522A (en) * 2020-12-01 2021-03-26 中国联合网络通信集团有限公司 Block chain-based video payment method, video node, device and medium
US11443368B2 (en) 2017-11-23 2022-09-13 Advanced New Technologies Co., Ltd. Resource transfer and capital transfer method and apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
CN108280358A (en) * 2018-02-12 2018-07-13 北京金山安全软件有限公司 Information reminding method and device and electronic equipment
CN108876572A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 The account checking method and device, electronic equipment of block chain transaction
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
CN109242483A (en) * 2018-08-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of dual trading method and system based on centralization and decentralization
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109582673A (en) * 2018-11-28 2019-04-05 阿里巴巴集团控股有限公司 A kind of recording method, device and the electronic equipment of resource transfers event

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
CN108280358A (en) * 2018-02-12 2018-07-13 北京金山安全软件有限公司 Information reminding method and device and electronic equipment
CN108876572A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 The account checking method and device, electronic equipment of block chain transaction
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
CN109242483A (en) * 2018-08-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of dual trading method and system based on centralization and decentralization
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109582673A (en) * 2018-11-28 2019-04-05 阿里巴巴集团控股有限公司 A kind of recording method, device and the electronic equipment of resource transfers event

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11443368B2 (en) 2017-11-23 2022-09-13 Advanced New Technologies Co., Ltd. Resource transfer and capital transfer method and apparatus
CN111314066A (en) * 2020-01-23 2020-06-19 腾讯科技(深圳)有限公司 Block chain-based data transfer method, terminal and computer-readable storage medium
CN111314066B (en) * 2020-01-23 2022-02-11 腾讯科技(深圳)有限公司 Block chain-based data transfer method, terminal and computer-readable storage medium
CN112561522A (en) * 2020-12-01 2021-03-26 中国联合网络通信集团有限公司 Block chain-based video payment method, video node, device and medium
CN112561522B (en) * 2020-12-01 2023-09-29 中国联合网络通信集团有限公司 Video payment method, video node, device and medium based on blockchain

Also Published As

Publication number Publication date
CN110599170B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN110599170B (en) Transaction information processing method and system based on block chain and storage medium
CN105190588B (en) Auditing pipeline distributed system for video advertisement exchange
CN105190665A (en) Mobile creative management system
CN103729778A (en) Omni-channel advertisement accurate delivery system and method
WO2014130629A2 (en) System and method for measuring advertising effectiveness
CN110490571B (en) Installment payment method, device, equipment and medium
US10026069B2 (en) System and method for software application usage metering using data store
CN111260399B (en) Advertisement data processing method and device based on block chain network and electronic equipment
CN105474654B (en) Digital media advertising system and method therefor
CN110570179B (en) Order display method, device, equipment and storage medium
CN109582550A (en) A kind of method, apparatus and server obtaining full dose business scenario failure collection
KR20120113975A (en) System and method for distributing profit
CN112561510A (en) Payment system, method, device, equipment and storage medium
CN112035717A (en) Information processing method, device, equipment and storage medium
CN106708879B (en) Service data processing method and device
CN110599150A (en) Order display method, device, equipment and storage medium
CN102348186B (en) For supporting the mthods, systems and devices of the account check between different operators
JP2023070595A (en) Transaction support system, transaction support method, and program
CN111695900A (en) Bill data verification method and device, storage medium and electronic device
CN109087201B (en) Data processing method, server and storage medium for virtual resources
CN111445284B (en) Determination method and device of orientation label, computing equipment and storage medium
CN114997977A (en) Data processing method and device, electronic equipment and computer readable medium
KR102169311B1 (en) Subscription method using smart contract based block chain
CN112508712A (en) Client data processing method, device, medium and electronic equipment
CN113822690A (en) Advertisement conversion amount determining method and device and related equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40017494

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant