CN112256799A - Data processing method and device based on block chain, server and storage medium - Google Patents

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

Info

Publication number
CN112256799A
CN112256799A CN202011265239.3A CN202011265239A CN112256799A CN 112256799 A CN112256799 A CN 112256799A CN 202011265239 A CN202011265239 A CN 202011265239A CN 112256799 A CN112256799 A CN 112256799A
Authority
CN
China
Prior art keywords
terminal
target
bill data
data
record
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.)
Pending
Application number
CN202011265239.3A
Other languages
Chinese (zh)
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 CN202011265239.3A priority Critical patent/CN112256799A/en
Publication of CN112256799A publication Critical patent/CN112256799A/en
Pending legal-status Critical Current

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/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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

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

Abstract

The embodiment of the invention discloses a data processing method, a device, a server and a storage medium based on a block chain, wherein the method comprises the following steps: acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal; acquiring verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information; and if the target bill data passes the credibility verification, sending the target bill data to a blockchain network so that the second terminal acquires the target bill data from the blockchain network, and the creating (or generating) behavior of the terminal equipment on the bill data can be effectively normalized.

Description

Data processing method and device based on block chain, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus based on a block chain, a server, and a storage medium.
Background
Currently, a process of creating ticket data after resource replacement is performed between a first terminal and a second terminal is that, if the second terminal sends a certain amount of electronic resources to the first terminal, the first terminal directly generates ticket data based on the certain amount of electronic resources and sends the generated ticket data to the second terminal, so that the second terminal can generate the ticket data based on the first terminal as a receipt and payment certificate of the electronic resources in the first terminal. However, many current electronic resources are unstable or develop an unsound enterprise corresponding terminal, and in order to make a receipt fake, the receipt data can be purchased from other enterprise corresponding terminals, so as to achieve the purpose of making a receipt fake.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, a server and a storage medium based on a block chain, which can effectively standardize the creating (or generating) behavior of terminal equipment to bill data.
In one aspect, an embodiment of the present invention provides a data processing method, including:
acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal;
acquiring verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information;
and if the target bill data passes the credibility verification, sending the target bill data to a block chain network so that the second terminal acquires the target bill data from the block chain network.
In another aspect, an embodiment of the present invention provides a data processing apparatus, including:
an obtaining unit, configured to obtain target ticket data, where the target ticket data is created by a first terminal for a second terminal after resource replacement is performed between the first terminal and the second terminal;
the acquisition unit is further used for acquiring verification information of the target bill data;
the verification unit is used for verifying the credibility of the target bill data by adopting the verification information;
and the sending unit is used for sending the target bill data to a block chain network if the target bill data passes the credibility verification, so that the second terminal acquires the target bill data from the block chain network.
In another aspect, an embodiment of the present invention provides a server, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, where the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal;
acquiring verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information;
and if the target bill data passes the credibility verification, sending the target bill data to a block chain network so that the second terminal acquires the target bill data from the block chain network.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which program instructions are stored, and when the program instructions are executed by a processor, the computer-readable storage medium is configured to perform the data processing method according to the first aspect.
In the embodiment of the invention, the server performs resource replacement between the first terminal and the second terminal, and the first terminal creates target bill data for the second terminal, can acquire the target bill data created by the first terminal, and performs credibility verification on the target bill data based on the verification information, further, the server can send the target bill data to the block chain network after the target bill data passes the credibility verification, so that the second terminal acquires the target bill data from the block chain network, thereby effectively avoiding the disorderly opening of bill data between the first terminal and the second terminal, effectively standardizing the opening behavior of bill data between different terminals, and further avoiding the economic loss of the server caused by the behavior of disorderly opening bill data between terminals, and in addition, based on the characteristic that data in the block chain network cannot be tampered, the authenticity of the target bill data acquired by the second terminal from the block chain network is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a data processing method provided by an embodiment of the invention;
FIG. 3 is a diagram illustrating a data processing method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of a data processing method provided by an embodiment of the invention;
FIG. 5 is a schematic diagram of verifying target ticket data according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a data processing apparatus provided by an embodiment of the present invention;
fig. 8 is a schematic block diagram of a server according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data processing method, which can realize the credibility check of target bill data created by a first terminal for a second terminal by introducing a server with higher credibility, and only after the credibility check of the target bill data by the server is passed, the second terminal can obtain the target bill data, and based on the check of the server with higher credibility on the target bill data, the risk that the first terminal optionally offers the bill data for the second terminal can be effectively avoided, and the effective specification of the issuing behavior of the bill data is realized. In a specific implementation, the server checks the target bill data and determines that the target bill data passes the check, and then the server can directly send the target bill data to the second terminal, but in order to ensure that the check result of the server on the target bill data is not maliciously tampered, the server can also upload the target bill data to the blockchain network after determining that the target bill data passes the check, so that the blockchain network performs consensus processing on the target bill data after acquiring the target bill data, and after the blockchain network performs consensus on the target bill data, the second terminal can acquire the target bill data after the consensus is completed from the blockchain network.
In one embodiment, the blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. The Blockchain (Blockchain) is essentially a decentralized database, which is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer. The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the valid request after consensus is completed on storage, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, and transmits the encrypted service information to a shared account (network communication) completely and consistently, and records and stores the encrypted service information.
The target bill data can be effectively ensured to be generated based on real resource replacement between the first terminal and the second terminal based on the verification of the server on the target bill data, and the verification result of the server on the target bill data can be effectively ensured to be the bill data which is not tampered based on the consensus processing of the block chain network on the target bill data, so that the authenticity of the verification result of the target bill data is effectively ensured. In one embodiment, the data processing method may be applied to a data processing system as shown in fig. 1a, the data processing system includes a first terminal 10, a second terminal 11, and a server 12, after the first terminal 10 and the second terminal 11 perform resource replacement, if the resource replacement is that the second terminal 11 acquires a target item resource from the first terminal 10 by using a target amount of electronic resources, the first terminal 10 creates target ticket data for the second terminal 11, wherein after the target ticket data is generated by the first terminal 10, the target ticket data is first sent to the access 12, so that the server 12 performs a credibility check on the target ticket data. In one embodiment, the server 12 verifying the trustworthiness of the target ticket data includes: whether the target bill data is created under the condition that a real resource replacement operation is executed and/or whether a terminal (namely, the first terminal 10) creating the target bill data is a risk terminal with randomly issued bill data is verified, after the server 12 receives the target bill data sent by the first terminal 10 and completes the credibility verification of the received target bill data, the target bill data passing the credibility verification can be sent to the second terminal 11, so that the second terminal 11 can obtain the target bill data.
In one embodiment, in order to ensure that the target bill data generated by the first terminal, and the verification result of the server on the target bill data are not tampered, the first terminal, the second terminal, and the server may all be connected to a blockchain network, as shown in figure 1b, the first terminal 10, the second terminal 11 and the server 12 are all communicatively coupled via a blockchain network 13, which, as will be appreciated, the first terminal 10, the second terminal 11 and the server 12 may be node devices in a blockchain network 13, thereby enabling the first terminal 10, the second terminal 11 and the server 12 to establish a communication connection, or, the first terminal 10, the second terminal 11 and the server 12 may not be node devices in the blockchain network 13, but establishes a communication connection through the blockchain network 13 by making a connection with a node device in the blockchain network. For example, the first terminal 10, the second terminal 11 and the server 12 can access the blockchain network 13 through Simple Payment Verification (SPV) nodes in the blockchain network 13, as shown in fig. 1c, the first terminal 10 can establish a communication connection with one node device (e.g., SPV1) in the blockchain network, the second terminal 11 can establish a communication connection with another node device (e.g., SPV2) in the blockchain network, and the server 12 can establish a communication connection with another node device (e.g., SPV3) in the blockchain network, so that the first terminal 10, the second terminal 11 and the server 12 establish a communication connection through the blockchain network.
When the server 12 performs the reliability verification on the obtained target bill data, the server 12 may obtain a white list from the blockchain network, thereby determining that the second terminal is a trusted terminal by judging whether the terminal identifier of the second terminal that creates the target bill data is recorded in the white list, and when the terminal identifier of the second terminal is recorded in the white list, that is, a terminal that does not perform the purchase of the bill data without performing the resource replacement, and further the server 12 may consider that the target bill data passes the reliability verification; alternatively, if the server 12 determines that the terminal identifier of the second terminal is not in the white list, it may send a logistics record acquisition request to the logistics equipment through the blockchain network, to obtain the logistics record between the first terminal and the second terminal from the logistics apparatus, and/or the server 12 may also send an obtaining request to a recording apparatus for recording the transfer of electronic resources between the first terminal and the second terminal, to obtain the resource transfer record between the first terminal and the second terminal from the recording device (i.e. the sending record of the electronic resource sent by the second terminal to the first terminal), further, the server 12 may determine whether the resource replacement operation is actually performed based on the logistics record and/or the electronic resource transfer record, and upon determining that the resource replacement operation is actually performed, determining that the target ticket data passes the trustworthiness check.
In one embodiment, if the server determines that the target ticket data does not pass the reliability verification, the server may directly discard the target ticket data to prevent the second terminal from acquiring the target ticket data, and when the server determines that the target ticket data does not pass the reliability verification, the server may perform invalidation processing on the target ticket data to prevent the first terminal from performing a ticket fraud based on the generated target ticket data. For example, the target bill data may be a value-added tax special invoice, after the first terminal and the second terminal perform target item replacement, the first terminal generates the value-added tax special invoice and sends the value-added tax special invoice to a server corresponding to a tax bureau, the server may verify the value-added tax special invoice to determine whether the value-added tax special invoice is generated under the condition that the target item replacement is really performed between the first terminal and the second terminal, and when the server corresponding to the tax bureau determines that the value-added tax special invoice is generated under the condition that the target item replacement is really performed between the first terminal and the second terminal, the value-added tax special invoice may be forwarded to the second terminal so that the first terminal and the second terminal may be used in subsequent tax reporting, and the verification of the target bill data generated between the first terminal and the second terminal based on the server may effectively avoid the first terminal and the second terminal from performing bill data issuing based on false resource replacement behavior privately The method and the device ensure the authenticity of the issued bill data, and can effectively avoid the tax evasion behaviors of the first terminal and the second terminal when the bill data is related to the tax.
Referring to fig. 2, a schematic flow chart of a data processing method according to an embodiment of the present invention is shown in fig. 2, where the method includes:
s201, acquiring target bill data, wherein the target bill data is created for the second terminal by the first terminal after resource replacement is executed between the first terminal and the second terminal.
In one embodiment, the resource permutation between the first terminal and the second terminal comprises: the second terminal acquires the target article resource from the first terminal by adopting the target quantity of electronic resources, namely, the resource replacement behavior comprises a transaction behavior, when the resource replacement behavior is the transaction behavior, the first terminal is the terminal device corresponding to the seller in the transaction, and the second terminal is the terminal device corresponding to the buyer in the transaction. It can be understood that if the first terminal acquires the article resource from the second terminal by using a certain amount of electronic resources, the second terminal creates the ticket data for the first terminal, and after the second terminal creates the ticket data for the first terminal, the second terminal can also send the ticket data created for the first terminal into the blockchain network after passing the credibility check on the ticket data created for the first terminal, so that the first terminal acquires the ticket data created for the second terminal from the blockchain network.
In one embodiment, the target bill data created by the first terminal for the second terminal may be used as a receipt for confirming, by the first terminal, that the target amount of the electronic resource sent by the second terminal is received, and when the resource replacement action is a transaction action, the target bill data may be, for example, a receipt or an invoice that the first terminal receives the target amount of the electronic resource from the second terminal, and further specifically, the invoice created by the first terminal for the second terminal may be a general value-added tax invoice or a special value-added tax invoice, and the like, where the general value-added tax invoice may be used as a reimbursement certificate, and the special value-added tax invoice may be used as an in-out certificate for the first terminal and the second terminal, and is used for deduction of taxes. Based on various different functions of the target ticket data, if the target ticket data created by the first terminal for the second terminal has no reliability, that is, if the target ticket data created by the first terminal for the second terminal based on the false resource replacement exists, the reliability of the amount of electronic resources in the first terminal and/or the second terminal determined based on the target ticket data will be low, and therefore, in order to ensure the reliability of the amount of electronic resources in the first terminal and the second terminal, it is necessary to ensure that the target ticket data created by the first terminal for the second terminal needs to have a certain reliability, so after the target ticket data is created for the second terminal by the first terminal, the created target ticket data needs to be checked for reliability (or reliability check), that is, step S202 is executed.
In one embodiment, the false resource replacement includes one or more of the following: the second terminal acquires the target article resource from the first terminal, but the second terminal does not transfer the target quantity of electronic resources to the first terminal; or the first terminal acquires the target quantity of electronic resources from the second terminal, but does not send the target article resources to the second terminal; or the first terminal does not acquire the target quantity of electronic resources sent by the second terminal, and the second terminal also receives the target article resources. In one embodiment, the electronic resource includes digital currency, virtual currency, or electronic currency, among others.
S202, obtaining verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information.
In a specific implementation, after the server acquires the target bill data created by the first terminal for the second terminal, the server may further acquire verification information of the target bill data to perform credibility verification on the target bill data based on the verification information in order to ensure that the target bill data is generated based on real resource replacement performed between the first terminal and the second terminal. In one embodiment, the server checks the target ticket data includes checking the trustworthiness of a first terminal that creates the target ticket data, and in order to check the trustworthiness of the first terminal, the server may determine whether the first terminal is a trusted terminal, and when determining that the first terminal is a trusted terminal, determine that the target ticket data created by the first terminal passes the trustworthiness check, where it is understood that a white list is used to record a trusted identifier, and then the server may determine whether the second terminal is a trusted terminal by determining whether a terminal identifier of the second terminal is recorded in the white list. In an embodiment, the trusted terminal is a terminal that generates ticket data based on a false resource replacement with a low probability, or a terminal that has a long lifetime and cannot log out in a short period, for example, the second terminal may be a terminal device corresponding to a large enterprise, such as a terminal device corresponding to a large supermarket or a terminal device corresponding to a hospital.
In one embodiment, the server's verification of the target ticket data further includes a verification of the authenticity of the resource permutation performed, it being understood that the target ticket data generated based on the resource permutation may be determined to pass the trustworthiness verification when the server determines that the resource permutation performed is a true execution, and may be determined to fail the trustworthiness verification if the server determines that the resource permutation performed is a false execution. It is understood that, it is determined whether the resource replacement is actually performed, that is, it is determined whether the target amount of electronic resources related to the resource replacement and the corresponding target article resources actually perform the transfer, that is, the server, when determining whether the resource replacement is actually performed, may determine whether the target article resources are actually transferred through the logistics record, and determine whether the target amount of electronic resources are actually transferred between the first terminal and the second terminal through the transmission record of the electronic resources, so that it may be determined that the resource replacement is actually performed when the logistics record indicates that the target article is actually transferred, and the transmission record indicates that the target amount of electronic resources are actually transferred.
After the server determines that the resource replacement is a replacement that is actually performed, it may be determined that the target ticket data passes the reliability check, and then step S203 is performed, whereas if the server determines that the target ticket data does not pass the reliability check, the target ticket data may be directly discarded. In one embodiment, the server's trust check on the target ticket data may also check the first terminal's trust and the authenticity of the resource replacement performed at the same time.
And S203, if the target bill data passes the credibility verification, sending the target bill data to the block chain network so that the second terminal acquires the target bill data from the block chain network.
After the server determines that the target bill data passes the credibility verification, the target bill data can be sent to the blockchain network, so that the blockchain network performs consensus processing on the target bill data, and after the second terminal determines that the blockchain network completes consensus on the target bill data, the second terminal can obtain the target bill data with completed consensus from the blockchain network, so that the reliability of the target bill data sent to the second terminal is ensured, and the authenticity (or reliability) of the electronic resource amount in the first terminal and the second terminal determined based on the target bill data can be ensured. In one embodiment, the target bill data may be, for example, a special value-added tax invoice (or simply referred to as a special bill), the special bill can effectively avoid the problem of repeated tax collection, and can avoid the problem of tax evasion caused by making a special bill between enterprises, after making the special bill, the server needs to perform a reliability check on the made special bill before performing an actual tax deduction, wherein the reliability check on the special bill is performed based on a block chain network, so that the reliability and the validity of the check on the special bill can be ensured.
In one embodiment, the server may be a server used by a tax bureau to perform tax business, the first terminal may be a terminal device corresponding to enterprise a, and the second terminal may be a terminal device corresponding to enterprise B, if enterprise B is a purchasing enterprise and enterprise B sends a target amount of electronic resources to enterprise a to obtain target item resources, a process of generating target bill data based on a purchasing process between enterprise a and enterprise B may be as shown in fig. 3, and its specific process is as follows:
firstly, generating special tickets by the enterprise A based on the electronic resources with the target quantity;
the enterprise A sends the generated special ticket to a server;
thirdly, the server checks the credibility of the special ticket to determine whether the possibility of tax evasion exists in the enterprise A and the enterprise B;
if the server passes the credibility verification of the special ticket, forwarding the generated special ticket to the enterprise B;
and fifthly, after receiving the special ticket, when the tax is reported, the enterprise B uses the special ticket to deduct the tax.
In the embodiment of the invention, the server performs resource replacement between the first terminal and the second terminal, and the first terminal creates target bill data for the second terminal, can acquire the target bill data created by the first terminal, and performs credibility verification on the target bill data based on the verification information, further, the server can send the target bill data to the block chain network after the target bill data passes the credibility verification, so that the second terminal acquires the target bill data from the block chain network, thereby effectively avoiding the disorderly opening of bill data between the first terminal and the second terminal, effectively standardizing the opening behavior of bill data between different terminals, and further avoiding the economic loss of the server caused by the behavior of disorderly opening bill data between terminals, and in addition, based on the characteristic that data in the block chain network cannot be tampered, the authenticity of the target bill data acquired by the second terminal from the block chain network is ensured.
Please refer to fig. 4, which is a schematic flowchart of a data processing method according to an embodiment of the present invention, as shown in fig. 4, the method may include:
s401, acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal; the target bill data is in a to-be-generated state.
In an embodiment, the specific implementation of step S401 may refer to the specific implementation of step S201 in the above embodiments, and is not described herein again.
S402, obtaining the verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information.
In an embodiment, when the server performs the reliability check on the target ticket data, the acquired verification information includes a white list, where the white list is stored in the blockchain network, and then when the server acquires the white list, the server may acquire the white list from the blockchain network, specifically, the server may first send a first acquisition request for acquiring the white list to the blockchain network, so that after the blockchain network completes the consensus on the first acquisition request, the blockchain network sends the first acquisition request to the storage terminal of the white list, and acquires the white list from the storage terminal, and further, the server may acquire the consensus-completed white list from the blockchain network after the blockchain network completes the consensus on the acquired white list. In an embodiment, the white list is used to record a trusted identifier, that is, it can be understood that a terminal corresponding to the trusted identifier recorded by the white list is a trusted terminal, and then, when the server performs the trust level check on the target ticket data by using the white list, it may be checked whether the terminal identifier of the second terminal is the trusted identifier recorded in the white list; the second terminal may be determined to be a trusted terminal if the server determines that the terminal identity of the second terminal is listed in the white list.
In one embodiment, the server may also determine whether the target ticket data passes the credibility check by checking the authenticity of the resource replacement performed between the first terminal and the second terminal, wherein the server may determine the authenticity of the resource replacement performed between the first terminal and the second terminal through a replacement record when the first terminal and the second terminal perform the resource replacement, that is, the server may use the replacement record as the verification information, thereby checking the authenticity of the target ticket data. Similarly, the replacement record is recorded in the blockchain network, the server may obtain the replacement record from the blockchain network, and when the server obtains the replacement record and performs a reliability check on the target ticket data based on the replacement record, the server may determine, according to the replacement record, authenticity of resource replacement performed between the first terminal and the second terminal, and when the resource replacement that the server does perform is authentic, it may determine that the target ticket data passes the reliability check.
In one embodiment, the resource permutation performed between the first terminal and the second terminal comprises: the second terminal obtains the target asset from the first terminal using the target amount of electronic assets, and it is understood that the replacement record may comprise a logistics record. Then, when the server acquires the replacement record from the blockchain network, the server may first send a second acquisition request for acquiring the physical distribution record between the first terminal and the second terminal to the blockchain network, so that after the blockchain network completes the consensus on the second acquisition request, the blockchain network sends the second acquisition request to the physical distribution device, and acquires the physical distribution record indicated by the second acquisition request from the physical distribution device; after the block chain network completes the consensus on the logistics record acquired from the logistics equipment, the server can acquire the consensus-completed logistics record from the block chain network. The logistics record is used for recording logistics information of at least one article resource between the first terminal and the second terminal; the server, in determining whether the resource replacement performed between the first terminal and the second terminal is actually performed according to the logistics record, may determine that the resource replacement performed between the first terminal and the second terminal is actual if the server determines that the logistics record includes logistics information of the target item resource.
In an embodiment, the replacement record may further include a transmission record of the electronic resource sent by the second terminal to the first terminal, where the transmission record is also stored in the blockchain network, and then when the server acquires the transmission record from the blockchain network, the server may also first send a third acquisition request for the transmission record to the blockchain network, so that the blockchain network sends the third acquisition request to the recording device of the electronic resource after the consensus on the third acquisition request is completed, and acquires the transmission record indicated by the third acquisition request from the recording device; further, after the blockchain network completes the identification of the sending record obtained from the recording device, the server may obtain the sending record with completed identification from the blockchain network. It will be appreciated that the sending records include at least one record of the sending of the electronic resource by the second terminal to the first terminal; the server may first determine whether the transmission record includes a record for transmitting the target number of electronic resources when determining whether the resource replacement performed between the first terminal and the second terminal is actually performed according to the transmission record, and may determine that the resource replacement performed between the first terminal and the second terminal is actually performed if the server determines that the transmission record includes a record for transmitting the target number of electronic resources.
In one embodiment, the server may determine that the resource replacement performed between the first terminal and the second terminal is real based on only the logistics record included in the replacement record, or only the transmission record for the electronic resource included in the replacement record; alternatively, the server may also refer to the physical distribution record and the transmission record for the electronic resource at the same time, and may determine that the resource replacement performed between the first terminal and the second terminal is real. The physical distribution device for storing the physical distribution record may be, for example, a physical distribution company, and the like, and the recording device for recording the transmission record for the electronic resource may be, for example, a financial company, such as a bank, and the like. As shown in fig. 5, the server, the logistics apparatus and the recording apparatus all establish communication connection with the blockchain network, or, the server, the logistics device and the recording device can also be node devices in a block chain network, so that the block chain network is accessed, when the server needs to perform credibility verification on target bill data, a check request for the target ticket data may be sent to the blockchain network, which, upon receiving the check request, may forward the check request to the logistics device and/or the recording device, after the logistics equipment and/or the recording equipment checks the target bill data, the checking result can be sent to the block chain network, so that the blockchain network forwards the verification result to the server, which can then determine a verification result for the target ticket data based on the verification result.
In addition, when the server performs the credibility verification on the target bill data by using the verification information, the information integrity of the verification information needs to be determined, that is, if the verification information is complete information, the server can directly perform the credibility verification on the target bill data by using the verification information; or, if the verification information acquired by the server is incomplete, the server may send the target bill data to the associated verification terminal, so that the associated verification terminal performs the reliability verification on the target bill data.
In one embodiment, if the first terminal is a terminal device corresponding to an enterprise a in the Guangdong and the second terminal is a terminal device corresponding to an enterprise B in Beijing, and the address position difference between the enterprises corresponding to the first terminal and the second terminal is large, the verification information for verifying the credibility of the target bill data created by the enterprise a for the enterprise B may be stored in different servers, and if the server according to the embodiment of the present invention is a server for performing a tax service by a tax bureau in the Guangdong, in order to verify the target bill data created by the enterprise a for the enterprise B, the server corresponding to the tax bureau in the Guangdong may obtain a sending record that the enterprise B transfers electronic resources for the enterprise a and the local server cannot obtain the sending record, then the server corresponding to the tax bureau in the Guangdong may send the target bill data to the associated verification terminal, the server corresponding to the Beijing tax office can check the credibility of the target bill data because the server corresponding to the Beijing tax office can obtain the sending record. In one embodiment, if the server corresponding to the guangdong tax office cannot acquire the transmission record, an acquisition request for the transmission record of the electronic resource may be transmitted to the server corresponding to the beijing tax office, so that the target bill data is verified based on the transmission record fed back by the server corresponding to the beijing tax office.
And S403, if the target bill data passes the credibility verification, converting the target bill data from a to-be-validated state to a validated state.
S404, the target bill data in the effective state is sent to the block chain network, so that the second terminal obtains the target bill data from the block chain network.
In steps S403 and S404, if the server determines that the target ticket data is trusted ticket data based on the verification of the target ticket data, the server may first convert the target ticket data from a to-be-validated state to a validated state, and forward the validated target ticket data to the blockchain network, so that the second terminal obtains the validated target ticket data from the blockchain network. In one embodiment, the validation processing of the target bill data by the server may be, for example, adding a validation identifier to the target bill data, or adding the target bill data to a validation bill list, and the like, after the second terminal acquires the target bill data from the blockchain network, the target bill data may be used as voucher data for the first terminal and the second terminal to perform this resource replacement, and when the target bill data is invoice data, the second terminal may use the target bill data for reimbursement of tax and the like after acquiring the target bill data. In an embodiment, the verification process of the server on the target ticket data may be specifically as shown in fig. 6, and specifically performs the following steps:
s11, the server receives the target bill data created by the first terminal;
s12, the server obtains the white list from the blockchain network, and searches whether the terminal identifier of the second terminal is recorded from the white list;
s13, if the server determines that the white list includes the terminal identifier of the second terminal, indicating that the second terminal is a white list enterprise, the server may directly send the target bill data to the second terminal.
s14, if the white list does not include the terminal identity of the second terminal, the server may send a check request for the target ticket data to the blockchain network.
s15, the blockchain network identifies the check request and forwards the check request to the logistics device and/or the recording device, and the logistics device determines whether the resource replacement between the first terminal and the second terminal is actually executed based on the recorded logistics record between the first terminal and the second terminal; the recording device determines whether resource replacement between the first terminal and the second terminal is actually performed based on the recorded transmission record of the electronic resource between the first terminal and the second terminal;
and s16, the server determines the verification result of the target bill data according to the feedback information sent by the logistics equipment and/or the recording equipment, and sends the target bill data to the second terminal through the block link network when the target bill data is determined to pass the credibility verification.
In the embodiment of the invention, after the server acquires the target bill data, the server can further acquire a logistics record and/or a transmission record of the electronic resource for verifying the authenticity of the resource replacement operation executed between the first terminal and the second terminal, further, the server can determine the authenticity of the resource replacement executed between the first terminal and the second terminal based on the logistics record and/or the transmission record of the electronic resource, so as to realize the credibility verification of the target bill data, after the server determines that the target bill data passes the credibility verification, the target bill data can be validated and transmitted to the block chain network, so that the second terminal can acquire the target bill data, and based on the credibility verification of the bill data created by the terminal, the enterprise terminal can be effectively prevented from purchasing the bill data from the enterprise terminal, and the creation behavior of the bill data is disturbed, and the generated target bill data can be effectively ensured not to be tampered based on the forwarding of the block chain to the target bill data.
Based on the description of the above data processing method embodiment, an embodiment of the present invention further provides a data processing apparatus, which may be a computer program (including a program code) running in the server. The data processing apparatus may be used to execute the data processing method as shown in fig. 2 and fig. 4, referring to fig. 7, the data processing apparatus includes: an acquisition unit 701, a verification unit 702 and a sending unit 703.
An obtaining unit 701, configured to obtain target ticket data, where the target ticket data is created by a first terminal for a second terminal after resource replacement is performed between the first terminal and the second terminal;
the acquiring unit 701 is further configured to acquire verification information of the target ticket data;
a verification unit 702, configured to perform reliability verification on the target ticket data by using the verification information;
a sending unit 703, configured to send the target ticket data to a blockchain network if the target ticket data passes the reliability check, so that the second terminal obtains the target ticket data from the blockchain network.
In one embodiment, the verification information includes a white list, the white list being stored in the blockchain network; the obtaining unit 701 is specifically configured to: obtaining the white list from a blockchain network; the white list is used for recording the credible identification;
the verification unit 702 is specifically configured to: checking whether the terminal identification of the second terminal is a trusted identification recorded in the white list; and if so, determining that the target bill data passes the credibility verification.
In an embodiment, the obtaining unit 701 is specifically configured to:
sending a first acquisition request for acquiring the white list to a blockchain network, so that the blockchain network sends the first acquisition request to a storage terminal of the white list after the blockchain network completes consensus on the first acquisition request, and acquires the white list from the storage terminal;
and after the block chain network finishes the common identification of the obtained white list, obtaining the white list with the finished common identification from the block chain network.
In one embodiment, the authentication information includes a replacement record when the first terminal and the second terminal perform resource replacement; the obtaining unit 701 is specifically configured to: obtaining the replacement record from a blockchain network;
the verification unit 702 is specifically configured to: determining the authenticity of resource replacement performed between the first terminal and the second terminal according to the replacement record;
if the resource permutation that is actually performed is authentic, determining that the target ticket data passes the trustworthiness check.
In one embodiment, the resource permutation performed between the first terminal and the second terminal includes: the second terminal acquires target article resources from the first terminal by adopting a target amount of electronic resources, and the replacement records comprise logistics records; the obtaining unit 701 is specifically configured to:
sending a second acquisition request for acquiring the logistics record between the first terminal and the second terminal to a blockchain network, so that the blockchain network sends the second acquisition request to logistics equipment after the consensus on the second acquisition request is completed, and acquires the logistics record indicated by the second acquisition request from the logistics equipment;
and after the block chain network finishes the consensus on the logistics records acquired from the logistics equipment, acquiring the logistics records with the consensus finished from the block chain network.
In one embodiment, the logistics record is used for recording logistics information of at least one article resource between the first terminal and the second terminal; the obtaining unit 701 is specifically configured to:
and if the logistics record comprises the logistics information of the target article resource, determining that the resource replacement performed between the first terminal and the second terminal is real.
In one embodiment, the resource permutation performed between the first terminal and the second terminal includes: the second terminal acquires the target article resource from the first terminal by adopting a target amount of electronic resources, and the replacement record comprises a sending record of the electronic resources; the obtaining unit 701 is specifically configured to:
sending a third acquisition request aiming at the sending record to a blockchain network, so that the blockchain network sends the third acquisition request to a recording device of the electronic resource after the third acquisition request is identified, and obtains the sending record indicated by the third acquisition request from the recording device;
and after the block chain network finishes the consensus on the sending records acquired from the recording equipment, acquiring the consensus-finished sending records from the block chain network.
In one embodiment, the sending records include at least one record of the second terminal sending electronic resources to the first terminal; the obtaining unit 701 is specifically configured to:
determining that the resource replacement performed between the first terminal and the second terminal is real if the transmission record includes a record of transmitting the target amount of electronic resources.
In one embodiment, the target bill data acquired from the first terminal is in a to-be-generated state; the sending unit 703 is specifically configured to:
and converting the target bill data from the to-be-validated state into a validated state, and sending the target bill data in the validated state to a block chain network.
In one embodiment, the target ticket data is obtained by the first terminal from the blockchain network after the first terminal generates the target ticket data, sends the target ticket data to the blockchain network, and finishes the consensus on the target ticket data by the blockchain network.
In an embodiment, the verification unit 702 is specifically configured to:
determining the information integrity of the verification information, and if the verification information is complete information, triggering and executing the step of verifying the credibility of the target bill data by adopting the verification information;
and if the verification information is incomplete, sending the target bill data to a correlation verification terminal so that the correlation verification terminal can conveniently verify the credibility of the target bill data.
In the embodiment of the present invention, after resource replacement is performed between a first terminal and a second terminal, and the first terminal creates target ticket data for the second terminal, the obtaining unit 701 may obtain the target ticket data created by the first terminal, so that the verifying unit 702 may perform trust verification on the target ticket data based on verification information, further, the sending unit 703 may send the target ticket data to a block chain network after the target ticket data passes the trust verification, so that the second terminal obtains the target ticket data from the block chain network, which may effectively avoid spurious billing data between the first terminal and the second terminal, may effectively standardize billing behavior of ticket data between different terminals, may avoid economic loss of a server caused by behavior of spurious billing data between terminals, and is based on a characteristic that data in the block chain network cannot be tampered, the authenticity of the target bill data acquired by the second terminal from the block chain network is ensured.
Fig. 8 is a schematic block diagram of a server according to an embodiment of the present invention. The server in the present embodiment as shown in fig. 8 may include: one or more processors 801; one or more input devices 802, one or more output devices 803, and memory 804. The processor 801, the input device 802, the output device 803, and the memory 804 described above are connected by a bus 805. The memory 804 is used for storing a computer program comprising program instructions, and the processor 801 is used for executing the program instructions stored by the memory 804.
The memory 804 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 804 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 804 may also comprise a combination of the above-described types of memory.
The processor 801 may be a Central Processing Unit (CPU). The processor 801 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 801 may also be a combination of the above structures.
In the embodiment of the present invention, the memory 804 is used for storing a computer program, the computer program includes program instructions, and the processor 801 is used for executing the program instructions stored in the memory 804, so as to implement the steps of the corresponding methods as described above in fig. 2 and fig. 4.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal;
acquiring verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information;
and if the target bill data passes the credibility verification, sending the target bill data to a block chain network so that the second terminal acquires the target bill data from the block chain network.
In one embodiment, the verification information includes a white list, the white list being stored in the blockchain network; the processor 801 is configured to call the program instructions for performing:
obtaining the white list from a blockchain network; the white list is used for recording the credible identification;
checking whether the terminal identification of the second terminal is a trusted identification recorded in the white list; and if so, determining that the target bill data passes the credibility verification.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
sending a first acquisition request for acquiring the white list to a blockchain network, so that the blockchain network sends the first acquisition request to a storage terminal of the white list after the blockchain network completes consensus on the first acquisition request, and acquires the white list from the storage terminal;
and after the block chain network finishes the common identification of the obtained white list, obtaining the white list with the finished common identification from the block chain network.
In one embodiment, the authentication information includes a replacement record when the first terminal and the second terminal perform resource replacement; the processor 801 is configured to call the program instructions for performing:
obtaining the replacement record from a blockchain network;
determining the authenticity of resource replacement performed between the first terminal and the second terminal according to the replacement record;
if the resource permutation that is actually performed is authentic, determining that the target ticket data passes the trustworthiness check.
In one embodiment, the resource permutation performed between the first terminal and the second terminal includes: the second terminal acquires target article resources from the first terminal by adopting a target amount of electronic resources, and the replacement records comprise logistics records; the processor 801 is configured to call the program instructions for performing:
sending a second acquisition request for acquiring the logistics record between the first terminal and the second terminal to a blockchain network, so that the blockchain network sends the second acquisition request to logistics equipment after the consensus on the second acquisition request is completed, and acquires the logistics record indicated by the second acquisition request from the logistics equipment;
and after the block chain network finishes the consensus on the logistics records acquired from the logistics equipment, acquiring the logistics records with the consensus finished from the block chain network.
In one embodiment, the logistics record is used for recording logistics information of at least one article resource between the first terminal and the second terminal; the processor 801 is configured to call the program instructions for performing:
and if the logistics record comprises the logistics information of the target article resource, determining that the resource replacement performed between the first terminal and the second terminal is real.
In one embodiment, the resource permutation performed between the first terminal and the second terminal includes: the second terminal acquires the target article resource from the first terminal by adopting a target amount of electronic resources, and the replacement record comprises a sending record of the electronic resources; the processor 801 is configured to call the program instructions for performing:
sending a third acquisition request aiming at the sending record to a blockchain network, so that the blockchain network sends the third acquisition request to a recording device of the electronic resource after the third acquisition request is identified, and obtains the sending record indicated by the third acquisition request from the recording device;
and after the block chain network finishes the consensus on the sending records acquired from the recording equipment, acquiring the consensus-finished sending records from the block chain network.
In one embodiment, the sending records include at least one record of the second terminal sending electronic resources to the first terminal; the processor 801 is configured to call the program instructions for performing:
determining that the resource replacement performed between the first terminal and the second terminal is real if the transmission record includes a record of transmitting the target amount of electronic resources.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
and converting the target bill data from the to-be-validated state into a validated state, and sending the target bill data in the validated state to a block chain network.
In one embodiment, the target ticket data is obtained by the first terminal from the blockchain network after the first terminal generates the target ticket data, sends the target ticket data to the blockchain network, and finishes the consensus on the target ticket data by the blockchain network.
In one embodiment, the processor 801 is configured to call the program instructions for performing:
determining the information integrity of the verification information, and if the verification information is complete information, triggering and executing the step of verifying the credibility of the target bill data by adopting the verification information;
and if the verification information is incomplete, sending the target bill data to a correlation verification terminal so that the correlation verification terminal can conveniently verify the credibility of the target bill data.
Embodiments of the present invention provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method embodiments as shown in fig. 2 or fig. 4. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A data processing method, comprising:
acquiring target bill data, wherein the target bill data is created for a second terminal by a first terminal after resource replacement is executed between the first terminal and the second terminal;
acquiring verification information of the target bill data, and verifying the credibility of the target bill data by adopting the verification information;
and if the target bill data passes the credibility verification, sending the target bill data to a block chain network so that the second terminal acquires the target bill data from the block chain network.
2. The method of claim 1, wherein the authentication information comprises a white list, and wherein the white list is stored in the blockchain network;
the acquiring of the verification information of the target bill data includes: obtaining the white list from a blockchain network; the white list is used for recording the credible identification;
the verifying the credibility of the target bill data by using the verification information comprises the following steps: checking whether the terminal identification of the second terminal is a trusted identification recorded in the white list; and if so, determining that the target bill data passes the credibility verification.
3. The method of claim 2, wherein the obtaining the white list from a blockchain network comprises:
sending a first acquisition request for acquiring the white list to a blockchain network, so that the blockchain network sends the first acquisition request to a storage terminal of the white list after the blockchain network completes consensus on the first acquisition request, and acquires the white list from the storage terminal;
and after the block chain network finishes the common identification of the obtained white list, obtaining the white list with the finished common identification from the block chain network.
4. The method according to claim 1, wherein the authentication information includes a replacement record when the first terminal and the second terminal perform resource replacement;
the acquiring of the verification information of the target bill data includes: obtaining the replacement record from a blockchain network;
the verifying the credibility of the target bill data by using the verification information comprises the following steps: determining the authenticity of resource replacement performed between the first terminal and the second terminal according to the replacement record;
if the resource permutation that is actually performed is authentic, determining that the target ticket data passes the trustworthiness check.
5. The method of claim 4, wherein the resource permutation performed between the first terminal and the second terminal comprises: the second terminal acquires target article resources from the first terminal by adopting a target amount of electronic resources, and the replacement records comprise logistics records; the obtaining the replacement record from the blockchain network includes:
sending a second acquisition request for acquiring the logistics record between the first terminal and the second terminal to a blockchain network, so that the blockchain network sends the second acquisition request to logistics equipment after the consensus on the second acquisition request is completed, and acquires the logistics record indicated by the second acquisition request from the logistics equipment;
and after the block chain network finishes the consensus on the logistics records acquired from the logistics equipment, acquiring the logistics records with the consensus finished from the block chain network.
6. The method according to claim 5, wherein the logistics record is used for recording logistics information of at least one item resource between the first terminal and the second terminal; the determining the authenticity of the resource permutation performed between the first terminal and the second terminal according to the permutation record includes:
and if the logistics record comprises the logistics information of the target article resource, determining that the resource replacement performed between the first terminal and the second terminal is real.
7. The method of claim 4, wherein the resource permutation performed between the first terminal and the second terminal comprises: the second terminal acquires the target article resource from the first terminal by adopting a target amount of electronic resources, and the replacement record comprises a sending record of the electronic resources; the obtaining the replacement record from the blockchain network includes:
sending a third acquisition request aiming at the sending record to a blockchain network, so that the blockchain network sends the third acquisition request to a recording device of the electronic resource after the third acquisition request is identified, and obtains the sending record indicated by the third acquisition request from the recording device;
and after the block chain network finishes the consensus on the sending records acquired from the recording equipment, acquiring the consensus-finished sending records from the block chain network.
8. The method of claim 7, wherein the sending records comprises the second terminal sending at least one record of an electronic resource to the first terminal; the determining the authenticity of the resource permutation performed between the first terminal and the second terminal according to the permutation record includes:
determining that the resource replacement performed between the first terminal and the second terminal is real if the transmission record includes a record of transmitting the target amount of electronic resources.
9. The method according to claim 1, wherein the target ticket data acquired from the first terminal is in a to-be-validated state; the sending the target ticket data to a blockchain network comprises:
and converting the target bill data from the to-be-validated state into a validated state, and sending the target bill data in the validated state to a block chain network.
10. The method of claim 1, wherein the target ticket data is obtained by the first terminal from the blockchain network after the first terminal generates the target ticket data, sends the target ticket data to the blockchain network, and completes the consensus on the target ticket data by the blockchain network.
11. The method of claim 1, wherein the verifying the trustworthiness of the target ticket data using the validation information comprises:
determining the information integrity of the verification information, and if the verification information is complete information, triggering and executing the step of verifying the credibility of the target bill data by adopting the verification information;
and if the verification information is incomplete, sending the target bill data to a correlation verification terminal so that the correlation verification terminal can conveniently verify the credibility of the target bill data.
12. A data processing apparatus, comprising:
an obtaining unit, configured to obtain target ticket data, where the target ticket data is created by a first terminal for a second terminal after resource replacement is performed between the first terminal and the second terminal;
the acquisition unit is further used for acquiring verification information of the target bill data;
the verification unit is used for verifying the credibility of the target bill data by adopting the verification information;
and the sending unit is used for sending the target bill data to a block chain network if the target bill data passes the credibility verification, so that the second terminal acquires the target bill data from the block chain network.
13. A server comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1 to 11.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 11.
CN202011265239.3A 2020-11-12 2020-11-12 Data processing method and device based on block chain, server and storage medium Pending CN112256799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011265239.3A CN112256799A (en) 2020-11-12 2020-11-12 Data processing method and device based on block chain, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011265239.3A CN112256799A (en) 2020-11-12 2020-11-12 Data processing method and device based on block chain, server and storage medium

Publications (1)

Publication Number Publication Date
CN112256799A true CN112256799A (en) 2021-01-22

Family

ID=74266666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011265239.3A Pending CN112256799A (en) 2020-11-12 2020-11-12 Data processing method and device based on block chain, server and storage medium

Country Status (1)

Country Link
CN (1) CN112256799A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094753A (en) * 2021-05-08 2021-07-09 重庆银行股份有限公司 Big data platform hive data modification method and system based on block chain
WO2022205906A1 (en) * 2021-03-29 2022-10-06 京东方科技集团股份有限公司 Data encryption method and apparatus, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738536A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device and storage medium based on block chain network
WO2020119287A1 (en) * 2018-12-13 2020-06-18 阿里巴巴集团控股有限公司 Blockchain-based invoice creation method and apparatus, and electronic device
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020119287A1 (en) * 2018-12-13 2020-06-18 阿里巴巴集团控股有限公司 Blockchain-based invoice creation method and apparatus, and electronic device
CN110738536A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device and storage medium based on block chain network
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022205906A1 (en) * 2021-03-29 2022-10-06 京东方科技集团股份有限公司 Data encryption method and apparatus, electronic device and storage medium
CN113094753A (en) * 2021-05-08 2021-07-09 重庆银行股份有限公司 Big data platform hive data modification method and system based on block chain
CN113094753B (en) * 2021-05-08 2023-02-24 重庆银行股份有限公司 Big data platform hive data modification method and system based on block chain

Similar Documents

Publication Publication Date Title
CN110245186B (en) Service processing method based on block chain and related equipment
CN110609869B (en) Block chain-based data storage method, related equipment and storage medium
CN111311209B (en) Cross-block-chain data processing method, device, equipment and computer storage medium
CN110009337B (en) Data processing method and device based on block chain
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN111177275A (en) Block chain-based management method, terminal, device and storage medium
CN111444273B (en) Data authorization method and device based on block chain
CN110020543B (en) Data processing method and device based on block chain
CN112087502B (en) Method, device and equipment for processing request and storage medium
CN112115205B (en) Cross-chain trust method, device, equipment and medium based on digital certificate authentication
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN112256799A (en) Data processing method and device based on block chain, server and storage medium
KR20200016157A (en) System and method for processing card payment based on block-chain
CN111209542B (en) Authority management method and device, storage medium and electronic equipment
CN112132588B (en) Data processing method and device based on block chain, routing equipment and storage medium
CN116777397A (en) Electronic bill management method, device, terminal and storage medium based on block chain
CN110599211A (en) Ticket information processing method and device and computer equipment
CN116739596A (en) Blockchain-based transaction supervision method, device, equipment, medium and product
CN110535664B (en) Data processing method and device based on block chain, server and storage medium
CN115099800A (en) Block chain based method and device for transferring poor asset data
CN111144958B (en) Electronic invoice issuing method, device and system based on block chain
CN114154996A (en) Cross-block-chain data transfer method and system, storage medium and terminal
CN113672988A (en) Block chain-based information management method, system, medium, and electronic device
CN110910091A (en) Data processing method, device and medium
CN116842553B (en) Function certificate management method and device based on blockchain and storage medium

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