CN115018514A - Block chain electronic bill verification method, device, terminal and storage medium - Google Patents

Block chain electronic bill verification method, device, terminal and storage medium Download PDF

Info

Publication number
CN115018514A
CN115018514A CN202210591143.9A CN202210591143A CN115018514A CN 115018514 A CN115018514 A CN 115018514A CN 202210591143 A CN202210591143 A CN 202210591143A CN 115018514 A CN115018514 A CN 115018514A
Authority
CN
China
Prior art keywords
electronic
bill
block chain
electronic bill
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210591143.9A
Other languages
Chinese (zh)
Inventor
徐志胜
陈龙
肖勇
张晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Boss Software Co ltd
Original Assignee
Fujian Boss Software 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 Fujian Boss Software Co ltd filed Critical Fujian Boss Software Co ltd
Priority to CN202210591143.9A priority Critical patent/CN115018514A/en
Publication of CN115018514A publication Critical patent/CN115018514A/en
Pending legal-status Critical Current

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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Medical Informatics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a block chain electronic bill verification method, a device, a terminal and a storage medium, wherein the method comprises the following steps: building an electronic bill block chain network and an ecological alliance for socialized application of electronic bills; when making out an invoice, generating the generated electronic bill into invoice bill information according to a preset standard format and specification; verifying the information of the invoicing bill, encrypting data safely, and writing the electronic bill into a block chain network through a preset intelligent contract; and synchronously accounting the electronic bills in all the parties of the ecological alliance, and writing the electronic bills into respective block chain accounts. According to the invention, the billing of the electronic bill is supervised by using a block chain technology, and on the premise of complying with privacy safety management rules set by a financial department, the step of uploading financial supervision in the billing process of the electronic bill of a unit is removed, so that the purpose that the system of a bill user directly interfaces with the finance without depending on the block chain account book is realized, and the electronic bill information is obtained and the reimbursement and entry information is fed back.

Description

Block chain electronic bill verification method, device, terminal and storage medium
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of block chains, in particular to a block chain electronic bill verification method, a block chain electronic bill verification device, a block chain electronic bill verification terminal and a storage medium.
[ background of the invention ]
With the development of economy, physical bills have been gradually electronized, and capital information is stored in a computer system in a data and text form on the basis of a computer and a modern communication technology network, so that the electronic bills can perform actions such as transfer, cash sticking, pledge, collection and the like as the physical bills. In order to ensure the non-tamper property of the electronic bill, the electronic bill is encrypted by the block chain technology in the national and local financial departments.
However, at present, in the process of making out an electronic bill of a unit, a financial supervision is required to be uploaded, so that the unit making out an electronic bill has a large dependence on the finance, and meanwhile, a system of a user of the bill also depends on the direct connection of the finance. In addition, the authority of each party in the circulation process of the electronic bill at the present stage is not clear enough, so that the socialized application level of the financial electronic bill is not favorably improved, and the integral propulsion speed of the electronic bill is not favorably accelerated.
In view of the above, it is desirable to provide a method, an apparatus, a terminal and a storage medium for verifying a block chain electronic bill to overcome the above-mentioned drawbacks.
[ summary of the invention ]
The invention aims to provide a block chain electronic bill verification method, a block chain electronic bill verification device, a block chain electronic bill verification terminal and a block chain electronic bill storage medium, and aims to solve the problem that the conventional electronic bill is too dependent on a financial system, eliminate the step of uploading financial supervision in the process of issuing a bill by an electronic bill of a unit, improve the socialization application level of the financial electronic bill, and accelerate the overall propulsion speed.
In order to achieve the above object, a first aspect of the present invention provides a block chain electronic bill validation method, including the following steps:
building an electronic bill block chain network and establishing an ecological alliance of electronic bill social application;
when making out an invoice, generating the generated electronic bill into invoice bill information according to a preset standard format and specification;
verifying the billing bill information, performing data security encryption after the verification is passed, and writing the electronic bill into a block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution side to the inquiring party or the posting party on the block chain network in an electronic inquiry authorization or bill transfer mode;
and synchronously accounting the electronic bill encrypted by the block chain network in each party of the ecological alliance, and writing the electronic bill into a respective block chain account book.
In a preferred embodiment, in the step of block chain network of electronic bills and establishing an ecological alliance of the social application of the electronic bills, the ecological alliance comprises a cochain party, an attribution party, an account entering party, an inquiring party and a monitoring party; wherein, each party can inquire the electronic bill in the electronic bill block chain network.
In a preferred embodiment, each party of the ecological alliance operates in the block chain network according to a preset authority; wherein, the authority of the cochain party also comprises invoicing, flushing and printing; the authority of the attribution further comprises reimbursement; the right of the account-entering party also comprises account entering and locking.
In a preferred embodiment, in the step of verifying the information of the invoicing ticket, the electronic ticket is verified sequentially through a business system, a service component, an intelligent contract and block chain basic software; the system comprises a service system, a service component, a block chain basic software and a block chain basic software, wherein the service system is used for conducting service handling and generating corresponding billing bill information, the service component is used for verifying the integrity of the billing information and the legality of charging information, the intelligent contract is used for verifying a request signature, the legality of an electronic bill number and a user authority, and the block chain basic software is used for verifying the node identity.
In a preferred embodiment, the step of verifying the billing ticket information, performing data security encryption after the verification is passed, and writing the electronic ticket into the blockchain network through a preset intelligent contract comprises the following steps:
the business system handles business and sends a request for acquiring the electronic ticket number to the service assembly, and generates billing ticket information after receiving the electronic ticket number distributed by the service assembly;
the service component verifies the integrity of the billing information and the legality of the charging information, generates an electronic bill after the verification, encrypts the electronic bill information by using a public key of a related party, and signs a contract request information by using a unit private key;
the intelligent contract uses the public key of the unit to check the contract request, the validity of the electronic ticket number is verified after the check, and the transaction data is generated and linked after the verification;
the blockchain infrastructure software signs the transaction data using a node private key and then broadcasts in the blockchain network based on a consensus mechanism.
In a preferred embodiment, the method further comprises the following steps:
acquiring a query request of a query party for the electronic bill;
verifying the inquiry authority of the inquirer according to the inquiry request, and after the inquiry authority passes, returning the electronic bill information to the block chain basic software and decrypting the electronic bill information by the private key of the inquirer; the intelligent contract is used for verifying request signature, the validity of the electronic ticket number and user authority; and the block chain basic software is used for verifying the node identity.
In a preferred embodiment, the verifying the query authority of the querying party according to the query request, and after the query authority passes, the decrypting step of returning the electronic bill information to the block chain basic software by the private key of the querying party includes:
the service component uses the private key of the unit to sign the contract request information according to the bill query request of the query party;
the intelligent contract uses a public key of a unit to check the contract request and verify the existence of the electronic ticket number, and after the verification is passed, a transaction data query request is sent to the block chain basic software;
after receiving the query request, the block chain basic software returns the bill ciphertext data and sends the bill ciphertext data to the service component through the intelligent contract;
the service component decrypts the ticket data using the querier private key and then feeds back the ticket information to the querier.
A second aspect of the present invention provides a block chain electronic bill validation device, including:
the block chain building module is used for building an electronic bill block chain network and building an ecological alliance for electronic bill social application;
the bill information generating module is used for generating bill information of issuing bills according to a preset standard format and specification when issuing bills;
the electronic bill chaining module is used for verifying the billing bill information, performing data security encryption after the verification is passed, and writing the electronic bill into the block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution side to the inquiring party or the posting party on the block chain network in an electronic inquiry authorization or bill transfer mode;
and the electronic bill synchronization module is used for synchronously keeping accounts of the electronic bills encrypted by the block chain network at all sides of the ecological alliance and writing the accounts into respective block chain accounts.
A third aspect of the present invention provides a terminal comprising a memory, a processor and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the steps of the block chain electronic ticket validation method according to any one of the above embodiments.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the block chain electronic ticket validation method according to any one of the above embodiments.
The invention provides a block chain electronic bill verification method, a device, a terminal and a storage medium, which apply a block chain distributed account book technology, wherein electronic bill related parties have the same electronic bill account book data, and on the premise of following privacy safety management rules set by a financial department, the system of the bill using party does not depend on direct financial connection, acquires electronic bill information through respective block chain account books and feeds back reimbursement and posting information; meanwhile, the intelligent supervision of the whole billing behavior by a financial department is realized through a contract, the step of uploading financial supervision in the unit electronic bill billing process is eliminated, and the dependence of unit billing business on the finance is avoided; in addition, the authority responsibility of each party is ensured to be clear by applying a management mode of the alliance chain, and the socialization application level of the financial electronic bill is improved and the overall propulsion speed is accelerated by establishing a block chain alliance system taking various institutions such as finance, billing units, relevant government departments, various reimbursement units, social services and the like as members.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a block chain electronic bill validation method provided by the present invention;
FIG. 2 is a flowchart of the billing cochain process of the block chain electronic bill validation method shown in FIG. 1;
FIG. 3 is a flow chart of a ticket interrogation process in the blockchain electronic ticket validation method shown in FIG. 1;
fig. 4 is a frame diagram of the block chain electronic bill validation device provided by the invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantageous effects of the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and the detailed description. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Example one
The embodiment of the invention provides a block chain electronic bill verification method which is used for monitoring invoicing of electronic bills through a block chain technology, removing the step of uploading financial monitoring in the process of invoicing of unit electronic bills on the premise of following privacy safety management rules set by a financial department, realizing direct financial connection on a bill user system without depending on the direct finance, acquiring electronic bill information through respective block chain account books and feeding back reimbursement and admission information.
It should be noted that the traditional financial electronic bill includes seven business links, such as sample preparation, code assignment, issuing, transmission, inspection, account entry, and filing. On the basis, by applying the technical characteristics of a block chain, a new electronic bill business management mode is innovated, a financial electronic bill block chain network is built according to a business management mode of 'chaining at the source, authorized use, credible transfer and intelligent supervision', a social application ecological 'alliance' of financial electronic bills is established, financial electronic bill information sharing is realized, and application of financial electronic bills in various fields is promoted.
As shown in fig. 1, the block chain electronic bill validation method includes the following steps S101-S104.
And S101, building an electronic bill block chain network and building an ecological alliance of electronic bill social application.
The ecological alliance comprises a chaining party, an attribution party, an account entering party, an inquiring party and a monitoring party, so that an alliance chain is formed, and all the parties can inquire the electronic bills in the electronic bill block chain network.
Therefore, under the premise of following the privacy safety management rule set by the financial department, the corresponding bill operation authority is managed and controlled, and all the parties of the ecological alliance operate in the blockchain network according to the preset authority; besides the inquiry authority of each party, the authority of the uplink party also comprises invoicing, flushing and printing, the authority of the attribution party also comprises reimbursement, and the authority of the account-entering party also comprises account-entering and locking.
And S102, generating the billing bill information of the generated electronic bill according to a preset standard format and specification during billing.
In this step, the generation specification of the electronic bill must be filled with the electronic bill code, the electronic bill number, the check code, the total amount, the billing date, the billing unit code, the billing unit name, the payer name, and the electronic bill xml.
Step S103, verifying the information of the bill making, performing data security encryption after the verification is passed, and writing the electronic bill into the block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution direction inquirer or the account entering party on the block chain network in an electronic inquiry authorization or bill transfer mode, and in the process, the records of authorization, transfer, inquiry, use and the like are completely marked.
In this step, taking an electronic ticket as an example, an issuing unit obtains an electronic ticket number, generates issuing ticket information, generates an electronic ticket xml after the integrity verification of the issuing ticket, the validity verification of the electronic ticket number and the validity verification of the charging information are performed, realizes the uplink of the electronic ticket through an intelligent contract after the data security encryption, and records the electronic ticket into accounts of each party such as the issuing unit, the financial and social services (a payee), the reimbursement unit and the like through the network consensus and the block broadcast.
In the verification process of the electronic bill, the electronic bill is verified sequentially through a business system, a service component, an intelligent contract and block chain basic software; the system comprises a service system, a service component, a service contract and a block chain basic software, wherein the service system is used for handling services and generating corresponding billing information, the service component is used for verifying the integrity of the billing information and the legality of charging information, the intelligent contract is used for verifying request signatures, the legality of electronic ticket numbers and user authorities, and the block chain basic software is used for verifying node identities.
Specifically, as shown in fig. 2, the specific implementation manner of this step is as follows:
(1) the business system handles business and sends a request for acquiring the electronic ticket number to the service assembly, and generates billing ticket information after receiving the electronic ticket number distributed by the service assembly;
(2) the service component verifies the integrity of the billing information and the legality of the charging information, generates an electronic bill after verification, encrypts the electronic bill information by using a public key of a related party, and signs a contract request information by using a private key of a unit;
(3) the intelligent contract uses the public key of the unit to check the contract request, the validity of the electronic ticket number is verified after the check, and the transaction data is generated and linked after the verification;
(4) the blockchain infrastructure software signs the transaction data using a node private key and then broadcasts in the blockchain network based on a consensus mechanism.
And step S104, synchronously keeping accounts of all the parties of the ecological alliance for the electronic bill encrypted by the block chain network, and writing the electronic bill into respective block chain accounts.
Further, in one embodiment, the block chain electronic bill verification method further includes the following steps:
firstly, an inquiring party's inquiry request for the electronic bill is obtained. For example, the querier may be a reimbursement unit.
Secondly, verifying the inquiry authority of the inquirer according to the inquiry request, and after the inquiry authority passes, returning the electronic bill information to the block chain basic software and decrypting the electronic bill information by the private key of the inquirer; the service component is used for verifying the correctness of the ticket number of the electronic bill, and the intelligent contract is used for verifying the request signature, the legality (length, existence and the like) of the electronic ticket number and the user authority; the blockchain base software is used for verifying the node identity. Specifically, as shown in fig. 3, the specific implementation manner of this step is as follows:
(1) the service component uses the private key of the unit to sign the contract request information according to the bill inquiry request of the inquirer;
(2) the intelligent contract uses a public key of a unit to check the contract request and verify the existence of the electronic ticket number, and after the verification is passed, a transaction data query request is sent to the block chain basic software;
(3) after receiving the query request, the block chain basic software returns the bill ciphertext data and sends the bill ciphertext data to the service component through the intelligent contract;
(4) the service component decrypts the ticket data using the querier private key and then feeds back the ticket information to the querier.
The second aspect of the present invention provides a block chain electronic bill verification apparatus 100, configured to build a financial electronic bill block chain network according to a service management mode of "chaining at source, authorized use, trusted circulation, and intelligent supervision", establish a social application ecology "alliance" of financial electronic bills, implement information sharing of financial electronic bills, and promote application of financial electronic bills in various fields. It should be noted that the implementation principle and the implementation mode of the blockchain electronic bill validation apparatus 100 are consistent with the above-mentioned blockchain electronic bill validation method, and therefore, the following description is omitted.
As shown in fig. 4, the block chain electronic bill validation apparatus 100 includes:
the block chain building module 10 is used for building an electronic bill block chain network and building an ecological alliance for electronic bill social application;
the bill information generating module 20 is used for generating bill information for making out bills according to a preset standard format and specification when making out bills;
the electronic bill chaining module 30 is used for verifying the billing bill information, performing data security encryption after the verification is passed, and writing the electronic bill into the block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution direction inquirer or the posting party on the block chain network in an electronic inquiry authorization or bill transfer mode;
and the electronic bill synchronization module 40 is used for synchronously accounting the electronic bills encrypted by the block chain network in each party of the ecological alliance and writing the electronic bills into respective block chain accounts.
A third aspect of the present invention provides a terminal comprising a memory, a processor and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the steps of the block chain electronic ticket validation method according to any one of the above embodiments.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the block chain electronic ticket validation method according to any one of the above embodiments.
In summary, the block chain electronic bill verification method, apparatus, terminal and storage medium provided by the present invention apply the block chain distributed account book technology, and the electronic bill related parties have the same electronic bill account book data, and on the premise of complying with the privacy security management rule set by the financial department, the purpose of directly interfacing with the finance on the bill user system is achieved without depending on, and the electronic bill information is obtained and the reimbursement and entry information is fed back through the respective block chain account books; meanwhile, the intelligent supervision of the whole billing behavior by a financial department is realized through a contract, the step of uploading financial supervision in the unit electronic bill billing process is eliminated, and the dependence of unit billing business on the finance is avoided; in addition, the method and the system ensure clear authority and responsibility of all parties by using a governing mode of the alliance chain, and promote the socialization application level of the financial electronic bill and accelerate the overall propulsion speed by establishing a block chain alliance system taking various institutions such as finance, invoicing units, relevant government departments, various reimbursement units, social services and the like as members.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system or apparatus/terminal device and method can be implemented in other ways. For example, the above-described system or apparatus/terminal device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The invention is not limited solely to that described in the specification and embodiments, and additional advantages and modifications will readily occur to those skilled in the art, so that the invention is not limited to the specific details, representative apparatus, and illustrative examples shown and described herein, without departing from the spirit and scope of the general concept as defined by the appended claims and their equivalents.

Claims (10)

1. A block chain electronic bill verification method is characterized by comprising the following steps:
building an electronic bill block chain network and an ecological alliance for socialized application of electronic bills;
when making out an invoice, generating the generated electronic bill into invoice bill information according to a preset standard format and specification;
verifying the billing bill information, performing data security encryption after the verification is passed, and writing an electronic bill into a block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution side to the inquiring party or the posting party on the block chain network in an electronic inquiry authorization or bill transfer mode;
and synchronously accounting the electronic bill encrypted by the block chain network in each party of the ecological alliance, and writing the electronic bill into a respective block chain account book.
2. The method for validating the blockchain electronic bills according to claim 1, wherein in the step of establishing an ecological alliance of the electronic bill social application in the electronic bill blockchain network, the ecological alliance comprises a uplink party, a home party, an account-entering party, an inquiring party and a supervising party; wherein, each party can inquire the electronic bill in the electronic bill block chain network.
3. The blockchain electronic bill validation method of claim 2 wherein the parties of the ecological federation operate at the blockchain network in accordance with a preset authority; wherein, the authority of the cochain party also comprises invoicing, flushing and printing; the authority of the attribution further comprises reimbursement; the right of the account-entering party also comprises account entering and locking.
4. The blockchain electronic ticket validation method of claim 1 wherein in said validating the invoicing ticket information, the electronic ticket is validated sequentially through a business system, a service component, an intelligent contract and blockchain base software; the system comprises a service system, a service component, a block chain basic software and a block chain basic software, wherein the service system is used for conducting service handling and generating corresponding billing bill information, the service component is used for verifying the integrity of the billing information and the legality of charging information, the intelligent contract is used for verifying a request signature, the legality of an electronic bill number and a user authority, and the block chain basic software is used for verifying the node identity.
5. The blockchain electronic bill validation method according to claim 4, wherein the step of validating the billing bill information, performing data security encryption after validation, and then writing the electronic bill into the blockchain network by a preset intelligent contract comprises the steps of:
the business system handles business and sends a request for acquiring the electronic ticket number to the service assembly, and generates billing ticket information after receiving the electronic ticket number distributed by the service assembly;
the service component verifies the integrity of the billing information and the legality of the charging information, generates an electronic bill after verification, encrypts the electronic bill information by using a public key of a related party, and signs a contract request information by using a private key of a unit;
the intelligent contract uses the public key of the unit to check the contract request, the validity of the electronic ticket number is verified after the check, and the transaction data is generated and linked after the verification;
the blockchain infrastructure software signs the transaction data using a node private key and then broadcasts in the blockchain network based on a consensus mechanism.
6. The blockchain electronic bill validation method according to claim 1, further comprising the steps of:
acquiring a query request of a query party for the electronic bill;
verifying the inquiry authority of the inquirer according to the inquiry request, and after the inquiry authority passes, returning the electronic bill information to the block chain basic software and decrypting the electronic bill information by the private key of the inquirer; the intelligent contract is used for verifying request signature, the validity of the electronic ticket number and user authority; the blockchain base software is used for verifying the node identity.
7. The method for validating the blockchain electronic ticket of claim 6, wherein the validating the query authority of the querier according to the query request, and when the query authority passes, the step of decrypting the electronic ticket information returned to the blockchain basic software by the querier private key comprises the steps of:
the service component uses the private key of the unit to sign the contract request information according to the bill query request of the query party;
the intelligent contract uses a public key of a unit to check the contract request and verify the existence of the electronic ticket number, and after the verification is passed, a transaction data query request is sent to the block chain basic software;
after receiving the query request, the block chain basic software returns the bill ciphertext data and sends the bill ciphertext data to the service component through the intelligent contract;
the service component decrypts the ticket data using the querier private key and then feeds back the ticket information to the querier.
8. A blockchain electronic bill validator comprising:
the block chain building module is used for building an electronic bill block chain network and building an ecological alliance for electronic bill social application;
the bill information generating module is used for generating bill information of issuing bills according to a preset standard format and specification when issuing bills;
the electronic bill chaining module is used for verifying the billing bill information, performing data security encryption after the verification is passed, and writing the electronic bill into the block chain network through a preset intelligent contract; the electronic bills are transferred from the attribution side to the inquiring party or the posting party on the block chain network in an electronic inquiry authorization or bill transfer mode;
and the electronic bill synchronization module is used for synchronously accounting the electronic bills encrypted by the block chain network in all the parties of the ecological alliance and writing the electronic bills into respective block chain accounts.
9. A terminal, characterized in that the terminal comprises a memory, a processor and a computer program stored in the memory, which computer program, when executed by the processor, carries out the steps of the block chain electronic ticket validation method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the blockchain electronic ticket validation method according to any one of claims 1 to 7.
CN202210591143.9A 2022-05-27 2022-05-27 Block chain electronic bill verification method, device, terminal and storage medium Pending CN115018514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210591143.9A CN115018514A (en) 2022-05-27 2022-05-27 Block chain electronic bill verification method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210591143.9A CN115018514A (en) 2022-05-27 2022-05-27 Block chain electronic bill verification method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115018514A true CN115018514A (en) 2022-09-06

Family

ID=83070356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210591143.9A Pending CN115018514A (en) 2022-05-27 2022-05-27 Block chain electronic bill verification method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115018514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117635348A (en) * 2023-11-29 2024-03-01 中国人寿保险股份有限公司山东省分公司 Electronic bill insurance claim risk control method based on blockchain technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117635348A (en) * 2023-11-29 2024-03-01 中国人寿保险股份有限公司山东省分公司 Electronic bill insurance claim risk control method based on blockchain technology

Similar Documents

Publication Publication Date Title
CN108833081B (en) Block chain-based equipment networking authentication method
Li et al. Toward blockchain-based fair and anonymous ad dissemination in vehicular networks
CN108292401B (en) Secure digital data manipulation
EP3932002A1 (en) Credential verification and issuance through credential service providers
CN109859024B (en) Tax system consensus method based on alliance chain
CN106934673A (en) A kind of electronic invoice system
CN102473212A (en) Method for producing a soft token
EP1216587A1 (en) Method for authenticating electronic certificates, issued by a certification authority in a mobile device and a corresponding identification module
CN111260488B (en) Data processing method and device and readable storage medium
CN113360861B (en) Mortgage loan oriented decentralized identity method based on repeater cross-chain
CN115619404B (en) Block chain-based enterprise associated transaction business cooperative processing method
CN111506928A (en) Just information sharing system based on block chain
CN108173659A (en) A kind of certificate management method based on UKEY equipment, system and terminal device
CN113129518A (en) Electric vehicle charging system and resource management method thereof
CN112862589B (en) Authentication method, device and system in financial scene
CN113010861B (en) Identity verification method and system in financing transaction based on block chain
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
CN111491024A (en) Block chain-based bank letter method, system, terminal and storage medium
CN114944937B (en) Distributed digital identity verification method, system, electronic equipment and storage medium
CN115018514A (en) Block chain electronic bill verification method, device, terminal and storage medium
WO2022200035A1 (en) Method and device for generating, providing, and transferring a trusted electronic dataset or certificate based on an electronic document concerning a user
CN110689348A (en) Income verification method, device, terminal and medium based on alliance chain
CN111681141B (en) File authentication method, file authentication device and terminal equipment
CN111444416A (en) Method, system and device for popularizing financial business
CN114565485A (en) Labor contract management method and system based on block chain ipfs storage

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