CN111444209A - Data processing method, device, equipment and medium based on block chain - Google Patents

Data processing method, device, equipment and medium based on block chain Download PDF

Info

Publication number
CN111444209A
CN111444209A CN202010221633.0A CN202010221633A CN111444209A CN 111444209 A CN111444209 A CN 111444209A CN 202010221633 A CN202010221633 A CN 202010221633A CN 111444209 A CN111444209 A CN 111444209A
Authority
CN
China
Prior art keywords
terminal
digital asset
block
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
CN202010221633.0A
Other languages
Chinese (zh)
Other versions
CN111444209B (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 CN202010221633.0A priority Critical patent/CN111444209B/en
Publication of CN111444209A publication Critical patent/CN111444209A/en
Application granted granted Critical
Publication of CN111444209B publication Critical patent/CN111444209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the application discloses a data processing method, a device, equipment and a medium based on a block chain, wherein the method comprises the following steps: responding to an acquisition request of a first terminal for a data certificate, and verifying the validity of the first terminal according to first transaction information; if the first terminal has validity, inquiring an intelligent contract associated with the data certificate from the block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information; and sending the target data certificate and the first digital asset to a second terminal, establishing a first block in the block chain, and recording first attribution information of the first digital asset in the first block so that the second terminal reimburses the data certificate according to the first digital asset and the first attribution information. By adopting the embodiment of the application, the safety of the data certificate can be improved.

Description

Data processing method, device, equipment and medium based on block chain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a medium for processing data based on a blockchain.
Background
The data certificate refers to the business certificate issued and collected by all enterprises and individuals in purchasing and selling goods, providing or receiving services and doing other business activities, such as the original basis of accounting, and the important basis of law enforcement inspection of auditing agencies and tax authorities. For enterprises, the data certificate is mainly the basis for making accounts for the enterprises, and is also a tax payment certificate; for employees, the data voucher is mainly used for reimbursement.
The biggest problem of the existing data certificate is that the data certificate can be copied for multiple times, each copied data certificate is the same, and which data certificate is the original cannot be determined, so that the situation that illegal personnel use the data certificate to conduct repeated reimbursement exists, the safety of the data certificate is low, and great loss is brought to enterprises or individuals.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a data processing medium based on a block chain, so that the safety of a data certificate is improved, and the loss of an enterprise or an individual is reduced.
An embodiment of the present application provides a data processing method based on a block chain, including:
responding to an acquisition request of a first terminal for a data certificate, and verifying the legality of the first terminal according to first transaction information, wherein the acquisition request comprises the first transaction information, and the first transaction information is generated by the target service transaction between the first terminal and a second terminal;
if the first terminal has validity, inquiring an intelligent contract related to the data certificate from the block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information;
and sending the target data certificate and the first digital asset to the second terminal, establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset is currently attributed to the second terminal, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information.
Optionally, the method further includes: responding to a reimbursement request of the second terminal for the target data certificate, and acquiring a block in the block chain, which records attribution information of the first digital asset, as a candidate block set, wherein the candidate block set comprises the first block; acquiring the latest attribution information of the first digital asset from the to-be-selected block set; determining the reimbursement state of the target data certificate according to the latest attribution information; if the reimbursement status of the target data voucher is an unreleased status, transferring the first digital asset from the second terminal to a third terminal so that the third terminal transfers a first amount of electronic resources to the second terminal according to the first transaction information, wherein the third terminal is a terminal corresponding to an organization to which the second terminal belongs; and establishing a second block in the block chain, and recording second attribution information of the first digital asset into the second block, wherein the second attribution information is used for indicating that the first digital asset is currently attributed to the third terminal, and the second attribution information is used for indicating that the reimbursement state of the target data certificate is a reimbursed state.
Optionally, determining the reimbursement status of the target data credential according to the latest attribution information includes: if the latest attribution information indicates that the first digital asset belongs to the second terminal, determining that the reimbursement state of the target data certificate is an unremitted state; and if the latest attribution information indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
Optionally, the obtaining the latest attribution information of the first digital asset from the candidate block set includes: using attribution information in the block with the largest block height in the block set to be selected as the latest attribution information of the first digital asset; or, the attribution information of the block with the latest time corresponding to the block generation time stamp in the block set to be selected is used as the latest attribution information of the first digital asset.
Optionally, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal for executing the target service transaction; generating a first digital asset from the first transaction information, comprising: obtaining an additional certificate associated with the first transaction information from the blockchain, the additional certificate including a second amount of electronic resources returned to the second terminal by the first terminal to execute the target business transaction; the first digital asset is generated based on the first quantity and the second quantity of electronic resources.
Optionally, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal for executing the target service transaction; verifying the validity of the first terminal according to the first transaction information, comprising: acquiring a historical data certificate associated with the first terminal in a first time period, wherein the historical data certificate comprises a third quantity of electronic resources acquired by the first terminal for executing historical service transactions; and acquiring the sum of the first quantity and the third quantity, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
Optionally, verifying the validity of the first terminal according to the first transaction information includes: acquiring the times of the first terminal requesting to acquire the data certificate in a second time period; and if the times are less than the times threshold value, determining that the first terminal has validity.
Optionally, the first transaction information includes an identifier of the target service transaction; verifying the validity of the first terminal according to the first transaction information, comprising: reading second transaction information associated with the identifier of the target service transaction from the blockchain, wherein the second transaction information is uploaded to the blockchain by the second terminal; and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
An aspect of an embodiment of the present application provides a data processing apparatus based on a block chain, including:
the validity verifying module is used for responding to an acquisition request of a first terminal for a data certificate and verifying the validity of the first terminal according to first transaction information, wherein the acquisition request comprises the first transaction information, and the first transaction information is generated by the target service transaction between the first terminal and a second terminal;
the data creating module is used for inquiring an intelligent contract related to a data certificate from a block chain if the first terminal has validity, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information;
a data sending module, configured to send the target data certificate and the first digital asset to the second terminal, establish a first block in the block chain, record first attribution information of the first digital asset to the first block, where the first attribution information is used to indicate that the first digital asset is currently attributed to the second terminal, and the first attribution information is used to indicate a reimbursement status of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information.
Optionally, the apparatus further comprises: a data reimbursement module, configured to, in response to a reimbursement request of the second terminal for the target data credential, obtain a block in the block chain, where the attribution information of the first digital asset is recorded, as a candidate block set, where the candidate block set includes the first block; acquiring the latest attribution information of the first digital asset from the to-be-selected block set; determining the reimbursement state of the target data certificate according to the latest attribution information; if the reimbursement status of the target data voucher is an unreleased status, transferring the first digital asset from the second terminal to a third terminal so that the third terminal transfers a first amount of electronic resources to the second terminal according to the first transaction information, wherein the third terminal is a terminal corresponding to an organization to which the second terminal belongs; and establishing a second block in the block chain, and recording second attribution information of the first digital asset into the second block, wherein the second attribution information is used for indicating that the first digital asset is currently attributed to the third terminal, and the second attribution information is used for indicating that the reimbursement state of the target data certificate is a reimbursed state.
Optionally, the data reimbursement module is specifically configured to determine that the reimbursement status of the target data certificate is an unremitted status if the latest attribution information indicates that the first digital asset belongs to the second terminal; and if the latest attribution information indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
Optionally, the data reimbursement module is specifically configured to use attribution information of a block with a largest block height in the candidate block set as latest attribution information of the first digital asset; or, the attribution information of the block with the latest time corresponding to the block generation time stamp in the block set to be selected is used as the latest attribution information of the first digital asset.
Optionally, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal for executing the target service transaction; the data creating module is specifically configured to acquire, from the blockchain, an additional credential associated with the first transaction information, where the additional credential includes a second amount of electronic resources returned to the second terminal by the first terminal to execute the target business transaction; the first digital asset is generated based on the first quantity and the second quantity of electronic resources.
Optionally, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal for executing the target service transaction; the validity verifying module is specifically configured to obtain a historical data certificate associated with the first terminal within a first time period, where the historical data certificate includes a third amount of electronic resources obtained by the first terminal executing a historical service transaction; and acquiring the sum of the first quantity and the third quantity, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
Optionally, the validity verifying module is specifically configured to obtain the number of times that the first terminal requests to obtain the data credential in the second time period; and if the times are less than the times threshold value, determining that the first terminal has validity.
Optionally, the first transaction information includes an identifier of the target service transaction; the validity verifying module is specifically configured to read second transaction information associated with the identifier of the target service transaction from the blockchain, where the second transaction information is uploaded to the blockchain by the second terminal; and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
One aspect of the present application provides a computer device, comprising: a processor, a memory, a network interface;
the processor is connected to a memory and a network interface, wherein the network interface is used for providing a data communication function, the memory is used for storing a computer program, and the processor is used for calling the computer program to execute the method in the aspect in the embodiment of the present application.
An aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the above-mentioned method for processing data based on a block chain of the first aspect.
In the embodiment of the application, the legality of the first terminal is verified according to the first transaction information, so that an illegal terminal can be prevented from acquiring the target data certificate corresponding to the first transaction information, and the security of acquiring the target data certificate is improved. Therefore, when the first terminal has validity, inquiring an intelligent contract associated with the data certificate from the block chain, calling the intelligent contract according to the storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information; and sending the target data certificate and the first digital asset to a second terminal, establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset belongs to the second terminal currently, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information. Since the first attribution information is used for indicating the reimbursement status of the target data certificate, the first attribution information is stored in the blockchain, cannot be tampered, and can make the first digital asset impossible to copy; therefore, the first digital asset corresponds to a target data certificate, i.e. the target data certificate cannot be copied; the target data certificate can be reimbursed only once, so that the illegal action that the target data certificate is reimbursed can be avoided, the loss is reduced, and the safety of the target data certificate is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1a is a block diagram of a data processing system according to an embodiment of the present application;
FIG. 1b is a schematic diagram of a block link point system according to an embodiment of the present disclosure;
fig. 1c is a block chain diagram according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present application;
fig. 3 is a schematic diagram of a business transaction information uplink process according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a block chain-based data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
Referring to fig. 1a, fig. 1a is a schematic diagram of an architecture of a data processing system according to an embodiment of the present disclosure. The system architecture diagram comprises a block chain node system, a first terminal, a second terminal and a third terminal, wherein the first terminal can be a terminal held by a merchant, the second terminal can be a terminal held by a consumer, the third terminal can be a terminal corresponding to a mechanism to which the consumer belongs, for example, a terminal of a unit in which the consumer is located, and the block chain node system can be a terminal corresponding to a related tax mechanism. The first terminal can be used for providing various services, executing service transactions, requesting to generate data certificates corresponding to the service transactions, and the like; the business may include service business, which may include catering, psychological counseling, medical services, etc., or commodity business transaction, which may include selling clothing, food, living goods, etc. The service transaction may refer to a process in which the user pays a fee required for the service after the first terminal provides the service for the user, the data credential may refer to information for proving the service transaction, specifically, an invoice, and the data credential may include time, place, and paid fee of the purchased service. The second terminal can be used for carrying out service transaction with the first terminal and reimbursing the expense of the service transaction to the third terminal by adopting the data certificate; the third terminal may be operable to pay the second terminal a fee paid for the transaction.
The node device, the first terminal, the second terminal and the third terminal in the block link Point system may be computer devices, including mobile phones, tablet computers, notebook computers, palmtop computers, smart audio devices, mobile internet devices (MID, mobile internet devices), POS (Point Of Sales) machines, wearable devices (e.g., smart watches, smart bracelets, etc.), and the like; the method can also refer to an independent server, a server cluster consisting of a plurality of servers, or a cloud computing center.
In addition, please refer to fig. 1b, fig. 1b is a schematic diagram of a block link point system according to an embodiment of the present disclosure. As shown in fig. 1b, a block-linked point system may include a plurality of nodes, each of which may receive input information during normal operation and maintain transaction information data in the block-linked point system based on the received input information. In order to ensure information intercommunication in the block link point system, information connection can exist between each node in the block link point system, and information transmission can be carried out between the nodes through the information connection. For example, when any node in the blockchain node system receives input information, other nodes in the blockchain node system acquire the input information according to a consensus algorithm, and store the input information as data in transaction information data, so that the data stored in all nodes in the blockchain node system are consistent.
Each node in the block chain node point system has a corresponding node identifier, and each node in the block chain node point system can store the node identifiers of other nodes in the block chain node point system, so that the generated block can be broadcast to other nodes in the block chain node point system according to the node identifiers of other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node in the blockchain nodal system stores one identical blockchain. Referring to fig. 1c, fig. 1c is a schematic block chain diagram provided in an embodiment of the present application, as shown in fig. 1c, the block chain is composed of a plurality of blocks, a starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp, and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
In view of the above problems of the data processing method based on the blockchain, the embodiment of the present application provides a data processing method based on the blockchain, which utilizes an intelligent contract in the blockchain technology and the non-tamper-able property of the blockchain to process a target business transaction, that is, a data processing method based on the blockchain is provided, wherein the intelligent contract, that is, a computerized protocol, can execute the terms of a certain contract, is implemented by a code deployed on a shared ledger and used for executing when a certain condition is met, and is used for completing an automated transaction according to an actual business requirement code, of course, the intelligent contract is not limited to executing a contract for a transaction, but can also execute a contract for processing received information. The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission (P2P transmission), consensus mechanism, encryption algorithm and the like, and is essentially a decentralized database; the blockchain can be composed of a plurality of serial transaction records (also called blocks) which are connected in series by cryptography and protect the contents, and the distributed accounts connected in series by the blockchain can effectively record the transactions by multiple parties and can permanently check the transactions (can not be tampered). The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the block chain network; that is, the consensus mechanism is a mathematical algorithm commonly recognized by network nodes in the blockchain.
Further, as shown in fig. 1a, in the process of implementing the data processing method based on the blockchain, for example, after a consumer corresponding to the second terminal purchases a commodity a from a merchant corresponding to the first terminal, the first terminal may generate first transaction information, where the first transaction information may include a name of the commodity a, a name of a transaction participant (a name of the merchant, a name of the consumer, and a name of an organization to which the consumer belongs, etc.), a transaction time, a transaction location, a fee paid by the transaction, and the like; and sending the first transaction information to the second terminal. Correspondingly, the second terminal can generate an acquisition request aiming at the data certificate according to the first transaction information, wherein the acquisition request carries the first transaction information; the authenticity of the first transaction information may be verified as well as verifying whether the first terminal has the right to request generation of the data credential. If the first transaction information does not have authenticity or the first terminal does not have the authority of requesting to generate the data certificate, the first terminal is determined not to have legality, namely the first terminal is an illegal terminal, and the generation of the data certificate data can be refused. If the first transaction information has authenticity and/or the first terminal has the authority of requesting to generate the data certificate, determining that the first terminal has validity; inquiring an intelligent contract related to the data certificate from the blockchain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate (namely an invoice) corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information. Sending the target data certificate (invoice) and the first digital asset to the second terminal, namely, the consumer corresponding to the second terminal can reimburse the target data certificate (invoice) at the institution to which the consumer belongs according to the first digital asset; therefore, the illegal behavior that the target data certificate is repeatedly reimbursed can be avoided, the loss is reduced, and the safety of the data certificate is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data processing method based on a blockchain according to an embodiment of the present application, where the method is applied to a node device in a blockchain network, where the node device may refer to a computer device; as shown in fig. 2, the method includes:
s101, responding to an acquisition request of the first terminal for the data certificate, and verifying the validity of the first terminal according to the first transaction information.
In an alternative scenario, the data voucher may be, for example, an invoice, financial instrument, or bank check, among others. The data certificate acquisition request comprises first transaction information, and the first transaction information is generated when the first terminal and the second terminal perform target service transaction. The target service transaction may refer to a process in which the second terminal pays a required fee for the target service after the first terminal provides the target service to the second terminal, and the target service may refer to a commodity sold or a service provided.
Optionally, verifying the validity of the first terminal according to the first transaction information may refer to: verifying the authenticity of the first transaction information, and if the first transaction information is authentic, determining that the first terminal is legal; if the first transaction information does not have authenticity, it is determined that the first terminal is not legitimate. For example, whether transaction information matched with the first transaction information exists on the first transaction information verification block chain is verified, if yes, the first transaction information is generated by executing the target business transaction, the first transaction information is determined to have authenticity, and the first terminal is determined to have validity; if the first transaction information does not exist, the first transaction information is forged or the first transaction information is falsified, the first transaction information is determined not to have authenticity, and the first terminal is determined not to have legality.
Optionally, verifying the validity of the first terminal according to the first transaction information may refer to: verifying whether the first transaction information meets reimbursement conditions, namely verifying whether the first terminal has the authority of requesting to generate a data certificate; if the first terminal has the authority of requesting to generate the data certificate, determining that the first terminal has legality; and if the authority is not satisfied, namely the first terminal does not have the authority of requesting to generate the data certificate, determining that the first terminal does not have the legality. The reimbursement conditions include whether the requested reimbursement credit meets a credit threshold, whether the number of reimbursement requests of the first terminal within the second time period meets a number threshold, whether the first transaction information belongs to a reimburseable transaction type, and the like. For example, the number threshold is 5000, the amount requested for reimbursement is 6000 yuan, and the first transaction information does not satisfy the reimbursement condition, and the first terminal is determined not to have validity.
The first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal to execute the target service transaction, a transaction platform, transaction contents, transaction participants, transaction time, and an identification of the target service transaction, and so on. The first quantity of the electronic resource may be a transaction amount in the target business transaction, for example, if the transaction amount in the target business transaction is 100 yuan, the first quantity of the electronic resource is 100. The transaction platform may include, for example, a social application or payment application, among others. The transaction content may include, for example, the nature of the transaction or the nature of the transaction, such as dining, entertainment, and so forth. The transaction participants may include participants associated with the first terminal, such as merchants, participants associated with the second terminal, such as consumers, and so forth. The transaction time may be, for example, a specific time at which the transaction occurred, e.g., 2020.2.14.12:10, etc.
Electronic resources herein refer to funds for purchasing digital assets, which may include at least french currency, electronic currency, and the like; the legal currency is a currency which is given to the legal currency for forced circulation, such as RMB, USD and the like; electronic money is money that is stored in electronic form in an electronic wallet held by a user. An on-chain transaction refers to a transaction of a digital asset in a blockchain network, where a first digital asset may include, but is not limited to: electronic tickets, digital currency (an unregulated, digitized currency), gaming resources (e.g., gaming chips, gaming equipment, etc.), and so forth.
The identification of the target business transaction is used to uniquely indicate the target business transaction. Specifically, the identifier of the target business transaction may be one or more of a number of the target business transaction, a full name of the target business transaction, a name abbreviation of the target business transaction, and the like. For example, the identifier of the target business transaction may be an order of business transactions completed by the first terminal on the current day (e.g., 2020.2.14 days), for example, 50 business transactions completed by the first terminal on 2020.2.14 days, 20 th business transaction out of 50 business transactions, the identifier of the target business transaction may be 2020.2.14.20, and so on.
Optionally, before verifying the validity of the first terminal according to the first transaction information, each block in the block chain may be generated according to target transaction information input by the first terminal or the second terminal. When generating each block in the block chain, referring to fig. 3, fig. 3 is a schematic diagram of a service transaction information chaining process provided in an embodiment of the present application, where a node where the block chain is located verifies input information (service transaction information) when receiving the input information, and after completing the verification, stores the input information in a memory pool and updates a hash tree used for recording the input information; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein SHA256 is a eigenvalue algorithm used to calculate eigenvalues; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the block chain link point system where the newly generated blocks are located according to the node identifications of the other nodes in the block chain link point system, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
In the embodiment of the application, the validity of the first terminal can be verified according to the first transaction information in any one of the following modes or in combination of the following modes;
in the first mode, second transaction information associated with the identifier of the target service transaction can be read from the blockchain, wherein the second transaction information is uploaded to the blockchain by the second terminal; and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
Here, the matching of the first transaction information and the second transaction information may include that the first amount of the electronic resource, the transaction platform, the transaction content, the transaction participant, the transaction time, and the identifier of the target service transaction are consistent, and then the first transaction information is matched with the second transaction information.
Specifically, for example, if the identifier of the target business transaction is 2020.2.14.20, the second transaction information associated with 2020.2.14.20 is read from the blockchain, and the second transaction information may be uploaded to the blockchain by the second terminal (consumer), and if the second transaction information is read from the blockchain and the first transaction information matches the second transaction information, it is determined that the first terminal is legal. It can be understood that, if the second transaction information associated with the identifier of the target service transaction is read from the blockchain, but any item of the first quantity of the electronic resource, the transaction platform, the transaction content, the transaction participant or the transaction time included in the second transaction information is inconsistent with the first transaction information, it is considered that the first transaction information is not matched with the second transaction information, which indicates that the first transaction information is tampered, and therefore, it is determined that the first terminal does not have validity.
In a second mode, a historical data certificate associated with the first terminal in a first time period can be acquired, wherein the historical data certificate comprises a third quantity of electronic resources acquired by the first terminal for executing the historical service transaction; and acquiring the sum of the first quantity of the electronic resources and the third quantity of the electronic resources, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
Here, the first time period may be, for example, a day, a week, a month, etc., and the quantity threshold may be, for example, a value of 1000, 2000, 5000, etc., and the first time period and the quantity threshold are not limited in this embodiment of the application. The historical data credentials associated with the first terminal may be data credentials generated by the first terminal, and it is understood that the number of the first terminals may be one or more, for example, if a merchant holding the first terminal has 2 first terminals, respectively, terminal a and terminal b, then the historical data credentials may include all data credentials generated by terminal a and terminal b in the first time period. Here, the quantity threshold may be a quota for requesting reimbursement included in the reimbursement condition, and the sum of the quantities less than the quantity threshold may be: the sum of the quantities is less than the amount requested for reimbursement. Therefore, if the sum of the quantities is smaller than the quantity threshold value, the first transaction information meets the reimbursement condition, and the first terminal is determined to be legal.
The historical data certificate is generated by the first terminal executing the historical business transaction. The third amount of electronic resources comprises a total amount of all electronic resources acquired by historical business transactions performed by the first terminal over the first time period. For example, the first terminal performs 3 service transactions in the first time period, and acquires the data certificate for each service transaction, the number of the electronic resources acquired by the first terminal performing the 3 service transactions is 100, 150, and 200, respectively, and the third number of the electronic resources acquired by the first terminal performing the historical service transactions is 450. The first quantity of the electronic resources is 300, the quantity threshold is 1000, and the sum of the first quantity of the electronic resources and the third quantity of the electronic resources is 300+450, which is 750 smaller than 1000, and it is determined that the first terminal is legal.
For example, the sum of the first amount of the electronic resource and the third amount of the electronic resource is 800, the first amount of the electronic resource is 300, and the amount threshold is 1000, and when 800+300 is greater than 1100, it is determined that the first terminal does not have the validity. By comparing the relation between the sum of the third quantity of the electronic resources and the first quantity of the electronic resources in the historical data certificate associated with the first terminal in the first time period and the quantity threshold, the data certificate acquired by the first terminal can be controlled, and the first terminal is prevented from excessively acquiring the data certificate.
In a third mode, the times of requesting to acquire the data certificate in the second time period by the first terminal can be acquired; and if the times of requesting to acquire the data certificate in the second time period by the first terminal are less than the time threshold, determining that the first terminal has validity.
Here, the second period of time may be, for example, a day, a week, a month, or the like. The second time period may be equal to the first time period, or the second time period may not be equal to the first time period, and the number threshold may be, for example, 30, 50, 100, and the like, and the second time period and the number threshold are not limited in this embodiment of the application. Here, the number threshold may be a number of requested reimbursements included in the reimbursement condition, and the number of times smaller than the number threshold may be: the number of requested reimbursements is less than a number threshold. Therefore, if the times are smaller than the time threshold value, the first transaction information meets the reimbursement condition, and the first terminal is determined to be legal.
For example, if the second time period is one day, for example, 2020.1.13 days, the number of times that the first terminal requests to acquire the data certificate on 2020.1.13 days may be obtained, for example, the threshold number of times is 40, the first terminal completes 30 business transactions on 2020.1.13 days, and each business transaction requests to acquire the data certificate, and the number of times that the first terminal requests to acquire the data certificate in the second time period is 30 times, it is determined that the first terminal is legal; and if the time threshold is 40 and the time of the first terminal requesting to acquire the data certificate in the second time period is 41 times, determining that the first terminal does not have the legality. By acquiring the relationship between the number of times that the first terminal requests to acquire the data certificate in the second time period and the number threshold, the data certificate acquired by the first terminal can be controlled, and the first terminal is prevented from excessively acquiring the data certificate.
S102, if the first terminal is legal, inquiring an intelligent contract related to the data certificate from the block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information.
Here, since there may be multiple intelligent contracts in a block chain, since each intelligent contract corresponds to a memory address, the intelligent contract may be invoked according to the memory address. By invoking the smart contract, a target data credential corresponding to the first transaction information may be created from the first transaction information, and the first digital asset may be generated from the first transaction information. Since the first transaction information includes the first quantity of the electronic resource paid to the first terminal by the second terminal for executing the target service transaction, the transaction platform, the transaction content, the transaction participant, the transaction time, the identifier of the target service transaction, and the like, the intelligent contract on the blockchain is invoked to create the target data certificate corresponding to the first transaction information according to the first transaction information, which includes the first quantity of the electronic resource paid to the first terminal by the second terminal for executing the target service transaction, the transaction platform, the transaction content, the transaction participant, the transaction time, the identifier of the target service transaction, and the like.
The first digital asset having at least one input and at least one output, the input of the first digital asset representing a source of the first digital asset; the Output of the first digital asset represents the destination of the first digital asset, which may also be referred to as an Unspent Transaction Output (UTXO). The reimbursement status of the target digital voucher data can be determined based on the UTXO of the first digital asset, in particular if the UTXO of the first digital asset is a second terminal indicating that said first digital asset has been transferred from said blockchain to said second terminal, i.e. the first digital asset is attributed to the second terminal; and determining that the reimbursement state of the target data certificate is an unremitted state, namely that the target data certificate belongs to the second terminal. If the UTXO of the first digital asset is a third terminal, indicating that the first digital asset is transferred from the second terminal to the third terminal, namely the first digital asset belongs to the third terminal; and determining that the reimbursement state of the target data certificate is the reimbursement state, namely that the target data certificate belongs to the third terminal. It can be seen that the actual owner of the target data certificate and the circulation process of the target data certificate can be determined by determining the attribution of the first digital asset, and even if a plurality of terminals have the same target data certificate, the actual owner of the target data certificate can be determined according to the attribution of the first digital asset, so that even if the target data certificate is copied, the copied obtained target data certificate has no corresponding first digital asset, and therefore, the copied obtained target data certificate cannot be reimbursed, namely, the target data certificate can only be reimbursed once.
The value of the first digital asset is equal to the value of the first amount of electronic resources, i.e., the value of the digital currency or game resources corresponding to the first digital asset is equal to the value of the first amount of electronic resources. For example, the first electronic resource is 100 yuan, the first digital asset may be 100 yuan electronic ticket or 200 coins, and it can be known that the value of the 200 coins is the same as the value of the 100 yuan coin, that is, 100 yuan coin is spent for purchasing the 200 coins. For example, if the first digital asset is sent from the first terminal to the second terminal, the target data credential is assigned to the second terminal, the second terminal can reimburse the first digital asset at the third terminal according to the target data credential, and if the second terminal reimburses the first digital asset, the second terminal sends the first digital asset to the third terminal, and the target data credential is assigned to the third terminal.
Optionally, generating the first digital asset according to the first transaction information may include:
firstly, acquiring an additional certificate associated with first transaction information from a blockchain, wherein the additional certificate comprises a second quantity of electronic resources returned to a second terminal by the first terminal for executing the target service transaction;
in one possible scenario, the target data credential corresponding to the first transaction information may be, for example, a blue ticket in the invoice, that is, an original invoice generated according to the target business transaction information, and the additional credential may be, for example, a red ticket corresponding to the blue ticket. The red ticket is an invoice which is flushed with red paper if goods sales return occurs in target business transaction or if the blue ticket issued according to the target business transaction cannot be authenticated by a blue ticket counterpart or if the blue ticket issued by mistake in the business transaction due to the name of goods, the price of goods or the quantity of goods needs to be issued again.
A first digital asset is then generated from the first quantity of electronic resources and the second quantity of electronic resources.
Here, the absolute value of the first number is greater than or equal to the absolute value of the second number, the first number may be, for example, 50, 80, 100, etc., and the second number may represent a negative number, for example, -50, -80, -100, etc. The first digital asset may be derived by summing the first quantity and the second quantity. For example, the first quantity is 100 and the second quantity is-50, then the first digital asset is 100+ (-50) 50.
In a specific implementation, the additional certificate associated with the first transaction information may be obtained from the blockchain, for example, if the target data certificate corresponding to the first transaction information created according to the first transaction information is a blue ticket, the additional certificate associated with the first transaction information is a red ticket associated with the blue ticket, the blue ticket includes a first quantity of electronic resources paid to the first terminal by the second terminal to execute the target service transaction, the red ticket includes a second quantity of electronic resources returned to the second terminal by the first terminal to execute the target service transaction, and the first digital asset is generated according to a sum of the first quantity and the second quantity.
S103, the data certificate and the first digital asset are sent to a second terminal, a first block is established in a block chain, and first attribution information of the first digital asset is recorded in the first block, so that the second terminal can reimburse the target data certificate according to the first digital asset and the first attribution information.
Here, the attribution information of the first digital asset may be used to indicate which terminal the first digital asset currently belongs to, and to indicate the reimbursement status of the target credential data. For example, the first attribution information of the first digital asset is used for indicating that the first digital asset is currently attributed to the second terminal, and the first attribution information of the first digital asset is used for indicating the reimbursement state of the target data certificate, that is, the first attribution information is used for indicating that the target data certificate is in an unremitted state, that is, only the second terminal qualifies for reimbursement for the target certificate. When the attribution information of the first digital asset is used for indicating that the first digital asset belongs to other terminals, at this time, the attribution information of the first digital asset is used for indicating that the reimbursement state of the target data voucher is a reimbursed state.
Specifically, after the second terminal forwards the electronic resource corresponding to the first digital asset from the account bound with the second terminal to the account bound with the first terminal, the target data certificate and the first digital asset are sent to the second terminal, and the first digital asset and the target data certificate belong to the second terminal. Establishing a first block in the block chain, recording first attribution information of a first digital asset into the first block, so that the first attribution information of the first digital asset can be recorded onto the block chain, and subsequently determining the attribution party of the first digital asset by inquiring the attribution information of the first digital asset recorded in the block chain, thereby determining whether the target data certificate reimburses. And, it can be ensured that the first attribution information can not be tampered, so that the first digital asset can not be copied, and the target data certificate can be prevented from being reimbursed.
Optionally, the second terminal may reimburse the target data credential at a third terminal corresponding to the mechanism to which the second terminal belongs according to the first digital asset, so that the second terminal may obtain the electronic resource corresponding to the first digital asset, and the third terminal may obtain the target data credential and the first digital asset.
Optionally, after the first terminal sends the target data credential and the first digital asset to the second terminal, a secondary data credential corresponding to the target data credential may also be obtained, where the secondary data credential may be a stub, for example, and the transaction information in the secondary data credential should be consistent with the transaction information in the target data credential. By generating the secondary data certificate, the merchant holding the first terminal can confirm whether the target business transaction information is correct by checking the secondary data certificate, and it can be understood that the second terminal cannot reimburse according to the secondary data certificate.
In the embodiment of the application, the legality of the first terminal is verified according to the first transaction information, so that an illegal terminal can be prevented from acquiring the target data certificate corresponding to the first transaction information, and the security of acquiring the target data certificate is improved. Therefore, when the first terminal has validity, inquiring an intelligent contract associated with the data certificate from the block chain, calling the intelligent contract according to the storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information; and sending the target data certificate and the first digital asset to a second terminal. Establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset belongs to the second terminal currently, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information. Since the first attribution information of the first digital asset is used for indicating the reimbursement status of the target data certificate, the first attribution information can not be tampered by recording the first attribution information into the blockchain, so that the first digital asset can not be copied. That is, the first digital asset corresponds to a target data credential that cannot be copied; that is, when the target data certificate is in an unrereimbursed state, the terminal having the first digital asset and the target data certificate has the qualification of reimbursing the target data certificate, so that the target data certificate can be reimbursed only once, thereby avoiding the illegal action of reimbursing the target data certificate, reducing the loss and improving the security of the target data certificate.
Optionally, the second terminal may reimburse the first digital asset according to the target data credential, specifically, please refer to fig. 4, where fig. 4 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present application. The method is applied to node equipment in a block chain network, and the node equipment can be computer equipment; as shown in fig. 4, the method includes:
s201, responding to the acquisition request of the first terminal for the data certificate, and verifying the validity of the first terminal according to the first transaction information.
S202, if the first terminal is legal, inquiring an intelligent contract related to the data certificate from the block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information.
S203, the target data voucher and the first digital asset are sent to a second terminal, a first block is established in a block chain, and first attribution information of the first digital asset is recorded in the first block, so that the second terminal can reimburse the target data voucher according to the first digital asset and the first attribution information.
Here, the specific implementation manner of steps S201 to S203 may refer to the description of steps S101 to S103 in the embodiment corresponding to fig. 2, and is not described herein again.
S204, responding to a reimbursement request of the second terminal for the target data certificate, and acquiring a block recording the attribution information of the first digital asset in the block chain as a candidate block set.
Here, the candidate block set includes the first block. In a specific implementation, a user holding a second terminal may send a reimbursement request for a target data certificate through the second terminal, and when the block link point system receives the reimbursement request, respond to the reimbursement request for the target data certificate by the second terminal, thereby acquiring a block in the block chain, which records attribution information of the first digital asset, as a candidate block set. It can be known that the candidate blocks include at least one block, and each block in the candidate block set records attribution information of the first digital asset, and the attribution information of the first digital asset recorded in each block is different.
S205, acquiring the latest attribution information of the first digital asset from the block set to be selected.
Here, since each block corresponds to a block height and a timestamp, the block height or the timestamp of each block in the candidate block set may be determined in one or more of the following manners, so as to determine the latest attribution information of the first digital asset in the candidate block set:
in the first mode, the attribution information of the block with the largest block height in the block set to be selected is used as the latest attribution information of the first digital asset. For example, the candidate block set includes 3 blocks, namely, a block a1, a block b1, and a block c1, the block heights corresponding to the 3 blocks are 1, 3, and 5, respectively, and if the block with the largest block height is the block c1, the attribution information in the block c1 is used as the latest attribution information of the first digital asset.
In the second mode, attribution information in the block with the latest time corresponding to the block generation time stamp in the block set to be selected is used as the latest attribution information of the first digital asset. For example, the candidate block set includes 3 blocks, namely, a block a2, a block b2, and a block c2, the times corresponding to the 3 block generation timestamps are respectively 10 days at 2020 th 2 month, 15 days at 2020 nd 2 month, and 13 days at 2020 nd 3 month, and the attribution information of the first digital asset in the 3 blocks is respectively the second terminal, the third terminal, and the fourth terminal, so that the block with the latest time corresponding to the block generation timestamp is a block c2, and the attribution information in the block c2 is used as the latest attribution information of the first digital asset, that is, the latest attribution information of the first digital asset is the fourth terminal.
S206, determining the reimbursement state of the target data voucher according to the latest attribution information of the first digital asset.
Specifically, if the latest attribution information of the first digital asset indicates that the first digital asset belongs to the second terminal, determining that the reimbursement state of the target data certificate is an unremitted state; and if the latest attribution information of the first digital asset indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
Optionally, if the latest attribution information of the first digital asset indicates that the first digital asset belongs to the fourth terminal, the reimbursement status of the target data certificate may represent a reimbursed and tax-released status; and if the latest attribution information of the first digital asset indicates that the first digital asset belongs to the third terminal, the reimbursement state representing the target data certificate is a reimbursed but not tax-cancelled state. Here, the fourth terminal may be, for example, a terminal corresponding to a tax authority.
And S207, if the reimbursement state of the target data voucher is the non-reimbursement state, transferring the first digital asset from the second terminal to the third terminal, so that the third terminal transfers the first quantity of electronic resources to the second terminal according to the first transaction information.
Here, the third terminal is a terminal corresponding to the organization to which the second terminal belongs. In a specific implementation, if the reimbursement status of the target data certificate is an unreleased status, the first digital asset is transferred from the second terminal to the third terminal, the third terminal transfers the first amount of electronic resources from the account bound with the third terminal to the account bound with the second terminal according to the first transaction information, and the affiliation party of the first digital asset is the third terminal.
For example, the first quantity of the electronic resource in the first transaction information is 100 yuan, and after the first digital asset is transferred from the second terminal to the third terminal, the third terminal transfers 100 yuan from the account bound with the third terminal to the account bound with the second terminal.
S208, establishing a second block in the block chain, and recording second attribution information of the first digital asset into the second block.
The second attribution information is used for indicating that the first digital asset belongs to the third terminal currently, and the second attribution information is used for indicating that the reimbursement state of the target data voucher is a reimbursed state. The second block records second attribution information of the first digital asset, namely the second block records that the first digital asset currently belongs to the third terminal.
Optionally, after the first digital asset is transferred from the third terminal to the fourth terminal, a third block may be established in the block chain, and third attribution information of the first digital asset may be recorded in the third block. Here, the fourth terminal may be, for example, a terminal corresponding to a relevant tax authority, the third attribution information is used to indicate that the first digital asset is currently attributed to the fourth terminal, and the third attribution information is used to indicate that the reimbursement status of the target data voucher is a reimbursed and tax-cancelled status. Third attribution information of the first digital asset is recorded in the third block, namely the third block records that the first digital asset is currently attributed to the fourth terminal.
By establishing a new block in the block chain, wherein the new block comprises the second block or the third block, and recording new attribution information of the first digital asset into the new block, each node on the block chain can be enabled to record the new attribution information of the first digital asset, so that the latest attribution information of the first digital asset can be determined according to the attribution information of the first digital asset in each block. Even if a certain block chain node has the problem of data damage, the integral data integrity is not influenced; meanwhile, the non-tamper-proof property of the block link storage data can be fully utilized, so that the same data certificate is prevented from being reimbursed for many times, whether the target data certificate is reimbursed or not can be accurately inquired when the state of the target data certificate is inquired subsequently, and the accuracy of reimbursement of the data certificate is improved.
In the embodiment of the application, whether the target data certificate has been reimbursed or not is determined by determining the state of the target data certificate, and after reimbursement is performed on the target data certificate, a new block, namely a second block, is established in the block chain, and attribution information after updating of the first digital asset is recorded in the new block, namely the reimbursement state of the target data certificate is indicated to be the reimbursed state. By recording the attribution information of the changed first digital assets on the block chain, the security of the state of the data voucher is guaranteed, the data voucher is prevented from being reimbursed for many times, and the data processing efficiency is improved.
The method of the embodiments of the present application is described above, and the apparatus of the embodiments of the present application is described below.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a structure of a block chain based data processing apparatus according to an embodiment of the present application, where the block chain based data processing apparatus may be a computer program (including program code) running in a computer device, for example, the block chain based data processing apparatus is an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. The apparatus 50 comprises:
a validity verifying module 501, configured to verify validity of a first terminal according to first transaction information in response to an acquisition request of the first terminal for a data credential, where the acquisition request includes the first transaction information, and the first transaction information is generated when the first terminal performs a target service transaction with a second terminal;
a data creating module 502, configured to query, if the first terminal is legal, an intelligent contract associated with the data credential from the block chain, invoke the intelligent contract according to a storage address of the intelligent contract, create a target data credential corresponding to the first transaction information according to the first transaction information, and generate a first digital asset according to the first transaction information;
a data sending module 503, configured to send the target data certificate and the first digital asset to the second terminal, create a first block in the block chain, record first attribution information of the first digital asset to the first block, where the first attribution information is used to indicate that the first digital asset is currently attributed to the second terminal, and the first attribution information is used to indicate a reimbursement status of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information.
In one possible design, the apparatus 50 further comprises: a data reimbursement module 504, configured to, in response to a reimbursement request of the second terminal for the target data credential, obtain a block in the block chain, where the block chain records attribution information of the first digital asset, as a candidate block set, where the candidate block set includes the first block;
the data reimbursement module 504 is further configured to obtain the latest attribution information of the first digital asset from the candidate block set;
the data reimbursement module 504 is further configured to determine an reimbursement status of the target data credential according to the latest attribution information;
the data reimbursement module 504 is further configured to transfer the first digital asset from the second terminal to a third terminal if the reimbursement status of the target data certificate is an unreleased status, so that the third terminal transfers a first amount of electronic resources to the second terminal according to the first transaction information, where the third terminal is a terminal corresponding to an organization to which the second terminal belongs;
the data reimbursement module 504 is further configured to establish a second block in the block chain, and record second attribution information of the first digital asset into the second block, where the second attribution information is used to indicate that the first digital asset is currently attributed to the third terminal, and the second attribution information is used to indicate that the reimbursement status of the target data certificate is a reimbursed status.
In one possible design, the data reimbursement module 504 is specifically configured to:
if the latest attribution information indicates that the first digital asset belongs to the second terminal, determining that the reimbursement state of the target data certificate is an unremitted state;
and if the latest attribution information indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
In a possible design, the data reimbursement module 504 is specifically configured to:
using attribution information in the block with the largest block height in the block set to be selected as the latest attribution information of the first digital asset; alternatively, the first and second electrodes may be,
and using the attribution information in the block with the latest time corresponding to the block generation time stamp in the block set to be selected as the latest attribution information of the first digital asset.
In one possible design, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal to perform the target business transaction;
the data creating module 502 is specifically configured to:
obtaining an additional certificate associated with the first transaction information from the blockchain, the additional certificate including a second amount of electronic resources returned to the second terminal by the first terminal to execute the target business transaction;
the first digital asset is generated based on the first quantity and the second quantity of electronic resources.
In one possible design, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal to perform the target business transaction;
the validity verifying module 501 is specifically configured to:
acquiring a historical data certificate associated with the first terminal in a first time period, wherein the historical data certificate comprises a third quantity of electronic resources acquired by the first terminal for executing historical service transactions;
and acquiring the sum of the first quantity and the third quantity, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
In one possible design, the validity verification module 501 is specifically configured to:
acquiring the times of the first terminal requesting to acquire the data certificate in a second time period;
and if the times are less than the times threshold value, determining that the first terminal has validity.
In one possible design, the first transaction information includes an identification of the targeted business transaction; the validity verifying module 501 is specifically configured to:
reading second transaction information associated with the identifier of the target service transaction from the blockchain, wherein the second transaction information is uploaded to the blockchain by the second terminal;
and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
It should be noted that, for the content that is not mentioned in the embodiment corresponding to fig. 5, reference may be made to the description of the method embodiment, and details are not described here again.
According to an embodiment of the present application, the steps involved in the block chain based data processing method shown in fig. 2 may be performed by respective modules in the block chain based data processing apparatus shown in fig. 5. For example, step S101 shown in fig. 2 may be performed by the validity verifying module 501 in fig. 5, and step S102 shown in fig. 2 may be performed by the data creating module 502 in fig. 5; step S103 shown in fig. 2 may be performed by the data transmission module 503 in fig. 5. According to an embodiment of the present application, each module in the data processing apparatus shown in fig. 5 may be respectively or entirely combined into one or several units to form the unit, or some unit(s) therein may be further split into multiple sub-units with smaller functions, which may implement the same operation without affecting implementation of technical effects of embodiments of the present application. The modules are divided based on logic functions, and in practical application, the functions of one module can be realized by a plurality of units, or the functions of a plurality of modules can be realized by one unit. In other embodiments of the present application, the data processing apparatus based on the blockchain may also include other units, and in practical applications, these functions may also be implemented by assistance of other units, and may be implemented by cooperation of a plurality of units.
According to an embodiment of the present application, the block chain based data processing apparatus as shown in fig. 5 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 2 on a general-purpose computer device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and a storage element, and the block chain based data processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded into and executed by the computing apparatus via the computer-readable recording medium.
In the embodiment of the application, the legality of the first terminal is verified according to the first transaction information, so that an illegal terminal can be prevented from acquiring the target data certificate corresponding to the first transaction information, and the security of acquiring the target data certificate is improved. Therefore, when the first terminal has validity, inquiring an intelligent contract associated with the data certificate from the block chain, calling the intelligent contract according to the storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information; and sending the target data certificate and the first digital asset to a second terminal. Establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset belongs to the second terminal currently, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information. Since the first attribution information of the first digital asset is used for indicating the reimbursement status of the target data certificate, the first attribution information can not be tampered by recording the first attribution information into the blockchain, so that the first digital asset can not be copied. That is, the first digital asset corresponds to a target data credential that cannot be copied; that is, when the target data certificate is in an unrereimbursed state, the terminal having the first digital asset and the target data certificate has the qualification of reimbursing the target data certificate, so that the target data certificate can be reimbursed only once, thereby avoiding the illegal action of reimbursing the target data certificate, reducing the loss and improving the security of the target data certificate.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. As shown in fig. 6, the computer device 60 may include: the processor 601, the network interface 604 and the memory 605, and the computer device 60 may further include: a user interface 603, and at least one communication bus 602. Wherein a communication bus 602 is used to enable the connection communication between these components. The user interface 603 may include a Display (Display) and a Keyboard (Keyboard), and the selectable user interface 603 may also include a standard wired interface and a standard wireless interface. The network interface 604 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 605 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 605 may optionally be at least one storage device located remotely from the processor 601. As shown in fig. 6, the memory 605, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the computer device 60 shown in fig. 6, the network interface 604 may provide network communication functions; and the user interface 603 is primarily an interface for providing input to a user; and processor 601 may be used to invoke the device control application stored in memory 605 to implement:
responding to an acquisition request of a first terminal for a data certificate, and verifying the legality of the first terminal according to first transaction information, wherein the acquisition request comprises the first transaction information, and the first transaction information is generated by the target service transaction between the first terminal and a second terminal;
if the first terminal has validity, inquiring an intelligent contract related to the data certificate from the block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information;
and sending the target data certificate and the first digital asset to the second terminal, establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset is currently attributed to the second terminal, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information.
In one embodiment, the processor 601 may call the program code to perform the following operations:
responding to a reimbursement request of the second terminal for the target data certificate, and acquiring a block in the block chain, which records attribution information of the first digital asset, as a candidate block set, wherein the candidate block set comprises the first block;
acquiring the latest attribution information of the first digital asset from the to-be-selected block set;
determining the reimbursement state of the target data certificate according to the latest attribution information;
if the reimbursement status of the target data voucher is an unreleased status, transferring the first digital asset from the second terminal to a third terminal so that the third terminal transfers a first amount of electronic resources to the second terminal according to the first transaction information, wherein the third terminal is a terminal corresponding to an organization to which the second terminal belongs;
and establishing a second block in the block chain, and recording second attribution information of the first digital asset into the second block, wherein the second attribution information is used for indicating that the first digital asset is currently attributed to the third terminal, and the second attribution information is used for indicating that the reimbursement state of the target data certificate is a reimbursed state.
In one embodiment, the processor 601 performs the determining the reimbursement status of the data voucher based on the status of the first digital asset, comprising:
if the latest attribution information indicates that the first digital asset belongs to the second terminal, determining that the reimbursement state of the target data certificate is an unremitted state;
and if the latest attribution information indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
In one embodiment, the processor 601 performs the step of obtaining the latest attribution information of the first digital asset from the candidate block set, including:
taking attribution information in a block with the largest block height in the to-be-selected block set as latest attribution information of the first digital asset; alternatively, the first and second electrodes may be,
and taking the attribution information in the block with the latest time corresponding to the block generation time stamp in the block set to be selected as the latest attribution information of the first digital asset.
In one embodiment, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal to perform the targeted business transaction; the processor 601 performs the generating of the first digital asset according to the first transaction information, including:
obtaining an additional certificate associated with the first transaction information from the blockchain, the additional certificate including a second amount of electronic resources returned to the second terminal by the first terminal to execute the target business transaction;
the first digital asset is generated based on the first quantity and the second quantity of electronic resources.
In one embodiment, the first transaction information includes a first amount of electronic resources paid to the first terminal by the second terminal to perform the targeted business transaction; the processor 601 performs the verification of the validity of the first terminal according to the first transaction information, including:
acquiring a historical data certificate associated with the first terminal in a first time period, wherein the historical data certificate comprises a third quantity of electronic resources acquired by the first terminal for executing historical service transactions;
and acquiring the sum of the first quantity and the third quantity, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
In one embodiment, the processor 601 performs the verifying the validity of the first terminal according to the first transaction information, including:
acquiring the times of the first terminal requesting to acquire the data certificate in a second time period;
and if the times are less than the times threshold value, determining that the first terminal has validity.
In one embodiment, the first transaction information includes an identification of the targeted business transaction; the processor 601 performs the verification of the validity of the first terminal according to the first transaction information, including:
reading second transaction information associated with the identifier of the target service transaction from the blockchain, wherein the second transaction information is uploaded to the blockchain by the second terminal;
and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
It should be understood that the computer device 60 described in this embodiment of the present application may perform the description of the above-mentioned data processing method based on the blockchain in the embodiment corresponding to fig. 2 and fig. 4, and may also perform the description of the above-mentioned data verification apparatus based on the main blockchain in the embodiment corresponding to fig. 5, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
In the embodiment of the application, the legality of the first terminal is verified according to the first transaction information, so that an illegal terminal can be prevented from acquiring the target data certificate corresponding to the first transaction information, and the security of acquiring the target data certificate is improved. Therefore, when the first terminal has validity, inquiring an intelligent contract associated with the data certificate from the block chain, calling the intelligent contract according to the storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information; and sending the target data certificate and the first digital asset to a second terminal. Establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset belongs to the second terminal currently, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information. Since the first attribution information of the first digital asset is used for indicating the reimbursement status of the target data certificate, the first attribution information can not be tampered by recording the first attribution information into the blockchain, so that the first digital asset can not be copied. That is, the first digital asset corresponds to a target data credential that cannot be copied; that is, when the target data certificate is in an unrereimbursed state, the terminal having the first digital asset and the target data certificate has the qualification of reimbursing the target data certificate, so that the target data certificate can be reimbursed only once, thereby avoiding the illegal action of reimbursing the target data certificate, reducing the loss and improving the security of the target data certificate.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, the computer program comprising program instructions, which, when executed by a computer, cause the computer to perform the method according to the foregoing embodiments, and the computer may be a part of the above-mentioned computer device. Such as the processor 601 described above. By way of example, the program instructions may be executed on one computer device, or on multiple computer devices located at one site, or distributed across multiple sites and interconnected by a communication network, which may comprise a blockchain network.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the present application, "a and/or B" means one of the following cases: a, B, A and B. "at least one of … …" refers to any combination of the listed items or any number of the listed items, e.g., "at least one of A, B and C" refers to one of: any one of seven cases, a, B, C, a and B, B and C, a and C, A, B and C.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A data processing method based on a block chain is characterized by comprising the following steps:
responding to an acquisition request of a first terminal for a data certificate, and verifying the validity of the first terminal according to first transaction information, wherein the acquisition request comprises the first transaction information, and the first transaction information is generated by the target service transaction between the first terminal and a second terminal;
if the first terminal has validity, inquiring an intelligent contract associated with a data certificate from a block chain, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information;
sending the target data certificate and the first digital asset to the second terminal, establishing a first block in the block chain, and recording first attribution information of the first digital asset into the first block, wherein the first attribution information is used for indicating that the first digital asset belongs to the second terminal currently, and the first attribution information is used for indicating the reimbursement state of the target data certificate, so that the second terminal reimburses the target data certificate according to the first digital asset and the first attribution information.
2. The method of claim 1, further comprising:
responding to a reimbursement request of the second terminal for the target data certificate, and acquiring a block in the block chain, which records attribution information of the first digital asset, as a to-be-selected block set, wherein the to-be-selected block set comprises the first block;
acquiring latest attribution information of the first digital asset from the to-be-selected block set;
determining the reimbursement state of the target data certificate according to the latest attribution information;
if the reimbursement state of the target data certificate is an unrereimbursement state, transferring the first digital asset from the second terminal to a third terminal so that the third terminal transfers a first amount of electronic resources to the second terminal according to the first transaction information, wherein the third terminal is a terminal corresponding to an organization to which the second terminal belongs;
and establishing a second block in the block chain, and recording second attribution information of the first digital asset into the second block, wherein the second attribution information is used for indicating that the first digital asset belongs to the third terminal currently, and the second attribution information is used for indicating that the reimbursement state of the target data voucher is a reimbursed state.
3. The method of claim 2, wherein the determining the reimbursement status of the target data credential based on the latest attribution information comprises:
if the latest attribution information indicates that the first digital asset belongs to the second terminal, determining that the reimbursement state of the target data certificate is an unremitted state;
and if the latest attribution information indicates that the first digital asset belongs to the third terminal, determining that the reimbursement state of the target data certificate is a reimbursed state.
4. The method of claim 2, wherein the obtaining the latest attribution information of the first digital asset from the candidate block set comprises:
taking attribution information in a block with the largest block height in the to-be-selected block set as latest attribution information of the first digital asset; alternatively, the first and second electrodes may be,
and taking the attribution information in the block with the latest time corresponding to the block generation time stamp in the block set to be selected as the latest attribution information of the first digital asset.
5. The method of claim 1, wherein the first transaction information comprises a first amount of electronic resources paid to the first terminal by the second terminal for performing the target business transaction; the generating a first digital asset from the first transaction information comprises:
obtaining additional credentials associated with the first transaction information from the blockchain, the additional credentials including a second amount of electronic resources returned to the second terminal by the first terminal to perform the target business transaction;
generating the first digital asset from the first quantity and the second quantity of electronic resources.
6. The method of claim 1, wherein the first transaction information comprises a first amount of electronic resources paid to the first terminal by the second terminal for performing the target business transaction; the verifying the validity of the first terminal according to the first transaction information includes:
acquiring a historical data certificate associated with the first terminal in a first time period, wherein the historical data certificate comprises a third quantity of electronic resources acquired by the first terminal for executing historical business transactions;
and acquiring the sum of the first quantity and the third quantity, and if the sum of the quantities is smaller than a quantity threshold, determining that the first terminal has validity.
7. The method of claim 1, wherein said verifying the validity of the first terminal based on the first transaction information comprises:
acquiring the times of requesting to acquire the data certificate by the first terminal in a second time period;
and if the times are smaller than a time threshold value, determining that the first terminal has validity.
8. The method according to any of claims 1-7, wherein the first transaction information comprises an identification of the target business transaction; the verifying the validity of the first terminal according to the first transaction information includes:
reading second transaction information associated with the identifier of the target service transaction from the blockchain, wherein the second transaction information is uploaded to the blockchain by the second terminal;
and if the first transaction information is matched with the second transaction information, determining that the first terminal has legality.
9. A blockchain-based data processing apparatus, comprising:
the validity verifying module is used for responding to an acquisition request of a first terminal for a data certificate and verifying the validity of the first terminal according to first transaction information, wherein the acquisition request comprises the first transaction information, and the first transaction information is generated when the first terminal and a second terminal perform target service transaction;
the data creating module is used for inquiring an intelligent contract related to a data certificate from a block chain if the first terminal has validity, calling the intelligent contract according to a storage address of the intelligent contract, creating a target data certificate corresponding to the first transaction information according to the first transaction information, and generating a first digital asset according to the first transaction information;
a data sending module, configured to send the target data credential and the first digital asset to the second terminal, establish a first block in the block chain, record first attribution information of the first digital asset in the first block, where the first attribution information is used to indicate that the first digital asset currently belongs to the second terminal, and the first attribution information is used to indicate a reimbursement status of the target data credential, so that the second terminal reimburses the target data credential according to the first digital asset and the first attribution information.
10. A computer device, comprising: a processor, a memory, and a network interface;
the processor is connected to a memory for providing data communication functions, a network interface for storing program code, and a processor for calling the program code to perform the method of any one of claims 1 to 8.
CN202010221633.0A 2020-03-25 2020-03-25 Data processing method, device, equipment and medium based on block chain Active CN111444209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010221633.0A CN111444209B (en) 2020-03-25 2020-03-25 Data processing method, device, equipment and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010221633.0A CN111444209B (en) 2020-03-25 2020-03-25 Data processing method, device, equipment and medium based on block chain

Publications (2)

Publication Number Publication Date
CN111444209A true CN111444209A (en) 2020-07-24
CN111444209B CN111444209B (en) 2022-01-07

Family

ID=71648020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010221633.0A Active CN111444209B (en) 2020-03-25 2020-03-25 Data processing method, device, equipment and medium based on block chain

Country Status (1)

Country Link
CN (1) CN111444209B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111882436A (en) * 2020-07-30 2020-11-03 腾讯科技(成都)有限公司 Data processing method, device and equipment based on block chain
CN112513904A (en) * 2020-10-26 2021-03-16 威富通科技有限公司 Digital asset transaction control method and device, terminal equipment and storage medium
CN112529673A (en) * 2020-12-15 2021-03-19 航天信息股份有限公司 Tax control information supervision method, apparatus, medium and electronic device
CN113076527A (en) * 2021-04-19 2021-07-06 支付宝(杭州)信息技术有限公司 Block chain-based digital asset processing method and device
CN113221174A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Ownership separation data circulation model, method, equipment and product based on block chain
CN114862389A (en) * 2022-04-07 2022-08-05 东北大学 3D digital asset management system based on block chain
CN114968595A (en) * 2022-06-15 2022-08-30 网易(杭州)网络有限公司 NFT owner information processing method and device, computer equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN108711102A (en) * 2018-05-30 2018-10-26 杭州复杂美科技有限公司 Loan method and system, equipment and storage medium
CN109214903A (en) * 2018-08-10 2019-01-15 海南高灯科技有限公司 A kind of invoice reimbursement system and method for charging out based on block chain
CN109379382A (en) * 2018-12-07 2019-02-22 深圳市智税链科技有限公司 Data managing method, device, medium and the electronic equipment of block catenary system
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110458562A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Bill method of charging out, device and equipment and computer storage medium
CN110599207A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Invoice verification method, invoice verification device, invoice verification server and storage medium
CN110659906A (en) * 2019-09-20 2020-01-07 腾讯科技(深圳)有限公司 Bill information processing method, related device and medium
CN110852816A (en) * 2019-11-13 2020-02-28 深圳前海星际同辉科技有限公司 Block chain based automatic invoicing method, terminal equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952124A (en) * 2017-03-16 2017-07-14 北京牛链科技有限公司 Electronic bill management system and method based on distribution book keeping operation
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN108711102A (en) * 2018-05-30 2018-10-26 杭州复杂美科技有限公司 Loan method and system, equipment and storage medium
CN109214903A (en) * 2018-08-10 2019-01-15 海南高灯科技有限公司 A kind of invoice reimbursement system and method for charging out based on block chain
CN109379382A (en) * 2018-12-07 2019-02-22 深圳市智税链科技有限公司 Data managing method, device, medium and the electronic equipment of block catenary system
CN110458562A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Bill method of charging out, device and equipment and computer storage medium
CN110599276A (en) * 2019-08-08 2019-12-20 腾讯科技(深圳)有限公司 Bill reimbursement method, device and equipment and computer storage medium
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110599207A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Invoice verification method, invoice verification device, invoice verification server and storage medium
CN110659906A (en) * 2019-09-20 2020-01-07 腾讯科技(深圳)有限公司 Bill information processing method, related device and medium
CN110852816A (en) * 2019-11-13 2020-02-28 深圳前海星际同辉科技有限公司 Block chain based automatic invoicing method, terminal equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111882436A (en) * 2020-07-30 2020-11-03 腾讯科技(成都)有限公司 Data processing method, device and equipment based on block chain
CN111882436B (en) * 2020-07-30 2024-04-09 腾讯科技(成都)有限公司 Data processing method, device and equipment based on block chain
CN112513904A (en) * 2020-10-26 2021-03-16 威富通科技有限公司 Digital asset transaction control method and device, terminal equipment and storage medium
CN112529673A (en) * 2020-12-15 2021-03-19 航天信息股份有限公司 Tax control information supervision method, apparatus, medium and electronic device
CN113076527A (en) * 2021-04-19 2021-07-06 支付宝(杭州)信息技术有限公司 Block chain-based digital asset processing method and device
CN113076527B (en) * 2021-04-19 2023-04-07 支付宝(杭州)信息技术有限公司 Block chain-based digital asset processing method and device
CN113221174A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Ownership separation data circulation model, method, equipment and product based on block chain
CN114862389A (en) * 2022-04-07 2022-08-05 东北大学 3D digital asset management system based on block chain
CN114968595A (en) * 2022-06-15 2022-08-30 网易(杭州)网络有限公司 NFT owner information processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111444209B (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN109767212B (en) Asset exchange method, system, terminal and storage medium based on blockchain
CN108604344B (en) Method and system for creating trusted digital asset transfers using digital signatures
CN108885761B (en) Method for secure point-to-point communication on a blockchain
US11164228B2 (en) Method and medium for determining exchange item compliance in an exchange item marketplace network
CN111738725B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
KR102313675B1 (en) Block chain-based crytography donation server and donation method without limitation to donation target
CN110599331B (en) Liability collection system, method, equipment and storage medium based on blockchain
CN110599348B (en) Method, device, equipment and storage medium for stock right incentive
CN111260485A (en) Mutual-aid insurance method, equipment and medium based on block chain
CN112037068A (en) Resource transfer method, system, device, computer equipment and storage medium
CN112561407B (en) Asset management method, system and device based on block chain
US20220067717A1 (en) Blockchain system that includes bank nodes each having separate ledgers for identity, digital currency and other functions, and operation method thereof
CN115456773A (en) Payment control method, device, equipment and medium based on block chain
CN110597919A (en) Data management method, device and equipment based on block chain and storage medium
CN110941840B (en) Data processing method, system and terminal
CN113034275B (en) Management system and method based on block chain network and terminal equipment
CN111311277B (en) Bill processing method and device based on block chain network and related equipment
CN113011879A (en) Associated transaction data processing method and device and server
CN110727735B (en) Method, device and equipment for cooperatively completing task event based on block chain technology
US20230125124A1 (en) Obtaining conditions data for utilizing an exchange item
CN111444416A (en) Method, system and device for popularizing financial business
CN110599176A (en) Data processing method and device based on block chain, storage medium and node equipment
CN111882436B (en) Data processing method, device and equipment based on block chain
JP7316921B2 (en) Electronic asset management method and electronic asset management device

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