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

Method, system and equipment for testing electronic data Download PDF

Info

Publication number
CN102595402A
CN102595402A CN2011100053541A CN201110005354A CN102595402A CN 102595402 A CN102595402 A CN 102595402A CN 2011100053541 A CN2011100053541 A CN 2011100053541A CN 201110005354 A CN201110005354 A CN 201110005354A CN 102595402 A CN102595402 A CN 102595402A
Authority
CN
China
Prior art keywords
electronic data
portable terminal
sign
inspection machine
management equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100053541A
Other languages
Chinese (zh)
Other versions
CN102595402B (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

Images

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, relate in particular to a kind of method of inspection, system and equipment of electronic data.
Background technology
It is an important development on the mobile communication technology that electronic data is used; Through at intelligent cards (IC (Integrated Circuit for example; Integrated circuit)) go up loading electronic data application program, adopt the short distance wireless communication technology, can a plurality of application be incorporated into together; Combine with the portability of portable terminal, formed the new focus of mobile communication technology.
In the prior art; In order to realize the application of electronic data; Need be to SIM (Subscriber Identity Module; User identification module) (in the electronic data application program like SIM) writes electronic data in the card/IC-card, and in each is used, can use the legitimacy of the electronic data identifying user identity that writes.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
In the existing technical scheme, the user can change the relevant information of electronic data through specific mode, thereby makes electronic data have legitimacy, makes subscriber authentication pass through then, has caused wrong subscriber authentication result.
Summary of the invention
The embodiment of the invention provides a kind of method of inspection, system and equipment of electronic data, to check electronic data accurately.
In order to achieve the above object, the embodiment of the invention provides a kind of method of inspection of electronic data, comprising:
Portable terminal sends the check request of electronic data to electronic data management equipment;
When said electronic data is upchecked, the state information of the said electronic data of said electronic data management renewal of the equipment, and the assay of sending said electronic data to said portable terminal;
Said portable terminal upgrades the state information of said electronic data according to the assay of said electronic data, and the state information after will upgrading sends to the electronic data inspection machine.
The embodiment of the invention provides a kind of method of inspection of electronic data, comprising:
The electronic data inspection machine sends the electronic data status query request to portable terminal;
The electronic data state information that said electronic data inspection machine receives the assay according to electronic data management equipment that said portable terminal returns after upgrading;
The electronic data state information of said electronic data inspection machine after according to said renewal carried out verification to said electronic data; And the state information after upgrading confirms that said electronic data is through verification during for verification state.
The embodiment of the invention provides a kind of checking system of electronic data, and this system comprises:
Portable terminal; Be used for sending the check request of electronic data to electronic data management equipment; And reception is from the assay of the electronic data of said electronic data management equipment; Upgrade the state information of said electronic data according to the assay of said electronic data, and the state information after will upgrading sends to the electronic data inspection machine;
The electronic data inspection machine is used for according to the state information after upgrading said electronic data being carried out verification;
Electronic data management equipment is used for when said electronic data is upchecked, upgrading the state information of said electronic data, and sends the assay of said electronic data to said portable terminal.
The embodiment of the invention provides a kind of portable terminal, comprising:
First sending module, the check request that is used to send electronic data;
Receiver module is used for when said electronic data is upchecked, and receives the assay of electronic data;
Update module is used for upgrading according to the assay of said electronic data the state information of said electronic data;
Second sending module is used to send the state information after the renewal.
The embodiment of the invention provides a kind of electronic data management equipment, comprising:
Receiver module is used to receive the check request of electronic data;
Update module is used for when said electronic data is upchecked, upgrading the state information of said electronic data;
Sending module, the assay that is used to send said electronic data.
The embodiment of the invention provides a kind of electronic data inspection machine, comprising:
Sending module is used to send the electronic data status query request;
Receiver module is used to receive the electronic data state information after the assay of returning according to electronic data management equipment is upgraded;
The verification module is used for according to the electronic data state information after the said renewal said electronic data being carried out verification; And the state information after upgrading confirms that said electronic data is through verification during for verification state.
Compared with prior art, the embodiment of the invention has the following advantages at least:
Through portable terminal the check request of electronic data is sent to electronic data management equipment, accomplish the check of electronic data, do not need the electronic data inspection machine to be connected, realize simply with electronic data management equipment, and electronic data checkout procedure safety, effective.
Description of drawings
In order to be illustrated more clearly in technical scheme of the present invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of the checking system of a kind of electronic data of providing of the embodiment of the invention one;
Fig. 2 is a portable terminal key structure sketch map in the embodiment of the invention;
Fig. 3 is the structural representation of a kind of portable terminal of providing of the embodiment of the invention two;
Fig. 4 is the structural representation of a kind of electronic data management equipment of providing of the embodiment of the invention three;
Fig. 5 is the structural representation of a kind of electronic data inspection machine of providing of the embodiment of the invention four;
Fig. 6 is the method for inspection schematic flow sheet of a kind of electronic data of providing of the embodiment of the invention five;
Fig. 7 is the acquisition process sketch map of a kind of electronic ticket inventory of providing of the embodiment of the invention;
Fig. 8 is the acquisition process sketch map of the another kind of electronic ticket inventory that provides of the embodiment of the invention;
Fig. 9 is a kind of method of inspection schematic flow sheet to electronic ticket that the embodiment of the invention six provides.
Embodiment
To combine the accompanying drawing among the present invention below, the technical scheme among the present invention is carried out clear, intactly description, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention one provides a kind of check system configuration diagram of electronic data; As shown in Figure 1, comprise in this system: electronic data provides equipment, electronic data management equipment, portable terminal, user's (promptly holding mobile terminal user), electronic data inspection machine.Wherein:
Electronic data provides equipment, is used to generate electronic data;
Electronic data management equipment, being used for administration of electronic data provides equipment, and electronic data inspection machine and portable terminal are managed the electronic data that each electronic data provides equipment to provide, and handle the situation and the record of electronic data inspection machine verification electronic data;
The user holds portable terminal, is used for through electronic data management equipment control electronic data, through electronic data inspection machine verification electronic data;
The electronic data inspection machine is used to check electronic data;
Portable terminal is used for showing the electronic data inventory to the user, and the user need to select the electronic data of check, under the scene of needs, accepts the user and imports PIN (Personal Identification Number, personal identification number) sign indicating number.
In said system, relevant interface comprises: IF1: electronic data management equipment and electronic data provide the interface between the equipment; IF2: the interface between electronic data management equipment and the user; IF3: the interface between electronic data management equipment and the electronic data inspection machine; IF4: the electronic data inspection machine is with the interface between the portable terminal; IF5: the interface between electronic data management equipment and the portable terminal.
In order clearly to set forth the technical scheme that the embodiment of the invention provides, at first following notion is elaborated.
(1) electronic data provides device numbering: electronic data management equipment is designated as ETPID for each electronic data provides the unique number of devices allocation.Wherein, electronic data provides equipment can generate electronic data, and each electronic data provides at this electronic data and have unique electronic data sequence number in the device range, can be designated as TSN.
(2) user and portable terminal: user (User) has unique ID in electronic data management equipment, is designated as UserID (as: cell-phone number, user name, Email etc.).The user has the equipment portable terminal of its identity of sign, and this portable terminal has unique mobile terminal identification in electronic data management equipment, be designated as TermID.Preserve portable terminal (TermID) in the electronic data management equipment with the mapping relations between its holder (UserID).
(3) key code system
A) ID and electronic data management device logs password PIN1.Wherein, the user relies on UserID and login password PIN1 login electronic data management equipment, administration of electronic data.
B) mobile terminal identification and verification electronic data password PIN2 and electronic data obtain password PIN3 (PIN3 is optional).Wherein, the user obtains password PIN3 through the input electronic data, from electronic data management equipment, obtains the electronic data inventory; User's selection from the electronic data inventory needs the electronic data of check; And assist to accomplish electronic data inspection process (under the situation of needs, need by user's input validation electronic data password PIN2) through electronic data inspection machine and electronic data management equipment.
It should be noted that PIN2 can only be kept at electronic data management equipment, on portable terminal, import, on electronic data management equipment, carry out verification by the user; PIN2 also can only be kept on the portable terminal, is imported on portable terminal by the user, carries out verification in portable terminal this locality.
C) verification electronic data ciphering key heck_Key.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; Check_Key safety is preset in the portable terminal; Check_Key safety is preset in the electronic data inspection machine.Portable terminal key structure sketch map as shown in Figure 2, wherein, when and if only if verification electronic data password PIN2 needed local verification, portable terminal just need be preserved PIN2.
D) aerial mutual key K eyENC, KeyMAC and KeyDEK.Wherein, In order to guarantee privacy and the integrality of portable terminal, need to preserve following key in the portable terminal: aerial message encryption key K eyENC, aerial message MAC key K eyMAC, sensitive data encryption key KeyDEK with the electronic data management communication between devices.Correspondingly; Electronic data management equipment also need be preserved corresponding key; In order to guarantee the fail safe of key, can consider to adopt the key dispersal mechanism, promptly electronic data management equipment is preserved root key; Portable terminal is preserved sub-key and dispersion factor, and electronic data management equipment disperses to obtain sub-key through dispersion factor to root key.
(4) electronic data inspection machine: the electronic data inspection machine has unique device identification in electronic data management equipment, be designated as DevID; Safety is preserved verification electronic data ciphering key heck_Key in the electronic data inspection machine, through carrying out with portable terminal alternately, accomplishes the check of electronic data.
(5) same user has the situation of a plurality of portable terminals.Wherein, same user can have a plurality of portable terminals, describe for ease, and be example with the situation that only has unique portable terminal in the embodiment of the invention, to the situation that has a plurality of portable terminals, the user need indicate corresponding mobile terminal when corresponding operating.
Based on above-mentioned situation, in the check system of the electronic data that the embodiment of the invention one provides:
Portable terminal; Be used for sending the check request of electronic data to electronic data management equipment; And reception is from the assay of 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 will upgrading sends to the electronic data inspection machine;
Electronic data management equipment is used for when electronic data is upchecked, and upgrades the state information of electronic data, and sends the assay of electronic data to portable terminal;
The electronic data inspection machine is used for according to the state information after upgrading electronic data being carried out verification.
Based on said system framework and the inventive concept same with said system, the embodiment of the invention two provides a kind of portable terminal, and is as shown in Figure 3, and this portable terminal comprises:
First sending module 11 is used for sending to electronic data management equipment the check request of electronic data;
Receiver module 12 is used for when electronic data is upchecked, and receives the assay from the electronic data of electronic data management equipment;
Update module 13 is used for the state information according to the assay renewal electronic data of electronic data;
Second sending module 14 is used for the state information after upgrading is sent to the electronic data inspection machine.
In the embodiment of the invention, this portable terminal also comprises:
Acquisition module 15 is used for obtaining the electronic data inventory from electronic data management equipment; Perhaps, obtain the electronic data inventory according to the information of electronic data inspection machine from electronic data management equipment;
Select module 16, be used for to carry out the electronic data (i.e. pairing electronic data is asked in the check of first sending module, 11 transmissions) of verification from the selection of electronic data inventory.
In the embodiment of the invention, acquisition module 15 specifically is used for sending electronic data listings request, the sign of having carried portable terminal in the electronic data listings request to electronic data management equipment; And receive electronic data inventory from electronic data management equipment, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory.
In addition, acquisition module 15 specifically has been used to receive from carrying of electronic data inspection machine the information that electronic data inspection machine sign and electronic data provide device numbering; Send the electronic data listings request to electronic data management equipment, the sign, electronic data inspection machine sign and the electronic data that have carried portable terminal in the electronic data listings request provide device numbering; And receive electronic data inventory from electronic data management equipment, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory.
In the embodiment of the invention, the sign, electronic data inspection machine sign, the electronic data that carry portable terminal in the check request of electronic data provide device numbering, electronic data sequence number; When needs input validation electronic data password, also carried verification electronic data password in the check request of electronic data; Update module 13 specifically is used for the state information updating of electronic data is verification state.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Based on said system framework and the inventive concept same with said system, the embodiment of the invention three provides a kind of electronic data management equipment, and is as shown in Figure 4, and this electronic data management equipment comprises:
Receiver module 21 is used to receive the check request from the electronic data of portable terminal;
Adjusting module 22 is used for when electronic data is upchecked, the state information of adjustment electronic data;
Sending module 23 is used for the assay to portable terminal transmission electronic data.
In the embodiment of the invention, this electronic data management equipment also comprises determination module 24;
Receiver module 21 also is used to receive the electronic data listings request from portable terminal, the sign of having carried portable terminal in this electronic data listings request;
Determination module 24 is used for confirming the electronic data inventory that portable terminal is corresponding according to the sign of this portable terminal;
Sending module 23 also is used for sending the electronic data inventory to portable terminal, has carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory.
Under the another kind of situation, receiver module 21 also is used to receive the electronic data listings request from portable terminal, and the sign, electronic data inspection machine sign and the electronic data that have carried portable terminal in the electronic data listings request provide device numbering;
Determination module 24, the sign, electronic data inspection machine sign, the electronic data that are used for according to portable terminal provide device numbering to confirm that portable terminal, electronic data inspection machine and electronic data provide equipment pairing electronic data inventory;
Sending module 23 also is used for sending the electronic data inventory to portable terminal, has carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory.
In the embodiment of the invention, the sign, electronic data inspection machine sign, the electronic data that carry portable terminal in the check request of electronic data provide device numbering, electronic data sequence number; When needs input validation electronic data password, also carried verification electronic data password in the check request of electronic data;
In addition, this electronic data management equipment also comprises: inspection module 25 is used for according to the information that the check request of electronic data is carried electronic data being tested;
Update module 22 specifically is used for the state information updating of electronic data is verification state.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Based on said system framework and the inventive concept same with said system, the embodiment of the invention four provides a kind of electronic data inspection machine, and is as shown in Figure 5, and this electronic data inspection machine comprises:
Sending module 31 is used for sending the electronic data status query request to portable terminal;
Receiver module 32, the electronic data state information after being used to receive assay that said portable terminal returns and upgrading according to electronic data management equipment;
Verification module 33 is used for according to the electronic data state information after the said renewal said electronic data being carried out verification; And the state information after upgrading confirms that said electronic data is through verification during for verification state.
Said sending module 31 also is used for sending the information that electronic data inspection machine sign and electronic data provide device numbering of having carried to portable terminal.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Based on the said system framework and with said system and the same inventive concept of equipment; The embodiment of the invention five provides a kind of method of inspection of electronic data; This method is applied to comprise in the system of portable terminal, electronic data management equipment and electronic data inspection machine; As shown in Figure 6, this method may further comprise the steps:
Step 601, portable terminal obtains the electronic data inventory from electronic data management equipment.Wherein, this portable terminal can directly obtain the electronic data inventory from electronic data management equipment; Perhaps, this portable terminal can obtain the electronic data inventory according to the information of electronic data inspection machine from electronic data management equipment.
Concrete, directly acquisition process comprises: portable terminal sends electronic data listings request, the sign of having carried portable terminal in this electronic data listings request to electronic data management equipment; Electronic data management equipment is confirmed the electronic data inventory that this portable terminal is corresponding according to the sign of portable terminal afterwards; And, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory to portable terminal transmission electronic data inventory.
The process of obtaining according to the information of electronic data inspection machine comprises: the electronic data inspection machine sends the information that electronic data inspection machine sign and electronic data provide device numbering of having carried to portable terminal; Afterwards, portable terminal sends the electronic data listings request to electronic data management equipment, and the sign, electronic data inspection machine sign and the electronic data that have carried portable terminal in this electronic data listings request provide device numbering; Afterwards; Electronic data management equipment provides device numbering to confirm that portable terminal, electronic data inspection machine and electronic data provide equipment pairing electronic data inventory according to sign, electronic data inspection machine sign, the electronic data of portable terminal; And, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the electronic data inventory to portable terminal transmission electronic data inventory.
Step 602, the portable terminal electronic data that selection need be carried out verification from the electronic data inventory.
Step 603, portable terminal are sent the check request of electronic data to electronic data management equipment.Promptly need carry out the check request of the electronic data of verification to this.
In the embodiment of the invention, the content of carrying in the check request of this electronic data includes but not limited to: the sign of portable terminal, electronic data inspection machine sign, electronic data provide device numbering, electronic data sequence number; In addition, when needs input validation electronic data password, also carried verification electronic data password in the check request of electronic data.
Step 604, the information of carrying in the check request of electronic data management equipment according to electronic data is tested to electronic data.For example, when having carried verification electronic data password in the check request, then can test, to confirm whether this electronic data can be through verification to verification electronic data password.
Step 605, when electronic data is upchecked, the state information of this electronic data of electronic data management renewal of the equipment.The state information updating that is about to this electronic data is verification state.
Step 606, electronic data management equipment are sent the assay of electronic data to portable terminal.
Step 607, portable terminal are upgraded the state information of electronic data according to the assay of this electronic data.If assay is an electronic data when upchecking, portable terminal is verification state with the state information updating of electronic data.
Step 608, the state information after portable terminal will upgrade sends to the electronic data inspection machine.
It should be noted that before this step, can also comprise that the electronic data inspection machine sends the step of electronic data status query request to portable terminal; Electronic data state information after the assay of being returned by portable terminal afterwards according to electronic data management equipment is upgraded.
Step 609, the electronic data inspection machine carries out verification according to the state information after upgrading to this electronic data.Wherein, the state information after upgrading is during for verification state, and then the check results of electronic data is for through verification, and when the state information after the renewal is not during the verification state, then the check results of electronic data is not for through verification.
In sum; Through the technical scheme that adopts system of the present invention, each equipment and method to provide; Through portable terminal the check request of electronic data is sent to electronic data management equipment, accomplish the check of electronic data, do not need the electronic data inspection machine to be connected with electronic data management equipment; Realize simply, and electronic data checkout procedure safety, effective.
Need to prove; In practical application, above-mentioned electronic data can be applied in field of electronic ticket, also can be applied in the E-Payment field; Describe for example is convenient, the technical scheme that the embodiment of the invention provides is further set forth below in conjunction with field of electronic ticket.
To field of electronic ticket, need show the bill of papery or electronic form in the prior art usually, ticket checking work is the legitimacy of check certificate that the bearer takes ticket.Wherein, traditional all kinds of papery admission tickets are replicated, counterfeit, dispensing easily, and the ticket checking workload is big, occurs the situation of omission, flase drop easily.To the problems referred to above, the mobile phone electronic ticket arises at the historic moment, and the release of electronic ticket can solve the waste problem of paper, improves fail safe, the prevention of ticket scalping phenomenon of bill.Wherein, ticket checking method comprises:
(1) examine ticket information, promptly the ticket checking personnel examine the ticket information of printing on the bill through naked eyes.
(2) examine bar code information.Wherein, bar code is according to barcode encoding rule and the correlation technique standard predesignated, is combined by bar and space, and billing information is printed on the bill after converting bar code to.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 the bar code on the bill, utilizes optical-electrical converter to accept the light of reflection again, converts the light and shade of reflection ray to digital signal; Decoder is reduced into initial billing information with digital signal and submits to application software; Application software is according to the legitimacy of billing information decides bill.
(3) examine 2 D code information.Two-dimension code is to encode through black, the different distributions of white pixel in matrix at a coffin, and the two-dimension code coding information quantity is big, confidentiality is high.Wherein, two-dimension code both can be printed on the ordinary bill, also can be through multimedia message, short message mode by the cordless communication network transmission and on mobile phone screen, show.Similar bar code, two-dimension code is distinguished through the facility of special use, is reduced into initial billing information and transfers to application software and judge.
(4) examine magnetic strip information.Billing information is stored in the magnetic stripe of bill, and ticket-checking system is through reading the legitimacy that billing information in the magnetic stripe comes decides bill.
(5) examine Contact Type Ic Card information.Billing information is stored in the Contact Type Ic Card, and ticket-checking system reads the local or online legitimacy of coming decides bill of billing information in the IC-card through the contact card reader.
(6) examine the non-contact IC card information.Billing information is stored in the non-contact IC card, and ticket-checking system reads the local or online legitimacy of coming decides bill of billing information in the IC-card through Non-contact Media Reader.
Wherein, In the above-mentioned all kinds of ticket checking methods; The ticket information stores is in papery or other type media; Ticket checking personnel or ticket checking facility can be examined the legitimacy of ticket through reading ticket information, and the ticket checking state that can alter bill through specific mode (can be through the take ticket ticket checking state of bill in the staff of facility change as through modes such as the punching hand tear the papery ticket being changed under the ticket checking state that can change bill in the background data base under ticket checking state, the online ticket checking situation, the off line ticket checking situation).
In the above-mentioned all kinds of ticket checking methods, have following problem at least: the mode decides bill true and false difficulty through naked eyes is big, efficient is low; Bar code or two-dimension code form bill are difficult to solve (or duplicating) problem of duplicating of bill, if the application place of adopting the method for online ticket checking will limit bill again; The specific billing information of storage is difficult to accomplish versatility in the present IC-card; The authentication of electronic ticket to the ticket checking terminal can't be realized to the electronic ticket unilateral authentication in the ticket checking terminal.
How effectively to the problems referred to above, the embodiment of the invention provides a kind of method of calibration, system and equipment of electronic data, with the online ticket checking of realization under the off line environment, and solve portable terminal store electrons ticket; How portable terminal shows electronic ticket; Electronic ticket is showed, the security system of check; The electronic ticket inspection machine receives the place restriction, can't connect the problem of electronic bill system.
Based on the said system framework and with said system and the same inventive concept of equipment; The embodiment of the invention six provides a kind of method of inspection of electronic data; This method is applied to comprise that at first the acquisition process to electronic data inventory (like the electronic ticket inventory) is elaborated in the system of portable terminal, electronic data management equipment (like the electronic ticket management equipment) and electronic data inspection machine (like the electronic ticket inspection machine).
As shown in Figure 7, be the acquisition process sketch map of a kind of electronic ticket inventory in the embodiment of the invention, the user can select initiatively to obtain the electronic ticket inventory from the electronic ticket management equipment, and therefrom selections needs the electronic ticket checked, and this process may further comprise the steps:
The request that step 1, portable terminal obtain the electronic ticket inventory to the initiation of electronic ticket management equipment comprises TERMID (being the sign of portable terminal) information in this request.
If being provided with, step 2 needs input PIN3, then electronic ticket management equipment prompting portable terminal input PIN3.
Step 3, user import PIN3.
Step 4, portable terminal are submitted PIN3 to the electronic ticket management equipment.
The correctness of step 5, electronic ticket management equipment checking PIN 3 is if the miscue user re-enters.
It should be noted that above-mentioned steps 2-step 5 is an optional step.
Step 6, electronic ticket management equipment are to portable terminal return electron ticket inventory; The ETPID (electronic ticket provides device numbering), the TSN (electronic ticket sequence number) that wherein comprise every electronic ticket reach the sign (sign of verification electronic ticket password) that whether need input PIN2; For example; Be designated 0 when needing input PIN2, be designated 1 in the time of need not importing PIN2.
When return electron ticket inventory, every electronic ticket is the pairing electronic ticket of TERMID.
Step 7, portable terminal are showed the electronic ticket inventory to the user, and the user need can therefrom select the electronic ticket of check.
As shown in Figure 8; Acquisition process sketch map for another kind of electronic ticket inventory in the embodiment of the invention; The user can be through obtaining the electronic ticket inventory with portable terminal and electronic ticket inspection machine alternately, and therefrom selection needs the electronic ticket of check, and this process may further comprise the steps:
Step 1, electronic ticket inspection machine provide ticket checking information to portable terminal, comprise DEVID (electronic ticket inspection machine sign) and ETPID (electronic ticket provides device numbering).
Step 2, portable terminal are carried out response (SW1SW2=0x9000) to this electronic ticket inspection machine return command.
The request that step 3, portable terminal obtain the electronic ticket inventory to the initiation of electronic ticket management equipment comprises TERMID, DEVID and ETPID information in this request.
If being provided with, step 4 needs input PIN3, then electronic ticket management equipment prompting portable terminal input PIN3.
Step 5, user import PIN3.
Step 6, portable terminal are submitted PIN3 to the electronic ticket management equipment.
The correctness of step 7, electronic ticket management equipment checking PIN 3 is if the miscue user re-enters.
It should be noted that above-mentioned steps 4-step 7 is an optional step.
Step 8, electronic ticket management equipment are to portable terminal return electron ticket inventory, and the ETPID, the TSN that wherein comprise every electronic ticket reach the sign that whether need import PIN2.For example, be designated 0 when needing input PIN2, be designated 1 in the time of need not importing PIN2.
When return electron ticket inventory, every electronic ticket is the pairing electronic ticket of TERMID, DEVID and ETPID.
Step 9, portable terminal are showed the electronic ticket inventory to the user, and the user need can therefrom select the electronic ticket of check.
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 invention six provides, may further comprise the steps:
Step 1, user selection on portable terminal needs the electronic ticket of check.
Step 2, electronic ticket inspection machine send Get Challenge instruction to portable terminal.
Step 3, portable terminal generate random number RA ND1.
Step 4, portable terminal return random number RA ND1 to the 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 of participating in MAC1 calculating comprise: ticket checking date, ticket checking time, DEVID, ETPID etc.), generate random number RA ND2;
Afterwards, the electronic ticket inspection machine sends the ticket checking initialization command to portable terminal, wherein comprises information such as ticket checking date, ticket checking time, DEVID, ETPID, MAC1 and RAND2.
Step 6, portable terminal utilize RAND1 to generate the session key SessionKey of ticket checking key, and utilize SessionKey to calculate MAC1, and the MAC1 that sends with the electronic ticket inspection machine compares, if both are inequality, flow process finishes; Then further judge the ETPID that the electronic ticket inspection machine sends and treat that the ETPID of ticket checking compares that if both are different, prompting treats that ticket checking is not inconsistent if both are identical, flow process finishes; Otherwise, execution in step 7.
Step 7, portable terminal utilize SessionKey to calculate MAC2 (data of participating in MAC2 calculating comprise: ticket checking date, ticket checking time, RAND2, TSN).
Step 8, portable terminal return initialization ticket checking result to the electronic ticket inspection machine, comprising TSN, MAC2.
Step 9, electronic ticket inspection machine utilize SessionKey to calculate MAC2, and compare with the MAC2 of portable terminal loopback, if both are inequality, and the prompting error message, flow process finishes.
Step 10, alternatively need be imported PIN2 if treat ticket checking, and then portable terminal prompting user imports PIN2.
Step 11, portable terminal are submitted the ticket checking request to the 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 verification failure, the prompting user re-enters PIN2, if the PIN2 verification is passed through, then flow process continues.
Step 13, electronic ticket management equipment are revised the electronic ticket state.For example, the electronic ticket status modifier is verification state.
Step 14, electronic ticket management equipment are returned the ticket checking result to portable terminal.
Step 15, portable terminal are revised the electronic ticket state.For example, the electronic ticket status modifier is verification state.
Step 16, electronic ticket inspection machine inquiry electronic ticket state.
Step 17, portable terminal return electron ticket state.Wherein, when electronic ticket state during for verification state, then the electronic ticket check results is for through verification, otherwise for not through verification.
In the practical application; In the process of electronic ticket inspection machine inquiry electronic ticket state, if portable terminal does not have return electron ticket state in the Preset Time, then the electronic ticket inspection machine can be inquired about the electronic ticket state once more; By that analogy, until inquire the electronic ticket state.Certainly, if repeatedly inquiry does not all have when successful, can confirm the inquiry failure, the electronic ticket check results is not for through verification.In addition, owing to need selected electronic ticket not downloaded to portable terminal, ticket checking is operating as portable terminal and accomplishes, ticket checking flow process safety, effective.
In sum, in the embodiment of the invention, to field of electronic ticket, the electronic ticket management equipment is sent the electronic ticket inventory and is given portable terminal, and portable terminal need not to preserve electronic ticket can directly obtain electronic ticket; And through portable terminal the electronic ticket relevant information is sent to the electronic ticket management equipment and carry out the electronic ticket verification, do not need electronic ticket inspection machine and electronic ticket management equipment to carry out alternately, promptly the electronic ticket inspection machine need not connect the electronic ticket management equipment; And the electronic ticket inspection machine only need accomplish the two-way authentication with portable terminal, and need selected electronic ticket do not downloaded to portable terminal, just can make portable terminal accomplish the ticket checking operation, ticket checking flow process safety, effectively.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (20)

1. the method for inspection of an electronic data is characterized in that, comprising:
Portable terminal sends the check request of electronic data to electronic data management equipment;
When said electronic data is upchecked, the state information of the said electronic data of said electronic data management renewal of the equipment, and the assay of sending said electronic data to said portable terminal;
Said portable terminal upgrades the state information of said electronic data according to the assay of said electronic data, and the state information after will upgrading sends to the electronic data inspection machine.
2. the method for claim 1 is characterized in that, said portable terminal also comprises to the check request that electronic data management equipment sends electronic data before:
Said portable terminal obtains the electronic data inventory from said electronic data management equipment, and the electronic data that selection need be carried out verification from said electronic data inventory; Perhaps,
Said portable terminal obtains the electronic data inventory according to the information of said electronic data inspection machine from said electronic data management equipment, and the electronic data that selection need be carried out verification from said electronic data inventory.
3. method as claimed in claim 2 is characterized in that, said portable terminal obtains the process of electronic data inventory from said electronic data management equipment, comprising:
Said portable terminal sends electronic data listings request, the sign of having carried said portable terminal in the said electronic data listings request to said electronic data management equipment;
Said electronic data management equipment is confirmed the electronic data inventory that said portable terminal is corresponding according to the sign of said portable terminal; And send said electronic data inventory to said portable terminal, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
4. method as claimed in claim 2 is characterized in that, said portable terminal obtains the process of electronic data inventory according to the information of said electronic data inspection machine from said electronic data management equipment, comprising:
Said electronic data inspection machine sends the information that electronic data inspection machine sign and electronic data provide device numbering of having carried to said portable terminal;
Said portable terminal sends the electronic data listings request to said electronic data management equipment, has carried the sign of said portable terminal, said electronic data inspection machine sign and said electronic data in the said electronic data listings request device numbering is provided;
Said electronic data management equipment provides device numbering to confirm that said portable terminal, electronic data inspection machine and electronic data provide equipment pairing electronic data inventory according to the sign of said portable terminal, said electronic data inspection machine sign, said electronic data; And send said electronic data inventory to said portable terminal, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
5. like each described method of claim 1-4, it is characterized in that the sign, electronic data inspection machine sign, the electronic data that carry portable terminal in the check request of said electronic data provide device numbering, electronic data sequence number; When needs input validation electronic data password, also carried verification electronic data password in the check request of said electronic data;
Said electronic data is upchecked, and also comprises before: the information of carrying in the check request of said electronic data management equipment according to said electronic data is tested to said electronic data.
6. like each described method of claim 1-4; It is characterized in that; The process of the state information of the said electronic data of said electronic data management renewal of the equipment comprises: said electronic data management equipment is verification state with the state information updating of said electronic data;
The process of the state information of the said electronic data of said mobile terminal to update comprises: said portable terminal is verification state with the state information updating of said electronic data.
7. the method for inspection of an electronic data is characterized in that, comprising:
The electronic data inspection machine sends the electronic data status query request to portable terminal;
The electronic data state information that said electronic data inspection machine receives the assay according to electronic data management equipment that said portable terminal returns after upgrading;
The electronic data state information of said electronic data inspection machine after according to said renewal carried out verification to said electronic data; And the state information after upgrading confirms that said electronic data is through verification during for verification state.
8. method as claimed in claim 7 is characterized in that, said electronic data inspection machine sends the electronic data status query request to portable terminal, also comprises before:
Said electronic data inspection machine sends the information that electronic data inspection machine sign and electronic data provide device numbering of having carried to said portable terminal; Obtain electronic data inventory according to the information of said electronic data inspection machine from said electronic data management equipment for said portable terminal, and the electronic data that selection need be carried out verification from said electronic data inventory.
9. the checking system of an electronic data is characterized in that, this system comprises:
Portable terminal; Be used for sending the check request of electronic data to electronic data management equipment; And reception is from the assay of the electronic data of said electronic data management equipment; Upgrade the state information of said electronic data according to the assay of said electronic data, and the state information after will upgrading sends to the electronic data inspection machine;
The electronic data inspection machine is used for according to the state information after upgrading said electronic data being carried out verification;
Electronic data management equipment is used for when said electronic data is upchecked, upgrading the state information of said electronic data, and sends the assay of said electronic data to said portable terminal.
10. a portable terminal is characterized in that, comprising:
First sending module, the check request that is used to send electronic data;
Receiver module is used for when said electronic data is upchecked, and receives the assay of electronic data;
Update module is used for upgrading according to the assay of said electronic data the state information of said electronic data;
Second sending module is used to send the state information after the renewal.
11. portable terminal as claimed in claim 10 is characterized in that, also comprises:
Acquisition module is used to obtain the electronic data inventory; Perhaps, obtain the electronic data inventory according to the information of electronic data inspection machine;
Select module, be used for to carry out the electronic data of verification from the selection of said electronic data inventory.
12. portable terminal as claimed in claim 11 is characterized in that,
Said acquisition module specifically is used to send the electronic data listings request, the sign of having carried said portable terminal in the said electronic data listings request; And receive the electronic data inventory, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
13. portable terminal as claimed in claim 11 is characterized in that,
Said acquisition module specifically is used to receive the information that electronic data inspection machine sign and electronic data provide device numbering of having carried; Send the electronic data listings request, carried the sign of said portable terminal, said electronic data inspection machine sign and said electronic data in the said electronic data listings request device numbering is provided; And receive the electronic data inventory, carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
14., it is characterized in that the sign, electronic data inspection machine sign, the electronic data that carry portable terminal in the check request of said electronic data provide device numbering, electronic data sequence number like each described portable terminal of claim 10-13; When needs input validation electronic data password, also carried verification electronic data password in the check request of said electronic data;
Said update module specifically is used for the state information updating of said electronic data is verification state.
15. an electronic data management equipment is characterized in that, comprising:
Receiver module is used to receive the check request of electronic data;
Update module is used for when said electronic data is upchecked, upgrading the state information of said electronic data;
Sending module, the assay that is used to send said electronic data.
16. electronic data management equipment as claimed in claim 15 is characterized in that, also comprises determination module;
Said receiver module also is used to receive the electronic data listings request, the sign of having carried portable terminal in the said electronic data listings request;
Said determination module is used for confirming the electronic data inventory that said portable terminal is corresponding according to the sign of said portable terminal;
Said sending module also is used to send said electronic data inventory, has carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
17. electronic data management equipment as claimed in claim 15 is characterized in that, also comprises determination module;
Said receiver module also is used to receive the electronic data listings request, has carried the sign of portable terminal, said electronic data inspection machine sign and said electronic data in the said electronic data listings request device numbering is provided;
Said determination module is used for the sign according to said portable terminal, said electronic data inspection machine sign, said electronic data provides device numbering to confirm that said portable terminal, electronic data inspection machine and electronic data provide equipment pairing electronic data inventory;
Said sending module also is used to send said electronic data inventory, has carried the sign that the corresponding electronic data of electronic data provides device numbering, electronic data sequence number and whether needs input validation electronic data password in the said electronic data inventory.
18. like each described electronic data management equipment of claim 15-17; It is characterized in that the sign, electronic data inspection machine sign, the electronic data that carry portable terminal in the check request of said electronic data provide device numbering, electronic data sequence number; When needs input validation electronic data password, also carried verification electronic data password in the check request of said electronic data; Said electronic data management equipment also comprises:
Inspection module is used for according to the information that the check request of said electronic data is carried said electronic data being tested;
Said update module specifically is used for the state information updating of said electronic data is verification state.
19. an electronic data inspection machine is characterized in that, comprising:
Sending module is used to send the electronic data status query request;
Receiver module is used to receive the electronic data state information after the assay of returning according to electronic data management equipment is upgraded;
The verification module is used for according to the electronic data state information after the said renewal said electronic data being carried out verification; And the state information after upgrading confirms that said electronic data is through verification during for verification state.
20. electronic data inspection machine as claimed in claim 19 is characterized in that,
Said sending module also is used to send the information that electronic data inspection machine sign and electronic data provide device numbering of having carried.
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 true CN102595402A (en) 2012-07-18
CN102595402B 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)

Cited By (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
CN108009794A (en) * 2017-12-15 2018-05-08 广州天宁信息技术有限公司 A kind of method and apparatus of electronics authority condition managing
CN111308972A (en) * 2020-02-19 2020-06-19 深圳市智物联网络有限公司 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

Cited By (6)

* 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
CN108009794A (en) * 2017-12-15 2018-05-08 广州天宁信息技术有限公司 A kind of method and apparatus of electronics authority condition managing
CN108009794B (en) * 2017-12-15 2021-04-02 广州天宁信息技术有限公司 Electronic credential state management method and device
CN111308972A (en) * 2020-02-19 2020-06-19 深圳市智物联网络有限公司 Data processing method, device and equipment
CN111308972B (en) * 2020-02-19 2021-09-24 深圳市智物联网络有限公司 Data processing method, device and equipment

Also Published As

Publication number Publication date
CN102595402B (en) 2014-12-31

Similar Documents

Publication Publication Date Title
US8850527B2 (en) Method of performing a secure application in an NFC device
CN103825734B (en) Sensitive operation verification method, terminal device, server and checking system
CN101699892B (en) Method and device for generating dynamic passwords and network system
WO2021082466A1 (en) Offline payment
CN202771476U (en) Security certification system
CN105376208B (en) Secure data verification method, system and computer readable storage medium
CN106415591B (en) Electronic equipment, system and method for NFC
CN105574629A (en) Image code-based electronic ticket checking method and system
CN107547573A (en) Authentication method, RSP terminals and management platform applied to eSIM
CN104038924A (en) Method and system for achieving resource exchange information processing
CN109992949A (en) A kind of equipment authentication method, air card-writing method and apparatus authentication device
CN107169726A (en) The method and apparatus that a kind of Quick Response Code work attendance is checked card
CN101841417A (en) Electronic signature device supporting short-distance wireless communication technology and method for ensuring safety of electronic transaction by applying same
CN106779673B (en) Electronic payment method and system
CN108647501A (en) Multiple utility program shares password unlocking method, device, equipment and storage medium
US20220158997A1 (en) End-to-End Product Authentication Technique
KR100973648B1 (en) Operating method of one time password security card using mobile telephone and mobile telephone and security server using the same
CN102595402A (en) Method, system and equipment for testing electronic data
CN109451483B (en) eSIM data processing method, equipment and readable storage medium
KR101812765B1 (en) Method and System for Providing Service by using Object mapped One Time Code
CN107707356A (en) A kind of mobile device secure binding method and application system based on Quick Response Code identification
CN108154362A (en) Method of commerce, apparatus and system based on figure bar code
JP4943488B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM FOR TRANSMITTING AND RECEIVING APPLICATIONS USING NEAR RANGE WIRELESS COMMUNICATION
CN103559430B (en) application account management method and device based on Android system
KR102207466B1 (en) Method of generating mobile tickets and system of verificating mobile tickets for preventing illegal tickets

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