CN110633963A - Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment - Google Patents

Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment Download PDF

Info

Publication number
CN110633963A
CN110633963A CN201910871780.XA CN201910871780A CN110633963A CN 110633963 A CN110633963 A CN 110633963A CN 201910871780 A CN201910871780 A CN 201910871780A CN 110633963 A CN110633963 A CN 110633963A
Authority
CN
China
Prior art keywords
sender
electronic bill
information
block chain
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910871780.XA
Other languages
Chinese (zh)
Other versions
CN110633963B (en
Inventor
郑罗海
张建俊
陈湖佳
藏军
戴传兵
秦青
张懿方
莫洋
郭明远
农高明
蔡弋戈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910871780.XA priority Critical patent/CN110633963B/en
Publication of CN110633963A publication Critical patent/CN110633963A/en
Application granted granted Critical
Publication of CN110633963B publication Critical patent/CN110633963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/042Payment circuits characterized in that the payment protocol involves at least one cheque
    • G06Q20/0425Payment circuits characterized in that the payment protocol involves at least one cheque the cheque being electronic only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to an electronic bill processing method, an electronic bill processing device, a computer readable storage medium and equipment, wherein the method comprises the following steps: receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed; acquiring a sender block chain private key from a tax office server according to a sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill; acquiring a proxy digital certificate, and sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner; and receiving the consensus passing result returned by other block chain nodes, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block, and sending the processing result to the sender equipment. The scheme provided by the application can reduce the technical cost of the sender in the block chain electronic bill ecology.

Description

Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an electronic bill processing method, an electronic bill processing apparatus, a computer-readable storage medium, and a computer-readable storage device.
Background
With the development of electronic bills in the blockchain, a blockchain electronic bill ecology is formed, which comprises the following steps: tax bureau, billing enterprise, consumer and reimbursement enterprise. These four types of roles have the address and public-private key of the blockchain, i.e., the entity that owns the blockchain asset. However, at present, the number of the four types of roles is large, and the large number of roles are all accessed into the blockchain, which requires a huge technical cost, for example, a general consumer does not have the technical capability of accessing into the blockchain, so that the blockchain electronic bill cannot be widely used.
Disclosure of Invention
In view of the above, it is necessary to provide an electronic bill processing method, apparatus, computer-readable storage medium, and device for solving the technical problem that a huge technical cost is required to access a block chain.
An electronic bill processing method, comprising:
receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
acquiring a sender block chain private key from a tax office server according to a sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
acquiring a proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call an intelligent contract for authority to verify the proxy digital certificate, and after the verification is passed, identifying the signed to-be-processed information of the electronic bill together to obtain a result of passing the common identification;
and receiving the consensus passing result returned by other block chain nodes, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block, and sending the processing result to the sender equipment.
An electronic bill handling apparatus, characterized in that the apparatus comprises:
the request receiving module is used for receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
the signature module is used for acquiring a sender block chain private key from the tax office server according to the sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
the consensus module is used for acquiring the proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in a correlation manner so as to enable the other block chain nodes to call the intelligent contract of the authority to verify the proxy digital certificate, and after the verification is passed, carrying out consensus on the signed to-be-processed information of the electronic bill to obtain a consensus passing result;
and the result determining module is used for receiving the consensus passing result returned by the link points of other blocks, determining the processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block and sending the processing result to the sender equipment.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
acquiring a sender block chain private key from a tax office server according to a sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
acquiring a proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call an intelligent contract for authority to verify the proxy digital certificate, and after the verification is passed, identifying the signed to-be-processed information of the electronic bill together to obtain a result of passing the common identification;
and receiving the consensus passing result returned by other block chain nodes, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block, and sending the processing result to the sender equipment.
An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the steps of:
receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
acquiring a sender block chain private key from a tax office server according to a sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
acquiring a proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call an intelligent contract for authority to verify the proxy digital certificate, and after the verification is passed, identifying the signed to-be-processed information of the electronic bill together to obtain a result of passing the common identification;
and receiving the consensus passing result returned by other block chain nodes, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block, and sending the processing result to the sender equipment.
The electronic bill processing method, the electronic bill processing device, the computer readable storage medium and the electronic bill processing equipment are provided. And receiving an electronic bill processing request sent by the sending party equipment through a service party block chain link point, and obtaining signed electronic bill information to be processed according to the electronic bill processing request. And when the verification and the consensus pass, the server side block chain link point writes the processing result of the to-be-processed information of the electronic bill into the block and sends the processing result to the sender equipment. The sender is accessed to the block chain electronic bill ecology through the service party block chain node, the technical cost of the sender in accessing the block chain electronic bill ecology is reduced, and therefore the block chain electronic bill can be widely used.
Drawings
FIG. 1 is a diagram showing an application environment of the electronic bill processing method in one embodiment;
FIG. 2 is a flowchart of an electronic ticket processing method in one embodiment;
FIG. 3 is a flow diagram of obtaining a proxy digital certificate in one embodiment;
FIG. 4 is a flow diagram of binding a sender and a server in one embodiment;
FIG. 5 is a flow diagram of obtaining a private key for a sender blockchain in one embodiment;
FIG. 6 is a flow diagram of a sender signing pending information for an electronic ticket in one embodiment;
FIG. 7 is a flow diagram of determining information to process for a signed electronic ticket in one embodiment;
FIG. 8 is a block diagram of a blockchain electronic ticket ecology in one embodiment;
FIG. 9 is a block diagram showing the structure of an electronic bill handling apparatus according to an embodiment;
fig. 10 is a block diagram of the structure of the 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 the electronic bill processing method in one embodiment. Referring to fig. 1, the electronic bill processing method is applied to an electronic bill processing system. The electronic bill handling system comprises a sender device 102, a sender device 104 and each blockchain node in the blockchain, wherein each blockchain node comprises a server blockchain node 106. The sender device 102 and the server block chain node 106 are connected via a network. The sender device 104 and the server tile link node 106 are connected via a network. The sender device 102 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 sender device 104 and the server blockchain node 106 may be implemented as separate servers or as a server cluster of multiple servers.
Specifically, the service block chain node 106 receives an electronic ticket processing request sent by the sender device 102 or the sender device 104, where the electronic ticket processing request carries a sender identifier and information to be processed of an electronic ticket. The service side block chain node 106 acquires a sender block chain private key from the tax office server according to the sender identification, and signs the to-be-processed information of the electronic bill through the sender block chain private key to obtain the signed to-be-processed information of the electronic bill. The service side block chain node 106 acquires the proxy digital certificate, the signed to-be-processed information of the electronic bill and the proxy digital certificate are sent to other block chain nodes in an associated mode, so that the other block chain nodes call the intelligent contract of the authority to verify the proxy digital certificate, and after the verification is passed, the signed to-be-processed information of the electronic bill is identified together, and a result of passing the identification is obtained. The service side block chain link point 106 receives the consensus passing result returned by other block chain nodes, determines the processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writes the processing result into the block, and sends the processing result to the sending side device 102 or the sending side device 104.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain link point devices and used for verifying the validity of the electronic bill service request, recording the valid request after consensus is completed on storage, for the electronic bill service request, firstly carrying out interface adaptation analysis and authentication processing (interface adaptation) on the basic service, then encrypting service information (consensus management) through a consensus algorithm, completely and consistently transmitting the encrypted service information to a shared account book (network communication), and recording and storing the encrypted service information; the intelligent contract module is responsible for the registration and issue of the intelligent contract with authority, contract triggering and contract execution, developers can define contract logic through a certain programming language, issue the contract logic to a block chain (contract registration), call keys or other event triggering and execution according to the logic of contract terms, complete the contract logic, and simultaneously provide the function of cancelling contract upgrading and cancelling; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
In one embodiment, as shown in fig. 2, an electronic ticket processing method is provided. This embodiment is mainly illustrated by applying the method to the serving block link point 106 in fig. 1. Referring to fig. 2, the electronic bill processing method specifically includes the following steps:
s202, receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries sender identification and information to be processed of the electronic bill.
Where the sender identification is used to uniquely identify the sender, which may be a business, consumer, etc. The sender device may be a consumer terminal, may be an enterprise terminal or may also be an enterprise server. The information to be processed of the electronic bill refers to the relevant information of the electronic bill needing to be processed, and for example, the information can be the billing information of the electronic bill, the reimbursement information of the electronic bill, the tax return information of the electronic bill, and the like.
Specifically, the block link of the server receives an electronic bill processing request sent by the sender equipment, and analyzes the electronic bill processing request to obtain a sender identifier and information to be processed of the electronic bill, which are carried by the electronic bill processing request.
In one embodiment, when the electronic ticket pending information is electronic ticket billing information, the service party may be a proxy billing service party, that is, the service party blockchain node is a proxy billing service party blockchain node. The agent billing service party can bill the agent block chain of the common medium and small enterprises.
In one embodiment, when the electronic bill pending information is electronic bill making information, the server may be a circulation server, that is, the server blockchain node is a circulation server blockchain node. The circulation server can bill, inquire, and take a bonus for a large number of consumer agent blockchains. For example, the circulation service party can be a WeChat platform, a Payment platform and the like.
In one embodiment, when the electronic ticket pending information is electronic ticket reimbursement information or electronic ticket tax return information, the service party may be a proxy ticket collecting service party, i.e. the service party blockchain node is a proxy ticket collecting service party blockchain node. The agent ticket collecting service party can be used for tax declaration, ticket collection, inquiry and the like of the common medium and small enterprise agent block chain electronic ticket.
And S204, acquiring a sender block chain private key from the tax office server according to the sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain the signed to-be-processed information of the electronic bill.
The tax office server stores the public and private key pairs of each sender in the block chain in advance. The sender blockchain private key refers to a private key of the sender in a blockchain, the sender device can generate a public and private key pair in the blockchain by itself and send the public and private key pair to the tax office server for storage, and the sender can also generate and store the public and private key pair in the blockchain in the tax office server.
Specifically, the service side block chain link point obtains a sender side block chain private key corresponding to the sender identification from the tax office server according to the sender identification, and digitally signs the to-be-processed information of the electronic bill through the sender side block chain private key to obtain the signed to-be-processed information of the electronic bill.
S206, acquiring the proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated mode so that the other block chain nodes call an intelligent authority contract to verify the proxy digital certificate, and after the verification is passed, identifying the to-be-processed information of the signed electronic bill together to obtain an identification passing result.
The proxy digital certificate refers to a digital certificate which can be processed related to the proxy electronic bill and is used for uniquely identifying the service party, wherein the digital certificate is acquired from a tax bureau server in advance and is stored in a local cache. The intelligent contract of authority is that tax office server deploys to the block chain, is used for verifying whether the server side has the authority of acting the relevant processing of the electronic bill, and verifies whether the server side has the authority of acting the relevant processing of the electronic bill for the sender.
Specifically, a service side block chain node acquires a proxy digital certificate from a local cache, and transmits signed electronic bill to-be-processed information and the proxy digital certificate to other block chain nodes in a correlated broadcast manner, when other block chain nodes receive the broadcasted signed electronic bill to-be-processed information and the proxy digital certificate, an authority intelligent contract is called to verify the proxy digital certificate, the authority intelligent contract verifies whether a service side has authority for proxy electronic bill related processing and whether the service side has the authority to act as a sender according to the proxy digital certificate, and after the authority intelligent contract verifies, the signed electronic bill to-be-processed information is identified together to obtain a common identification passing result.
And S208, receiving the consensus passing result returned by other block chain nodes, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into the block, and sending the processing result to the sender equipment.
The consensus passing result means that the signed electronic bill to-be-processed information is verified to pass through by the block link point pair. The processing result is obtained by processing the information to be processed of the electronic bill. For example, when the invoice information is identified and passed, the electronic ticket can be obtained according to the invoice information. Or when the electronic bill reimbursement information is passed through, the processing result of the electronic bill reimbursement completion is obtained.
Specifically, the service side block chain node receives the consensus passing result returned by other block chain nodes, and when the number of other block chain nodes returning the consensus passing result exceeds a preset threshold value, the consensus is completed, then the processing result of the to-be-processed information of the electronic bill is determined according to the consensus passing result, the processing result is written into the block, and the processing result is sent to the sending side device.
In the electronic bill processing method, the electronic bill processing request sent by the sender equipment is received through the server block chain link point, and the signed electronic bill information to be processed is obtained according to the electronic bill processing request. And when the verification and the consensus pass, the server side block chain link point writes the processing result of the to-be-processed information of the electronic bill into the block and sends the processing result to the sender equipment. The sender is accessed to the block chain electronic bill ecology through the service party block chain node, the technical cost of the sender in accessing the block chain electronic bill ecology is reduced, and therefore the block chain electronic bill can be widely used.
In one embodiment, as shown in fig. 3, before step S202, that is, before receiving the electronic ticket processing request sent by the sender device, the method further includes:
s302, receiving a digital certificate registration request sent by a management terminal, sending a service party registration request to a tax office server according to the digital certificate registration request, wherein the service party registration request carries a service party identifier, so that the tax office server obtains approved registration information according to the service party identifier and generates a public and private key pair corresponding to the service party identifier to obtain a proxy digital certificate.
And S304, acquiring and storing the proxy digital certificate returned by the tax office server.
The management terminal is a terminal for managing the serving side block link point by the serving side. The server identity is used to uniquely identify the server. The checked registration information refers to information stored after the service party information provided by the service party to the tax bureau is checked by the tax bureau auditor. The audited registration information includes service party information and audit pass information. The service side information refers to application information provided by the service side to the tax bureau for agency electronic bill service. May include enterprise base information, enterprise credit information, enterprise revenue information, and the like. The audit passing information refers to information of the service party information audit clearance, and may be an audit passing identifier or the like.
Specifically, the service side needs to pass the audit of the tax bureau before proceeding with the proxy electronic bill service. The server side needs to sign an agreement with each local tax office to proxy the electronic bill service. The tax bureau obtains the information of the service party before signing the agreement, obtains the audited registration information of the service party after auditing the information of the service party, and stores the audited registration information into the tax bureau server. And then, the service side block chain node receives a digital certificate registration request sent by the management terminal, and sends a service side registration request to the tax office server according to the digital certificate registration request, wherein the service side registration request carries a service side identifier.
And when the tax bureau server receives the server registration request, the tax bureau server analyzes the server registration request to obtain a server identifier. And finding corresponding verified registration information according to the service party identifier, generating a public and private key pair corresponding to the service party representation when finding the corresponding verified registration information, taking the public and private key pair as a proxy digital certificate, and then returning the proxy digital certificate to the service party block chain node. In one embodiment, the tax office server, when generating the rights intelligence contract, also writes the public key of the public-private key pair corresponding to the server identification into the rights intelligence contract for verifying the proxy digital certificate.
And the service side block chain link point receives the proxy digital certificate returned by the tax office server and stores the proxy digital certificate.
In one embodiment, when the tax office server obtains the verified registration information, a public-private key pair corresponding to the service party identifier is generated to obtain a proxy digital certificate, and the proxy digital certificate can be compressed and encrypted and then sent to the service party by mail or other means.
In the embodiment, the service side block link point acquires the proxy digital certificate through the tax office server, and the electronic bill related service is proxied through the proxy digital certificate, so that the safety of the electronic bill related service information is improved.
In one embodiment, as shown in fig. 4, before step S202, before receiving the electronic ticket processing request sent by the sender device, the method further includes:
s402, receiving a server binding instruction sent by the sender equipment, wherein the server binding instruction carries a sender identifier.
S404, a binding request of the tax office server is sent according to the binding instruction of the service party, wherein the binding request of the tax office server carries the sender identification and the service party identification, so that the tax office server writes the sender identification and the service party identification into a preset binding relation table in an associated manner to obtain a binding completion result.
The preset binding relation table is a preset database for storing binding relations between the sender and the service parties, wherein one sender can bind a plurality of service parties.
Specifically, the server block link point receives a server binding instruction sent by the sending and receiving equipment, the server binding instruction carries a sender identifier, the server block link point obtains the server identifier according to the server binding instruction, and then sends a binding request to the tax bureau server, and the binding request carries the sender identifier and the server identifier. The tax office server receives the binding request of the tax office server, analyzes the binding request of the tax office server to obtain a sender identification and a server identification, verifies whether the sender identification and the server identification can be bound, and when the verification is passed, the tax office server writes the sender identification and the server identification into a preset binding relation table in an associated mode to obtain a binding completion result. And then the tax office server returns the binding completion result to the service side block chain node. In one embodiment, the tax office server will write the sender identification and the server identification association in the preset binding relationship into the authority intelligent contract for verifying whether the server is bound with the sender.
S406, the binding completion result returned by the tax bureau server is obtained, and the binding completion result is returned to the sender equipment.
Specifically, the service side block link point acquires a binding completion result returned by the tax office server, and returns the binding completion result to the sender side device.
In one embodiment, the sender device may interact directly with the tax office server to complete the binding with the server. Specifically, the method comprises the following steps: the sender device sends a server binding request to the tax office server, and the tax office server returns a bindable server identifier according to the server binding request, wherein the bindable server identifier is the server identifier of the obtained proxy digital certificate. And the sender equipment receives the bindable server identification for displaying. The method comprises the steps that a sender selects a server identification needing to be bound to send a server binding request to a tax office server, the tax office server writes the server identification needing to be bound and the sender identification into a preset binding relation table in an associated mode according to the server binding request, and then a binding completion prompt is returned to sender equipment.
In the embodiment, the block chain link point of the server binds the sender and the server through the tax bureau server, so that the server can have the authority of replacing the block chain electronic bill of the sender, and the subsequent processing is convenient.
In one embodiment, invoking a rights intelligence contract validation proxy digital certificate includes:
and executing the authority intelligent contract, verifying the proxy digital certificate according to the public key of the server side by the authority intelligent contract, and verifying whether the proxy identification is bound with the sender identification or not by the authority intelligent contract when the proxy digital certificate passes the verification. And when the binding relation between the agent party identification and the sender party identification is verified, the agent digital certificate is verified to be passed.
In one embodiment, the electronic ticket pending information includes at least one of electronic ticket billing information, electronic ticket reimbursement information, and electronic ticket tax return information.
Specifically, the electronic ticket billing information is information for making an electronic ticket, and may include an identifier of a billing party, an identifier of a receiving party, a billing amount, a billing time, a billing place, and the like. The electronic bill reimbursement information is information for performing electronic bill reimbursement and may include an electronic bill to be reimbursed, an amount of reimbursement, an identifier of a reimbursement party, reimbursement time, and the like. The electronic bill tax declaration information is information for performing electronic bill tax declaration, and may include an electronic bill to be subjected to tax declaration, a tax declaration amount, a tax declaration party identifier, tax declaration time, and the like.
In one embodiment, as shown in fig. 5, the step S204 of obtaining the sender blockchain private key from the tax bureau server according to the sender identification comprises the steps of:
s502, a private key query request is sent to the tax bureau server, the private key query request carries a server identification and a sender identification, so that the tax bureau server searches a corresponding target sender identification in a preset binding relation table according to the server identification, and when the sender identification is consistent with the target sender identification, a corresponding sender block chain private key is searched according to the sender identification.
The target sender identification refers to the binding relation table server identification corresponding to the bound sender identification.
Specifically, the service side block chain node sends a private key query request to the tax office server, wherein the private key query request carries a service side identifier and a sender identifier. The tax bureau server receives the private key query request, analyzes the private key query request and obtains a server identification and a sender identification. And then searching corresponding target sender identifications in a preset binding relation table according to the server identification, matching the searched target sender identifications with the sender identifications, searching corresponding sender block chain private keys according to the sender identifications when the target sender identifications are consistent with the sender identifications, and returning the searched sender block chain private keys to the server block chain nodes.
S504, a sender block chain private key returned by the tax bureau server is obtained.
Specifically, the server side block chain link point obtains a sender side block chain private key returned by the tax office server.
In the above embodiment, after verifying the binding relationship between the server identifier and the sender identifier, the tax office server returns the sender blockchain private key corresponding to the sender identifier to the server blockchain node. The security of the private key of the sender blockchain stored by the tax bureau server is ensured.
In one embodiment, as shown in fig. 6, the step S204 of obtaining a sender block chain private key from the tax bureau server according to the sender identifier, and signing the to-be-processed information of the electronic ticket through the sender block chain private key to obtain the signed to-be-processed information of the electronic ticket includes:
s602, sending a signature request to the sender device according to the sender identifier, wherein the signature request carries the information to be processed of the electronic bill, so that the sender device signs the information to be processed of the electronic bill through a sender block chain private key according to the signature request, and the signed information to be processed of the electronic bill is obtained.
Specifically, the service side block chain link point sends a signature request to the sender side equipment according to the sender identification, the signature request carries the information to be processed of the electronic bill, the sender side equipment obtains a stored sender side block chain private key when receiving the signature request, and the sender side block chain private key is used for carrying out signature processing on the information to be processed of the electronic bill to obtain the signed information to be processed of the electronic bill. And the sender equipment sends the signed information to be processed of the electronic bill to the service side block chain node.
And S604, receiving the signed electronic bill to-be-processed information returned by the sender equipment.
Specifically, the service side block chain node receives the signed electronic bill to-be-processed information returned by the sending side equipment.
In one embodiment, the server block chain node receives an electronic bill processing request sent by the sender equipment, wherein the electronic bill processing request carries sender identification and signed electronic bill to-be-processed information.
In the embodiment, the service side block chain node sends the to-be-processed information of the electronic bill to the sending side device for signature processing, and the sending side device returns the signed to-be-processed information of the electronic bill to the service side block chain node after signature processing is performed by using the sending side block chain private key of the sending side device, so that the sending side block chain private key is not acquired from the tax bureau server, and the security of the sending side block chain private key is improved.
In one embodiment, as shown in fig. 7, in step S204, signing the to-be-processed information of the electronic ticket by using the sender block chain private key to obtain the signed to-be-processed information of the electronic ticket, including:
s702, calculating the hash value of the information to be processed of the electronic bill, and encrypting the hash value through the private key of the sender block chain to obtain the digital signature.
S704, encrypting the information to be processed of the electronic bill by the private key of the sender block chain to obtain the encrypted information to be processed of the electronic bill.
S706, determining the signed electronic bill information to be processed according to the digital signature and the encrypted electronic bill information to be processed.
Specifically, the server side block chain nodes calculate the hash value of the information to be processed of the electronic bill, and the sender side block chain private key is used for encrypting the hash value to obtain the digital signature corresponding to the information to be processed of the electronic bill. And the service party block chain node encrypts the information to be processed of the electronic bill by using the sender block chain private key to obtain the encrypted information to be processed of the electronic bill. And then the block link point of the service party associates the digital signature with the encrypted information to be processed of the electronic bill to obtain the signed information to be processed of the electronic bill.
In the embodiment, the digital signature of the information to be processed of the electronic bill is obtained through calculation and the information to be processed of the electronic bill is encrypted, so that the safety and the accuracy of the information to be processed of the electronic bill are ensured.
In one embodiment, as shown in fig. 8, a schematic diagram of a blockchain electronic ticket ecology is shown, including various roles such as enterprise, consumer, tax office, etc. for electronic ticket processing in the blockchain electronic ticket ecology. Wherein,
the KA billing service provider node is used for providing integrated related operations of the block chain electronic bills for billing enterprises, and specifically comprises a KA (Key Account) billing service provider node and an agent billing service provider node, wherein the KA billing service provider node is used for the billing enterprises to have technical capacity and can be used for docking the block chain electronic bills, and the KA billing service provider node can only execute the related operations of the block chain electronic bills for the billing enterprises.
The agent billing service provider node can help ordinary small and medium-sized enterprises without technical ability to access the block chain electronic bills to perform related operations of the block chain electronic bills, such as billing, inquiry, red punching and the like. Billing with the agent billing facilitator node, for example:
the method comprises the steps that an agent billing service provider node receives an asset issuing request sent by a billing enterprise server, wherein the asset issuing request carries each billing enterprise identifier and corresponding billing information; obtaining private keys of block chains of each billing enterprise from a tax office server according to the identifications of each billing enterprise, and signing each billing information through the private keys of the block chains of each billing enterprise to obtain each signed billing information;
acquiring a proxy digital certificate, and sending each signed invoice information and the proxy digital certificate to other block chain nodes in an associated manner so that the other block chain nodes call an intelligent contract authority to verify the proxy digital certificate, and after the verification is passed, identifying each signed invoice information in parallel to obtain an identification passing result;
receiving the consensus passing results returned by other block chain nodes, obtaining each electronic bill according to each billing information according to the consensus passing results, writing each electronic bill into a block, sending each electronic bill to a billing enterprise server, determining the address of each receiver in the block chain according to the receiver identification in each billing information, and sending each electronic bill to the address of the corresponding receiver in the block chain. Wherein the recipient may be a real-name consumer.
Real-name consumers do not have technical ability to access blockchain electronic tickets. At this time, the real-name consumer can perform an reimbursement operation on the electronic bill in the block chain through the circulation facilitator node. Specifically, the method comprises the following steps:
the method comprises the steps that a circulation service provider node receives an asset transfer request sent by a consumer terminal, wherein the asset issue request carries consumer identification and electronic bill reimbursement information; acquiring a consumer block chain private key from a tax office server according to the consumer identification, and signing the electronic bill reimbursement information through the consumer block chain private key to obtain signed electronic bill reimbursement information;
acquiring a proxy digital certificate, sending the signed electronic bill reimbursement information and the proxy digital certificate to other block chain nodes in a correlation manner, so that the other block chain nodes call authority intelligent contracts to verify the proxy digital certificate, and after the verification is passed, identifying the signed electronic bill reimbursement information together to obtain a result of passing the common identification;
receiving the consensus passing result returned by other block chain nodes, obtaining the reimbursement result according to the consensus passing result and the reimbursement information of the electronic bill, writing the reimbursement result into the block, sending the reimbursement result to the consumer terminal, determining the address of the receiver in the block chain according to the receiver identification in the reimbursement information of the electronic bill, and sending the electronic bill to the address of the receiver in the block chain. Wherein the recipient may be an reimbursement enterprise. The circulation service provider node has a mature massive user management function and can conveniently integrate the capability of a consumer for getting the electronic bill to a platform. And real-name authentication can be performed on massive users.
The ticket collecting service provider node provides integrated block chain electronic ticket related operation for reimbursement enterprises, and comprises KA (Key Account) ticket collecting service providers and agent ticket collecting service providers. The common medium-sized and small enterprises can be proxied to perform related operations of the block chain electronic bill, such as bill collection, inquiry, tax declaration and the like, through the proxy bill collection service provider node. For example, the tax declaration by the proxy ticketing facilitator node:
the method comprises the steps that an agent ticket collecting service provider node receives an asset transfer request sent by an reimbursement enterprise server, wherein the asset issue request carries an reimbursement enterprise identification and electronic ticket tax declaring information; acquiring a block chain private key of the reimbursement enterprise from a tax office server according to the reimbursement enterprise identification, and signing the tax declaration information of the electronic bill by using the block chain private key of the reimbursement enterprise to obtain the signed tax declaration information of the electronic bill;
acquiring a proxy digital certificate, sending the signed electronic bill tax declaring information and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call authority intelligent contracts to verify the proxy digital certificate, and after the verification is passed, identifying the signed electronic bill tax declaring information together to obtain a result of passing the common identification;
receiving the result of passing the consensus returned by other block chain nodes, obtaining a tax return result according to the result of passing the consensus and the tax return information of the electronic bill, writing the tax return result into the block, sending the tax return result to the reimbursement enterprise server, determining the address of the receiver in the block chain according to the receiver identification in the tax return information of the electronic bill, and sending the electronic bill to the address of the receiver in the block chain. Wherein the recipient is a tax bureau.
In the embodiment, the related operations of the block chain electronic bill can be executed on the agents of consumers without technical capability, small and medium-sized enterprises and the like through the agent service provider. The method has the advantages that consumers without technical ability and small and medium-sized enterprises can access the block chain electronic bill ecology at low cost or without cost, and the block chain electronic bill can be widely used.
It should be understood that although the various steps in the flow charts of fig. 2-7 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 some of the steps in fig. 2-7 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 alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, there is provided an electronic bill handling apparatus 900 including:
a request receiving module 902, configured to receive an electronic ticket processing request sent by a sender device, where the electronic ticket processing request carries a sender identifier and information to be processed of an electronic ticket;
the signature module 904 is configured to obtain a sender block chain private key from the tax office server according to the sender identifier, and sign the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
the consensus module 906 is used for acquiring the proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so that the other block chain nodes call the intelligent contract of the authority to verify the proxy digital certificate, and after the verification is passed, performing consensus on the signed to-be-processed information of the electronic bill to obtain a consensus passing result;
and the result determining module 908 is configured to receive the consensus passing result returned by the link points of the other blocks, determine a processing result of the to-be-processed information of the electronic ticket according to the consensus passing result, write the processing result into the block, and send the processing result to the sender device.
In one embodiment, the electronic bill handling apparatus 900 further includes:
the registration module is used for receiving a digital certificate registration request sent by the management terminal, and sending a service party registration request to the tax office server according to the digital certificate registration request, wherein the service party registration request carries a service party identifier, so that the tax office server obtains approved registration information according to the service party identifier and generates a public and private key pair corresponding to the service party identifier to obtain a proxy digital certificate;
and the certificate acquisition module is used for acquiring and storing the proxy digital certificate returned by the tax office server.
In one embodiment, the electronic bill handling apparatus 900 further includes:
the binding module is used for receiving a server binding instruction sent by the sender equipment, wherein the server binding instruction carries a sender identifier, and sending a binding request to a tax office server according to the server binding instruction, wherein the binding request carries the sender identifier and the server identifier, so that the tax office server writes the sender identifier and the server identifier into a preset binding relation table in an associated manner to obtain a binding completion result; and acquiring a binding completion result returned by the tax office server, and returning the binding completion result to the sender equipment.
In one embodiment, the electronic ticket pending information includes at least one of electronic ticket billing information, electronic ticket reimbursement information, and electronic ticket tax return information.
In one embodiment, the signature module 904 includes:
the private key query unit is used for sending a private key query request to the tax office server, wherein the private key query request carries a server identifier and a sender identifier, so that the tax office server searches a corresponding target sender identifier in a preset binding relation table according to the server identifier, and when the sender identifier is consistent with the target sender identifier, searches a corresponding sender block chain private key according to the sender identifier;
and the private key acquisition unit is used for acquiring the sender block chain private key returned by the tax bureau server.
In one embodiment, the signature module 904 includes:
the signature request sending unit is used for sending a signature request to the sender equipment according to the sender identification, wherein the signature request carries the information to be processed of the electronic bill, so that the sender equipment signs the information to be processed of the electronic bill through a sender block chain private key according to the signature request to obtain the signed information to be processed of the electronic bill;
and the signature information receiving unit is used for receiving the signed electronic bill to-be-processed information returned by the sender equipment.
In one embodiment, the signature module 904 includes:
the digital signature calculation unit is used for calculating a hash value of the information to be processed of the electronic bill and encrypting the hash value through a sender block chain private key to obtain a digital signature;
the information encryption unit is used for encrypting the information to be processed of the electronic bill through a private key of a sender block chain to obtain the encrypted information to be processed of the electronic bill;
and the signature information determining unit is used for determining the signed electronic bill to-be-processed information according to the digital signature and the encrypted electronic bill to-be-processed information.
FIG. 10 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the server block chain node 106 in fig. 1. As shown in fig. 10, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an electronic ticket processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the electronic bill processing apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 10. The memory of the computer device may store therein various program modules constituting the electronic ticket processing apparatus, such as a request receiving module 902, a signature module 904, a consensus module 906, and a result determination module 908 shown in fig. 9. The computer program constituted by the respective program modules causes the processor to execute the steps in the electronic ticket processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 10 may execute step S202 by the request receiving module 902 in the electronic ticket processing apparatus shown in fig. 9. The computer device may perform step S204 through the signature module 904. The computer device may perform step S206 by the consensus module 906. The computer device may perform step S208 by the result determination module 908.
In one embodiment, there is provided an apparatus comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above-described electronic ticket processing method. Here, the steps of the electronic bill processing method may be the steps in the electronic bill processing method of each of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to perform the steps of the above-described electronic ticket processing method. Here, the steps of the electronic bill processing method may be the steps in the electronic bill processing method of each of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. 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 Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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 more 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 (10)

1. An electronic bill processing method, comprising:
receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
acquiring a sender block chain private key from a tax office server according to the sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
acquiring a proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call an intelligent authority contract to verify the proxy digital certificate, and after the verification is passed, identifying the signed to-be-processed information of the electronic bill together to obtain a result of passing the common identification;
and receiving the consensus passing result returned by the other block link points, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into a block, and sending the processing result to the sender equipment.
2. The method according to claim 1, wherein before the receiving the electronic ticket processing request sent by the sender device, the method further comprises:
receiving a digital certificate registration request sent by a management terminal, and sending a service party registration request to a tax office server according to the digital certificate registration request, wherein the service party registration request carries a service party identifier, so that the tax office server obtains approved registration information according to the service party identifier and generates a public and private key pair corresponding to the service party identifier to obtain a proxy digital certificate;
and acquiring and storing the proxy digital certificate returned by the tax office server.
3. The method according to claim 1, wherein before the receiving the electronic ticket processing request sent by the sender device, the method further comprises:
receiving a server binding instruction sent by sender equipment, wherein the server binding instruction carries a sender identifier, and sending a tax office server binding request to a server according to the server binding instruction, wherein the tax office server binding request carries the sender identifier and a server identifier, so that the tax office server writes the sender identifier and the server identifier into a preset binding relation table in an associated manner to obtain a binding completion result; and acquiring the binding completion result returned by the tax office server, and returning the binding completion result to the sender equipment.
4. The method of claim 1, wherein the electronic ticket pending information comprises at least one of electronic ticket billing information, electronic ticket reimbursement information, and electronic ticket tax return information.
5. The method of claim 1, wherein obtaining a sender blockchain private key from a tax bureau server based on the sender identification comprises:
sending a private key query request to the tax office server, wherein the private key query request carries a server identification and a sender identification, so that the tax office server searches a corresponding target sender identification in the preset binding relation table according to the server identification, and when the sender identification is consistent with the target sender identification, searching a corresponding sender block chain private key according to the sender identification;
and acquiring the private key of the block chain of the sender returned by the tax office server.
6. The method of claim 1, wherein the obtaining a sender blockchain private key from a tax bureau server according to the sender identification, and signing the electronic ticket to-be-processed information through the sender blockchain private key to obtain signed electronic ticket to-be-processed information comprises:
sending a signature request to sender equipment according to the sender identification, wherein the signature request carries the information to be processed of the electronic bill, so that the sender equipment signs the information to be processed of the electronic bill through a sender block chain private key according to the signature request to obtain the signed information to be processed of the electronic bill;
and receiving the signed electronic bill to-be-processed information returned by the sender equipment.
7. The method of claim 1, wherein the signing the pending information of the electronic ticket with the sender blockchain private key to obtain the signed pending information of the electronic ticket comprises:
calculating a hash value of the information to be processed of the electronic bill, and encrypting the hash value through the private key of the sender block chain to obtain a digital signature;
encrypting the information to be processed of the electronic bill by the private key of the sender block chain to obtain the encrypted information to be processed of the electronic bill;
and determining the signed electronic bill to-be-processed information according to the digital signature and the encrypted electronic bill to-be-processed information.
8. An electronic bill handling apparatus, characterized in that the apparatus comprises:
the request receiving module is used for receiving an electronic bill processing request sent by sender equipment, wherein the electronic bill processing request carries a sender identifier and electronic bill information to be processed;
the signature module is used for acquiring a sender block chain private key from a tax office server according to the sender identification, and signing the to-be-processed information of the electronic bill through the sender block chain private key to obtain signed to-be-processed information of the electronic bill;
the consensus module is used for acquiring a proxy digital certificate, sending the signed to-be-processed information of the electronic bill and the proxy digital certificate to other block chain nodes in an associated manner so as to enable the other block chain nodes to call an intelligent contract for authority to verify the proxy digital certificate, and after the verification is passed, consensus is carried out on the signed to-be-processed information of the electronic bill to obtain a consensus passing result;
and the result determining module is used for receiving the consensus passing result returned by the other block link points, determining a processing result of the to-be-processed information of the electronic bill according to the consensus passing result, writing the processing result into a block and sending the processing result to the sender equipment.
9. 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 7.
10. An apparatus 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 of any one of claims 1 to 7.
CN201910871780.XA 2019-09-16 2019-09-16 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device Active CN110633963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910871780.XA CN110633963B (en) 2019-09-16 2019-09-16 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910871780.XA CN110633963B (en) 2019-09-16 2019-09-16 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device

Publications (2)

Publication Number Publication Date
CN110633963A true CN110633963A (en) 2019-12-31
CN110633963B CN110633963B (en) 2023-12-12

Family

ID=68971332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910871780.XA Active CN110633963B (en) 2019-09-16 2019-09-16 Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device

Country Status (1)

Country Link
CN (1) CN110633963B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260488A (en) * 2020-01-23 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN111310202A (en) * 2020-01-20 2020-06-19 腾讯科技(深圳)有限公司 Information processing method for block chain network, block chain node device and medium
CN111325585A (en) * 2020-01-17 2020-06-23 腾讯科技(深圳)有限公司 Asset transfer method, device and computer readable storage medium
CN111369338A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111507783A (en) * 2020-04-13 2020-08-07 卓尔智联(武汉)研究院有限公司 Electronic bill pushing method and device, block chain link point equipment and storage medium
CN111523142A (en) * 2020-04-26 2020-08-11 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and medium
CN112132588A (en) * 2020-11-26 2020-12-25 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium
CN112149077A (en) * 2020-10-12 2020-12-29 杭州云链趣链数字科技有限公司 Supply chain billing method, system and computer equipment based on block chain technology
CN112199694A (en) * 2020-09-30 2021-01-08 杭州云链趣链数字科技有限公司 Standardized bill processing method and device, electronic device and storage medium
CN112765622A (en) * 2021-01-13 2021-05-07 中国外运股份有限公司 Digital certificate management method, device, equipment and medium for electronic bill of lading
CN116777397A (en) * 2023-08-02 2023-09-19 广州市振邦信息科技有限公司 Electronic bill management method, device, terminal and storage medium based on block chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952094A (en) * 2017-03-10 2017-07-14 腾讯科技(深圳)有限公司 Electronic bill management method and device
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109087078A (en) * 2018-08-27 2018-12-25 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109191219A (en) * 2018-08-13 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952094A (en) * 2017-03-10 2017-07-14 腾讯科技(深圳)有限公司 Electronic bill management method and device
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system
CN109191219A (en) * 2018-08-13 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109325812A (en) * 2018-08-24 2019-02-12 深圳市智税链科技有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109087078A (en) * 2018-08-27 2018-12-25 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325585A (en) * 2020-01-17 2020-06-23 腾讯科技(深圳)有限公司 Asset transfer method, device and computer readable storage medium
CN111310202A (en) * 2020-01-20 2020-06-19 腾讯科技(深圳)有限公司 Information processing method for block chain network, block chain node device and medium
CN111260488B (en) * 2020-01-23 2021-11-26 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN111260488A (en) * 2020-01-23 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device and readable storage medium
CN111369338A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111369338B (en) * 2020-02-28 2023-12-19 腾讯科技(深圳)有限公司 Data processing method and device based on block chain
CN111507783A (en) * 2020-04-13 2020-08-07 卓尔智联(武汉)研究院有限公司 Electronic bill pushing method and device, block chain link point equipment and storage medium
CN111523142A (en) * 2020-04-26 2020-08-11 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and medium
CN111523142B (en) * 2020-04-26 2024-05-14 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and medium
CN112199694A (en) * 2020-09-30 2021-01-08 杭州云链趣链数字科技有限公司 Standardized bill processing method and device, electronic device and storage medium
CN112149077A (en) * 2020-10-12 2020-12-29 杭州云链趣链数字科技有限公司 Supply chain billing method, system and computer equipment based on block chain technology
CN112132588B (en) * 2020-11-26 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium
CN112132588A (en) * 2020-11-26 2020-12-25 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, routing equipment and storage medium
CN112765622A (en) * 2021-01-13 2021-05-07 中国外运股份有限公司 Digital certificate management method, device, equipment and medium for electronic bill of lading
CN112765622B (en) * 2021-01-13 2024-04-16 中国外运股份有限公司 Digital certificate management method, device, equipment and medium for electronic bill of lading
CN116777397A (en) * 2023-08-02 2023-09-19 广州市振邦信息科技有限公司 Electronic bill management method, device, terminal and storage medium based on block chain

Also Published As

Publication number Publication date
CN110633963B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
US11954214B2 (en) Systems and methods for controlled access to policy data on blockchain
CN110599137B (en) Electronic bill data processing method and device and computer equipment
CN109255084B (en) Electronic bill query method, device, storage medium and computer equipment
CN108961030B (en) Data processing method, apparatus, system, medium, and device for electronic ticket
CN109165943B (en) Data processing method, device, storage medium and equipment for electronic bill
CN110599266B (en) Electronic bill data processing method and device, computer equipment and storage medium
CN110597837B (en) Service data processing method, device, storage medium and computer equipment
CN109191272B (en) Data processing method, device, storage medium and equipment for electronic bill
CN111444550A (en) Block chain-based service data verification method and device and readable storage medium
WO2019032089A1 (en) Blockchain architecture with record security
CN111080295A (en) Block chain-based electronic contract processing method and equipment
CN110602116B (en) Block chain based data verification method, device and computer readable storage medium
CN110634065B (en) Loan information processing method, device, equipment and storage medium based on blockchain
CN111178894B (en) Asset type registration and transaction record verification method and system
CN112700251B (en) Identity confirmation method, device and system in financial scene
CN110011796B (en) Certificate updating method and device, computer equipment and storage medium
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN111488372A (en) Data processing method, device and storage medium
CN111881483A (en) Resource account binding method, device, equipment and medium based on block chain
CN112862589B (en) Authentication method, device and system in financial scene
CN111127205A (en) Intelligent contract generation method and device, computer equipment and storage medium
CN111131234A (en) Intelligent contract data processing method and device in supply chain and computer equipment
CN110599332B (en) User intention determining method, device, equipment and storage medium based on block chain
CN109685664A (en) One kind being based on the associated digital asset real name register system of assets mandatory system

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