CN102595402B - Method, system and equipment for testing electronic data - Google Patents

Method, system and equipment for testing electronic data Download PDF

Info

Publication number
CN102595402B
CN102595402B CN201110005354.1A CN201110005354A CN102595402B CN 102595402 B CN102595402 B CN 102595402B CN 201110005354 A CN201110005354 A CN 201110005354A CN 102595402 B CN102595402 B CN 102595402B
Authority
CN
China
Prior art keywords
electronic data
mobile terminal
management equipment
described electronic
inventory
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
CN201110005354.1A
Other languages
Chinese (zh)
Other versions
CN102595402A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110005354.1A priority Critical patent/CN102595402B/en
Publication of CN102595402A publication Critical patent/CN102595402A/en
Application granted granted Critical
Publication of CN102595402B publication Critical patent/CN102595402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method, a system and equipment for testing electronic data. The method comprises the following steps that: a mobile terminal sends a testing request of electronic data to electronic data management equipment; when the electronic data passes the test, the electronic data management equipment updates state information of the electronic data and sends a testing result of the electronic data to the mobile terminal; and the mobile terminal updates the state information of the electronic data according to the testing result of the electronic data and sends the updated state information to the electronic data testing equipment. In the embodiment of the invention, the testing request of the electronic data is sent to the electronic data management equipment by the mobile terminal so as to complete testing the electronic data; the electronic data testing equipment does not need to be connected with the electronic data management equipment; the method, the system and the equipment are simple to implement; and the electronic data testing process is safe and effective.

Description

A kind of method of inspection of electronic data, system and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of inspection of electronic data, system and equipment.
Background technology
Electronic data application is an important development on mobile communication technology, by at intelligent cards (such as IC (Integrated Circuit, integrated circuit)) upper loading electronic data application program, adopt the short distance wireless communication technology, can by multiple application integrating to together, combine with the portability of mobile terminal, define the focus that mobile communication technology is new.
In prior art, in order to realize the application of electronic data, need to SIM (Subscriber Identity Module, user identification module) (as in the electronic data application program of SIM card) write electronic data in card/IC-card, and in the respective applications, the legitimacy of the electronic data identifying user identity of write can be used.
Realizing in process of the present invention, inventor finds at least there is following problem in prior art:
In existing technical scheme, user changes the relevant information of electronic data by specific mode, thus makes electronic data have legitimacy, then makes subscriber authentication pass through, and causes the subscriber authentication result of mistake.
Summary of the invention
The embodiment of the present invention provides a kind of method of inspection of electronic data, system and equipment, to check electronic data accurately.
In order to achieve the above object, the embodiment of the present invention provides a kind of method of inspection of electronic data, comprising:
Mobile terminal sends the inspection request of electronic data to electronic data management equipment;
When described electronic data is upchecked, the state information of electronic data described in described electronic data management renewal of the equipment, and the assay of described electronic data is sent to described mobile terminal;
Described mobile terminal upgrades the state information of described electronic data according to the assay of described electronic data, and the state information after upgrading is sent to electronic data inspection machine.
The embodiment of the present invention provides a kind of method of inspection of electronic data, comprising:
Electronic data inspection machine sends electronic data status query request to mobile terminal;
Described electronic data inspection machine receive the assay according to electronic data management equipment that described mobile terminal returns upgrade after electronic data state information;
Described electronic data inspection machine verifies described electronic data according to the electronic data state information after described renewal; And when the state information after upgrading is for verifying state, determine that described electronic data is by verification.
The embodiment of the present invention provides a kind of checking system of electronic data, and this system comprises:
Mobile terminal, for sending the inspection request of electronic data to electronic data management equipment, and the assay received from the electronic data of described electronic data management equipment, upgrade the state information of described electronic data according to the assay of described electronic data, and the state information after upgrading is sent to electronic data inspection machine;
Electronic data inspection machine, for verifying described electronic data according to the state information after renewal;
Electronic data management equipment, for when described electronic data is upchecked, upgrades the state information of described electronic data, and sends the assay of described electronic data to described mobile terminal.
The embodiment of the present invention provides a kind of mobile terminal, comprising:
First sending module, for sending the inspection request of electronic data;
Receiver module, for when described electronic data is upchecked, receives the assay of electronic data;
Update module, for upgrading the state information of described electronic data according to the assay of described electronic data;
Second sending module, for sending the state information after renewal.
The embodiment of the present invention provides a kind of electronic data management equipment, comprising:
Receiver module, for receiving the inspection request of electronic data;
Update module, for when described electronic data is upchecked, upgrades the state information of described electronic data;
Sending module, for sending the assay of described electronic data.
The embodiment of the present invention provides a kind of electronic data inspection machine, comprising:
Sending module, for sending electronic data status query request;
Receiver module, for receive the assay according to electronic data management equipment that returns upgrade after electronic data state information;
Correction verification module, for verifying described electronic data according to the electronic data state information after described renewal; And when the state information after upgrading is for verifying state, determine that described electronic data is by verification.
Compared with prior art, the embodiment of the present invention at least has the following advantages:
By mobile terminal, the inspection request of electronic data is sent to electronic data management equipment, complete the inspection of electronic data, do not need electronic data inspection machine and electronic data management equipment connection, realize simple, and electronic data checkout procedure safely, effectively.
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the checking system of a kind of electronic data that the embodiment of the present invention one provides;
Fig. 2 is mobile terminal key structure schematic diagram in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of mobile terminal that the embodiment of the present invention two provides;
Fig. 4 is the structural representation of a kind of electronic data management equipment that the embodiment of the present invention three provides;
Fig. 5 is the structural representation of a kind of electronic data inspection machine that the embodiment of the present invention four provides;
Fig. 6 is the method for inspection schematic flow sheet of a kind of electronic data that the embodiment of the present invention five provides;
Fig. 7 is the acquisition process schematic diagram of a kind of electronic ticket inventory that the embodiment of the present invention provides;
Fig. 8 is the acquisition process schematic diagram of the another kind of electronic ticket inventory that the embodiment of the present invention provides;
Fig. 9 is a kind of method of inspection schematic flow sheet for electronic ticket that the embodiment of the present invention six provides.
Embodiment
Below in conjunction with the accompanying drawing in the present invention, be clearly and completely described the technical scheme in the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention one provides a kind of check system configuration diagram of electronic data, as shown in Figure 1, this system comprises: electronic data provides equipment, electronic data management equipment, mobile terminal, user's (namely holding the user of mobile terminal), electronic data inspection machine.Wherein:
Electronic data provides equipment, for generating electronic data;
Electronic data management equipment, provides equipment for administration of electronic data, electronic data inspection machine and mobile terminal, manages the electronic data that each electronic data provides equipment to provide, the situation of process electronic data inspection machine verification electronic data and record;
User, holds mobile terminal, for by electronic data management equipment control electronic data, by electronic data inspection machine verification electronic data;
Electronic data inspection machine, for checking electronic data;
Mobile terminal, for showing electronic data inventory to user, user selects the electronic data needing inspection, accepts user and input PIN (Personal Identification Number, personal identification number) code under the scene needed.
In said system, relevant interface comprises: IF1: electronic data management equipment and electronic data provide the interface between equipment; IF2: the interface between electronic data management equipment and user; IF3: the interface between electronic data management equipment and electronic data inspection machine; IF4: electronic data inspection machine is with the interface between mobile terminal; IF5: the interface between electronic data management equipment and mobile terminal.
In order to clearly set forth the technical scheme that the embodiment of the present invention provides, first following concept is described in detail.
(1) electronic data provides device numbering: the unique number that electronic data management equipment provides equipment to distribute for each electronic data, is designated as ETPID.Wherein, electronic data provides equipment to generate electronic data, and each electronic data provides within the scope of equipment at this electronic data and has unique electronic data sequence number, can be designated as TSN.
(2) user and mobile terminal: user (User) has unique user ID in electronic data management equipment, is designated as UserID (as: cell-phone number, user name, Email etc.).User has the equipment moving terminal of its identity of mark, and this mobile terminal has unique mobile terminal identification in electronic data management equipment, is designated as TermID.Mobile terminal (TermID) is preserved with the mapping relations between its holder (UserID) in electronic data management equipment.
(3) key code system
A) user ID and electronic data management device logs password PIN1.Wherein, user relies on UserID and login password PIN1 to log in electronic data management equipment, administration of electronic data.
B) mobile terminal identification and verification electronic data password PIN2 and electronic data capture password PIN3 (PIN3 is optional).Wherein, user, by input electronic data capture password PIN3, obtains electronic data inventory from electronic data management equipment; User selects the electronic data needing inspection from electronic data inventory, and assisted electronic data inspection process (in case of need, needing by user's input validation electronic data password PIN2) by electronic data inspection machine and electronic data management equipment.
It should be noted that PIN2 can only be kept at electronic data management equipment, inputted on mobile terminals by user, electronic data management equipment verifies; PIN2 also can only preserve on mobile terminals, is inputted on mobile terminals, verify in mobile terminal this locality by user.
C) electronic data ciphering key heck_Key is verified.Wherein, electronic data management equipment is used for unified management verification electronic data ciphering key heck_Key; Generate Check_Key, safe storage, distribution Check_Key; By in the terminal preset for Check_Key safety; Check_Key is preset at safely in electronic data inspection machine.Mobile terminal key structure schematic diagram as shown in Figure 2, wherein, during verification electronic data password PIN2 needs this locality verification that and if only if, mobile terminal just needs to preserve PIN2.
D) aerial interactive key KeyENC, KeyMAC and KeyDEK.Wherein, in order to ensure that mobile terminal is with the privacy of electronic data management communication between devices and integrality, needs in mobile terminal to preserve following key: aerial message encryption key K eyENC, aerial message MAC key K eyMAC, sensitive data encryption key KeyDEK.Correspondingly, electronic data management equipment also needs to preserve corresponding key, in order to ensure the fail safe of key, can consider to adopt key dispersal mechanism, namely electronic data management equipment preserves root key, mobile terminal preserves sub-key and dispersion factor, and electronic data management equipment carries out dispersion by dispersion factor to root key and obtains sub-key.
(4) electronic data inspection machine: electronic data inspection machine has unique device identification in electronic data management equipment, is designated as DevID; In electronic data inspection machine, safety preserves verification electronic data ciphering key heck_Key, is undertaken alternately, completing the inspection of electronic data by same mobile terminal.
(5) same user has the situation of multiple mobile terminal.Wherein, same user can have multiple mobile terminal, and for convenience of description, only to have the situation of unique mobile terminal in the embodiment of the present invention, for the situation having multiple mobile terminal, user needs when corresponding operating to indicate corresponding mobile terminal.
Based on above-mentioned situation, in the check system of the electronic data that the embodiment of the present invention one provides:
Mobile terminal, for sending the inspection request of electronic data to electronic data management equipment, and the assay received from the electronic data of electronic data management equipment, upgrade the state information of electronic data according to the assay of electronic data, and the state information after upgrading is sent to electronic data inspection machine;
Electronic data management equipment, for when electronic data is upchecked, upgrades the state information of electronic data, and sends the assay of electronic data to mobile terminal;
Electronic data inspection machine, for verifying electronic data according to the state information after renewal.
Based on said system framework and the inventive concept same with said system, the embodiment of the present invention two provides a kind of mobile terminal, and as shown in Figure 3, this mobile terminal comprises:
First sending module 11, for sending the inspection request of electronic data to electronic data management equipment;
Receiver module 12, for when electronic data is upchecked, receives the assay of the electronic data from electronic data management equipment;
Update module 13, for upgrading the state information of electronic data according to the assay of electronic data;
Second sending module 14, for sending to electronic data inspection machine by the state information after renewal.
In the embodiment of the present invention, this mobile terminal also comprises:
Acquisition module 15, for obtaining electronic data inventory from electronic data management equipment; Or the information according to electronic data inspection machine obtains electronic data inventory from electronic data management equipment;
Select module 16, for selecting the electronic data (i.e. electronic data corresponding to the inspection request of the first sending module 11 transmission) needing to carry out verifying from electronic data inventory.
In the embodiment of the present invention, acquisition module 15, specifically for sending electronic data listings request to electronic data management equipment, carries the mark of mobile terminal in electronic data listings request; And the electronic data inventory received from electronic data management equipment, carry electronic data corresponding to electronic data in electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
In addition, acquisition module 15, specifically for receive from electronic data inspection machine carry electronic data inspection machine mark and electronic data provides the information of device numbering; Send electronic data listings request to electronic data management equipment, carry the mark of mobile terminal, electronic data inspection machine mark and electronic data in electronic data listings request and device numbering is provided; And the electronic data inventory received from electronic data management equipment, carry electronic data corresponding to electronic data in electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
In the embodiment of the present invention, in the inspection request of electronic data, carry the mark of mobile terminal, electronic data inspection machine identifies, electronic data provides device numbering, electronic data sequence number; When needs input validation electronic data password, in the inspection request of electronic data, also carry verification electronic data password; Update module 13, specifically for by the state information updating of electronic data for verify state.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Based on said system framework and the inventive concept same with said system, the embodiment of the present invention three provides a kind of electronic data management equipment, and as shown in Figure 4, this electronic data management equipment comprises:
Receiver module 21, for receiving the inspection request of the electronic data from mobile terminal;
Adjusting module 22, for when electronic data is upchecked, the state information of adjustment electronic data;
Sending module 23, for sending the assay of electronic data to mobile terminal.
In the embodiment of the present invention, this electronic data management equipment also comprises determination module 24;
Receiver module 21, also for receiving the electronic data listings request from mobile terminal, carries the mark of mobile terminal in this electronic data listings request;
Determination module 24, for determining the electronic data inventory that mobile terminal is corresponding according to the mark of this mobile terminal;
Sending module 23, also for sending electronic data inventory to mobile terminal, carrying electronic data corresponding to electronic data and providing device numbering, electronic data sequence number and the mark the need of input validation electronic data password in electronic data inventory.
In another kind of situation, receiver module 21, also for receiving the electronic data listings request from mobile terminal, carrying the mark of mobile terminal, electronic data inspection machine mark and electronic data and providing device numbering in electronic data listings request;
Determination module 24, provides device numbering determination mobile terminal, electronic data inspection machine and electronic data to provide the inventory of the electronic data corresponding to equipment for the mark according to mobile terminal, electronic data inspection machine mark, electronic data;
Sending module 23, also for sending electronic data inventory to mobile terminal, carrying electronic data corresponding to electronic data and providing device numbering, electronic data sequence number and the mark the need of input validation electronic data password in electronic data inventory.
In the embodiment of the present invention, in the inspection request of electronic data, carry the mark of mobile terminal, electronic data inspection machine identifies, electronic data provides device numbering, electronic data sequence number; When needs input validation electronic data password, in the inspection request of electronic data, also carry verification electronic data password;
In addition, this electronic data management equipment, also comprises: inspection module 25, for testing to electronic data according to the information of carrying in the inspection request of electronic data;
Update module 22, specifically for by the state information updating of electronic data for verify state.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Based on said system framework and the inventive concept same with said system, the embodiment of the present invention four provides a kind of electronic data inspection machine, and as shown in Figure 5, this electronic data inspection machine comprises:
Sending module 31, for sending electronic data status query request to mobile terminal;
Receiver module 32, the electronic data state information after the assay according to electronic data management equipment returned for receiving described mobile terminal upgrades;
Correction verification module 33, for verifying described electronic data according to the electronic data state information after described renewal; And when the state information after upgrading is for verifying state, determine that described electronic data is by verification.
Described sending module 31, also carries electronic data inspection machine mark and electronic data provides the information of device numbering for sending to mobile terminal.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Based on said system framework and the inventive concept same with said system and equipment, the embodiment of the present invention five provides a kind of method of inspection of electronic data, the method is applied in the system comprising mobile terminal, electronic data management equipment and electronic data inspection machine, as shown in Figure 6, the method comprises the following steps:
Step 601, mobile terminal obtains electronic data inventory from electronic data management equipment.Wherein, this mobile terminal directly can obtain electronic data inventory from electronic data management equipment; Or this mobile terminal can obtain electronic data inventory according to the information of electronic data inspection machine from electronic data management equipment.
Concrete, direct acquisition process comprises: mobile terminal sends electronic data listings request to electronic data management equipment, carries the mark of mobile terminal in this electronic data listings request; Electronic data management equipment determines according to the mark of mobile terminal the electronic data inventory that this mobile terminal is corresponding afterwards, and send electronic data inventory to mobile terminal, carry electronic data corresponding to electronic data in electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
Comprise according to the process that the information of electronic data inspection machine carries out obtaining: electronic data inspection machine sends to mobile terminal and carries electronic data inspection machine mark and electronic data provides the information of device numbering; Afterwards, mobile terminal sends electronic data listings request to electronic data management equipment, carries the mark of mobile terminal, electronic data inspection machine mark and electronic data and provide device numbering in this electronic data listings request; Afterwards, electronic data management equipment provides device numbering determination mobile terminal, electronic data inspection machine and electronic data to provide the inventory of the electronic data corresponding to equipment according to the mark of mobile terminal, electronic data inspection machine mark, electronic data, and send electronic data inventory to mobile terminal, carry electronic data corresponding to electronic data in electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
Step 602, mobile terminal selects the electronic data needing to carry out verifying from electronic data inventory.
Step 603, mobile terminal sends the inspection request of electronic data to electronic data management equipment.Namely the inspection request of the electronic data verified is carried out for these needs.
In the embodiment of the present invention, the content of carrying in the inspection request of this electronic data includes but not limited to: the mark of mobile terminal, electronic data inspection machine mark, electronic data provide device numbering, electronic data sequence number; In addition, when needs input validation electronic data password, in the inspection request of electronic data, also carry verification electronic data password.
Step 604, electronic data management equipment is tested to electronic data according to the information of carrying in the inspection request of electronic data.Such as, when carrying verification electronic data password in inspection request, then can test to verification electronic data password, to determine that whether this electronic data is by verification.
Step 605, when electronic data is upchecked, the state information of this electronic data of electronic data management renewal of the equipment.By the state information updating of this electronic data for verify state.
Step 606, electronic data management equipment sends the assay of electronic data to mobile terminal.
Step 607, mobile terminal upgrades the state information of electronic data according to the assay of this electronic data.If assay is electronic data when upchecking, mobile terminal by the state information updating of electronic data for verify state.
Step 608, the state information after renewal is sent to electronic data inspection machine by mobile terminal.
Before it should be noted that this step, electronic data inspection machine sends step from electronic data status query request to mobile terminal can also be comprised; Electronic data state information after the assay according to electronic data management equipment returned by mobile terminal afterwards upgrades.
Step 609, electronic data inspection machine verifies this electronic data according to the state information after renewal.Wherein, when the state information after upgrading is for verifying state, then the check results of electronic data is by verification, and the state information after upgrading is not when having verified state, then the check results of electronic data is not by verification.
In sum, by the technical scheme adopting present system, each equipment and method to provide, by mobile terminal, the inspection request of electronic data is sent to electronic data management equipment, complete the inspection of electronic data, do not need electronic data inspection machine and electronic data management equipment connection, realize simple, and electronic data checkout procedure safely, effectively.
It should be noted that, in actual applications, above-mentioned electronic data can be applied in field of electronic ticket, also can be applied in E-Payment field, describe for example is convenient, below in conjunction with field of electronic ticket, the technical scheme that the embodiment of the present invention provides is further elaborated.
For field of electronic ticket, in prior art, usually need the bill showing papery or electronic form, ticket checking work be inspection bearer the legitimacy of the certificate that takes ticket.Wherein, traditional all kinds of papery admission tickets, are easily replicated, counterfeit, dispensing, and ticket checking workload is large, easily occurs situation that is undetected, flase drop.For the problems referred to above, mobile phone electronic ticket arises at the historic moment, and the release of electronic ticket can solve the waste problem of paper, improves the fail safe of bill, prevention of ticket scalping phenomenon.Wherein, ticket checking method comprises:
(1) examine ticket information, namely ticket agent is examined the ticket information that bill is printed by naked eyes.
(2) bar code information is examined.Wherein, bar code is that formed by bar and gap set, billing information is printed on bill after converting bar code to according to prespecified barcode encoding rule and Its Relevant Technology Standards.Ticket-checking system is made up of bar code scanner, decoder and application software, and scanner utilizes self light source irradiation to be printed on bar code on bill, and recycling optical-electrical converter accepts the light of reflection, converts the light and shade of reflection ray to digital signal; Digital signal is reduced into initial billing information and submits to application software by decoder; Application software is according to the legitimacy of billing information decides bill.
(3) 2 D code information is examined.Quick Response Code is encoded by black, white pixel different distributions in a matrix at a coffin, and Quick Response Code coding information quantity is large, confidentiality is high.Wherein, Quick Response Code both can be printed on ordinary bill, also can be transmitted by cordless communication network by multimedia message, short message mode and show on mobile phone screen.Similar bar code, Quick Response Code is distinguished by special facility, is reduced into initial billing information and transfers to application software to judge.
(4) magnetic strip information is examined.Billing information is stored in the magnetic stripe of bill, and ticket-checking system carrys out the legitimacy of decides bill by the billing information read in magnetic stripe.
(5) Contact Type Ic Card information is examined.Billing information is stored in Contact Type Ic Card, the billing information that ticket-checking system is read in IC-card by contact card reader local or online come the legitimacy of decides bill.
(6) non-contact IC card information is examined.Billing information is stored in non-contact IC card, the billing information that ticket-checking system is read in IC-card by Non-contact Media Reader local or online come the legitimacy of decides bill.
Wherein, in above-mentioned all kinds of ticket checking methods, ticket information is stored in papery or other type media, the legitimacy of ticket examined by ticket agent or ticket checking facility by reading ticket information, and the ticket checking state of altering bill by specific mode (as changed the ticket checking state changing bill in the staff that takes ticket in the ticket checking state of bill in background data base, off line ticket checking situation by facility under by modes such as punching hand tear papery ticket being changed to ticket checking state, online ticket checking situation).
In above-mentioned all kinds of ticket checking methods, at least there is following problem: large by the mode decides bill true and false difficulty of naked eyes, efficiency is low; Bar code or Quick Response Code form bill are difficult to solve the copying of bill (or duplicating) problem, if the method adopting online ticket checking again will the application place of restriction bill; Store specific billing information in current IC-card, be difficult to accomplish versatility; Ticket checking terminal, to electronic ticket unilateral authentication, cannot realize the certification of electronic ticket to ticket checking terminal.
How effectively for the problems referred to above, the embodiment of the present invention provides a kind of method of calibration of electronic data, system and equipment, to realize online ticket checking under off line environment, and solve mobile terminal store electrons ticket; How mobile terminal shows electronic ticket; Electronic ticket is shown, the security system of inspection; Electronic ticket inspection machine is subject to place restriction, cannot connect the problem of electronic bill system.
Based on said system framework and the inventive concept same with said system and equipment, the embodiment of the present invention six provides a kind of method of inspection of electronic data, the method is applied in the system comprising mobile terminal, electronic data management equipment (as electronic ticket management equipment) and electronic data inspection machine (as electronic ticket inspection machine), is first described in detail to the acquisition process of electronic data inventory (as electronic ticket inventory).
As shown in Figure 7, be a kind of in embodiment of the present invention acquisition process schematic diagram of electronic ticket inventory, user can select initiatively to obtain electronic ticket inventory from electronic ticket management equipment, and therefrom selects the electronic ticket needing inspection, and this process comprises the following steps:
Step 1, mobile terminal initiate to electronic ticket management equipment the request obtaining electronic ticket inventory, comprise TERMID (i.e. the mark of mobile terminal) information in this request.
If step 2 being provided with needs to input PIN3, then electronic ticket management equipment prompting mobile terminal input PIN3.
Step 3, user input PIN3.
Step 4, mobile terminal submit PIN3 to electronic ticket management equipment.
The correctness of step 5, electronic ticket management equipment checking PIN 3, if miscue user re-enters.
It should be noted that above-mentioned steps 2-step 5 is optional step.
Step 6, electronic ticket management equipment are to mobile terminal return electron ticket inventory, wherein comprise ETPID (electronic ticket provides device numbering), the TSN (electronic ticket sequence number) that often open electronic ticket and the mark (mark of verification electronic ticket password) the need of input PIN2, such as, need to be designated 0 during input PIN2, do not need to be designated 1 during input PIN2.
When return electron ticket inventory, often open the electronic ticket of electronic ticket corresponding to TERMID.
Step 7, mobile terminal show electronic ticket inventory to user, and user therefrom can select the electronic ticket needing inspection.
As shown in Figure 8, for the acquisition process schematic diagram of electronic ticket inventory another kind of in the embodiment of the present invention, user by mobile terminal and electronic ticket inspection machine are obtained electronic ticket inventory alternately, and therefrom selects the electronic ticket needing inspection, and this process comprises the following steps:
Step 1, electronic ticket inspection machine provide ticket checking information to mobile terminal, comprise DEVID (electronic ticket inspection machine mark) and ETPID (electronic ticket provides device numbering).
Step 2, mobile terminal perform response (SW1SW2=0x9000) to this electronic ticket inspection machine return command.
Step 3, mobile terminal initiate to electronic ticket management equipment the request obtaining electronic ticket inventory, comprise TERMID, DEVID and ETPID information in this request.
If step 4 being provided with needs to input PIN3, then electronic ticket management equipment prompting mobile terminal input PIN3.
Step 5, user input PIN3.
Step 6, mobile terminal submit PIN3 to electronic ticket management equipment.
The correctness of step 7, electronic ticket management equipment checking PIN 3, if miscue user re-enters.
It should be noted that above-mentioned steps 4-step 7 is optional step.
Step 8, electronic ticket management equipment, to mobile terminal return electron ticket inventory, wherein comprise ETPID, TSN of often opening electronic ticket and the mark the need of input PIN2.Such as, need to be designated 0 during input PIN2, do not need to be designated 1 during input PIN2.
When return electron ticket inventory, often open the electronic ticket of electronic ticket corresponding to TERMID, DEVID and ETPID.
Step 9, mobile terminal show electronic ticket inventory to user, and user therefrom can select the electronic ticket needing inspection.
Based on the electronic ticket that the needs of above-mentioned selection are checked, as shown in Figure 9, in the method for inspection of the electronic data that the embodiment of the present invention six provides, comprise the following steps:
Step 1, user select the electronic ticket needing inspection on mobile terminals.
Step 2, electronic ticket inspection machine send Get Challenge instruction to mobile terminal.
Step 3, mobile terminal generate random parameter RAND 1.
Step 4, mobile terminal return random parameter RAND 1 to electronic ticket inspection machine.
Step 5, electronic ticket inspection machine utilize RAND1 to generate the session key SessionKey of ticket checking key, and utilize SessionKey to calculate MAC1 (data participating in MAC1 calculating comprise: ticket checking date, ticket checking time, DEVID, ETPID etc.), generate random parameter RAND 2;
Afterwards, electronic ticket inspection machine sends ticket checking initialization command to mobile terminal, wherein comprises the information such as ticket checking date, ticket checking time, DEVID, ETPID, MAC1 and RAND2.
Step 6, mobile terminal utilize RAND1 to generate the session key SessionKey of ticket checking key, and utilize SessionKey to calculate MAC1, and the MAC1 sent with electronic ticket inspection machine compares, if both are not identical, flow process terminates; If both are identical, judge the ETPID that electronic ticket inspection machine sends further and treat that the ETPID of ticket checking compares, if both are different, prompting treats that ticket checking is not inconsistent, and flow process terminates; Otherwise, perform step 7.
Step 7, mobile terminal utilize SessionKey to calculate MAC2 (data participating in MAC2 calculating comprise: ticket checking date, ticket checking time, RAND2, TSN).
Step 8, mobile terminal return initialization ticket checking result, comprising TSN, MAC2 to electronic ticket inspection machine.
Step 9, electronic ticket inspection machine utilize SessionKey to calculate MAC2, and compare with the MAC2 of mobile terminal loopback, if both are not identical, prompting error message, flow process terminates.
Step 10, alternatively, if treat that ticket checking needs to input PIN2, then mobile terminal prompting user inputs PIN2.
Step 11, mobile terminal submit ticket checking request to electronic ticket management equipment, include but not limited to TERMID, DEVID, ETPID, TSN and PIN2 (optional) in this request.
Step 12, alternatively, electronic ticket management equipment checking PIN 2, if PIN2 verifies unsuccessfully, prompting user re-enters PIN2, if PIN2 verification is passed through, then flow process continues.
Step 13, electronic ticket management equipment amendment electronic ticket state.Such as, by electronic ticket status modifier for verify state.
Step 14, electronic ticket management equipment return ticket checking result to mobile terminal.
Step 15, mobile terminal amendment electronic ticket state.Such as, by electronic ticket status modifier for verify state.
Step 16, electronic ticket inspection machine inquiry electronic ticket state.
Step 17, mobile terminal return electron ticket state.Wherein, when electronic ticket state is for verifying state, then electronic ticket check results is by verification, otherwise is not by verification.
In practical application, in the process of electronic ticket inspection machine inquiry electronic ticket state, if mobile terminal does not have return electron ticket state in Preset Time, then electronic ticket inspection machine can inquire about electronic ticket state again, by that analogy, until inquire electronic ticket state.Certainly, if repeatedly inquire about when all not having successful, can determine to inquire about unsuccessfully, electronic ticket check results is not by verification.In addition, owing to not needing that selected electronic ticket is downloaded to mobile terminal, ticket checking is operating as mobile terminal and completes, and ticket checking flow process safely, effectively.
In sum, in the embodiment of the present invention, for field of electronic ticket, electronic ticket management equipment sends electronic ticket inventory to mobile terminal, and mobile terminal directly can obtain electronic ticket without the need to preserving electronic ticket; And send to electronic ticket management equipment to carry out electronic ticket verification electronic ticket relevant information by mobile terminal, do not need electronic ticket inspection machine and electronic ticket management equipment to carry out alternately, namely electronic ticket inspection machine need not connect electronic ticket management equipment; And electronic ticket inspection machine only need complete the two-way authentication with mobile terminal, and do not need selected electronic ticket to download to mobile terminal, mobile terminal just can be made to complete ticket checking operation, ticket checking flow process safely, effectively.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (17)

1. a method of inspection for electronic data, is characterized in that, comprising:
Mobile terminal sends the inspection request of electronic data to electronic data management equipment;
When described electronic data is upchecked, the state information of electronic data described in described electronic data management renewal of the equipment, and the assay of described electronic data is sent to described mobile terminal;
Described mobile terminal upgrades the state information of described electronic data according to the assay of described electronic data, and the state information after upgrading is sent to electronic data inspection machine;
Wherein, described mobile terminal sends the inspection request of electronic data to electronic data management equipment, also comprises before:
Described mobile terminal obtains electronic data inventory from described electronic data management equipment, and from described electronic data inventory, select needs to carry out the electronic data verified; Or,
Described mobile terminal obtains electronic data inventory according to the information of described electronic data inspection machine from described electronic data management equipment, and from described electronic data inventory, select needs to carry out the electronic data verified.
2. the method for claim 1, is characterized in that, described mobile terminal obtains the process of electronic data inventory from described electronic data management equipment, comprising:
Described mobile terminal sends electronic data listings request to described electronic data management equipment, carries the mark of described mobile terminal in described electronic data listings request;
Described electronic data management equipment determines according to the mark of described mobile terminal the electronic data inventory that described mobile terminal is corresponding, and send described electronic data inventory to described mobile terminal, carry electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
3. the method for claim 1, is characterized in that, described mobile terminal obtains the process of electronic data inventory from described electronic data management equipment according to the information of described electronic data inspection machine, comprising:
Described electronic data inspection machine sends to described mobile terminal and carries the information that electronic data inspection machine mark and electronic data provide device numbering;
Described mobile terminal sends electronic data listings request to described electronic data management equipment, carries the mark of described mobile terminal, described electronic data inspection machine mark and described electronic data and provide device numbering in described electronic data listings request;
Described electronic data management equipment according to the mark of described mobile terminal, described electronic data inspection machine mark, described electronic data provide device numbering to determine described mobile terminal, electronic data inspection machine and electronic data provide the inventory of the electronic data corresponding to equipment, and send described electronic data inventory to described mobile terminal, carry electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
4. the method as described in any one of claim 1-3, is characterized in that, carries the mark of mobile terminal, electronic data inspection machine identifies, electronic data provides device numbering, electronic data sequence number in the inspection request of described electronic data; When needs input validation electronic data password, in the inspection request of described electronic data, also carry verification electronic data password;
Described electronic data is upchecked, and also comprises before: described electronic data management equipment is tested to described electronic data according to the information of carrying in the inspection request of described electronic data.
5. the method as described in any one of claim 1-3, it is characterized in that, the process of the state information of electronic data described in described electronic data management renewal of the equipment, comprising: described electronic data management equipment by the state information updating of described electronic data for verify state;
The process of the state information of electronic data described in described mobile terminal to update, comprising: described mobile terminal by the state information updating of described electronic data for verify state.
6. a method of inspection for electronic data, is characterized in that, comprising:
Electronic data inspection machine sends electronic data status query request to mobile terminal;
Described electronic data inspection machine receive the assay according to electronic data management equipment that described mobile terminal returns upgrade after electronic data state information;
Wherein, the assay of described electronic data management equipment is when mobile terminal sends upchecking of electronic data to electronic data management equipment, the state information of electronic data described in described electronic data management renewal of the equipment, and send to described mobile terminal
Wherein, the described electronic data carrying out verifying is needed to be before described mobile terminal sends the inspection request of electronic data to electronic data management equipment, electronic data inventory is obtained from described electronic data management equipment by described mobile terminal, and select to obtain from described electronic data inventory; Or obtain electronic data inventory according to the information of described electronic data inspection machine from described electronic data management equipment by described mobile terminal, and select to obtain from described electronic data inventory;
Described electronic data inspection machine verifies described electronic data according to the electronic data state information after described renewal; And when the state information after upgrading is for verifying state, determine that described electronic data is by verification.
7. method as claimed in claim 6, is characterized in that, described electronic data inspection machine sends electronic data status query request to mobile terminal, also comprises before:
Described electronic data inspection machine sends to described mobile terminal and carries the information that electronic data inspection machine mark and electronic data provide device numbering; Obtain electronic data inventory according to the information of described electronic data inspection machine from described electronic data management equipment for described mobile terminal, and from described electronic data inventory, select needs to carry out the electronic data verified.
8. a checking system for electronic data, is characterized in that, this system comprises:
Mobile terminal, for sending the inspection request of electronic data to electronic data management equipment, and the assay received from the electronic data of described electronic data management equipment, upgrade the state information of described electronic data according to the assay of described electronic data, and the state information after upgrading is sent to electronic data inspection machine;
Wherein, described mobile terminal also for: described mobile terminal to electronic data management equipment send electronic data inspection request before, obtain electronic data inventory from described electronic data management equipment, and from described electronic data inventory, select needs to carry out the electronic data verified; Or the information according to described electronic data inspection machine obtains electronic data inventory from described electronic data management equipment, and from described electronic data inventory, needs are selected to carry out the electronic data verified;
Electronic data inspection machine, for verifying described electronic data according to the state information after renewal;
Electronic data management equipment, for when described electronic data is upchecked, upgrades the state information of described electronic data, and sends the assay of described electronic data to described mobile terminal.
9. a mobile terminal, is characterized in that, comprising:
First sending module, for sending the inspection request of electronic data to electronic data management equipment;
Receiver module, for when described electronic data is upchecked, receives the assay of the electronic data that described electronic data management equipment sends;
Update module, for upgrading the state information of described electronic data according to the assay of described electronic data;
Second sending module, for sending the state information after upgrading to electronic data inspection machine;
Acquisition module, for obtaining electronic data inventory from described electronic data management equipment; Or the information according to electronic data inspection machine obtains electronic data inventory from described electronic data management equipment;
Select module, for selecting the electronic data needing to carry out verifying from described electronic data inventory.
10. mobile terminal as claimed in claim 9, is characterized in that,
Described acquisition module, specifically for sending electronic data listings request to described electronic data management equipment, carries the mark of described mobile terminal in described electronic data listings request; And receive electronic data inventory, carry electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
11. mobile terminals as claimed in claim 9, is characterized in that,
Described acquisition module, carries electronic data inspection machine mark and electronic data provides the information of device numbering specifically for receiving; Send electronic data listings request, carry the mark of described mobile terminal, described electronic data inspection machine mark and described electronic data in described electronic data listings request and device numbering is provided; And receive electronic data inventory, carry electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
12. mobile terminals as described in any one of claim 9-11, is characterized in that, carry the mark of mobile terminal, electronic data inspection machine mark, electronic data provide device numbering, electronic data sequence number in the inspection request of described electronic data; When needs input validation electronic data password, in the inspection request of described electronic data, also carry verification electronic data password;
Described update module, specifically for by the state information updating of described electronic data for verify state.
13. 1 kinds of electronic data management equipment, is characterized in that, comprising:
Receiver module, for the inspection request of the electronic data of mobile terminal receive; Also for receiving electronic data listings request, in described electronic data listings request, carry the mark of mobile terminal;
Update module, for when described electronic data is upchecked, upgrades the state information of described electronic data;
Sending module, for sending the assay of described electronic data to described mobile terminal;
Determination module, for determining the electronic data inventory that described mobile terminal is corresponding according to the mark of described mobile terminal;
Described sending module, also for sending described electronic data inventory to described mobile terminal, carrying electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
14. electronic data management equipment as claimed in claim 13, is characterized in that, also comprise determination module;
Described receiver module, also for receiving the electronic data listings request that described mobile terminal sends, carrying the mark of mobile terminal, described electronic data inspection machine mark and described electronic data and providing device numbering in described electronic data listings request;
Described determination module, for the mark according to described mobile terminal, described electronic data inspection machine mark, described electronic data provide device numbering to determine described mobile terminal, electronic data inspection machine and electronic data provide the inventory of the electronic data corresponding to equipment;
Described sending module, also for sending described electronic data inventory to described mobile terminal, carrying electronic data corresponding to electronic data in described electronic data inventory and device numbering, electronic data sequence number and the mark the need of input validation electronic data password are provided.
15. electronic data management equipment as described in any one of claim 13-14, it is characterized in that, in the inspection request of described electronic data, carry the mark of mobile terminal, electronic data inspection machine identifies, electronic data provides device numbering, electronic data sequence number; When needs input validation electronic data password, in the inspection request of described electronic data, also carry verification electronic data password; Described electronic data management equipment, also comprises:
Inspection module, for testing to described electronic data according to the information of carrying in the inspection request of described electronic data;
Described update module, specifically for by the state information updating of described electronic data for verify state.
16. 1 kinds of electronic data inspection machines, is characterized in that, comprising:
Sending module, for sending electronic data status query request to mobile terminal;
Receiver module, the electronic data state information after the assay according to electronic data management equipment returned for receiving described mobile terminal upgrades;
Wherein, the assay of described electronic data management equipment is when mobile terminal sends upchecking of electronic data to electronic data management equipment, the state information of electronic data described in described electronic data management renewal of the equipment, and send to described mobile terminal
Wherein, the described electronic data carrying out verifying is needed to be before described mobile terminal sends the inspection request of electronic data to electronic data management equipment, electronic data inventory is obtained from described electronic data management equipment by described mobile terminal, and select to obtain from described electronic data inventory; Or obtain electronic data inventory according to the information of described electronic data inspection machine from described electronic data management equipment by described mobile terminal, and select to obtain from described electronic data inventory;
Correction verification module, for verifying described electronic data according to the electronic data state information after described renewal; And when the state information after upgrading is for verifying state, determine that described electronic data is by verification.
17. electronic data inspection machines as claimed in claim 16, is characterized in that,
Described sending module, also carries for sending to described mobile terminal the information that electronic data inspection machine mark and electronic data provide device numbering.
CN201110005354.1A 2011-01-05 2011-01-05 Method, system and equipment for testing electronic data Active CN102595402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110005354.1A CN102595402B (en) 2011-01-05 2011-01-05 Method, system and equipment for testing electronic data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110005354.1A CN102595402B (en) 2011-01-05 2011-01-05 Method, system and equipment for testing electronic data

Publications (2)

Publication Number Publication Date
CN102595402A CN102595402A (en) 2012-07-18
CN102595402B true CN102595402B (en) 2014-12-31

Family

ID=46483513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110005354.1A Active CN102595402B (en) 2011-01-05 2011-01-05 Method, system and equipment for testing electronic data

Country Status (1)

Country Link
CN (1) CN102595402B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106199222A (en) * 2016-08-17 2016-12-07 众芯汉创(北京)科技有限公司 A kind of contactless near field region electricity-testing method and device
CN107610244A (en) * 2017-09-03 2018-01-19 江小平 Return to the ticket selling and checking system of ticket checking result
CN108009794B (en) * 2017-12-15 2021-04-02 广州天宁信息技术有限公司 Electronic credential state management method and device
CN111308972B (en) * 2020-02-19 2021-09-24 深圳市智物联网络有限公司 Data processing method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062471B1 (en) * 1999-06-07 2006-06-13 Nippon Telegraph And Telephone Corporation Electronic rights information processing system, method and apparatus for carrying out same and recorded medium for program carrying out the method
CN101452583B (en) * 2008-12-31 2010-08-25 中国移动通信集团公司 Electronic ticket providing and inspecting method, device and system
CN101901505A (en) * 2010-05-27 2010-12-01 邵贵平 Offline electronic ticketing system and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062471B1 (en) * 1999-06-07 2006-06-13 Nippon Telegraph And Telephone Corporation Electronic rights information processing system, method and apparatus for carrying out same and recorded medium for program carrying out the method
CN101452583B (en) * 2008-12-31 2010-08-25 中国移动通信集团公司 Electronic ticket providing and inspecting method, device and system
CN101901505A (en) * 2010-05-27 2010-12-01 邵贵平 Offline electronic ticketing system and method thereof

Also Published As

Publication number Publication date
CN102595402A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
US8850527B2 (en) Method of performing a secure application in an NFC device
CN103929402B (en) Sensitive operation verification method, terminal unit, server and checking system
CN103825734B (en) Sensitive operation verification method, terminal device, server and checking system
US10382954B2 (en) System and method for providing a service to the user of a mobile terminal
CN101699892B (en) Method and device for generating dynamic passwords and network system
CN110535648A (en) Electronic certificate is generated and verified and key controlling method, device, system and medium
CN110930147B (en) Offline payment method and device, electronic equipment and computer-readable storage medium
CN105376208B (en) Secure data verification method, system and computer readable storage medium
CN103179176B (en) The call method that web applies under cloud/cluster environment, device and system
CN108900302A (en) Two dimensional code generation, generates terminal and authenticating device at authentication method
CN106657032A (en) System and method for realizing identity identification and data authentication based on security medium confidential short message
CN102595402B (en) Method, system and equipment for testing electronic data
CN108154362A (en) Method of commerce, apparatus and system based on figure bar code
CN108647501A (en) Multiple utility program shares password unlocking method, device, equipment and storage medium
Cheng et al. A secure and practical key management mechanism for NFC read-write mode
CN108848057A (en) A kind of method and device of remote secure access
CN110535807A (en) A kind of service authentication method, device and medium
CN101216915A (en) A secured mobile payment method
US20220156753A1 (en) End-to-End Product Authentication Technique
CN109284599A (en) It the use of portable electronic device is the method and system that user creates strong authentication
CN110324344A (en) The method and device of account information certification
CN107707356A (en) A kind of mobile device secure binding method and application system based on Quick Response Code identification
CN104753940B (en) A kind of method to issue invoice, common invoice self-service terminal and server
CN103559430B (en) application account management method and device based on Android system
CN110766388B (en) Virtual card generation method and system and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant