CN107767192B - Electronic bill verification method, device and system - Google Patents

Electronic bill verification method, device and system Download PDF

Info

Publication number
CN107767192B
CN107767192B CN201610698369.3A CN201610698369A CN107767192B CN 107767192 B CN107767192 B CN 107767192B CN 201610698369 A CN201610698369 A CN 201610698369A CN 107767192 B CN107767192 B CN 107767192B
Authority
CN
China
Prior art keywords
electronic
electronic bill
information
identification information
bill
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610698369.3A
Other languages
Chinese (zh)
Other versions
CN107767192A (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.)
Founder International Beijing Co Ltd
Original Assignee
Founder International Beijing 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 Founder International Beijing Co Ltd filed Critical Founder International Beijing Co Ltd
Priority to CN201610698369.3A priority Critical patent/CN107767192B/en
Publication of CN107767192A publication Critical patent/CN107767192A/en
Application granted granted Critical
Publication of CN107767192B publication Critical patent/CN107767192B/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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a system for verifying an electronic bill, which are used for solving the problems of low efficiency, high complexity and poor reliability of the conventional bill verification, and comprise the following steps: receiving a first electronic bill sent by a first client and identifying first identification information in the first electronic bill; judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information; and if the first electronic bill is consistent with the second electronic bill, determining that the first electronic bill passes the verification. In the embodiment of the invention, the client stores the first identification information of the current ticket holder in the electronic bill, so that the client can verify whether the identification information of the current ticket holder of the locally stored electronic bill is consistent with the first identification information, a bank system is not required to participate in the process, the verification process is simple, the efficiency is high, and in addition, because each client stores the identification information of the current ticket holder of each electronic bill, the risk of poor reliability caused by information centralization is effectively reduced.

Description

Electronic bill verification method, device and system
Technical Field
The invention relates to the technical field of electronic bill verification of a bank system, in particular to a method, a device and a system for verifying an electronic bill.
Background
The transaction in daily life is frequently carried out every day, in order to realize the convenience of transaction, people utilize the form of paper bills to carry out equivalent exchange, and in the transaction process, a user holds bills to settle accounts, the bills are cleared along with people and money, and the bills have the advantages of strong payment capacity, strong universality, flexible use and the like.
With the popularization and the promotion of paper bills, the paper bill transaction mode has more and more problems. In the transaction process, the paper bill has the condition of false bill or multi-selling of one bill, the user is difficult to distinguish the authenticity of the bill, and if the bill needs to be verified in the transaction process, the bill needs to be verified by a third-party bank system, so that the complexity of the transaction link is increased, the transaction efficiency is reduced, and the supervision cost is increased by the participation of the bank system in verification.
In addition, the transaction links of the existing bank system are centralized, that is, the information of all the bills is stored in the server of the bank system, and once the bank system fails to operate, the information of the bills stored in the bank system cannot be recovered, so that the bills cannot be effectively verified.
Disclosure of Invention
The embodiment of the invention discloses a method, a device and a system for verifying an electronic bill, which are used for solving the problems of low efficiency, high complexity and poor reliability of the conventional bill verification.
In order to achieve the above object, an embodiment of the present invention discloses a method for verifying an electronic ticket, which is applied to a second client, and the method includes:
receiving a first electronic bill sent by a first client, and identifying first identification information of a current ticket holder contained in the first electronic bill;
judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the electronic ticket holder;
if so, determining that the first electronic bill is verified, otherwise, determining that the first electronic bill is not verified.
Further, after determining that the first electronic ticket is verified, the method further includes:
and after the transaction is finished, adding the second identification information into the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client.
Further, the adding the second identification information in the first electronic ticket includes:
and adding the second identification information at the tail of the first electronic bill.
Further, after determining that the first electronic ticket is verified, the method further includes:
after the transaction is completed, receiving first information, broadcasted by the first client, of a change of a ticket holder of the first electronic ticket, wherein the first information comprises second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of the ticket holder corresponding to the second client;
and locally storing the change of the identification information of the current ticket holder of the first electronic ticket, wherein the changed identification information of the current ticket holder is second identification information.
Further, the method further comprises:
sending request information for cashing the second electronic bill to a server, wherein the request information comprises the information of the second electronic bill;
and receiving electronic bill cashing completion information sent by the server, wherein the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when the identification information of the current ticket holder of the second electronic bill is judged to be consistent with the second identification information, and the electronic bill cashing completion information comprises cashing amount information.
Further, the method further comprises:
broadcasting a first electronic bill information table stored by the electronic bill information table according to a set time interval, wherein each electronic bill, identification information of a current ticket holder of each electronic bill and generation time of each electronic bill are stored in the first electronic bill information table;
receiving a second electronic bill information table broadcast by other clients;
comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
if not, updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bills.
Further, before the determining that the first electronic ticket passes the verification, the method further includes:
identifying bill type information and bill amount information contained in the first electronic bill;
and judging whether the bill type information and the bill amount information are consistent with the bill type and the bill amount required by the bill type information and the bill amount information, and if so, determining that the first electronic bill passes the verification.
The embodiment of the invention discloses a verification method of an electronic bill, which is applied to a first client side and comprises the following steps:
sending the first electronic bill to the second client;
receiving information that a first electronic bill sent by a second electronic client passes verification, wherein the information is first identification information of a current ticket holder contained in a first electronic bill received by the second client and sent by a first client; and according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be consistent with the first identification information and sent.
Further, when the transaction is completed, the method further comprises:
broadcasting first information that a current ticket holder of the first electronic ticket changes, wherein the first information contains second identification information of the ticket holder after the first electronic ticket changes, the second identification information is identification information of the ticket holder corresponding to the second client, so that other clients store the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
Further, the method further comprises:
broadcasting a first electronic bill information table stored by the electronic bill information table according to a set time interval, wherein each electronic bill, identification information of a current ticket holder of each electronic bill and generation time of each electronic bill are stored in the first electronic bill information table;
receiving a second electronic bill information table broadcast by other clients;
comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
if not, updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bills.
Further, before sending the first electronic ticket to the second client, the method further includes:
sending an electronic bill application to a server, wherein the electronic bill application comprises first identification information, bill amount information and bill type information of an applicant corresponding to the first client;
and receiving a first electronic bill sent by the server, wherein the first electronic bill is sent after the first electronic bill and the identification information of the current ticket holder of the first electronic bill are stored in the server.
The embodiment of the invention discloses a verification device of an electronic bill, which comprises:
the receiving module is used for receiving a first electronic bill sent by a first client and identifying first identification information of a current ticket holder contained in the first electronic bill;
the first judgment module is used for judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the first judgment module;
and the determining module is used for determining that the first electronic bill passes the verification when the judgment result of the first judging module is yes, and determining that the first electronic bill does not pass the verification when the judgment result of the first judging module is no.
Further, the apparatus further comprises:
and the generating module is used for adding the second identification information into the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client after the transaction is completed.
Further, the generating module is specifically configured to add the second identification information at the end of the first electronic ticket.
Further, the receiving module is further configured to receive, after the transaction is completed, first information that a ticket holder of the first electronic ticket changes and is broadcast by the first client, where the first information includes second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of a ticket holder corresponding to the second client;
the device further comprises:
and the storage module is used for locally storing the change of the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is second identification information.
Further, the apparatus further comprises:
the sending module is used for sending request information for cashing the second electronic bill to a server, wherein the request information comprises the information of the second electronic bill;
the receiving module is further configured to receive electronic bill cashing completion information sent by the server, where the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when it is determined that the identification information of the current ticket holder of the second electronic bill is consistent with the second identification information, and the electronic bill cashing completion information includes cashing amount information.
Further, the sending module is further configured to broadcast a first electronic ticket information table stored by the sending module according to a set time interval, where each electronic ticket, identification information of a current ticket holder of each electronic ticket, and generation time of each electronic ticket are stored in the first electronic ticket information table;
the receiving module is also used for receiving a second electronic bill information table broadcast by other clients;
the first judging module is further used for comparing whether the earliest generation time of the electronic bill in the first electronic bill information table stored by the first judging module is earlier than the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
and the storage module is further used for updating the locally stored first electronic bill information table by adopting the second electronic bill information table with the earliest generation time of the electronic bill when the judgment result of the first judgment module is negative.
Further, the apparatus further comprises:
the identification module is used for identifying the bill type information and the bill amount information contained in the first electronic bill;
the second judgment module is used for judging whether the bill type information and the bill amount information are consistent with the bill type and the bill amount required by the second judgment module;
the determining module is further configured to determine that the first electronic bill passes the verification when the determination result of the second determining module is yes, and determine that the first electronic bill does not pass the verification when the determination result of the second determining module is no.
The embodiment of the invention discloses a verification device of an electronic bill, which comprises:
the sending module is used for sending the first electronic bill to the second client;
the receiving module is used for receiving the information that the first electronic bill sent by the second electronic client passes the verification, wherein the information is the first electronic bill sent by the first client and received by the second client, and the first identification information of the current ticket holder contained in the first electronic bill is identified; and according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be consistent with the first identification information and sent.
Further, the sending module is further configured to broadcast first information that a current ticket holder of the first electronic ticket changes, where the first information includes second identification information of the ticket holder that the first electronic ticket changes, the second identification information is identification information of a ticket holder corresponding to the second client, so that other clients store the change of the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
Further, the sending module is further configured to broadcast a first electronic ticket information table stored by the sending module according to a set time interval, where each electronic ticket, identification information of a current ticket holder of each electronic ticket, and generation time of each electronic ticket are stored in the electronic ticket information table;
the receiving module is also used for receiving a second electronic bill information table broadcast by other clients; comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
the device further comprises:
and the judging module is used for updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bill when the comparison result of the second comparing module is yes.
Further, the sending module is further configured to send an electronic ticket application to a server, where the electronic ticket application includes first identification information, ticket amount information, and ticket type information of an applicant corresponding to the first client;
the receiving module is further configured to receive a first electronic bill sent by the server, where the first electronic bill is sent after the first electronic bill is broadcast by the server and the first electronic bill and identification information of a current ticket holder of the first electronic bill are stored.
The embodiment of the invention discloses a verification system of electronic bills, which comprises a verification device of the electronic bills applied to a second client and a verification device of the electronic bills applied to a first client.
The embodiment of the invention provides a method, a device and a system for verifying an electronic bill, wherein the method comprises the following steps: receiving a first electronic bill sent by a first client, and identifying first identification information of a current ticket holder contained in the first electronic bill; judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the electronic ticket holder; and if the first electronic bill is consistent with the second electronic bill, determining that the first electronic bill is verified, otherwise, determining that the first electronic bill is not verified. In the embodiment of the invention, the client stores the identification information of the current ticket holder of each electronic bill, and the electronic bill also comprises the first identification information of the current ticket holder, so that the client can verify the electronic bill by judging whether the identification information of the current ticket holder of the locally stored electronic bill is consistent with the first identification information or not, and the verification process does not need a bank system, thereby having simple verification process and high efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a verification process of an electronic bill provided in embodiment 1 of the present invention;
fig. 2 is a verification process of an electronic bill provided in embodiment 2 of the present invention;
fig. 3 is a schematic diagram of a detailed implementation process of an electronic bill validation method according to embodiment 6 of the present invention;
fig. 4 is a schematic structural diagram of an electronic bill validation device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic bill validation device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic bill validation system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a verification process of an electronic ticket provided in embodiment 1 of the present invention, applied to a second client, and the verification process includes the following steps:
s101: the method comprises the steps of receiving a first electronic bill sent by a first client, and identifying first identification information of a current ticket holder contained in the first electronic bill.
Specifically, the first electronic bill contains first identification information of the current ticket holder, and the first identification information can be unique identification information such as account information of the current ticket holder and sequence number information of the current ticket holder; in addition, the first electronic bill may further include bill type information, bill amount information, and the like, where the bill type information may be information identifying whether the electronic bill is a money order or a home ticket. After receiving the first electronic bill sent by the first client, the second client identifies first identification information contained in the first electronic bill.
S102: and judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the electronic ticket holder, if so, performing S103, and otherwise, performing S104.
Specifically, in the embodiment of the present invention, the first electronic ticket is generated based on a block chain technique. And after the server generates each electronic bill, the identification information of the electronic bill and the information of the current holder of the electronic bill are sent to each client. And after receiving the information of the electronic bill sent by the server, the client stores the information to the local.
In addition, the electronic bill generated by the server carries identification information of the applicant of the electronic bill, and the applicant of the electronic bill can be considered as the first current ticket holder of the electronic bill. The first electronic ticket generated by a particular server may be a string of numbers in which from how many to how many digits are known to the current bearer's identification information. Therefore, after the second client receives the first electronic bill, the information of the number of the first electronic bill is extracted, and the identification information of the current ticket holder of the first electronic bill is obtained according to the reverse process generated by the electronic bill.
S103: and determining that the first electronic bill is verified.
S104: determining that the first electronic ticket is not validated.
Specifically, when the first identification information of the current ticket holder included in the first electronic ticket is consistent with the identification information of the current ticket holder of the first electronic ticket stored by the second client, the second client can determine that the first electronic ticket is a legal electronic ticket and confirms that the first electronic ticket passes the verification, and otherwise, the second client determines that the first electronic ticket fails to pass the verification.
And when the second client determines whether the first electronic bill passes the verification, sending a verification result to the first client so that the first client can perform subsequent operation.
In the embodiment of the invention, the client stores the identification information of the current ticket holder of each electronic bill, and the electronic bill also comprises the first identification information of the current ticket holder, so that the client can verify the electronic bill by judging whether the identification information of the current ticket holder of the locally stored electronic bill is consistent with the first identification information or not, and the verification process does not need a bank system, thereby having simple verification process and high efficiency.
When the first electronic bill also contains bill type information and bill amount information, the second client can verify the information of the current bill holder of the first electronic bill and also verify the bill type information and the bill amount information of the current bill holder of the first electronic bill. The reason is that the electronic bill verification is generally carried out in the transaction process, and when the transaction is needed, the ticket holder can send the electronic bill held by the ticket holder to the goods owner after the transaction amount information is determined so as to complete the transaction. Therefore, when a first client side where a ticket holder is located and a second client side where a goods owner is located conduct transaction, the amount information of the transaction is known, and after the ticket holder sends the bill type information of the first electronic bill to the second client side, the second client side extracts the bill type information and the bill amount information in the first electronic bill, compares the bill type information and the bill amount information with the bill type information and the amount information of the transaction sent by the first client side, and if the bill type information and the bill amount information are consistent, determines that the first electronic bill passes verification.
Example 2:
fig. 2 is a verification process of an electronic ticket according to embodiment 2 of the present invention, applied to a first client, where the verification process includes the following steps:
s201: and sending the first electronic bill to the second client.
Specifically, when the user corresponding to the first client needs to perform a transaction with the user corresponding to the second client, the user corresponding to the first client sends the currently held first electronic ticket to the second client. The first electronic bill contains first identification information of the current ticket holder, and the first identification information can be unique identification information such as account information of the current ticket holder, sequence number information of the current ticket holder and the like.
In addition, the first electronic bill may further include bill type information, bill amount information, and the like, where the bill type information may be information identifying whether the electronic bill is a money order or a home ticket. After receiving the first electronic bill sent by the first client, the second client identifies first identification information contained in the first electronic bill.
S202: receiving information that a first electronic bill sent by a second electronic client passes verification, wherein the information is first identification information of a current ticket holder contained in a first electronic bill received by the second client and sent by a first client; and according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be consistent with the first identification information and sent.
Specifically, in the embodiment of the present invention, the first electronic ticket is generated based on a block chain technique. And after the server generates each electronic bill, the identification information of the electronic bill and the information of the current holder of the electronic bill are sent to each client. And after receiving the information of the electronic bill sent by the server, the client stores the information to the local.
In addition, the electronic bill generated by the server carries identification information of the applicant of the electronic bill, and the applicant of the electronic bill can be considered as the first current ticket holder of the electronic bill. The first electronic ticket generated by a particular server may be a string of numbers in which from how many to how many digits are known to the current bearer's identification information. Therefore, after the second client receives the first electronic bill, the information of the number of the first electronic bill is extracted, and the identification information of the current ticket holder of the first electronic bill is obtained according to the reverse process generated by the electronic bill.
When the first identification information of the current ticket holder contained in the first electronic ticket is consistent with the identification information of the current ticket holder of the first electronic ticket stored by the second client, the second client can determine that the first electronic ticket is a legal electronic ticket and confirms that the first electronic ticket passes the verification, and otherwise, the second client determines that the first electronic ticket does not pass the verification.
And when the second client determines whether the first electronic bill passes the verification, sending a verification result to the first client so that the first client can perform subsequent operation.
In the embodiment of the invention, the client stores the identification information of the current ticket holder of each electronic bill, and the electronic bill also comprises the first identification information of the current ticket holder, so that the client can verify the electronic bill by judging whether the identification information of the current ticket holder of the locally stored electronic bill is consistent with the first identification information or not, and the verification process does not need a bank system, thereby having simple verification process and high efficiency.
Before the electronic bill verification is carried out, a server is required to generate the electronic bill, and the server is a server of a bank system. Firstly, the applicant needs to sign an electronic bill agreement with a bank system, and after the agreement takes effect, the applicant can send an electronic bill application to a server through a client.
Example 3:
on the basis of embodiment 2, in this embodiment of the present invention, before sending the first electronic ticket to the second client, the method further includes:
sending an electronic bill application to a server, wherein the electronic bill application comprises first identification information, bill amount information and bill type information of an applicant corresponding to the first client;
and receiving a first electronic bill sent by the server, wherein the first electronic bill is sent after the first electronic bill and the identification information of the current ticket holder of the first electronic bill are stored in the server.
The electronic bill application carries identification information of an applicant, and after receiving the electronic bill application, the server generates the electronic bill according to the identification information of the applicant, that is to say, the electronic bill currently contains the identification information of the applicant. The applicant may consider the first current holder of the electronic ticket.
For the accuracy of information, when the server generates the electronic bill, the server determines the generated identification information of the electronic bill, wherein the identification information can be information which uniquely identifies the electronic bill, such as the sequence number of the electronic bill. After the server generates the electronic bill, the information of the electronic bill is stored in the server, specifically, the identification information of the electronic bill and the identification information of the current holder of the electronic bill can be stored, and the current holder of the electronic bill is the applicant.
In order to enable the client side which subsequently receives the electronic bill to verify the electronic bill, the server sends the stored information of the electronic bill to each client side, and after the client side receives the information of the electronic bill sent by the server, the information of the electronic bill is stored locally. That is, the identification information of the electronic ticket and the identification information of the current holder of the electronic ticket are also stored in each client.
Example 4:
the server can send the electronic bill generated based on the block chain technology to a first client held by the applicant according to the application information of the applicant, store the information of the electronic bill locally and send the information of the electronic bill to each client.
And after the second client receives the electronic bill and passes the verification, the user corresponding to the first client and the user corresponding to the second client can carry out transaction, and after the transaction is successful, the electronic bill is transferred to the user corresponding to the second client, namely the current ticket holder of the electronic bill changes to the user corresponding to the second client.
Subsequently, in order to enable the user corresponding to the second client to use the electronic ticket, on the basis of the foregoing embodiment 2, in an embodiment of the present invention, for the first client, after the transaction is completed, the method further includes:
broadcasting first information that a current ticket holder of the first electronic ticket changes, wherein the first information contains second identification information of the ticket holder after the first electronic ticket changes, the second identification information is identification information of the ticket holder corresponding to the second client, so that other clients store the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
In an embodiment of the present invention, for a second client relative to a first client, the method further includes:
after the transaction is completed, receiving first information, broadcasted by the first client, of a change of a ticket holder of the first electronic ticket, wherein the first information comprises second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of the ticket holder corresponding to the second client;
and locally storing the change of the identification information of the current ticket holder of the first electronic ticket, wherein the changed identification information of the current ticket holder is second identification information.
After the transaction is completed, a user corresponding to the first client can broadcast first information that the current ticket holder of the first electronic ticket changes through the first client, and the first information can also include first identification information of the current ticket holder before the change. And after other clients receive the first information, searching the identification information of the current ticket holder stored aiming at the first electronic bill according to the first information, if the identification information is consistent with the first identification information, recording that the current ticket holder of the first electronic bill changes, and recording the changed identification information of the current ticket holder as second identification information. And the server also records that the first electronic bill is changed and records the changed identification information of the current ticket holder as second identification information.
Example 5:
subsequently, in order to enable a user corresponding to the second client to use the electronic ticket, after the second client determines that the first electronic ticket is verified, the method further includes, for the second client:
and after the transaction is finished, adding the second identification information into the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client.
Specifically, the electronic ticket generated in the embodiment of the present invention is based on a block chain technology, and the second client uses a corresponding user as a current ticket holder of the electronic ticket, and adds the second identification information to the first electronic ticket according to the second identification information of the current ticket holder, thereby generating the second electronic ticket including the second identification information. The method for generating the second electronic bill by adding the second identification information to the first electronic bill generated based on the block chain technology is the prior art and is not repeated.
Because the server also records the change information of each electronic bill, the second client can pay the second electronic bill, and further, the method further comprises the following steps:
sending request information for cashing the second electronic bill to a server, wherein the request information comprises the information of the second electronic bill;
and receiving electronic bill cashing completion information sent by the server, wherein the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when the identification information of the current ticket holder of the second electronic bill is judged to be consistent with the second identification information, and the electronic bill cashing completion information comprises cashing amount information.
Because the electronic bill contains the identification information of the current ticket holder of the electronic bill and the amount information, and the identification information of the current ticket holder of each electronic bill is recorded in the server, the server can verify the electronic bill for cashing when receiving the request information for cashing the electronic bill, thereby judging whether the electronic bill can be cashed.
Certainly, after the cashing is completed, the server may also send the cashing completed information to each client, where the information carries the identification information of the electronic ticket subjected to cashing, so that the client records that the electronic ticket has been cashed after receiving the information, and avoids subsequent continuous circulation of the electronic ticket.
Example 6:
when the current ticket holder of the first electronic ticket changes, the first client broadcasts the first information that the current ticket holder of the first electronic ticket changes to other clients, but for the newly online client, if the newly online client cannot acquire the information of the previous electronic ticket, the verification process of the subsequent electronic ticket cannot be completed. Therefore, on the basis of the foregoing embodiments, in an embodiment of the present invention, for each client, the method further includes:
broadcasting a first electronic bill information table stored by the electronic bill information table according to a set time interval, wherein each electronic bill, identification information of a current ticket holder of each electronic bill and generation time of each electronic bill are stored in the first electronic bill information table;
receiving a second electronic bill information table broadcast by other clients;
comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
if not, updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bills.
Specifically, the client itself locally stores an electronic ticket information table, where the electronic ticket information table stores information of each electronic ticket, and the information of the electronic ticket includes: the identification information of each electronic bill, the identification information of the current ticket holder of each electronic bill and the generation time of each electronic bill.
Each client broadcasts a first electronic bill information table stored by the client according to a set time interval and receives a second electronic bill information table broadcast by other clients according to the set time interval.
After receiving the second electronic bill information table, the client compares the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients, if so, the client does not update the first electronic bill information table, and if not, the client updates the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bill.
When the client joins the electronic bill system for the first time, if the time of joining the electronic bill system is the time of broadcasting by other clients and the client does not store any information locally, the second electronic bill information table with the earliest generation time of the electronic bill can be searched in all the received electronic bill information tables, and the second electronic bill information table is stored locally.
If the time when the client joins the electronic bill system is the interval time when other clients do not broadcast, the client can actively send request information for acquiring the electronic bill information table to other clients, and the other clients send the electronic bill information table stored by the client to the client. The client can search the second electronic bill information table with the earliest generation time of the electronic bill from all the received electronic bill information tables, and store the second electronic bill information table locally. Or the client can send request information for acquiring the electronic bill information table to other clients when receiving the electronic bill to be verified sent by other clients, so as to store and use the second electronic bill information table with the earliest generation time of the electronic bill at local.
Fig. 3 is a schematic diagram of a verification process of an electronic ticket according to embodiment 6 of the present invention, where the verification process includes the following steps:
s301: the method comprises the steps that a first client sends an electronic bill application to a server, wherein the electronic bill application comprises first identification information, bill amount information and bill type information of an applicant corresponding to the first client.
S302: and after receiving the electronic bill application, the server generates the electronic bill according to the identification information of the applicant, stores the information of the electronic bill in the server, sends the stored information of the electronic bill to each client, and stores the information of the electronic bill to the local after the client receives the information of the electronic bill sent by the server.
The information of the electronic ticket includes: the identification information of the electronic bill, the identification information of the current holder of the electronic bill, and the current holder of the electronic bill is the applicant.
S303: the first client sends the electronic bill to the second client, and the second client receives the electronic bill sent by the first client and identifies the first identification information of the current ticket holder contained in the electronic bill.
S304: and the second client judges whether the identification information of the current ticket holder of the electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the second client.
S305: and when the electronic bill is judged to be consistent, determining that the electronic bill passes the verification, and performing subsequent transaction.
S306: after the transaction is completed, the first client broadcasts first information that the current ticket holder of the electronic ticket changes, wherein the first information comprises second identification information of the ticket holder after the electronic ticket changes, and the second identification information is identification information of the ticket holder corresponding to the second client.
S307: and the second client receives the first information of the change of the electronic bill bearer broadcasted by the first client, locally stores the change of the identification information of the current ticket bearer of the first electronic bill, and the changed identification information of the current ticket bearer is the second identification information.
S308: and the second client adds the second identification information to the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client.
Fig. 4 is a schematic structural diagram of an electronic ticket verifying apparatus according to an embodiment of the present invention, which is applied to a second client, and the apparatus includes:
the receiving module 41 is configured to receive a first electronic ticket sent by a first client, and identify first identification information of a current ticket holder included in the first electronic ticket;
the first judging module 42 is configured to judge whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information according to the identification information of the current ticket holder of each electronic ticket stored by the first judging module;
and the determining module 43 is configured to determine that the first electronic bill passes the verification when the first determining module determines that the first electronic bill does not pass the verification.
The device further comprises:
and the generating module 44 is configured to, after the transaction is completed, add the second identification information to the first electronic ticket according to the second identification information of the current ticket holder corresponding to the second client, and generate a second electronic ticket.
The generating module 44 is specifically configured to add the second identification information at the end of the first electronic ticket.
The receiving module 41 is further configured to receive, after the transaction is completed, first information that a ticket holder of the first electronic ticket changes and is broadcast by the first client, where the first information includes second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of a ticket holder corresponding to the second client;
the device further comprises:
and the storage module 45 is configured to locally store the change of the identification information of the current ticket holder of the first electronic ticket, where the changed identification information of the current ticket holder is the second identification information.
The device further comprises:
a sending module 46, configured to send request information for redeeming the second electronic ticket to a server, where the request information includes information of the second electronic ticket;
the receiving module 41 is further configured to receive electronic bill cashing completion information sent by the server, where the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when it is determined that the identification information of the current ticket holder of the second electronic bill is consistent with the second identification information, and the electronic bill cashing completion information includes cashing amount information.
The sending module 46 is further configured to broadcast a first electronic ticket information table stored in the sending module according to a set time interval, where each electronic ticket, identification information of a current ticket holder of each electronic ticket, and generation time of each electronic ticket are stored in the first electronic ticket information table;
the receiving module 41 is further configured to receive a second electronic ticket information table broadcast by another client;
the first judging module 42 is further configured to compare whether the earliest generation time of the electronic ticket in the first electronic ticket information table stored by the first judging module is earlier than the earliest generation time of the electronic ticket in the second electronic ticket information table broadcast by another client;
the storage module 45 is further configured to update the locally stored first electronic ticket information table by using the second electronic ticket information table with the earliest generation time of the electronic ticket when the determination result of the first determination module is negative.
The device further comprises:
the identification module 47 is used for identifying the bill type information and the bill amount information contained in the first electronic bill;
the second judging module 48 is used for judging whether the bill type information and the bill amount information are consistent with the bill type and the bill amount required by the second judging module;
the determining module 43 is further configured to determine that the first electronic bill passes the verification when the determination result of the second determining module is yes, and determine that the first electronic bill does not pass the verification when the determination result of the second determining module is no.
Fig. 5 is a schematic structural diagram of an electronic ticket verifying apparatus according to an embodiment of the present invention, applied to a first client, where the apparatus includes:
a sending module 51, configured to send the first electronic ticket to the second client;
a receiving module 52, configured to receive information that a first electronic ticket sent by the second electronic client passes verification, where the information is that the second client receives the first electronic ticket sent by the first client, and identifies first identification information of a current ticket holder included in the first electronic ticket; and according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be consistent with the first identification information and sent.
The sending module 51 is further configured to broadcast first information that a current ticket holder of the first electronic ticket changes, where the first information includes second identification information of the ticket holder that the first electronic ticket changes, the second identification information is identification information of a ticket holder corresponding to the second client, so that other clients store the change of the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
The sending module 51 is further configured to broadcast a first electronic ticket information table stored by the sending module according to a set time interval, where each electronic ticket, identification information of a current ticket holder of each electronic ticket, and generation time of each electronic ticket are stored in the electronic ticket information table;
the receiving module 52 is further configured to receive a second electronic ticket information table broadcast by another client; comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
the device further comprises:
and the judging module 53 is configured to update the locally stored first electronic ticket information table by using the second electronic ticket information table with the earliest generation time of the electronic ticket when the comparison result of the second comparing module is yes.
The sending module 51 is further configured to send an electronic ticket application to a server, where the electronic ticket application includes first identification information, ticket amount information, and ticket type information of an applicant corresponding to the first client;
the receiving module 52 is further configured to receive a first electronic ticket sent by the server, where the first electronic ticket is sent after being broadcasted by the server and storing the first electronic ticket and the identification information of the current ticket holder of the first electronic ticket.
Fig. 6 is a schematic structural diagram of a validation system for electronic tickets according to an embodiment of the present invention, where the system includes a validation device for electronic tickets applied to a second client 61 as shown in fig. 4, and a validation device for electronic tickets applied to a first client 62 as shown in fig. 5.
The system further comprises:
the server 63 is configured to receive an electronic ticket application sent by the first client, where the electronic ticket application includes first identification information, ticket amount information, and ticket type information of an applicant corresponding to the first client; and generating a first electronic bill according to the first identification information, the bill amount information and the bill type information of the applicant, storing the information of the first electronic bill and sending the information to each client.
The server is further used for receiving request information for cashing the second electronic bill sent by the second client, wherein the request information comprises information of the second electronic bill; and according to the stored identification information of the current ticket holder of each electronic bill, when the identification information of the current ticket holder of the second electronic bill is judged to be consistent with the second identification information, sending electronic bill cashing completion information to the second client, wherein the electronic bill cashing completion information comprises cashing amount information.
The embodiment of the invention provides a method, a device and a system for verifying an electronic bill, which are used for solving the problems of low efficiency, high complexity and poor reliability of the conventional bill verification, and the method comprises the following steps: receiving a first electronic bill sent by a first client, and identifying first identification information of a current ticket holder contained in the first electronic bill; judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the electronic ticket holder; and if the first electronic bill is consistent with the second electronic bill, determining that the first electronic bill is verified, otherwise, determining that the first electronic bill is not verified. In the embodiment of the invention, the client stores the identification information of the current ticket holder of each electronic bill, and the electronic bill also comprises the first identification information of the current ticket holder, so that the client can verify the electronic bill by judging whether the identification information of the current ticket holder of the locally stored electronic bill is consistent with the first identification information or not, and the verification process does not need a bank system, thereby having simple verification process and high efficiency.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (19)

1. A verification method of an electronic bill is applied to a second client side, and comprises the following steps:
receiving a first electronic bill sent by a first client, and identifying first identification information of a current ticket holder contained in the first electronic bill;
judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the electronic ticket holder;
if yes, determining that the first electronic bill passes the verification, otherwise, determining that the first electronic bill does not pass the verification;
after the first electronic bill is determined to pass the verification, the method further comprises the following steps:
after the transaction is completed, receiving first information, broadcasted by the first client, of a change of a ticket holder of the first electronic ticket, wherein the first information comprises second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of the ticket holder corresponding to the second client;
and locally storing the change of the identification information of the current ticket holder of the first electronic ticket, wherein the changed identification information of the current ticket holder is second identification information.
2. The method of claim 1, wherein upon determining that the first electronic ticket is validated, the method further comprises:
and after the transaction is finished, adding the second identification information into the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client.
3. The method of claim 2, wherein said adding the second identification information in the first electronic ticket comprises:
and adding the second identification information at the tail of the first electronic bill.
4. The method of claim 2, further comprising:
sending request information for cashing the second electronic bill to a server, wherein the request information comprises the information of the second electronic bill;
and receiving electronic bill cashing completion information sent by the server, wherein the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when the identification information of the current ticket holder of the second electronic bill is judged to be consistent with the second identification information, and the electronic bill cashing completion information comprises cashing amount information.
5. The method of claim 1, further comprising:
broadcasting a first electronic bill information table stored by the electronic bill information table according to a set time interval, wherein each electronic bill, identification information of a current ticket holder of each electronic bill and generation time of each electronic bill are stored in the first electronic bill information table;
receiving a second electronic bill information table broadcast by other clients;
comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
if not, updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bill.
6. The method of claim 1, wherein prior to determining that the first electronic ticket is validated, further comprising:
identifying bill type information and bill amount information contained in the first electronic bill;
and judging whether the bill type information and the bill amount information are consistent with the bill type and the bill amount required by the bill type information and the bill amount information, and if so, determining that the first electronic bill passes the verification.
7. A verification method of an electronic bill is applied to a first client side, and comprises the following steps:
sending the first electronic bill to the second client;
receiving information that a first electronic bill sent by a second client passes verification, wherein the information is first identification information of a current ticket holder contained in a first electronic bill received by the second client and sent by a first client; according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be sent when the identification information is consistent with the first identification information;
when the transaction is complete, the method further comprises:
broadcasting first information that a current ticket holder of the first electronic ticket changes, wherein the first information contains second identification information of the ticket holder after the first electronic ticket changes, the second identification information is identification information of the ticket holder corresponding to the second client, so that other clients store the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
8. The method of claim 7, further comprising:
broadcasting a first electronic bill information table stored by the electronic bill information table according to a set time interval, wherein each electronic bill, identification information of a current ticket holder of each electronic bill and generation time of each electronic bill are stored in the first electronic bill information table;
receiving a second electronic bill information table broadcast by other clients;
comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
if not, updating the first electronic bill information table stored locally by adopting the second electronic bill information table with the earliest generation time of the electronic bill.
9. The method of claim 7, wherein prior to sending the first electronic ticket to the second client, the method further comprises:
sending an electronic bill application to a server, wherein the electronic bill application comprises first identification information, bill amount information and bill type information of an applicant corresponding to the first client;
and receiving a first electronic bill sent by the server, wherein the first electronic bill is sent after the first electronic bill and the identification information of the current ticket holder of the first electronic bill are stored in the server.
10. An apparatus for validating an electronic ticket, the apparatus comprising:
the receiving module is used for receiving a first electronic bill sent by a first client and identifying first identification information of a current ticket holder contained in the first electronic bill;
the first judgment module is used for judging whether the identification information of the current ticket holder of the first electronic ticket is consistent with the first identification information or not according to the identification information of the current ticket holder of each electronic ticket stored by the first judgment module;
the determining module is used for determining that the first electronic bill passes the verification when the judgment result of the first judging module is yes, and determining that the first electronic bill does not pass the verification when the judgment result of the first judging module is no;
the receiving module is further configured to receive first information, which is broadcasted by the first client and generated by a change of a ticket holder of the first electronic ticket, after the transaction is completed, where the first information includes second identification information of the ticket holder after the change of the first electronic ticket, and the second identification information is identification information of a ticket holder corresponding to the second client;
and the storage module is used for locally storing the change of the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is second identification information.
11. The apparatus of claim 10, further comprising:
and the generating module is used for adding the second identification information into the first electronic bill to generate a second electronic bill according to the second identification information of the current ticket holder corresponding to the second client after the transaction is completed.
12. The apparatus according to claim 11, wherein the generating module is specifically configured to add the second identification information at the end of the first electronic ticket.
13. The apparatus of claim 11, further comprising:
the sending module is used for sending request information for cashing the second electronic bill to a server, wherein the request information comprises the information of the second electronic bill;
the receiving module is further configured to receive electronic bill cashing completion information sent by the server, where the electronic bill cashing completion information is sent by the server according to the stored identification information of the current ticket holder of each electronic bill when it is determined that the identification information of the current ticket holder of the second electronic bill is consistent with the second identification information, and the electronic bill cashing completion information includes cashing amount information.
14. The apparatus according to claim 10, wherein the sending module is further configured to broadcast a first electronic ticket information table stored in the sending module according to a set time interval, wherein each electronic ticket, identification information of a current ticket holder of each electronic ticket, and a generation time of each electronic ticket are stored in the first electronic ticket information table;
the receiving module is also used for receiving a second electronic bill information table broadcast by other clients;
the first judging module is further used for comparing whether the earliest generation time of the electronic bill in the first electronic bill information table stored by the first judging module is earlier than the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
and the storage module is also used for updating the locally stored first electronic bill information table by adopting the second electronic bill information table with the earliest generation time of the electronic bill when the judgment result of the first judgment module is negative.
15. The apparatus of claim 10, further comprising:
the identification module is used for identifying the bill type information and the bill amount information contained in the first electronic bill;
the second judgment module is used for judging whether the bill type information and the bill amount information are consistent with the bill type and the bill amount required by the second judgment module;
the determining module is further configured to determine that the first electronic bill passes the verification when the determination result of the second determining module is yes, and determine that the first electronic bill does not pass the verification when the determination result of the second determining module is no.
16. An apparatus for validating an electronic ticket, the apparatus comprising:
the sending module is used for sending the first electronic bill to the second client;
the receiving module is used for receiving the information that the first electronic bill sent by the second client passes the verification, wherein the information is the first electronic bill sent by the first client and received by the second client, and the first identification information of the current ticket holder contained in the first electronic bill is identified; according to the identification information of the current ticket holder of each electronic ticket stored by the second client, the identification information of the current ticket holder of the first electronic ticket is judged to be sent when the identification information is consistent with the first identification information;
the sending module is further configured to broadcast first information that a current ticket holder of the first electronic ticket changes, where the first information includes second identification information of the ticket holder that the first electronic ticket changes, the second identification information is identification information of a ticket holder corresponding to the second client, so that other clients store the identification information of the current ticket holder of the first electronic ticket, and the changed identification information of the current ticket holder is the second identification information.
17. The apparatus according to claim 16, wherein the sending module is further configured to broadcast a first electronic ticket information table stored in itself according to a set time interval, wherein each electronic ticket, identification information of a current ticket holder of each electronic ticket, and a generation time of each electronic ticket are stored in the electronic ticket information table;
the receiving module is also used for receiving a second electronic bill information table broadcast by other clients; comparing the earliest generation time of the electronic bill in the first electronic bill information table stored by the client with the earliest generation time of the electronic bill in the second electronic bill information table broadcast by other clients;
the device further comprises:
and the judging module is used for updating the locally stored first electronic bill information table by adopting the second electronic bill information table with the earliest generation time of the electronic bill when the comparison result of the second comparing module is yes.
18. The apparatus according to claim 16, wherein the sending module is further configured to send an electronic ticket application to the server, where the electronic ticket application includes first identification information, ticket amount information, and ticket type information of an applicant corresponding to the first client;
the receiving module is further configured to receive a first electronic bill sent by the server, where the first electronic bill is sent after the first electronic bill is broadcast by the server and the first electronic bill and identification information of a current ticket holder of the first electronic bill are stored.
19. A system for validating an electronic ticket, comprising the apparatus for validating an electronic ticket applied to a second client according to any one of claims 10 to 15 and the apparatus for validating an electronic ticket applied to a first client according to any one of claims 16 to 18.
CN201610698369.3A 2016-08-19 2016-08-19 Electronic bill verification method, device and system Active CN107767192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610698369.3A CN107767192B (en) 2016-08-19 2016-08-19 Electronic bill verification method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610698369.3A CN107767192B (en) 2016-08-19 2016-08-19 Electronic bill verification method, device and system

Publications (2)

Publication Number Publication Date
CN107767192A CN107767192A (en) 2018-03-06
CN107767192B true CN107767192B (en) 2021-12-07

Family

ID=61262571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610698369.3A Active CN107767192B (en) 2016-08-19 2016-08-19 Electronic bill verification method, device and system

Country Status (1)

Country Link
CN (1) CN107767192B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738470B (en) * 2018-07-18 2023-09-22 腾讯科技(深圳)有限公司 Electronic bill processing method, electronic bill processing device, storage medium and electronic bill processing equipment
CN110428292B (en) * 2018-08-16 2021-05-11 深圳市智税链科技有限公司 Electronic bill generating method, electronic bill generating device, storage medium and computer equipment
CN112017021A (en) * 2020-09-02 2020-12-01 四川长虹电器股份有限公司 Method for automatically checking authenticity of invoice

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071494A (en) * 2007-06-20 2007-11-14 中国工商银行股份有限公司 Method for realizing bill password verification

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5237159A (en) * 1991-07-17 1993-08-17 J. D. Carreker And Associates Electronic check presentment system
JP3791131B2 (en) * 1997-07-14 2006-06-28 富士ゼロックス株式会社 Electronic ticket system
US20020040346A1 (en) * 2000-09-27 2002-04-04 Kwan Khai Hee Computer system and method for on-line generating a password protected and barcode prepaid instrument of entitlement and activating said instrument on presentation over a computer network
CN101783043A (en) * 2009-01-21 2010-07-21 黄金富 Ticketing system and method of electronic railway ticket
CN101546195A (en) * 2009-05-20 2009-09-30 乔超 Ticket service system and method for preventing scalping train tickets
CN103903136A (en) * 2012-12-27 2014-07-02 方正国际软件(北京)有限公司 Payment method and system based on real-time identity authentication
CN105681301B (en) * 2016-01-16 2019-03-12 杭州复杂美科技有限公司 Settlement method on block chain
CN105678615A (en) * 2016-02-04 2016-06-15 深圳市银之杰科技股份有限公司 Bill information verifying method and system based on pre-authorization mechanism

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071494A (en) * 2007-06-20 2007-11-14 中国工商银行股份有限公司 Method for realizing bill password verification

Also Published As

Publication number Publication date
CN107767192A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107239954B (en) Method and device for increasing block generation speed
CN107220130B (en) Method, device and system for realizing information consensus at nodes of block chain
CN109859043B (en) Transaction clearing method and transaction clearing system
CN111738709B (en) Transaction processing method and device
CN105719172A (en) Information issuing method and device
CN110163691B (en) Invoice creating method and device based on block chain and electronic equipment
CN107767192B (en) Electronic bill verification method, device and system
CN111967061B (en) Block chain-based trusted account transfer transaction method and device
CN110838047A (en) Online taxi appointment driver credit management method and device, server and storage medium
CN111144859B (en) Virtual resource transfer method and device, computer equipment and storage medium
CN111680098A (en) Block chain system for data acquisition, data annotation, AI model training and verification
CN111445209A (en) Block chain-based electronic contract signing method and device and storage medium
CN110738184B (en) Early warning information generation method and device for paper certificates
CN111145762B (en) Electronic certificate verification method and system based on voiceprint recognition
CN113052587A (en) Transfer service processing method and device based on block chain
CN112749968A (en) Service data recording method and device based on block chain
CN111127120B (en) Service data processing system, relevant nodes and method based on block chain technology
CN110942066A (en) Bill checking method and device
CN110738569A (en) Transaction certificate processing method, device and system based on block chain
CN108242021A (en) A kind of processing system of accounting data, method and device
CN113506112A (en) Receivable account right confirming method and device and electronic equipment
CN107016613B (en) Data modification method and device
CN113935836B (en) Cross-border payment method, system, equipment and medium based on Fabric alliance chain
CN114707980A (en) Method and device for processing collection information based on block chain
CN115757618A (en) Identity card information synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant