Authentication device and its application method, device
Technical field
The present invention relates to technical field of intelligent card more particularly to a kind of authentication devices and its application method, device.
Background technology
Mobile terminal is during booting, in order to log in mobile network, is required for authenticating with mobile network backstage
Operation.Whether GSM (Global System of Mobile communication, global system for mobile communications), CDMA
(Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution) etc. or following net
Network is required for such authentication process.Each network formats is required for storing some authentication parameters, these authentication parameters just store
In authenticating hardware, such as SIM (Subscriber Identity Module, subscriber identification module) cards.It is other some often
See that card further includes:M2M SIM cards, eUICC, MicroSD etc., wherein:M2M refers to the communication (Machine between device-to-device
To Machine), M2M SIM cards refer generally on the basis of existing smart card, by flat to card software and hardware and associated support
Platform is upgraded, to meet the needs of M2M industries.M2M SIM cards carry the coding resource and machine access nothing of operator
The identity of gauze network, while safe communication, storage service can also be provided, it can carry and handle various increments and answer
With.EUICC is the abbreviation of embedded UICC, and Chinese name is embedded UICC card, it is contemplated that the SIM card of broad sense include SIM,
The concept meaning of the UICC cards such as USIM, eUICC is equal to eSIM, i.e. embedded SIM card.MicroSD cards are a kind of superfine small
Flash memory cards are mainly used in mobile phone, but because its volume is small and the continuous promotion of storage volume, now
It is used in GPS device, portable music player, digital camera and some flash memory disks.
Simplify supply chains process, SoftSIM schemes gradually emerge due to optimizing industrial chain in the fields M2M.
SoftSIM refers to the hardware of no any substantive participation authentication, and all codes number are all the flash storages for writing on mobile terminal
The inside.That is, the authorization data of SIM is stored in the flash of mobile terminal, SIM card is similar to without being stored in
In special authentication hardware.
At present in mobile communication field, whether common SIM cards, M2M SIM cards, eUICC or MicroSD, as long as
The equipment for participating in authentication, all only there are one the code number activated, single equipment supports an active coding number, can be one with successful log
Network, that is, single device list wait for.If mobile terminal will support multi-code number activation (while online), be simultaneously in two networks
Online, then can only be realized by supporting multiple authentication hardware.For example, support multiple SIM cards, or support what front said to set
It is arbitrary a variety of in standby.Most common at present is exactly to support two common SIM cards.Mobile terminal just needs to support two in this way
SIM card slot.
But if supporting two SIM card slots, this is the increase in difficulty and space damage for mobile terminal manufacturer
Consumption.Therefore, the underlying cause is:One authentication hardware can only store the code number (authentication parameter) of an activation.Some hardware
There are one the codes number that multiple codes number can be stored, but activated simultaneously.For SoftSIM, also only there are one the codes activated at present
It number can be stored in inside the flash of mobile terminal.Namely:The flash of one mobile terminal also only stores a code number, Bu Nengjin
The authentication that row multi-code number activates simultaneously.
Invention content
An embodiment of the present invention provides a kind of authentication device and its application method, devices, with so that an authentication device
It can support multiple active codings number.
Authentication device in the embodiment of the present invention includes:
Power supply VCC;
Reset RST;
Clock CLK;
Ground terminal GND;
Data I/O (Input/Output, input and output) mouth;
USB (Universal Serial Bus, universal serial bus);
Chip, for storing the first yard number and second code number, code number used authentication parameter when being for logging in online.
In one embodiment, the authentication device is SIM card.
The application method of above-mentioned authentication device includes:
Mobile terminal selects the first escape way and the institute of GP (Global Platform, global platform) by the USB
State authentication device connection, and interaction data;
The mobile terminal selects the second escape way of GP to be connect with the authentication device by the USB, and interaction
Data;
The first yard number, second code number, code number used mirror when being for logging in online are stored in the authentication device
Weight parameter;
The mobile terminal selects the first escape way of GP to be connect with the authentication device by the USB, and uses
The first yard number into line activating authorizing procedure;
The mobile terminal selects the second escape way of GP to be connect with the authentication device by the USB, and uses
Second code number is into line activating authorizing procedure.
In one embodiment, the mobile terminal selects the first escape way of GP to be set with the authentication by the USB
Standby connection, and by the multithreading of the USB using the first yard number into line activating authorizing procedure;
The mobile terminal selects the second escape way of GP to be connect with the authentication device by the USB, and passes through
The multithreading of the USB uses second code number into line activating authorizing procedure.
The use device of above-mentioned authentication device includes:
First interactive module, for selecting the first escape way of GP and the authentication by the USB in mobile terminal
When equipment connects, interaction data;
Second interactive module, for the mobile terminal by the USB select GP the second escape way with it is described
When authentication device connects, interaction data;
The first yard number, second code number, code number used mirror when being for logging in online are stored in the authentication device
Weight parameter;
First interactive module be further used for the mobile terminal by the USB select GP the first escape way with
When authentication device connection, using the first yard number into line activating authorizing procedure;
Second interactive module be further used for the mobile terminal by the USB select GP the second escape way with
When authentication device connection, using second code number into line activating authorizing procedure.
In one embodiment, the first interactive module is further used for selecting GP's by the USB in the mobile terminal
When first escape way is connect with the authentication device, authenticated into line activating using the first yard number by the multithreading of the USB
Flow;
Second interactive module be further used for the mobile terminal by the USB select GP the second escape way with
When the authentication device connection, use second code number into line activating authorizing procedure by the multithreading of the USB.
In above-described embodiment, a kind of authentication device is provided firstly, includes USB on authentication device;With this configuration
Authentication device a so that authentication device supports multiple active codings number to be possibly realized.
Further, when using authentication device, mobile terminal can select the first safety of GP logical by USB respectively
Road, the second escape way are connect with authentication device, and interaction data.In this way, mobile terminal is from an authentication device energy
Enough while two sets of data of reading, carry out two sets of data interactions so that multiple active codings number is supported to be possibly realized.
Further, the first yard number, second code number are stored in authentication device;Mobile terminal selects the of GP by USB
One escape way is connect with authentication device, and using the first yard number into line activating authorizing procedure;Mobile terminal selects GP by USB
The second escape way connect with authentication device, and using second code number into line activating authorizing procedure.By this way so that one
A authentication device can support multiple active codings number.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.In the accompanying drawings:
Fig. 1 is SIM card structural schematic diagram in the embodiment of the present invention;
Fig. 2 is to authenticate implementation process diagram in the embodiment of the present invention.
Specific implementation mode
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the accompanying drawings to this hair
Bright embodiment is described in further details.Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
The authentication device of the embodiment of the present invention may include:Power supply VCC;Reset RST;Clock CLK;Ground terminal GND;Data
I/O mouthfuls;USB.
The authentication device of the embodiment of the present invention can be SIM card, can be applicable to be useful for authentication hardware and
Flash is stored, and is illustrated by taking SIM card as an example in the following examples, for example can is specifically standard 8PIN SIM cards.
It is the also most typically since the SIM card in the standard is most widely used at present by taking standard 8PIN SIM cards as an example in implementation, so
Here by taking standard 8PIN SIM cards as an example;But those skilled in the art are readily understood by, technical side provided in an embodiment of the present invention
Case is not limited in this kind of SIM card, but suitable for being useful for hardware and the flash storages of authentication, as long as being touched by USB
Point is connected by connecting line with mobile station equipment, and can using the equipment of code number into line activating authorizing procedure.Standard 8PIN
SIM card is only used for how introduction those skilled in the art specifically implement the present invention, but it is not intended that is only capable of using standard 8PIN SIM
Block, can be needed in conjunction with practice in implementation process to determine corresponding equipment.
By taking authentication device is SIM card as an example, Fig. 2 is SIM card structural schematic diagram, as shown in Fig. 2, may include in SIM card:
Power supply VCC;
Reset RST;
Clock CLK;
Ground terminal GND;
I/O mouthfuls of data;
USB。
A kind of application method of above-mentioned authentication device is additionally provided in the embodiment of the present invention, including:
Mobile terminal selects the first escape way of global platform GP to be connect with authentication device by USB, and interaction data;
Mobile terminal selects the second escape way of GP to be connect with authentication device by USB, and interaction data.
When it is implemented, being stored with the first yard number, second code number in authentication device, code number is for being made when logging in online
Authentication parameter;
Mobile terminal selects the first escape way of GP to be connect with authentication device by USB, and uses the first yard of number progress
Activate authorizing procedure;
Mobile terminal selects the second escape way of GP to be connect with authentication device by USB, and is carried out using second code number
Activate authorizing procedure.
When it is implemented, mobile terminal selects the first escape way of GP to be connect with authentication device by USB, and pass through
The multithreading of USB is using the first yard number into line activating authorizing procedure;
Mobile terminal selects the second escape way of GP to be connect with authentication device by USB, and is made by the multithreading of USB
With second code number into line activating authorizing procedure.
A kind of use device of above-mentioned authentication device is additionally provided in the embodiment of the present invention, including:
First interactive module, for selecting the first escape way of GP to be connect with authentication device by USB in mobile terminal
When, interaction data;
Second interactive module, for selecting the second escape way of GP to be connect with authentication device by USB in mobile terminal
When, interaction data.
When it is implemented, being stored with the first yard number, second code number in authentication device, code number is for being made when logging in online
Authentication parameter;
First interactive module is further used for selecting the first escape way and authentication device of GP by USB in mobile terminal
When connection, using the first yard number into line activating authorizing procedure;
Second interactive module is further used for selecting the second escape way and authentication device of GP by USB in mobile terminal
When connection, using second code number into line activating authorizing procedure.
When it is implemented, the first interactive module is further used for selecting the first safety of GP logical by USB in mobile terminal
When road is connect with authentication device, by the multithreading of USB using the first yard number into line activating authorizing procedure;
Second interactive module is further used for selecting the second escape way and authentication device of GP by USB in mobile terminal
When connection, use second code number into line activating authorizing procedure by the multithreading of USB.
Fig. 2 is authentication implementation process diagram, as shown in Fig. 2, may include steps of:
Step 201, authentication start;
Step 202, by the more escape ways of GP, respectively the first escape way execute step 203, in the second escape way
Execute step 204;
Step 203, mobile terminal select the first escape way of GP to be connect with authentication device, and pass through USB's by USB
Multithreading is using the first yard number into line activating authorizing procedure;
Step 204, mobile terminal select the second escape way of GP to be connect with authentication device, and pass through USB's by USB
Multithreading uses second code number into line activating authorizing procedure;
Step 205, authentication terminate.
When it is implemented, as can be seen from the above scheme, traditional authentication hardware passes through this I/O only there are one I/O mouthfuls
Mouthful, mobile terminal is authenticated and is communicated with authentication hardware.In scheme provided in an embodiment of the present invention, in an authentication device
In be stored with multiple codes number for authentication, such as a SIM card can store multiple codes number, and SIM as shown in Figure 1 is stored
The first yard number, the chip part (Chip with Subscription1and Subscription2) of second code number, in this hair
In the technical solution that bright embodiment provides, select more escape ways of GP, mobile terminal that can be separately connected and be encapsulated in by USB
Together one yard number, the chip part of second code number, it is more to realize by the multithreading of the more escape ways of the GP of single I/O and USB
Active coding function.The authorizing procedure respectively needed is realized using different codes number, so as to realize multiple activation numbers
Function.
The technical solution provided in an embodiment of the present invention it can be seen from the technical solution that above-described embodiment provides, Neng Gou
One authentication device supports more active codings number.Mobile terminal can be made to realize multi-code number in the case where not increasing exceptional space
Activation, at the same it is online.
By taking authentication device is SIM card as an example, if using the scheme for supporting two SIM card slots according to the prior art, this
It is the increase in difficulty and space loss for mobile terminal manufacturer.It is constantly thinning in mobile terminal, become smaller, stand-by time is elongated
Today can save the position of a SIM card, it is clear that this is right if using technical solution provided in an embodiment of the present invention
It is very good for mobile terminal manufacturer.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical solution and advantageous effect
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection domain of invention.