CN109325812B - Data processing method, device, storage medium and equipment for electronic bill - Google Patents
Data processing method, device, storage medium and equipment for electronic bill Download PDFInfo
- Publication number
- CN109325812B CN109325812B CN201810971731.9A CN201810971731A CN109325812B CN 109325812 B CN109325812 B CN 109325812B CN 201810971731 A CN201810971731 A CN 201810971731A CN 109325812 B CN109325812 B CN 109325812B
- Authority
- CN
- China
- Prior art keywords
- bill
- electronic
- reimbursement
- electronic bill
- ticket
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2428—Query predicate definition using graphical user interfaces, including menus and forms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/123—Tax preparation or submission
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Computational Linguistics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Mathematical Physics (AREA)
- Technology Law (AREA)
- Computing Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a data processing method, a device, a computer readable storage medium and a computer device for electronic bills, wherein the method comprises the following steps: acquiring a reimbursement receipt; the reimbursement receipt comprises an electronic bill billing inquiry code; according to the electronic bill billing inquiry code, searching an electronic bill corresponding to the electronic bill billing inquiry code from a block chain node in a block chain network; checking the reimbursement bill according to the searched electronic bill; after the reimbursement bill is checked, transferring resources according to the reimbursement bill; and triggering the updating of the bill information of the electronic bill and recording the updated bill information to the block chain node in the block chain network after the resource transfer is successful. The scheme that this application provided can improve bill reimbursement efficiency.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing data related to an electronic ticket, a computer-readable storage medium, and a computer device.
Background
Invoices are consumer vouchers provided by businesses or individuals for consumers when selling goods, providing services, or engaging in other business activities. When a business or an individual sells goods, provides services or carries out other business activities to a consumer, the business or the individual should make an invoice and carry out tax payment according to the invoice legally.
The traditional invoice reimbursement mode is that the consumer generally needs to paste the paper invoice on the reimbursement sheet when reimburseing in the enterprise, just can reimburse, and the efficiency of invoice reimbursement has greatly been influenced to the power consumptive time.
Disclosure of Invention
Based on this, it is necessary to provide a data processing method, apparatus, computer-readable storage medium and computer device for electronic bills, aiming at the technical problem of low invoice reimbursement efficiency.
A data processing method relating to an electronic ticket, comprising:
acquiring a reimbursement receipt; the reimbursement receipt comprises an electronic bill billing inquiry code;
according to the electronic bill billing inquiry code, searching an electronic bill corresponding to the electronic bill billing inquiry code from a block chain node in a block chain network;
checking the reimbursement bill according to the searched electronic bill;
after the reimbursement bill is checked, resource transfer is carried out according to the reimbursement bill;
and triggering the updating of the bill information of the electronic bill and recording the updated bill information to the block chain node in the block chain network after the resource transfer is successful.
A data processing apparatus relating to electronic tickets, the apparatus comprising:
the acquisition module is used for acquiring reimbursement bills; the reimbursement receipt comprises an electronic bill billing inquiry code;
the searching module is used for searching the electronic bill corresponding to the electronic bill billing inquiry code from the block chain node in the block chain network according to the electronic bill billing inquiry code;
the checking module is used for checking the reimbursement document according to the searched electronic bill;
the resource transfer module is used for transferring resources according to the reimbursement receipt after the reimbursement receipt is checked;
and the triggering module is used for triggering the updating of the bill information of the electronic bill and recording the updated bill information to the block chain node in the block chain network after the resource transfer is successful.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the data processing method for electronic tickets.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the data processing method in respect of electronic tickets.
The data processing method, the data processing device, the computer readable storage medium and the computer equipment for the electronic bill can obtain the reimbursement bill which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement sheet for reimbursement in the whole reimbursement process, and paperless operation is completely realized, so that the efficiency of invoice reimbursement is improved, and the cost of invoice reimbursement is saved.
Drawings
FIG. 1 is a diagram showing an application environment of a data processing method for an electronic ticket according to an embodiment;
FIG. 2 is a flow chart showing a data processing method for an electronic ticket according to an embodiment;
FIG. 3 is a schematic diagram of the consensus algorithm in one embodiment;
FIG. 4 is a flow chart illustrating the steps for verifying an reimbursement document based on a located electronic ticket in one embodiment;
FIG. 5 is a flow chart showing the steps of updating an electronic ticket according to an embodiment;
FIG. 6 is a flowchart illustrating the steps of generating an electronic ticket reimbursement inquiry code corresponding to updated ticket information at a block link point in one embodiment;
FIG. 7 is a flowchart illustrating the steps of querying an electronic ticket in one embodiment;
FIG. 8 is a diagram of a deployment of a data processing system for electronic tickets in one embodiment;
FIG. 9 is a flowchart showing a data processing method for an electronic ticket according to an embodiment;
FIG. 10 is a block diagram showing the configuration of a data processing apparatus relating to an electronic ticket in one embodiment;
FIG. 11 is a block diagram showing the configuration of a data processing apparatus relating to an electronic ticket in one embodiment;
FIG. 12 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram of an application environment of a data processing method for an electronic ticket in one embodiment. Referring to fig. 1, the data processing method for electronic tickets is applied to a data processing system for electronic tickets. The data processing system for electronic tickets includes a user terminal 110, a recipient device 120, and a blockchain network. The blockchain network includes a plurality of blockchain nodes 130, and every two of the blockchain nodes can perform data transmission. The user terminal 110 and the recipient device 120 are connected via a network. The receiver device 120 and the block link point 130 are connected by a network. The receiving device 120 is specifically an electronic bill receiving device, and may be a terminal or a server.
The user terminal 110 may send the reimbursement document to the receiver device 120 through network connection, and the receiver device 120 obtains the reimbursement document, and searches the electronic bill corresponding to the electronic bill billing inquiry code from the block link point 130 in the block chain network according to the electronic bill billing inquiry code. The receiver device 120 checks the reimbursement document according to the found electronic ticket; after the reimbursement bill is checked, resource transfer is carried out according to the reimbursement bill; when the resource transfer is successful, the updating of the bill information of the electronic bill is triggered, and the updated bill information is triggered to be recorded to the block link point 130 in the block chain network.
The terminal may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In one embodiment, as shown in fig. 2, a data processing method for an electronic ticket is provided. The embodiment is mainly illustrated by applying the method to the receiving device 120 in fig. 1. Referring to fig. 2, the data processing method for electronic bills specifically includes the following steps:
s202, acquiring a reimbursement receipt; the reimbursement bill comprises an electronic bill billing inquiry code.
Optionally, an reimbursement document triggered by the mobile application is obtained, where the mobile application is an application program running on the mobile terminal. In this embodiment, the mobile application may specifically be an application program corresponding to an electronic ticket public server. The reimbursement document is a document provided by a user when the user needs to reimburse a superior level for resource reimbursement, and specifically may include reimbursement data and a corresponding resource transfer credential. The reimbursement data may be a detailed list of the resources to be reimbursed, including the category to which the resources belong (such as transportation fees, lodging fees, dining fees, and the like), the resource transfer share, the reimburser and reimbursement account, the time and place of resource transfer, and the like. The resource transfer voucher is a reimbursement voucher such as an electronic ticket or an electronic ticket billing inquiry code.
An electronic ticket is a ticket that is stored electronically, such as may be stored in a storage medium or computer device. The electronic bill billing inquiry code is used for inquiring the electronic bill and is only corresponding to the electronic bill. The electronic bill billing inquiry code can be specifically a character string, a two-dimensional code or a bar code and the like. The electronic bill comprises an electronic bill billing inquiry code.
Specifically, the receiver device can receive an reimbursement document triggered by the mobile application, wherein the reimbursement document comprises an electronic bill invoicing query code. In one embodiment, the reimbursement document may be generated by the mobile application and triggered for transmission to the recipient device by the mobile application. Or the mobile application acquires the reimbursement bill stored in the mobile terminal and then sends the reimbursement bill to the equipment of the receiving party.
In one embodiment, the user may save the electronic ticket through the electronic ticket public server after receiving the electronic ticket issued by the issuing party. The user is in the role of a consumer at this time, and the user can log in the mobile application through the consumer identification (i.e., the user identification) to view the electronic ticket associated with the consumer identification. Wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, the mobile application may provide a variety of reimbursement document templates for use by the user, and the consumer may select a ticket template designated by the electronic ticket recipient for the completion of reimbursement data. Further, the user can select the resource transfer voucher of the current to-be-checked resource through the mobile application, such as selecting a corresponding electronic bill or simply selecting an electronic bill billing inquiry code. The mobile application obtains the electronic bill selected by the user from the electronic bill public server, and further, the mobile application can generate the reimbursement bill according to reimbursement data filled by the user and the resource transfer voucher.
In another embodiment, the generating of the reimbursement document comprises: the electronic bill public server acquires reimbursement data; the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data; and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
Specifically, the mobile application may display an reimbursement data filling interface, and the user enters corresponding reimbursement data in the reimbursement data filling interface. And the mobile application transmits the recorded reimbursement data to the electronic bill public server. And after receiving the reimbursement data, the electronic bill public server searches for an electronic bill invoicing query code which is associated with the user identification and corresponds to the reimbursement data at the electronic bill public server. And the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code. The electronic ticket public server delivers the reimbursement document to the recipient device.
In one embodiment, the electronic bill public server can search the electronic bill which is associated with the user identification and corresponds to the reimbursement data at the electronic bill public server side, and generate the reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
In one embodiment, after the electronic bill public server generates the reimbursement document, the reimbursement document can be sent to the mobile application, and the reimbursement document can be viewed by the user through an interface displayed by the mobile application. And after receiving the reimbursement instruction triggered by the mobile application, the electronic bill public server sends the reimbursement document to the equipment of the receiving party.
In the embodiment, the mobile application is triggered, the electronic bill public server generates the reimbursement bill conveniently and quickly, and the operations of manually printing the bill, pasting the invoice and the like by a user are not needed, so that the reimbursement efficiency is greatly improved, and the reimbursement cost is saved.
In one embodiment, step S202 includes: when the mobile application triggers the reimbursement bill and reports the reimbursement bill to the electronic bill public server, receiving the reimbursement bill transmitted by the electronic bill public server; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from the block link point.
Specifically, after the mobile application triggers the reimbursement document and reports it to the electronic ticket public server, the electronic ticket public server may send the reimbursement document to the recipient device. The recipient device receives an reimbursement document delivered through the electronic ticket public server. Therefore, the reimbursement bill can be directly transmitted through the electronic bill public server for storing the electronic bill, the electronic bill can be conveniently and quickly acquired, and the electronic bill can be transmitted.
S204, according to the electronic bill billing inquiry code, searching the electronic bill corresponding to the electronic bill billing inquiry code from the block chain node in the block chain network.
Wherein, the block chain node is a data processing node in the block chain network. A blockchain network is a carrier and organization of the operation blockchain technology. The block chain technology, BT (block chain technology) for short, also called distributed book technology, is an internet database technology, and is characterized by decentralization and public transparency, so that everyone can participate in data recording. The blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data. In this embodiment, an electronic ticket is stored on a blockchain node in a blockchain network.
Specifically, the receiver device may search the electronic ticket corresponding to the electronic ticket billing query code from the blockchain node in the blockchain network according to the electronic ticket billing query code, and acquire the searched electronic ticket.
In one embodiment, there may be blockchain nodes in the blockchain network that correspond to the recipient device, which may provide an Interface for data communication with the recipient device, such as a Development sdk (Software Development Kit) and api (Application Programming Interface) Interface. And the receiving party equipment acquires the electronic bill corresponding to the electronic bill billing inquiry code from the block chain node by calling the corresponding interface. When the block chain node has the electronic bill corresponding to the electronic bill billing inquiry code, the electronic bill billing inquiry code is correct and not forged.
In one embodiment, the electronic ticket may be pre-generated and stored in a blockchain node in a blockchain network. The electronic bill can be generated through the block chain nodes and stored correspondingly, or can be generated by other equipment and uploaded to the block chain nodes for storage.
And S206, checking the reimbursement bill according to the searched electronic bill.
Specifically, the receiver device may check the reimbursement document according to the found electronic ticket. In one embodiment, when the electronic bill corresponding to the electronic bill billing inquiry code exists in the blockchain node, the fact that the electronic bill provided by the consumer really exists is indicated.
In one embodiment, the electronic ticket includes a ticket status that the recipient device can verify. For example, when the ticket status of the electronic ticket is "issued, not reimbursed", the receiving device may perform the next data check. When the bill state of the electronic bill is 'issued and reimbursed', the electronic bill is declared to have completed reimbursement and cannot be reimbursed.
In one embodiment, where the electronic ticket is included in the reimbursement document, the recipient device may also check for consistency of the electronic ticket in the reimbursement document based on the electronic ticket found from the blockchain network. When the found electronic bill checks that the electronic bill in the reimbursement bill is consistent, the receiving party equipment can continuously audit reimbursement data in the reimbursement bill. For example, whether the generation time of the electronic bill is consistent with that of the reimbursement bill, whether the category (for example, transportation fee, lodging fee or catering fee) of the resource in the electronic bill is consistent with that of the reimbursement bill, and the like.
And S208, after the reimbursement bill passes the checking, transferring resources according to the reimbursement bill.
Specifically, after the receiver device checks the data in the reimbursement document according to the check item, the checked reimbursement document is real and legal and meets reimbursement terms inside the receiver device, and the receiver device can perform corresponding resource transfer according to information such as reimbursers, reimbursement accounts, resource transfer shares and the like in the reimbursement document.
And S210, after the resources are transferred successfully, triggering the updating of the bill information of the electronic bill, and recording the updated bill information to a block chain node in the block chain network.
The bill information is information used for generating an electronic bill, and comprises an electronic bill identifier, a bill state, a billing party identifier, a receiving party identifier, a resource transfer share and the like. The electronic bill identification is used for uniquely identifying an electronic bill, and specifically can comprise a bill code and a bill number of the electronic bill. The bill status is used for indicating that the current electronic bill is in a specific stage in the whole bill cycle, such as an opened state, a reimbursed state, an unannounced state, a tax reimbursed state, an unrenounced state and the like. Wherein, the electronic bill is in the opened state to show that the electronic bill is generated; the electronic bill is in a reimbursed state, which indicates that the electronic bill has completed reimbursement for one time; the electronic bill is in the tax declared state, which indicates that the receiver of the electronic bill completes one tax declaration according to the electronic bill.
The invoicing party identifier is an identifier corresponding to the device initiating the invoicing request and is used for uniquely identifying the invoicing party. The invoicing party may be a selling enterprise, and the invoicing party needs to provide a consumption certificate, i.e. an electronic bill, for the consumer when selling goods, providing services or engaging in other business activities. The invoicing party identification can be specifically a name of a seller, a taxpayer identification number of the seller, an account number of the seller for opening an account, and the like.
The receiver identification is used for uniquely identifying the electronic bill receiver. The recipient may specifically be an individual or a business. After an individual or a business consumes at a sales business, the sales business can provide a consumption certificate, namely an electronic bill, for a consumer. The receiver identification may specifically be a name of the purchaser, a taxpayer identification number of the purchaser, or an account number of the purchaser. The resource transfer share is the specific share of the resource consumed by the consumer.
Specifically, after the resource transfer is successful, the receiving device may trigger the update of the ticket information of the electronic ticket, mainly trigger the update of the ticket state in the ticket information, and further trigger the recording of the updated ticket information to the block chain node in the block chain network. That is, when the resource transfer is successful, the ticket status of the electronic ticket is updated to the reimbursed status, and the updated information indicating that the electronic ticket is in the reimbursed status is stored in the uplink.
In one embodiment, the step of triggering the update of the ticket information of the electronic ticket and triggering the recording of the updated ticket information to the blockchain node in the blockchain network specifically includes: sending a bill information updating request to an electronic bill public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
Specifically, when the resource transfer is successful, the receiving device sends a bill information update request to the electronic bill public server. The electronic bill public server can send a confirmation request to the user after receiving the bill information updating request, and when receiving confirmation information which is triggered by the user and indicates that the resource transfer is successful, the electronic bill public server updates the bill state in the bill information of the electronic bill to a reimbursed state and uploads the updated bill information to the block chain nodes in the block chain network.
In one embodiment, there may be a blockchain link point in the blockchain network that corresponds to the electronic ticket common server. When the electronic bill public server intends to write data into the block chain network, the data can be directly transmitted to the block chain link points through the interfaces provided by the corresponding block chain link points, and the data is written into the data block after the block chain link points are identified with other block chain link points in the block chain nodes. The data block is a memory module for storing data in a block link point.
In one embodiment, the block link node receives the updated ticket information, generates an electronic ticket reimbursement inquiry code corresponding to the updated ticket information, updates the electronic ticket according to the updated ticket information and the electronic ticket reimbursement inquiry code, and writes the updated electronic ticket into the data block after reaching consensus in the block chain network. Therefore, after the resource transfer is successful, the bill state of the electronic bill can be correspondingly updated, and the updated information can be stored in a chain manner, so that the circulation information of the electronic bill can be shared among all roles through the block chain network, and the latest state of the electronic bill can be inquired in real time through the block chain network.
Common consensus algorithms in the blockchain network include POW (Proof of Work), POS (Proof of interest), DPOS (guaranteed Proof of interest), PBFT (Practical Byzantine Fault-tolerant algorithm), and the like.
The consensus algorithm employed in one particular embodiment is specifically a consensus algorithm (Bft-Raft) based on a consensus algorithm (e.g., raft) and a Byzantine fault-tolerant algorithm (e.g., bft). Of course, other consensus algorithms may be adopted in other embodiments of the present invention, and the embodiments of the present invention are not limited herein.
For example, FIG. 3 shows a schematic diagram of the consensus algorithm in one embodiment. Referring to fig. 3, a Client (Client, specifically, a blockchain electronic invoice application platform as shown in fig. 8) initiates a consensus Request (Request) and sends the consensus Request to a blockchain node (master node Leader a) in a leading state. And the block chain nodes in the leader state are obtained by jointly electing each block chain link point in the block chain network. Continuing to enter an application Entity stage, broadcasting the consensus content (or intermediate data obtained after processing the consensus content) corresponding to the consensus request to other block chain nodes (following nodes, namely, follower B, follower C and Follower D …) which are not in a Leader state in the block chain network by the Leader A; continuing to enter an application Response stage, broadcasting the received consensus content to other blockchain nodes by each slave node, entering a Commit stage when the consensus content broadcast by the other blockchain nodes with the preset number (2f + 1) is received to be consistent, and feeding back the confirmation result to the master node by each slave node. And when the master node receives the feedback confirmation of other block link points with the preset number (2f + 1), judging that the result of the consensus feedback (Reply) to the Client is completed. Wherein, 3f +1 is less than or equal to N, and N is the number of block chain nodes in the block chain network. f is the number of bad blockchain nodes in the blockchain network.
As will be described in detail below with reference to the embodiments of the present application, when the electronic ticket public server uploads the updated ticket information to the block chain node, that is, the updated ticket information is intended to be written into the data block in the block chain network, the event that needs to be agreed upon is written into the electronic ticket public server. When the block chain node corresponding to the electronic bill public server is the block chain node in the leading state, the block chain node broadcasts the event needing to achieve the consensus to other block chain nodes in the block chain network.
After receiving the event needing to be agreed, the blockchain nodes which are not in the leading state broadcast the received event needing to be agreed to other blockchain nodes in the blockchain network. In this way, each block link point in the block chain network enters a confirmation stage when receiving the data broadcast by the preset number of other block chain nodes and being consistent, so as to prevent the cheating behavior of the block chain node in the leading state. And feeding back the confirmation result to the block chain nodes in the leading state after the confirmation is finished, judging that the consensus is finished on the event needing to be achieved when the block chain nodes in the leading state receive the feedback confirmation of the preset number of other block chain nodes, and writing the data corresponding to the event achieving the consensus into the data block by the block chain nodes.
When the block chain link point corresponding to the electronic bill common server is not the block chain link point in the leader state, the event needing to achieve consensus is forwarded to the block chain node in the leader state, and the block chain link point in the leader state is used for leading the consensus process in the previous steps. And the block chain nodes in the leader state are obtained by jointly electing each block chain link point in the block chain network.
The data processing method of the electronic bill obtains the reimbursement bill which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement bill in the whole reimbursement process to be reimbursed, paperless operation is completely realized, invoice reimbursement efficiency is improved, and invoice reimbursement cost is saved.
In one embodiment, as shown in fig. 4, step S206, that is, the step of checking the reimbursement receipt according to the found electronic bill specifically includes the following steps:
s402, acquiring a ticket symmetric key corresponding to the electronic ticket.
The ticket symmetric key is a key of the electronic ticket and is a symmetric key. And encrypting the bill information by using the bill symmetric key to obtain a bill ciphertext, and decrypting the bill ciphertext by using the bill symmetric key to obtain the bill information.
In one embodiment, the block chain node can randomly generate a bill symmetric key corresponding to the bill information after receiving the bill information uploaded by the invoicing party. And encrypting the bill information through the bill symmetric key to obtain a bill ciphertext. And the block chain node encrypts the bill symmetric key through the public key of the invoicing party and the public key of the consumer to obtain a first bill symmetric key ciphertext and a second bill symmetric key ciphertext. And the block chain link point associates the bill ciphertext, the first bill symmetric key ciphertext, the second bill symmetric key ciphertext and the electronic bill billing inquiry code to generate the electronic bill. The electronic bill billing inquiry code is generated by carrying out hash operation on bill information.
In one embodiment, the consumer, upon triggering the reimbursement document via the mobile application, attaches the item symmetric key to the reimbursement document such that the recipient device can decrypt the electronic item based on the corresponding item symmetric key to obtain item information.
In one embodiment, after the recipient device finds the electronic ticket from the block link point, the electronic ticket may be sent to the terminal where the consumer is located. And the consumer decrypts the second bill symmetric key ciphertext through the consumer private key to obtain a bill symmetric key, and feeds the bill symmetric key back to the electronic bill receiver.
S404, the electronic bill is decrypted through the bill symmetric key to obtain bill information.
Specifically, the receiving device can decrypt the electronic bill through the bill symmetric key to obtain the bill information. The bill information comprises an electronic bill identification, a bill state, a billing party identification, a receiving party identification, a resource transfer share and the like.
S406, checking the reimbursement bill according to the decrypted bill information.
Specifically, the receiving party equipment checks the reimbursement document according to the decrypted bill information. In one embodiment, the ticket information includes ticket status and resource transfer related information. The receiver device can verify the bill status; and when the bill state indicates that the electronic bill is in the non-reimbursement state, checking the reimbursement bill according to the related information of the resource transfer.
Specifically, the recipient device can extract the ticket status from the ticket information, and when the electronic ticket is in the reimbursed status, the reimbursement document reconciliation is not passed. When the electronic bill is in the non-reimbursement state, the receiver equipment checks the reimbursement bill according to the related information of the resource transfer. For example, the recipient device may check whether the generation time of the electronic ticket is consistent with the reimbursement ticket, whether the category to which the resource in the electronic ticket belongs (e.g., transportation fees, lodging fees, dining fees, etc.) is consistent with the reimbursement ticket, and so on. Therefore, when the bill state indicates that the electronic bill is in the unreported state, the reimbursement bill is checked according to the resource transfer related information, repeated reimbursement of the electronic bill can be prevented, and the checking efficiency of the reimbursement bill is improved.
In the above embodiment, the electronic ticket stored in the block link point in the block chain network is data in an encrypted state, so that other people except a party related to the electronic ticket can be prevented from acquiring the plaintext information of the electronic ticket, and the security of the electronic ticket can be guaranteed. The receiver decrypts the electronic bill through the bill symmetric key corresponding to the electronic bill to obtain the bill information, and then executes the checking action, so that the electronic bill verification method is safe and convenient.
In one embodiment, as shown in fig. 5, the data processing method for electronic tickets further includes an updating step of the electronic ticket, which specifically includes the following steps:
s502, the block chain node generates an electronic bill reimbursement inquiry code corresponding to the updated bill information.
The electronic bill reimbursement inquiry code is used for inquiring the electronic bill and is uniquely corresponding to the electronic bill. The electronic bill reimbursement inquiry code can be specifically a character string, a two-dimensional code or a bar code and the like. Specifically, the block link point can perform hash operation on the updated bill information through a hash algorithm to obtain the electronic bill reimbursement inquiry code. Examples of the Hash Algorithm include MD5 (Message Digest Algorithm, fifth edition), SHA1 (Secure Hash Algorithm), SHA2, and the like, and the embodiment is not limited in this respect.
In another embodiment, the block link point may encrypt the updated ticket information using an encryption algorithm to obtain the ticket ciphertext. And generating a corresponding electronic bill reimbursement inquiry code according to the bill ciphertext. Among them, the encryption algorithm, such as symmetric encryption algorithm and asymmetric encryption algorithm, etc. A symmetric Encryption Algorithm, such as DES (Data Encryption Standard), AES (Advanced Encryption Standard), IDEA (International Data Encryption Algorithm), and the like. Asymmetric encryption algorithms, such as RSA (Rivest, shamir, adleman, encryption Algorithm), DSA (Digital Signature Algorithm), or ECC (Elliptic curve cryptography), etc.
In one embodiment, the blockchain node may perform a hash operation on the updated ticket information to obtain a hash value of the updated ticket information. Or, the block link point can also perform hash operation on the bill ciphertext to obtain a corresponding bill hash value.
In one embodiment, the blockchain node may directly use the ticket hash value as the electronic ticket reimbursement lookup code. In another embodiment, the block chain node generates the electronic ticket reimbursement inquiry code based on the ticket hash value and the signature data including the private key signature of the recipient device.
S504, the block chain node point updates the electronic bill according to the updated bill information and the electronic bill reimbursement inquiry code, and writes the updated electronic bill into the data block.
The data block is a memory module for storing data in a block link point. Specifically, after the block link point generates the electronic bill reimbursement inquiry code, the updated bill information and the electronic bill reimbursement inquiry code can be associated to generate the updated electronic bill. The block chain node may write the updated electronic ticket to the data block. The electronic bill reimbursement inquiry code can be regarded as an index of the electronic bill and is used for searching the corresponding electronic bill.
In one embodiment, before generating the electronic ticket reimbursement inquiry code, the blockchain node sends corresponding ticket information and the like to other blockchain nodes in the blockchain network, and after the blockchain nodes reach consensus, the blockchain nodes generate the electronic ticket reimbursement inquiry code. At this point, the block chain node may write the electronic ticket directly to the data block as new blocks are generated.
In one embodiment, the blockchain node may send the updated electronic ticket to other blockchain nodes in the blockchain network after updating the electronic ticket, and the blockchain nodes write the updated electronic ticket into the data block after reaching the consensus.
S506, feeding back the reimbursement inquiry code of the electronic bill by the block link points; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
Specifically, the block chain node feeds back an electronic bill reimbursement inquiry code to the electronic bill public server and/or the receiver equipment corresponding to the receiver identification, wherein the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill. The updated electronic ticket is in a reimbursed state.
In one embodiment, the blockchain node feeds back the electronic ticket reimbursement inquiry code and feedback information indicating that the ticket update was successful to the electronic ticket public server and/or the recipient device. The feedback information indicating successful ticket update may specifically be a feedback code indicating successful ticket update, such as 2222 or 3333.
In one embodiment, after receiving the electronic bill reimbursement inquiry code fed back by the blockchain node, the receiver device and/or the electronic bill public server can search the corresponding electronic bill from the blockchain node in the blockchain network according to the electronic bill reimbursement inquiry code.
In one embodiment, the consumer may store the updated ticket information via the electronic ticket public server and log into the electronic ticket public server via the consumer identification to view the ticket information associated with the consumer identification.
In one embodiment, the updated electronic ticket written in the data block includes encrypted ticket ciphertext. When the block chain node feeds back the electronic bill reimbursement inquiry code to the receiver equipment and/or the electronic bill public server, the corresponding decryption key can be fed back at the same time, so that the receiver equipment and/or the electronic bill public server can decrypt the electronic bill according to the corresponding decryption key to obtain the bill information.
In one embodiment, the blockchain node may encrypt the updated ticket information using the ticket symmetric key to obtain a ticket ciphertext, and then encrypt the ticket symmetric key encryption using a public key corresponding to the recipient device to obtain a third ticket symmetric key ciphertext. And the block chain node can generate an updated electronic bill according to the association of the bill cipher text, the first bill symmetric key cipher text, the second bill symmetric key cipher text, the third bill symmetric key cipher text and the electronic bill reimbursement inquiry code. The block chain node can write the updated electronic bill into the data block.
In the above embodiment, the block link point generates the corresponding electronic bill reimbursement inquiry code according to the updated bill information, updates the electronic bill according to the updated bill information and the electronic bill reimbursement inquiry code, and writes the updated electronic bill into the data block, so that the electronic bill can be directly updated on the block link point, each state of the electronic bill can be traced, and management of the electronic bill is facilitated.
In an embodiment, as shown in fig. 6, step S502, that is, the step of generating the electronic ticket reimbursement inquiry code corresponding to the updated ticket information by the blockchain node specifically includes the following steps:
and S602, generating a bill hash value by the block chain node according to the updated bill information.
Specifically, the block link point can perform hash operation on the updated bill information through a hash algorithm to obtain a bill hash value.
S604, sending the hash value of the bill to an electronic bill public server; and the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data.
In particular, the blockchain node may send the ticket hash value to the electronic ticket public server. And after receiving the bill hash value, the electronic bill public server signs the bill hash value by adopting a private key of a consumer to obtain signature data, and transmits the signature data back to the block chain node.
In one embodiment, the electronic ticket public server may perform a hash operation on the ticket information using the same hash algorithm after receiving the ticket hash value to verify the authenticity of the ticket hash value sent by the blockchain node. And after the verification is passed, the private key stored in the electronic bill public server by the consumer is adopted to sign the hash value of the bill to obtain signature data.
And S606, the block chain node receives the signature data returned by the electronic bill public server.
And S608, after the signature data passes the verification, generating an electronic bill reimbursement inquiry code by the block link points according to the hash value of the bill and the signature data.
Specifically, after the block chain node receives the signature data returned by the electronic bill public server, the signature data is verified through a public key corresponding to the consumer and locally cached at the block chain node. And after the signature data passes the verification, the block link point performs hash operation on the hash value of the bill and the signature data to generate an electronic bill reimbursement inquiry code.
In one embodiment, after receiving the signature data returned by the electronic bill public server, the blockchain node can transmit the signature data and the updated bill information to other blockchain nodes in the blockchain network, and after the blockchain nodes achieve consensus, the blockchain nodes generate the electronic bill reimbursement inquiry code according to the hash value of the bill and the signature data.
In the above embodiment, the ticket hash value is generated according to the updated ticket information, the electronic ticket public server signs the ticket hash value to obtain the signature data, and the electronic ticket reimbursement inquiry code is generated through the ticket hash value and the signature data, so that the authenticity of the electronic ticket reimbursement inquiry code approved by both the block chain node and the electronic ticket public server can be ensured, and the authenticity of the electronic ticket is further ensured.
In an embodiment, as shown in fig. 7, the data processing method for the electronic ticket further includes a step of querying the electronic ticket, where the step specifically includes the following steps:
s702, logging in the electronic bill inquiry application through the current electronic bill receiver identification.
The electronic bill receiver identification is also called receiver identification for short and is used for uniquely identifying the electronic bill receiver. In this embodiment, the electronic bill receiving party may specifically be an reimbursement enterprise. An electronic ticket querying application is an application program, such as a blockchain browser, used to query electronic tickets. The electronic bill query application may be an application program corresponding to a block chain node, and may access the block chain node through a network connection.
Specifically, the reimbursement enterprise may log in to an electronic ticket enquiry application via the current electronic ticket recipient identification, which may be installed on the recipient device or other computer device.
In one embodiment, there may be blockchain nodes in a blockchain network for providing query services, which may provide an electronic ticket query application for use with outbound queries. The computer equipment can be provided with an electronic bill query application, and users related to electronic bills, such as invoices, receivers, consumers and the like, can log in the electronic bill query application through respective account numbers (or identifications), and can search the information of the corresponding electronic bills.
And S704, displaying the electronic bill query interface through the electronic bill query application.
Specifically, an electronic bill query application can be run on the receiver device, and the electronic bill query application can receive the display instruction and display the electronic bill query interface. Wherein, the electronic bill inquiry interface can comprise: the system comprises an input box of an electronic bill inquiry code and a trigger button for triggering an electronic bill inquiry command. The electronic bill inquiry code comprises an electronic bill billing inquiry code and an electronic bill reimbursement inquiry code.
S706, receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code.
Specifically, the receiving party equipment can receive an electronic bill inquiring instruction through an electronic bill inquiring application, and the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code. The user can trigger the electronic bill query instruction by clicking or pressing a trigger button for triggering the electronic bill query instruction.
S708, responding to the electronic bill query instruction, and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
Specifically, the receiving device can search the electronic bill corresponding to the electronic bill reimbursement inquiry code from the block link point through the electronic bill query application, and display the bill information correspondingly displaying the electronic bill corresponding to the electronic bill reimbursement inquiry code in the electronic bill query interface. The bill information of the electronic bill comprises a bill state. The reimbursement enterprise can inquire whether the bill state of the electronic bill is updated to the reimbursed state through the electronic bill inquiry application.
In one embodiment, the electronic bill searched by the receiver device from the block chain node is an encrypted ciphertext, and the receiver device can decrypt the ciphertext through a receiver private key to obtain the bill information of the electronic bill.
In the embodiment, the electronic bill query application can be logged in through the current electronic bill receiver identification, the electronic bill can be queried according to the electronic bill reimbursement query code, only the user related to the electronic bill, such as the electronic bill receiver, can query the bill information of the electronic bill, and the data safety of the electronic bill is guaranteed.
In one embodiment, the electronic ticket is a blockchain electronic invoice; the electronic bill identification is a block chain electronic invoice number; the invoicing party identifier is an enterprise identifier; the receiver identification is an enterprise identification.
The block chain electronic invoice is an electronic invoice processed based on a block chain technology. The blockchain electronic invoice number may specifically include an invoice code and an invoice number. The enterprise identifier is used for uniquely identifying an enterprise, and can be a unique identifier distributed to the enterprise by a tax bureau after the enterprise is registered by the tax bureau.
Specifically, after the paper invoice is electronized, before the electronic invoice is not issued, the concept of a blank invoice can be considered to be no longer existed. Then, the billing enterprise claims the block chain electronic invoice number capable of issuing the invoice in the tax bureau, and uploads the billing party identifier, the block chain electronic invoice number, the receiver identifier and the resource transfer share to the block chain node to generate the block chain electronic invoice when the block chain electronic invoice needs to be issued.
After receiving the blockchain electronic invoice transmitted by the invoicing party, the consumer can store the blockchain electronic invoice in an electronic bill public server (such as a WeChat server). Triggering a reimbursement document comprising the blockchain electronic invoice through a mobile application corresponding to the electronic bill public server. The electronic bill receiving party acquires the block chain electronic invoice from the block chain link point to check the reimbursement bill. The whole reimbursement process can be operated and completed by a computer device no matter a consumer or an electronic bill receiver, and the whole reimbursement process is completely paperless.
Referring to FIG. 8, a diagram of a deployment of a data processing system for electronic tickets is shown in one particular embodiment. In a specific block chain electronic invoice application scenario, referring to fig. 8, a block chain network includes at least 4 block chain nodes to form a federation chain, which are respectively a block chain node corresponding to a tax office server, a block chain node corresponding to an invoicing enterprise, a block chain node corresponding to an electronic invoice utility server, and a block chain node corresponding to an reimbursement enterprise. Typically, the devices of each role interact with the corresponding tile link points. The electronic bill public server is used for storing the issued block chain electronic invoices for the consumers, and can be a WeChat server and the like.
On one hand, the tax office server provides access interfaces (internal interfaces for tax office terminals and external interfaces for enterprise users) for the equipment of each role to access through the reverse proxy service, hosts the identity keys of each role and manages the characteristic data of each role. On the other hand, data of the blockchain network (or data to be written after consensus) is synchronously written in from the blockchain network module in the corresponding blockchain node through a synchronization tool in real time so as to query and count the blockchain electronic invoice related data of each role.
On one hand, each block link point in the block chain network provides an access interface for corresponding equipment to access through reverse proxy service (for example, equipment of an reimbursement enterprise accesses the block link point corresponding to the reimbursement enterprise, etc.). On the other hand, the data sent by the corresponding device through the reverse proxy service is received through the blockchain electronic invoice application platform (for example, the device of the reimbursement enterprise uploads the data to the blockchain link point corresponding to the reimbursement enterprise, that is, the data is transmitted to the blockchain electronic invoice application platform through an interface provided by the reverse proxy service, etc.). The blockchain electronic invoice application platform then transmits the data to the blockchain network module. The block chain network modules of each block chain node jointly form a consensus network, and after consensus is achieved in the consensus network, data is written into the block chain network modules. The blockchain node also comprises a cache database used for caching various data, such as an enterprise public key obtained from a system center server.
The deployment map may further include a block chain network module system central server, which stores the mapping between the enterprise identification and the public key of each enterprise, is isolated from the tax office server, and is mainly used for identity authentication (e.g., only the tax office is restricted to issue invoices, and constraint conditions related to the enterprise are changed). Subsequent operations which need to be centralized are uniformly put into the central server of the system to be executed.
The reverse proxy service may specifically be nginx. The blockchain electronic invoice Application platform realizes the main business logic of blockchain electronic invoices, and exposes a sdk (Software Development Kit) and an api (Application Programming Interface) Interface for interaction of a third party through reverse proxy service access. The blockchain network module can be specifically realized based on the Tencent underlay blockchain technology (trustSQL). The cache region may be specifically implemented by a mysql database. It is to be understood that the present embodiment is for illustration and is not limited to the implementation manner adopted in the specific implementation.
In a specific application scenario, the electronic ticket may specifically be a blockchain electronic invoice, the electronic ticket management server may specifically be a tax office server, the invoicing party device may specifically be a terminal or a server corresponding to an electronic ticket invoicing party (an electronic ticket submitting party), and the electronic ticket public server may specifically be a public storage service for providing an electronic ticket originating from a blockchain link point, such as a wechat server. It can be understood that the billing enterprise can be used as an electronic bill billing party to make an electronic bill and can also be used as an electronic bill reporting party to reimburse the electronic bill.
As shown in fig. 9, in a specific embodiment, the data processing method for electronic tickets specifically includes the following steps:
s902, receiving the reimbursement bill transmitted by the electronic bill public server after the mobile application triggers the reimbursement bill and reports the reimbursement bill to the electronic bill public server; the reimbursement bill comprises an electronic bill billing inquiry code; the electronic bill common server is used for providing common storage service of electronic bills originated from block link points.
And S904, searching the electronic bill corresponding to the electronic bill billing inquiry code from the block chain node in the block chain network according to the electronic bill billing inquiry code.
And S906, acquiring the symmetric key of the bill corresponding to the electronic bill.
S908, decrypting the electronic bill through the bill symmetric key to obtain bill information; the ticket information includes ticket status and resource transfer related information.
S910, verifying the bill state.
S912, when the bill state shows that the electronic bill is in the non-reimbursement state, the reimbursement bill is checked according to the related information of the resource transfer.
And S914, after the reimbursement bill is checked, transferring resources according to the reimbursement bill.
S916, after the resource transfer is successful, sending a bill information updating request to the electronic bill public server; and the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node.
S918, logging in the electronic bill query application through the current electronic bill receiver identification.
And S920, displaying the electronic bill query interface through the electronic bill query application.
S922, receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code.
And S924, responding to the electronic bill query instruction, and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
The data processing method of the electronic bill obtains the reimbursement bill which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement sheet for reimbursement in the whole reimbursement process, and paperless operation is completely realized, so that the efficiency of invoice reimbursement is improved, and the cost of invoice reimbursement is saved.
Fig. 9 is a flowchart illustrating a data processing method for an electronic ticket according to an embodiment. It should be understood that, although the steps in the flowchart of fig. 9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
As shown in fig. 10, in one embodiment, there is provided a data processing apparatus 1000 regarding an electronic ticket, including: an acquisition module 1001, a lookup module 1002, a reconciliation module 1003, a resource transfer module 1004, and a trigger module 1005.
An obtaining module 1001 for obtaining reimbursement documents; the reimbursement document comprises an electronic bill invoicing inquiry code.
The searching module 1002 is configured to search, according to the electronic ticket billing query code, an electronic ticket corresponding to the electronic ticket billing query code from a block chain node in the block chain network.
And a checking module 1003, configured to check the reimbursement document according to the found electronic bill.
And the resource transfer module 1004 is used for transferring resources according to the reimbursement document after the reimbursement document passes the checking.
The triggering module 1005 is configured to trigger updating of the ticket information of the electronic ticket after the resource transfer is successful, and trigger recording of the updated ticket information to a block chain node in the block chain network.
In one embodiment, the obtaining module 1001 is further configured to receive an reimbursement document transmitted by the electronic ticket public server after the mobile application triggers the reimbursement document and reports the reimbursement document to the electronic ticket public server; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, when the mobile application triggers an reimbursement document, the mobile application instructs the electronic ticket public server to obtain reimbursement data; the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data; and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
In one embodiment, the verification module 1003 is further configured to obtain a ticket symmetric key corresponding to the electronic ticket; decrypting the electronic bill through the bill symmetric key to obtain bill information; and checking the reimbursement bill according to the bill information obtained by decryption.
In one embodiment, the reconciliation module 1003 is further adapted to verify the status of the ticket; and when the bill state indicates that the electronic bill is in the non-reimbursement state, checking the reimbursement bill according to the resource transfer related information.
In one embodiment, the triggering module 1005 is further configured to send a ticket information update request to the electronic ticket public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, the uploaded updated ticket information is used for instructing the block link point to generate an electronic ticket reimbursement inquiry code corresponding to the updated ticket information; updating the electronic bill by the block chain node according to the updated bill information and the electronic bill reimbursement inquiry code, and writing the updated electronic bill into the data block; the block chain node feeds back the electronic bill reimbursement inquiry code; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
In one embodiment, the uploaded updated ticket information is further used for instructing the block chain node to generate a ticket hash value according to the updated ticket information; sending the hash value of the bill to an electronic bill public server; the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data; the block link point receives signature data returned by the electronic bill public server; and when the signature data passes the verification, the block link points generate an electronic bill reimbursement inquiry code according to the hash value of the bill and the signature data.
Referring to fig. 11, in one embodiment, the data processing apparatus 1000 for electronic tickets further includes a login module 1006 and a presentation module 1007.
A login module 1006, configured to log in the electronic ticket query application through the current electronic ticket recipient identification.
And the showing module 1007 is used for showing the electronic bill query interface through the electronic bill query application.
The obtaining module 1001 is further configured to receive an electronic ticket query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code.
The displaying module 1007 is further configured to display, in response to the electronic ticket query instruction, ticket information of the electronic ticket corresponding to the electronic ticket reimbursement query code in the electronic ticket query interface.
The data processing device for the electronic bill obtains the reimbursement bill which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement sheet for reimbursement in the whole reimbursement process, and paperless operation is completely realized, so that the efficiency of invoice reimbursement is improved, and the cost of invoice reimbursement is saved.
FIG. 12 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the recipient device 120 in fig. 1. As shown in fig. 12, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a data processing method with respect to an electronic ticket. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform a data processing method with respect to the electronic ticket. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 12 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the data processing apparatus provided herein with respect to an electronic ticket may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 12. The memory of the computer device may store therein various program modules constituting the data processing apparatus on electronic tickets, such as an acquisition module, a search module, a collation module, a resource transfer module, and a trigger module shown in fig. 10. The computer program constituted by the respective program modules causes the processor to execute the steps in the data processing method on the electronic ticket of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 12 may execute step S202 by the acquiring module in the data processing apparatus on the electronic ticket shown in fig. 10. The computer device may perform step S204 by the lookup module. The computer device may perform step S206 by the collation module. The computer device may perform step S208 by the resource transfer module. The computer device may perform step S210 through the trigger module.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of: acquiring a reimbursement receipt; the reimbursement document comprises an electronic bill invoicing inquiry code; according to the electronic bill billing inquiry code, searching an electronic bill corresponding to the electronic bill billing inquiry code from a block chain node in a block chain network; checking the reimbursement bill according to the searched electronic bill; after the reimbursement bill is checked, transferring resources according to the reimbursement bill; and triggering the updating of the bill information of the electronic bill and recording the updated bill information to the block chain node in the block chain network after the resource transfer is successful.
In one embodiment, the computer program causes the processor in performing the step of obtaining an reimbursement document triggered by the mobile application to perform the steps of: when the mobile application triggers the reimbursement bill and reports the reimbursement bill to the electronic bill public server, receiving the reimbursement bill transmitted by the electronic bill public server; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, when the mobile application triggers an reimbursement document, the mobile application instructs the electronic ticket public server to obtain reimbursement data; the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data; and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
In one embodiment, the computer program causes the processor in performing the step of verifying the reimbursement document in dependence upon the located electronic ticket to specifically perform the steps of: acquiring a bill symmetric key corresponding to the electronic bill; decrypting the electronic bill through the bill symmetric key to obtain bill information; and checking the reimbursement document according to the bill information obtained by decryption.
In one embodiment, the ticket information includes ticket status and resource transfer related information; the computer program causes the processor to perform the following steps in particular when performing the step of checking the reimbursement document in dependence on the decrypted ticket information: verifying the bill state; and when the bill state indicates that the electronic bill is in the non-reimbursement state, checking the reimbursement bill according to the related information of the resource transfer.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the steps of triggering an update of ticket information of an electronic ticket and triggering a recording of the updated ticket information to a blockchain node in a blockchain network: sending a bill information updating request to an electronic bill public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to a reimbursed state and upload the updated bill information to the block chain node; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, the uploaded updated ticket information is used for instructing the block link point to generate an electronic ticket reimbursement inquiry code corresponding to the updated ticket information; updating the electronic bill by the block chain node according to the updated bill information and the electronic bill reimbursement inquiry code, and writing the updated electronic bill into the data block; the block chain node feeds back the electronic bill reimbursement inquiry code; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
In one embodiment, the uploaded updated ticket information is further used for instructing the block chain node to generate a ticket hash value according to the updated ticket information; sending the hash value of the bill to an electronic bill public server; the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data; the block link point receives signature data returned by the electronic bill public server; and when the signature data passes the verification, the block link points generate an electronic bill reimbursement inquiry code according to the hash value of the bill and the signature data.
In one embodiment, the computer program causes the processor to further perform the steps of: logging in the electronic bill query application through the current electronic bill receiver identification; displaying an electronic bill query interface through an electronic bill query application; receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code; and responding to the electronic bill query instruction, and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
The computer equipment obtains the reimbursement receipt which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement sheet for reimbursement in the whole reimbursement process, and paperless operation is completely realized, so that the efficiency of invoice reimbursement is improved, and the cost of invoice reimbursement is saved.
A computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of: acquiring a reimbursement receipt; the reimbursement receipt comprises an electronic bill billing inquiry code; according to the electronic bill billing inquiry code, searching an electronic bill corresponding to the electronic bill billing inquiry code from a block chain node in a block chain network; checking the reimbursement bill according to the searched electronic bill; after the reimbursement bill is checked, transferring resources according to the reimbursement bill; and triggering the updating of the bill information of the electronic bill and recording the updated bill information to the block chain node in the block chain network after the resource transfer is successful.
In one embodiment, the computer program causes the processor in performing the step of obtaining an reimbursement document triggered by the mobile application to perform the steps of: when the mobile application triggers the reimbursement bill and reports the reimbursement bill to the electronic bill public server, receiving the reimbursement bill transmitted by the electronic bill public server; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, the computer program causes the processor to further perform the steps of: the electronic bill public server acquires reimbursement data; the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data; and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
In one embodiment, the computer program causes the processor in performing the step of verifying the reimbursement document in dependence upon the located electronic ticket to specifically perform the steps of: acquiring a bill symmetric key corresponding to the electronic bill; decrypting the electronic bill through the bill symmetric key to obtain bill information; and checking the reimbursement bill according to the bill information obtained by decryption.
In one embodiment, the ticket information includes ticket status and resource transfer related information; the computer program causes the processor to perform the following steps in particular when performing the step of checking the reimbursement document in dependence on the decrypted ticket information: verifying the bill state; and when the bill state indicates that the electronic bill is in the non-reimbursement state, checking the reimbursement bill according to the related information of the resource transfer.
In one embodiment, the computer program causes the processor to perform the following steps in particular when performing the steps of triggering an update of ticket information of an electronic ticket and triggering a recording of the updated ticket information to a blockchain node in a blockchain network: sending a bill information updating request to an electronic bill public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node; wherein, the electronic bill public server is used for providing public storage service of electronic bills originated from block link points.
In one embodiment, the uploaded updated ticket information is used for instructing the block link point to generate an electronic ticket reimbursement inquiry code corresponding to the updated ticket information; updating the electronic bill by the block chain node according to the updated bill information and the electronic bill reimbursement inquiry code, and writing the updated electronic bill into the data block; the block chain node feeds back the electronic bill reimbursement inquiry code; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
In one embodiment, the uploaded updated ticket information is further used for instructing the block chain node to generate a ticket hash value according to the updated ticket information; sending the hash value of the bill to an electronic bill public server; the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data; the block link point receives signature data returned by the electronic bill public server; and when the signature data passes the verification, the block link points generate an electronic bill reimbursement inquiry code according to the hash value of the bill and the signature data.
In one embodiment, the computer program causes the processor to further perform the steps of: logging in the electronic bill query application through the current electronic bill receiver identification; displaying an electronic bill query interface through an electronic bill query application; receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code; and responding to the electronic bill query instruction, and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
The computer readable storage medium obtains the reimbursement bill which can be triggered by the mobile application and comprises the electronic bill billing inquiry code, and can directly search the electronic bill corresponding to the electronic bill billing inquiry code from the block link points according to the electronic bill billing inquiry code. Because the data on the block chain network has extremely high safety and reliability, the authenticity of the searched electronic bill can be ensured. And then checking the reimbursement bill according to the found electronic bill, transferring resources according to the reimbursement bill after the reimbursement bill passes the checking, triggering the updating of the bill information of the electronic bill, and triggering the recording of the updated bill information to the block link point, so that the reimbursement state of the invoice can be effectively recorded, and the repeated reimbursement is avoided. Therefore, the consumer can trigger the reimbursement process at the mobile terminal, the paper invoice does not need to be pasted on the reimbursement sheet for reimbursement in the whole reimbursement process, and paperless operation is completely realized, so that the efficiency of invoice reimbursement is improved, and the cost of invoice reimbursement is saved.
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 may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (18)
1. A data processing method relating to an electronic ticket, comprising:
acquiring a reimbursement receipt; the reimbursement bill comprises an electronic bill invoicing query code, wherein the electronic bill invoicing query code is associated with a user identifier of a consumer needing resource reimbursement and corresponds to reimbursement data;
according to the electronic bill billing inquiry code, searching an electronic bill corresponding to the electronic bill billing inquiry code from a block chain node in a block chain network;
checking the reimbursement bill according to the searched electronic bill;
after the reimbursement bill is checked, transferring resources according to the reimbursement bill;
triggering the updating of the bill information of the electronic bill after the resource transfer is successful, triggering the recording of the updated bill information to the block chain node in the block chain network, and instructing the block chain node to generate a bill hash value according to the updated bill information, and generating an electronic bill reimbursement inquiry code based on signature data signed by a private key of a receiver device or signature data signed by a private key of a consumer; updating the electronic bill according to the updated bill information and the electronic bill reimbursement inquiry code, writing the updated electronic bill into a data block, and feeding back the electronic bill reimbursement inquiry code; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
2. The method of claim 1, wherein obtaining the reimbursement document comprises:
when the mobile application triggers the reimbursement bill and reports the reimbursement bill to the electronic bill public server, receiving the reimbursement bill transmitted by the electronic bill public server;
wherein the electronic ticket public server is used for providing public storage service of the electronic tickets originated from the block chain nodes.
3. The method of claim 2, wherein the generating of the reimbursement document comprises:
the electronic bill public server acquires reimbursement data;
the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data;
and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
4. The method of claim 1, wherein said verifying said reimbursement document in accordance with said located electronic ticket comprises:
acquiring a bill symmetric key corresponding to the electronic bill;
decrypting the electronic bill through the bill symmetric key to obtain bill information;
and checking the reimbursement bill according to the bill information obtained by decryption.
5. The method of claim 4, wherein the ticket information includes ticket status and resource transfer related information; the checking the reimbursement document according to the decrypted ticket information comprises:
verifying the bill state;
when the bill state indicates that the electronic bill is in the unreported state, then
And checking the reimbursement bill according to the resource transfer related information.
6. The method of claim 1, wherein triggering the update of the ticket information of the electronic ticket and triggering the recording of the updated ticket information to a blockchain link point in the blockchain network comprises:
sending a bill information updating request to an electronic bill public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node;
wherein the electronic ticket public server is used for providing public storage service of the electronic tickets originated from the block chain nodes.
7. The method of claim 1, wherein the blockchain node generating an electronic ticket reimbursement inquiry code based on the signature data that signed the ticket hash value with a consumer private key and further based on the ticket hash value comprises:
sending the ticket hash value to an electronic ticket public server; the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data;
the block chain node receives the signature data returned by the electronic bill public server;
and when the signature data passes the verification, the block chain node generates an electronic bill reimbursement inquiry code according to the bill hash value and the signature data.
8. The method according to any one of claims 1 to 7, further comprising:
logging in the electronic bill query application through the current electronic bill receiver identification;
displaying an electronic bill query interface through the electronic bill query application;
receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code;
and responding to the electronic bill query instruction, and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
9. A data processing apparatus relating to electronic tickets, said apparatus comprising:
the acquisition module is used for acquiring reimbursement bills; the reimbursement bill comprises an electronic bill invoicing query code, wherein the electronic bill invoicing query code is associated with a user identifier of a consumer needing resource reimbursement and corresponds to reimbursement data;
the searching module is used for searching the electronic bill corresponding to the electronic bill billing inquiry code from the block chain node in the block chain network according to the electronic bill billing inquiry code;
the checking module is used for checking the reimbursement bill according to the searched electronic bill;
the resource transfer module is used for transferring resources according to the reimbursement receipt after the reimbursement receipt is checked;
the triggering module is used for triggering the updating of the bill information of the electronic bill after the resource transfer is successful, recording the updated bill information to the block chain link points in the block chain network, indicating the block chain nodes to generate a bill hash value according to the updated bill information, and generating an electronic bill reimbursement inquiry code based on signature data signed by a private key of a receiver device or signature data signed by a private key of a consumer; updating the electronic bill according to the updated bill information and the electronic bill reimbursement inquiry code, writing the updated electronic bill into a data block, and feeding back the electronic bill reimbursement inquiry code; the electronic bill reimbursement inquiry code is used for inquiring the updated electronic bill.
10. The apparatus of claim 9, wherein the obtaining module is further configured to receive an reimbursement document delivered through the electronic ticket public server after the mobile application triggers the reimbursement document and reports the reimbursement document to the electronic ticket public server; wherein the electronic ticket public server is used for providing public storage service of the electronic tickets originated from the block chain nodes.
11. The apparatus of claim 10, wherein the electronic ticket public server obtains reimbursement data; the electronic bill public server searches an electronic bill billing inquiry code corresponding to the reimbursement data; and the electronic bill public server generates an reimbursement bill according to the reimbursement data and the electronic bill invoicing query code.
12. The apparatus of claim 9, wherein the reconciliation module is further configured to obtain a ticket symmetric key corresponding to the electronic ticket; decrypting the electronic bill through the bill symmetric key to obtain bill information; and checking the reimbursement bill according to the bill information obtained by decryption.
13. The apparatus of claim 12, wherein the ticket information comprises ticket status and resource transfer related information, and the reconciliation module is further configured to verify the ticket status; and when the bill state indicates that the electronic bill is in an unreported state, checking the reimbursement bill according to the resource transfer related information.
14. The apparatus of claim 9, wherein the triggering module is further configured to send a ticket information update request to an electronic ticket public server; the bill information updating request is used for indicating the electronic bill public server to update the bill state in the bill information of the electronic bill to the reimbursed state and uploading the updated bill information to the block chain node; wherein the electronic ticket public server is used for providing public storage service of the electronic tickets originated from the block chain nodes.
15. The apparatus of claim 9, wherein the trigger module is further configured to instruct the block link node to send the ticket hash value to an electronic ticket utility server; the sent bill hash value is used for indicating the electronic bill public server to sign the bill hash value to obtain signature data;
and the block chain node is also used for indicating the block chain node to receive the signature data returned by the electronic bill public server, and when the signature data passes verification, the block chain node generates an electronic bill reimbursement inquiry code according to the bill hash value and the signature data.
16. The apparatus of any one of claims 9 to 15, further comprising:
the login module is used for logging in the electronic bill query application through the current electronic bill receiver identification;
the display module is used for displaying the electronic bill query interface through the electronic bill query application;
the acquisition module is used for receiving an electronic bill query instruction; the electronic bill inquiring instruction carries an electronic bill reimbursement inquiring code;
the display module is also used for responding to the electronic bill query instruction and displaying the bill information of the electronic bill corresponding to the electronic bill reimbursement query code in the electronic bill query interface.
17. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 8.
18. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910708544.6A CN110428293B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
CN201810971731.9A CN109325812B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810971731.9A CN109325812B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910708544.6A Division CN110428293B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109325812A CN109325812A (en) | 2019-02-12 |
CN109325812B true CN109325812B (en) | 2023-02-07 |
Family
ID=65264566
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810971731.9A Active CN109325812B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
CN201910708544.6A Active CN110428293B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910708544.6A Active CN110428293B (en) | 2018-08-24 | 2018-08-24 | Data processing method, device, storage medium and equipment for electronic bill |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN109325812B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110189184B (en) * | 2019-04-26 | 2024-04-26 | 深圳市智税链科技有限公司 | Electronic invoice storage method and device |
CN110084655B (en) * | 2019-05-05 | 2023-06-23 | 腾讯科技(深圳)有限公司 | Electronic bill processing method, electronic bill processing device, computer equipment and computer storage medium |
CN110224833B (en) * | 2019-05-20 | 2023-03-10 | 深圳壹账通智能科技有限公司 | Bill data processing method and system |
CN110223127A (en) * | 2019-05-20 | 2019-09-10 | 深圳壹账通智能科技有限公司 | Bill data backing method and system |
CN110457911A (en) * | 2019-06-24 | 2019-11-15 | 深圳壹账通智能科技有限公司 | A kind of bill management method, system and computer readable storage medium |
US11049115B2 (en) | 2019-07-31 | 2021-06-29 | Advanced New Technologies Co., Ltd. | Blockchain-based bill write-off method, apparatus, electronic device, and storage medium |
CN110473081A (en) * | 2019-07-31 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Based on the electronic bill method of charging out and device of block chain, electronic equipment |
US10963854B2 (en) | 2019-07-31 | 2021-03-30 | Advanced New Technologies Co., Ltd. | Blockchain-based electronic bill reimbursement method, apparatus, and electronic device |
CN110458677A (en) * | 2019-07-31 | 2019-11-15 | 阿里巴巴集团控股有限公司 | Bill based on block chain checks and writes off method and device, electronic equipment, storage medium |
CN110458562B (en) * | 2019-08-08 | 2021-05-18 | 腾讯科技(深圳)有限公司 | Bill reimbursement method, device and equipment and computer storage medium |
CN110633963B (en) * | 2019-09-16 | 2023-12-12 | 腾讯科技(深圳)有限公司 | Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device |
CN110659906B (en) * | 2019-09-20 | 2022-06-24 | 腾讯科技(深圳)有限公司 | Bill information processing method, related device and medium |
CN110853216B (en) * | 2019-10-18 | 2022-06-17 | 深圳壹账通智能科技有限公司 | Information storage method, information storage device, information storage medium and computer equipment |
CN111080380B (en) * | 2019-12-05 | 2024-04-05 | 同济大学 | Electronic external original certificate, system, platform and terminal |
CN111291335B (en) * | 2020-01-19 | 2022-01-18 | 腾讯科技(深圳)有限公司 | Bill data processing method and device, computer equipment and storage medium |
CN111275462A (en) * | 2020-01-22 | 2020-06-12 | 腾讯科技(深圳)有限公司 | Bill verification method and device based on block chain network and storage medium |
CN111260488B (en) * | 2020-01-23 | 2021-11-26 | 腾讯科技(深圳)有限公司 | Data processing method and device and readable storage medium |
CN112232755B (en) * | 2020-09-16 | 2024-08-20 | 金蝶软件(中国)有限公司 | Document processing method, device, computer equipment and storage medium |
CN112163917B (en) * | 2020-09-28 | 2024-06-07 | 财付通支付科技有限公司 | Bill processing method and device based on blockchain, medium and electronic equipment |
CN113222725B (en) * | 2021-05-25 | 2022-08-12 | 支付宝(杭州)信息技术有限公司 | Data processing method and device based on block chain |
CN117273974B (en) * | 2023-11-21 | 2024-02-06 | 中国人寿保险股份有限公司上海数据中心 | Large enterprise expense reimbursement data generation and verification method based on block chain consensus |
Citations (2)
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 |
CN108305106A (en) * | 2018-01-31 | 2018-07-20 | 复旦大学 | A kind of electronic invoice register method based on block chain |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855587A (en) * | 2012-08-20 | 2013-01-02 | 清华大学 | Electronic invoice generating system for electronic commerce website |
CN107369008A (en) * | 2017-07-17 | 2017-11-21 | 北京京东金融科技控股有限公司 | For improving management method, the apparatus and system of bill business security |
CN107451874A (en) * | 2017-07-27 | 2017-12-08 | 武汉天喻信息产业股份有限公司 | Electronic invoice integrated conduct method and system based on block chain |
CN107944837A (en) * | 2017-12-15 | 2018-04-20 | 广州天宁信息技术有限公司 | A kind of authority processing method, device and system |
CN108389086A (en) * | 2018-01-24 | 2018-08-10 | 大象慧云信息技术有限公司 | A kind of electronic invoice electronic signature method |
-
2018
- 2018-08-24 CN CN201810971731.9A patent/CN109325812B/en active Active
- 2018-08-24 CN CN201910708544.6A patent/CN110428293B/en active Active
Patent Citations (2)
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 |
CN108305106A (en) * | 2018-01-31 | 2018-07-20 | 复旦大学 | A kind of electronic invoice register method based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN110428293B (en) | 2021-06-01 |
CN110428293A (en) | 2019-11-08 |
CN109325812A (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109325812B (en) | Data processing method, device, storage medium and equipment for electronic bill | |
CN109034924B (en) | Electronic bill generating method, electronic bill generating device, storage medium and computer equipment | |
CN109255084B (en) | Electronic bill query method, device, storage medium and computer equipment | |
CN109191272B (en) | Data processing method, device, storage medium and equipment for electronic bill | |
CN109165943B (en) | Data processing method, device, storage medium and equipment for electronic bill | |
CN110599137B (en) | Electronic bill data processing method and device and computer equipment | |
CN111292041B (en) | Electronic contract generation method, device, equipment and storage medium | |
CN108961030A (en) | About the data processing method of electronic bill, device, system, medium and equipment | |
CN110599266B (en) | Electronic bill data processing method and device, computer equipment and storage medium | |
EP3955181A1 (en) | A method of distributed management of electronic documents of title (edt) and system thereof | |
CN111837359B (en) | Managing a blockchain-based centralized ledger system | |
CN111226248B (en) | Managing a blockchain-based centralized ledger system | |
CN107832632B (en) | Asset certification authorization query method, system, electronic device and computer readable storage medium | |
WO2020157708A2 (en) | Point-to-point distributed decentralized system | |
CN111183427B (en) | Managing a blockchain-based centralized ledger system | |
CN109741016B (en) | Electronic contract signing method, electronic contract signing device, computer equipment and storage medium | |
CN110598456B (en) | Data storage method and device, electronic equipment and storage medium | |
CN110599270B (en) | Electronic bill generation method and device and computer equipment | |
US9230133B2 (en) | Secure access for sensitive digital information | |
KR20200055410A (en) | Contract apparatus and method of blockchain using digital contents orginal key | |
CN111523142B (en) | Data processing method, device, electronic equipment and medium | |
CN115203749A (en) | Data transaction method and system based on block chain | |
CN110351292B (en) | Private key management method, device, equipment and storage medium | |
CN111309812A (en) | Block chain based mail transmission method and related equipment | |
CN110599268A (en) | Electronic bill generating method, electronic bill generating device, computer equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |