Summary of the invention
The problem of pirate electronic bill be can't distinguish in order to solve existing electronic bill system, a kind of electronic bill system and the method for inspection the invention provides.This system and method can effectively be checked out pirate ticket and forgery of negotiable instrument, thereby effectively solves anti-piracy, the anti-counterfeiting problem of electronic bill.Another advantage of the present invention is the authority authentication technique to electronic bill, can differentiate the different rights of using scopes of many legal effective tickets.Another advantage of the present invention is that the information of electronic bill system dynamically updates technology, and real-time update electronic bill information is supported being repeatedly used of electronic bill.
In order to realize these and other advantage of the present invention, electronic bill provided by the invention system comprises: portable terminal application module, check terminal and electronic bill system server.
The portable terminal application module that native system relates to comprises:
The electronic bill administrative unit is by graphical interfaces software administration electronic bill;
Electronic bill identity verification unit is used to check electronic bill user's identity;
Data storage cell is used for store electrons ticket and service recorder;
The encryption/decryption process unit, application encipher/decryption technology is with the information encryption of preparing to send, with the decrypts information of receiving;
The short-range communication unit is connected with the communications of Mobile Terminals interface, for application module provides the short-range communication function.
The check terminal that native system relates to comprises:
The examination requirements message unit is used for input and shows examination requirements information;
The encryption/decryption process unit, application encipher/decryption technology is with the information encryption of preparing to send, with the decrypts information of receiving;
The short-range communication unit is for the check terminal provides the short-range communication ability;
Network communication unit is for the check terminal provides network communications capability.
The electronic bill system server that native system relates to comprises:
The newly-built unit of electronic bill can be created new electronic bill as requested, and the related data record;
The electronic bill verification unit is used to check the true or false of electronic bill;
Electronic bill authority discriminating unit, whether the authority that is used to check electronic bill to have satisfies the described condition of examination requirements;
The electronic bill record cell has database, is used for store electrons ticket data and service recorder;
The encryption/decryption process unit, application encipher/decryption technology is with the information encryption of preparing to send, with the decrypts information of receiving;
Network communication unit is for system server provides network communications capability.
Another aspect of the present invention provides a kind of safe electronic bill method of inspection, and this method comprises:
Send newly-built electronic bill solicited message to the electronic bill system server, apply for new electronic bill;
The electronic bill system server is created new electronic bill, and mobile terminal identification is related with electronic bill, and is recorded into database;
System server is sent to portable terminal with newly-built electronic bill, perhaps is sent to other network electronic devices, as computer, and mobile phone etc.The ticket user is transferred to portable terminal again by network electronic devices with electronic bill.
Portable terminal is set up short-range communication and is connected near verification terminal.
Portable terminal is selected electronic bill, connects by short-range communication, and electronic bill sign and mobile terminal identification are formed ticket identification solicited message, encrypts and is sent to the check terminal.
The requirement of check terminal incoming inspection, and with examination requirements information and ticket identification solicited message composition check solicited message, and be sent to system server after will checking encrypted request message.
System server is received check solicited message and deciphering, the true or false of check electronic bill.If this electronic bill is effective ticket, then further according to examination requirements information, judges whether the authority that this electronic bill has satisfies condition described in the examination requirements, and assay is fed back to check terminal and portable terminal.
The electronic bill system provided by the invention and the electronic bill method of inspection are stored in electronic bill user's portable terminal.The user need not to carry other certificate, only by portable terminal, just can use electronic bill, greatly facilitates the use of electronic bill.
Embodiment
Electronic bill of the present invention is the bill and the card card of electronic form, can be e-bank's card, electronic bill, electronic documents, electronic identity identification card, e-business card, electronic account card, electronic banking card etc.For example: electronic accumulation card, electronics member card, E-consumer card, electronic accumulation card etc.These electronic bills can once or repeatedly use, and comprise all information of common ticket, as possessor's name, and the term of validity, the ticket type, rights of using, account balance, aggregate value method of weighting grades.
Electronic bill sign be can the unique identification electronic bill identification information, normally form by string number and letter.
Close range communication techniques is to act on point-to-point communication technology in the short range, comprise: near-field communication (Near FieldCommunication), bluetooth (Bluetooth), IEEE 802.11b (Wireless Fidelity), infrared data transmission (Infrared Data Association), purple-bee technology (ZigBee), ultra-wideband communications (Ultra WideBand), DECT (Digital Enhanced Cordless Telecommunication), WLAN WLAN (Wireless Local Area Networks), radio frequency discrimination RFID (Radio Frequency Identification), and other NMly acts on short-range communication technology.
Mobile terminal identification involved in the present invention be can the unique identification mobile terminal device identifying information, it can be the identification information of certain hardware in the portable terminal, as central processing unit product ID, NFC (Near Field Communication) card sign, communication network interface card hardware sequence number, network interface card MAC (Media Access Control) address information, SIM card (SubscriberIdentity Module client identification module) card number; Or the software certificate information of application software of mobile terminal, the digital certificate information that is had as application software occupancy permit information, application software; Or portable terminal had, through the digital certificate information of licensing.
The present invention says that the portable terminal that relates to comprises mancarried electronic aid, personal electronic equipments, mobile electronic device etc.
Shown in Figure 1 is portable terminal application module structural drawing of the present invention.Portableterminal application module 110 can be installed on portable terminal.This functions of modules can realize by hardware, also can realize by software.Short-range communication unit 01, when portable terminal had the short-range communication function, this unit can be connected with the communications of Mobile Terminals interface, for application module provides the short-range communication ability; When portable terminal did not possess the short-range communication function, this unit can add the short-range communication function, for application module provides the short-range communication ability.Encryption/decryption process unit 02 after data encryption, sends by the short-range communication unit, and the data decryption that the short-range communication unit is received.Electronic billadministrative unit 03, major function are the management maintenance electronic bill.Electronic billidentity verification unit 04 is used to check electronic bill user's identity.Have only the user of working as to import correct close mirror, could be by authentication.Data storage cell 05, store electrons ticket and electronic bill service recorder.
Shown in Figure 2 is check terminal structurefigure.Check terminal 120 is in the electronic bill system, the employed equipment in ticket check side.Short-range communication unit 06 provides the short-range communication ability.Network communication unit 07 provides network communications capability.Encryption/decryption process unit 08 is the data encryption that is about to send, perhaps with the data decryption of receiving.Examinationrequirements message unit 09, the examination requirements that incoming inspection side proposes.
Shown in Figure 3 is electronic bill system server structuraldrawing.System server 130 is mainly born the establishment of electronic bill, functions such as check and information record.Network communication unit 10 provides network communications capability for system server.Data encryption and decryption work are mainly born in encryption/decryption process unit 11.The newly-builtunit 12 of electronic bill is used to create new electronic bill.Electronicbill record cell 13 recorded electronic ticket data, ticket content and operating position.Electronicbill verification unit 14 is used to check the true or false of electronic bill.Electronic bill authoritydiscriminating unit 15 is used to check electronic bill whether to satisfy the terms and conditions described in the examination requirements.
Shown in Figure 4 is the newly-built electronic bill process of system server terminal synoptic diagram.The applicant can pass through the internet, LAN, and W-LAN, networks such as Wi-Fi send newly-built electronic bill solicited message to system server.
Newly-built electronic bill solicited message can comprise one or more newly-built electronic bill request.Each newly-built electronic bill request must comprise following three partial contents at least: the electronic bill application materials; The electronic bill content is as ticket possessor information, valid period, rights of using etc.; The mobile terminal identification of legal this electronic bill of use.The particular content of newly-built ticket request can be determined according to the electronic bill purposes.Receive when system server and " after the newly-built electronicbill request information 101,, to create new electronic bill promptly according to the request message content.
Step 0101 system server is created new electronic bill according to the particular content of " newly-built electronic bill request ".Electronic bill comprises usually at least: electronic bill sign and electronic bill content information.Has one-to-one relationship between electronic bill sign andelectronic bill.Step 0102 system server is related with mobile terminal identification in " newly-built electronic bill request " with the electronic bill sign, sets up incidence relation.Electronic bill sign is only carried out related with the sign that portable terminal had that can legal this electronic bill of use.The electronic bill that portable terminal can legal use be associated with its mobileterminal identification.Step 0103 system server is set up the data recording of electronic bill information and incidence relation information, and deposits database in.Step 0104 system server is issued the electronic bill applicant with electronic bill after the encryption.
Shown in Figure 5 is electronic bill system work process synoptic diagram.The electronic bill system mainly comprises:portable terminal 110; Checkterminal 120; System server 130.Whereincheck terminal 120, periodically send to connect and set up request message 0202.Step 0203 portable terminal is in the short-range communication reach of check terminal, listens to connect to set up request message 0202.Step 0204 portable terminal is set up short-range communication with the check terminal and is connected.Step 0205 portable terminal is selected corresponding electronic bill, and encrypting and transmitting comprises the identification solicitedmessage 0206 of this electronic bill sign and mobile terminal identification.Identification solicitedmessage 0206 sends to the check terminal by the short-range communication connection.Afterstep 0207 check terminal was received the identification solicited message, according to concrete application scenarios, incoming inspection required information.Examination requirements is the electronic bill of check terminal pins to the needs check, to the condition or the request of system server proposition.Examination requirements generally includes: the authority Rule of judgment requires system server to judge whether this electronic bill meets this authority condition; Query requests is to the information of system server inquiry electronic bill; Operation requests, system server is asked according to this, and electronic bill is made operation; And other conditional information that needs system server to respond.
The practical application scene can be for example, use when described electronic bill is used as market total mark of consumption card, when the check terminal was used by the market cashier, the cashier can be in examination requirements, the requirement accumulating card account scores accumulated that the consumer held reach the mark of regulation, could enjoy the preferential of discount.After system server is received examination requirements, can judge whether the account integration of this accumulating card reaches the mark requirement of regulation according to the recorded information of this accumulating card; Again for example when this electronic bill uses as the year card of film ticket, as holding the movie theatre staff who checks terminal, can be in examination requirements, require same film ticket year card can not be at the film of watching within a day more than 3.After system server is received examination requirements, can judge that whether these access times that are stuck in the same day are above 3 times according to the service recorder of this card in electronics year.
Step 0208 check terminal will discern solicited message and examination requirements information is formed check solicitedmessage 0209, encrypts and is sent to system server.The check solicited message can be passed through LAN (Local Area Network) LAN, wide area network WAN, and the internet, perhaps other latticed form is sent tosystem server 130.
Aftersystem server 130 was received check solicitedmessage 0209, at first with decrypt messages, whether the ticket sign was effective in thestep 0210 analytical control solicitedmessage.Step 0211 judges whether the authority of this electronic bill supports the condition described in the examination requirements again after the electronic bill sign is by check.At last,step 0212 system server generatescheck feedback information 0213 according to judged result, is sent to the check terminal after the encryption.After the check terminal is receivedcheck feedback information 0213 from system server, generateidentification feedback information 0215 according tofeedback result.Step 0214 check terminal will be discernedfeedback information 0215 and be sent to portable terminal.Theidentification feedback information 0215 thatstep 0216 portable terminal will be received is saved to internal data storage unit.
Shown in Figure 6 is portable terminal electronic bill management system interface synoptic diagram.The electronic bill management system is the software of managing electronic ticket, has the graphical operation interface.After the voucher management system software brings into operation, enter software interface 301.With the close check of portable terminal terminal, when portable terminal listen to connect set uprequest message 0202 after, show " having searched network, in attempting connecting " 0302 in the interface, show that the portable terminal application module attempts setting up short-range communication with verification terminal and be connected.0303 shows the signal intensity of coming self-checkout terminal that portable terminal is received in the interface.After the user was by " cancellation connects " 0304 button, portable terminal connected termination.When connect sets up successfully after, management software entersinterface 302, shows " connect and sets up successfully " 0305 in the software interface, and thesuccessful icon 0306 of connection foundation, represents that the short-range communication connection set up success.The user can select the electronic bill that will use according to the prompting 0307 of " please select electronic bill " in menu 0308.When selecting " cancellation "button 0309, with the selection of cancellation electronic bill.Electronic bill is selected to finish, and button " next step " 0310 enters next operation steps.
In order to prevent that electronic bill from illegally being usurped, the user can select multiple identity identification method as protection.The identity identification method comprises: password identification, physiological characteristic identification, biological behavior identification etc.Described living things feature recognition comprises: fingerprint recognition, voice recognition, iris recognition, the identification of face picture, skin characteristic identification etc.; Described biological behavior identification comprises: person's handwriting identification etc.Here the mode with password identification illustrates as an example.
After enteringinput password step 303, the user inpassword input frame 0311, inputs the password of selected ticket correspondence according to prompting.Selection key " previous step " 0312 will be retracted into ticket selection course 302.Selection key " cancellation " 0313 is then cancelled the ticket checkout procedure.Button " affirmation " 0314 then entersinterface 304 now.In the example, the user has selected " GH market discount card " 0315, and after upchecking through password, this discount card can be used.Selection key " transmission " 0318, this electronics " GH market discount card " will connect by short-range communication and be sent to the check terminal.Selection key " 0316 " is return previous step rapid 303.Selection key " 0317 ", cancellation electronic bill process of transmitting.
This figure is only as the method explanation of portable terminal voucher management.Specific implementation of the present invention will be according to purposes, portable terminal hardware device, factor such as frame design and different.
Shown in Figure 7 is electronic bill management system internal procedure synoptic diagram.When portable terminal listen to connect set uprequest message 0202 after,step 0401 portable terminal with check terminal to set up short-range communication to be connected.The electronic bill that step 0402 user selection will be used.After electronic bill is selected to finish, the ticket sign of this electronic bill ofstep 0403 will be formed the identification solicited message with mobileterminal identification.Step 0404 identification solicited message is encrypted and be sent to thecheck terminal.Step 0405 is received when portable terminal and is discerned feedback information 0215.Step 0406 will be discerned the feedback information deciphering and be saved to internal data storage unit.The identification feedback information will show the assay of this electronic bill: this electronic bill be verified by; Perhaps check failure, and the reason of explanation check failure.
Shown in Figure 8 is check terminal inner process synoptic diagram.At first, solicitedmessage 0202 is set up instep 0501 check terminal periodictransmission connection.Step 0502 check terminal is in the wait-for-response state.Step 0503 check terminal is received the connection establishment response from portable terminal, and sets up the short-rangecommunication connection.Step 0504 check terminal is received the identification solicitedmessage 0206 fromportable terminal.Step 0505 check terminal user can be according to concrete application scenarios, the incominginspection requirement.Step 0506 check terminal will discern solicited message and examination requirements information is formed check solicited message 0209.Step 0507 will check encrypted request message to be sent tosystem server.Step 0508 check terminal wait checkfeedback information.Step 0509 check terminal is receivedcheck feedback information 0213, resolves and show the result offeedback information.Step 0510 connects by short-range communication, sendsidentification feedback information 0215 to portable terminal.
Shown in Figure 9 is the inner ticket checkout procedure of system server synoptic diagram.Receive the check solicitedmessage 0209 of self-checkout terminal when system server after,step 0601 will be checked the solicited message deciphering.For the consideration of security, communication key is different from system server and check terminal room communication key between system server and portable terminal.Concrete communication encryption mode can be selected to formulate according to the practical application scene.
Step 0602 system server is at first checked the validity of ticket identification information.The ticket identification information is corresponding one by one with electronic bill.When the ticket identification information passes through check, show that promptly this electronic bill is by check.When creating electronic bill, system server is set up the associated match relation with electronic bill sign and the mobile terminal identification of using this ticket.With the electronic bill identification information, mobile terminal identification information is compared with the data in the system server record in the checkout procedure.When electronic bill identification information and mobile terminal identification information of same, be consistent, show that the electronic bill that portable terminal is held is effectively, check successfully with related information in the data recording; If in electronic bill identification information and the mobile terminal identification information, have arbitrary identification information and record data inconsistent, then judge this electronic bill check failure.If check failure,step 0603 system server generatecheck feedback message 0213, content is the check failure for the electronicbill assay.Step 0604 is encrypted feedback message and is sent.
If check successfully, then whether this user's ofstep 0605 check authority satisfies the condition described in the examination requirements.At this moment, system server obtains this electronic bill record material from the electronic bill record cell.According to this data, system server judges whether desired condition can be supported in the examination requirements.When the content of examination requirements information was query requests, system server was according to recorded information feedback query result.When the content of examination requirements information was operation requests, system server was made corresponding operation according to the operation requests content.If the described condition of examination requirements is not supported, judge that then authority requires not to besupported.Step 0606 system server generates checkfeedback information 0213, and content is passed through for the ticket identification check, but examination requirements information is notsupported.Step 0607 is encrypted and is sent the check feedback information.If the described condition of examination requirements information can be supported, judge that then authority can besupported.Step 0608 system server generates checkfeedback information 0213, and content is passed through for the ticket identification check, and examination requirements information can besupported.Step 0609 is encrypted and is sent the check feedback information.
More than system and method involved in the present invention is elaborated.This paper adopts the formal description of going forward one by one, but identical similar part cross-references between each example.More than explanation just is used for helping to understand system and method for the present invention.For those skilled in the art, according to thought of the present invention, on embodiment and range of application, can change part to some extent.In sum, this description should not be construed as limitation of the present invention.