Authentication device and using method thereof, device
Technical field
The present invention relates to technical field of intelligent card, relate in particular to a kind of authentication device and using method thereof, device.
Background technology
Mobile terminal, in the process of start, in order to log in mobile network, all needs to carry out authentication operations with mobile network backstage.No matter be GSM(Global System of Mobile communication, global system for mobile communications), CDMA(CodeDivision Multiple Access, code division multiple access), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution) etc. or following network all needs such authentication process.Every kind of network formats all needs to store some authentication parameters, and these authentication parameters are just stored in authentication hardware, for example SIM(Subscriber Identity Module, subscriber identification module) card.Other some common cards also comprise: M2MSIM card, eUICC, MicroSD etc., wherein: M2M refers to the communication (Machine to Machine) between device-to-device, M2M SIM card refers generally on the basis of existing smart card, by card software and hardware and associated support platform are upgraded, to meet the demand of M2M industry.M2M SIM card is being carried the coding resource of operator, is also the identify label of machine access of radio network, can also provide safe communication, stores service simultaneously, can carry and process various valued added applications.EUICC is the abbreviation of embedded UICC, and Chinese name is embedded UICC card, considers that the SIM card of broad sense comprises the UICC such as SIM, USIM card, and the concept meaning of eUICC is equal to eSIM, i.e. embedded SIM card.MicroSD card is a kind of superfine little flash memory cards, be mainly used in mobile phone, but because its volume is small and the continuous lifting of storage volume, be used in now in GPS equipment, portable music player, digital camera and some flash memory dishes.
In M2M field, owing to optimizing industrial chain, simplify supply chains process, SoftSIM scheme emerging gradually.SoftSIM refers to the hardware without any the participation authentication of essence, and all codes number are all the flash storage the insides that writes on mobile terminal.That is to say, the authorization data of SIM is stored in the flash of mobile terminal, instead of is stored in the special authentication hardware that is similar to SIM card.
At present at moving communicating field, no matter be common SIM card, M2M SIM card, eUICC or MicroSD, as long as participating in the equipment of authentication, all only has the code number of an activation, single equipment is supported an active coding number, can successfully log in a network, and namely single tables of equipment is treated.If mobile terminal will support to activate for many yards numbers (simultaneously online), simultaneously online at two networks, so can only be by supporting multiple authentication hardware to realize.Such as, support multiple SIM card, or support multiple arbitrarily in the equipment said above.At present the most general is exactly to support two common SIM card.Mobile terminal just need to be supported two SIM card slots like this.
But if support two SIM card slots, this is to have increased difficulty and space loss to mobile terminal manufacturer.Therefore, the underlying cause is: an authentication hardware can only be stored the code number (authentication parameter) of an activation.Some hardware can be stored multiple codes number, but the code number simultaneously activating only has one.For SoftSIM, also only have the code number of an activation can be stored in the flash the inside of mobile terminal at present.Also: the flash of a mobile terminal also only stores a code number, can not carry out the authentication of activation simultaneously many yards numbers.
Summary of the invention
The embodiment of the present invention provides a kind of authentication device and using method thereof, device, in order to make an authentication device can support multiple active codings number.
Authentication device in the embodiment of the present invention comprises:
Power supply VCC;
Reset RST;
Clock CLK;
Earth terminal GND;
Data I/O(Input/Output, input and output) mouthful;
USB(Universal Serial Bus, USB).
In an embodiment, described authentication device is SIM card.
The using method of above-mentioned authentication device comprises:
Mobile terminal is selected GP(Global Platform, global platform by described USB) the first escape way be connected with described authentication device, and interaction data;
Described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, and interaction data.
In an embodiment, store the first yard number, second code number in described authentication device, code number is the authentication parameter using during for logging in online;
Described mobile terminal selects the first escape way of GP to be connected with described authentication device by described USB, and uses and activate authorizing procedure the first yard number;
Described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, and uses second code number to activate authorizing procedure.
In an embodiment, described mobile terminal selects the first escape way of GP to be connected with described authentication device by described USB, and is used and activated authorizing procedure the first yard number by the multithreading of described USB;
Described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, and uses second code number to activate authorizing procedure by the multithreading of described USB.
The operative installations of above-mentioned authentication device comprises:
The first interactive module, in the time that mobile terminal selects the first escape way of GP to be connected with described authentication device by described USB, interaction data;
The second interactive module, in the time that described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, interaction data.
In an embodiment, store the first yard number, second code number in described authentication device, code number is the authentication parameter using during for logging in online;
The first interactive module is further used for, in the time that described mobile terminal selects the first escape way of GP to be connected with described authentication device by described USB, using and activating authorizing procedure the first yard number;
The second interactive module is further used for, in the time that described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, using second code number to activate authorizing procedure.
In an embodiment, the first interactive module is further used for, in the time that described mobile terminal selects the first escape way of GP to be connected with described authentication device by described USB, being used and being activated authorizing procedure the first yard number by the multithreading of described USB;
The second interactive module is further used for, in the time that described mobile terminal selects the second escape way of GP to be connected with described authentication device by described USB, using second code number to activate authorizing procedure by the multithreading of described USB.
In above-described embodiment, first provide a kind of authentication device, on authentication device, comprised USB; By the authentication device of this structure, make an authentication device support multiple active codings number to become possibility.
Further, in the time using authentication device, mobile terminal can select the first escape way of GP, the second escape way to be connected with authentication device by USB respectively, and interaction data.By the method, mobile terminal can read two sets of data from an authentication device simultaneously, carries out two sets of data mutual, makes to support multiple active codings number to become possibility.
Further, in authentication device, store the first yard number, second code number; Mobile terminal selects the first escape way of GP to be connected with authentication device by USB, and uses and activate authorizing procedure the first yard number; Mobile terminal selects the second escape way of GP to be connected with authentication device by USB, and uses second code number to activate authorizing procedure.By which, make an authentication device can support multiple active codings number.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described 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, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.In the accompanying drawings:
Fig. 1 is SIM card structural representation in the embodiment of the present invention;
Fig. 2 is authentication implementing procedure schematic diagram in the embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing, the embodiment of the present invention is described in further details.At this, schematic description and description of the present invention is used for explaining the present invention, but not as a limitation of the invention.
The authentication device of the embodiment of the present invention can comprise: power supply VCC; Reset RST; Clock CLK; Earth terminal GND; Data I/O mouth; USB.
The authentication device of the embodiment of the present invention can be SIM card, can also be applicable to hardware and the flash storage of be useful on authentication, in the following examples, describes as an example of SIM card example, and concrete can be for example standard 8PIN SIM card.Because the SIM card in this standard is most widely used at present as an example of standard 8PIN SIM card example in force, also the most typical, so here taking standard 8PIN SIM card as example; But, those skilled in the art easily understand, the technical scheme that the embodiment of the present invention provides is not limited in this kind of SIM card, but be applicable to hardware and the flash storage of be useful on authentication, as long as connecting with mobile station equipment by connecting line by USB contact, and use code number to activate the equipment of authorizing procedure can.Standard 8PIN SIM card is only for instructing those skilled in the art specifically how to implement the present invention, but do not mean and only can use standard 8PIN SIM card, in implementation process, can need to carry out to determine corresponding equipment in conjunction with practice.
Take authentication device as example as SIM card, Fig. 2 is SIM card structural representation, as shown in Figure 2, in SIM card, can comprise:
Power supply VCC;
Reset RST;
Clock CLK;
Earth terminal GND;
Data I/O mouth;
USB。
The using method that a kind of above-mentioned authentication device is also provided in the embodiment of the present invention, comprising:
Mobile terminal selects the first escape way of global platform GP to be connected with authentication device by USB, and interaction data;
Mobile terminal selects the second escape way of GP to be connected with authentication device by USB, and interaction data.
When concrete enforcement, store the first yard number, second code number in authentication device, code number is the authentication parameter using during for logging in online;
Mobile terminal selects the first escape way of GP to be connected with authentication device by USB, and uses and activate authorizing procedure the first yard number;
Mobile terminal selects the second escape way of GP to be connected with authentication device by USB, and uses second code number to activate authorizing procedure.
When concrete enforcement, mobile terminal selects the first escape way of GP to be connected with authentication device by USB, and is used and activated authorizing procedure the first yard number by the multithreading of USB;
Mobile terminal selects the second escape way of GP to be connected with authentication device by USB, and uses second code number to activate authorizing procedure by the multithreading of USB.
The operative installations that a kind of above-mentioned authentication device is also provided in the embodiment of the present invention, comprising:
The first interactive module, in the time that mobile terminal selects the first escape way of GP to be connected with authentication device by USB, interaction data;
The second interactive module, in the time that mobile terminal selects the second escape way of GP to be connected with authentication device by USB, interaction data.
When concrete enforcement, store the first yard number, second code number in authentication device, code number is the authentication parameter using during for logging in online;
The first interactive module is further used for, in the time that mobile terminal selects the first escape way of GP to be connected with authentication device by USB, using and activating authorizing procedure the first yard number;
The second interactive module is further used in the time that mobile terminal selects the second escape way of GP to be connected with authentication device by USB, uses second code number to activate authorizing procedure.
When concrete enforcement, the first interactive module is further used in the time that mobile terminal selects the first escape way of GP to be connected with authentication device by USB, is used and is activated authorizing procedure the first yard number by the multithreading of USB;
The second interactive module is further used in the time that mobile terminal selects the second escape way of GP to be connected with authentication device by USB, uses second code number to activate authorizing procedure by the multithreading of USB.
Fig. 2 is authentication implementing procedure schematic diagram, as shown in Figure 2, can comprise the steps:
Step 201, authentication start;
Step 202, by the many escape ways of GP, respectively in the first escape way execution step 203, in the second escape way execution step 204;
Step 203, mobile terminal select the first escape way of GP to be connected with authentication device by USB, and are used and activated authorizing procedure the first yard number by the multithreading of USB;
Step 204, mobile terminal select the second escape way of GP to be connected with authentication device by USB, and use second code number to activate authorizing procedure by the multithreading of USB;
Step 205, authentication finish.
When concrete enforcement, as can be seen from the above scheme, traditional authentication hardware only has an I/O mouth, and by this I/O mouth, mobile terminal carries out authentication and communicates by letter with authentication hardware.In the scheme providing in the embodiment of the present invention, in an authentication device, store multiple codes number for authentication, for example a SIM card can be stored multiple codes number, SIM has as shown in Figure 1 stored the first yard number, the chip part (Chip with Subscription1and Subscription2) of second code number, in the technical scheme providing in the embodiment of the present invention, select many escape ways of GP by USB, mobile terminal can be distinguished together one yard number of connection encapsulation, the chip part of second code number, realize many active coding functions by the many escape ways of GP of single I/O and the multithreading of USB.Adopt different code number to realize the authorizing procedure needing separately, thereby can realize the function of multiple activation numbers.
The technical scheme being provided by above-described embodiment can be found out, the technical scheme that the embodiment of the present invention provides can be supported many active codings number at an authentication device.Can make mobile terminal in the situation that not increasing exceptional space, realize the activation of many yards numbers, simultaneously online.
Take authentication device as example as SIM card, if adopt the scheme of supporting two SIM card slots according to prior art, this is to have increased difficulty and space loss to mobile terminal manufacturer.In the continuous attenuation of mobile terminal, diminish, today that stand-by time is elongated, if the technical scheme that provides of the embodiment of the present invention is provided, just can save the position of a SIM card, obvious, this is very beneficial to mobile terminal manufacturer.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.