Embodiment
The embodiment of the invention provides user identifying card initializing method, user identifying card motion perception method and terminal, can reduce the resource consumption of system, improves the operational efficiency of system.
Below user identifying card initializing method provided by the invention, user identifying card motion perception method and terminal are described in detail.
Embodiment one, and a kind of initial method of Subscriber Identity Module, flow chart comprise as shown in Figure 1:
S1, the signal that the Subscriber Identity Module of receiving sensor feedback inserts;
In the present embodiment, described Subscriber Identity Module can be SIM card, UIM card or usim card etc.At the difference of applied environment, Subscriber Identity Module can also have the multiple form of expression; Described transducer can be mechanical type or photoinduction transducer, its role is to the Plug Action of perception SIM card.
S2 is to the user identifying card initializing of described insertion.
Receive after the insertion signal among the S1, begin the Subscriber Identity Module of this insertion is carried out initialization, initialization mode can be with reference to the conventional realization flow of the SIM card initialization of prior art, and concrete initialization mode is not construed as limiting the invention.
The embodiment of the invention one provides a kind of initial method of Subscriber Identity Module, the initialization under the situation that has realized Subscriber Identity Module heat is inserted.By the insert action of sensor senses SIM card, can reduce consumption greatly with respect to the insertion of polling mode perception SIM card of the prior art to system resource, improve the operational efficiency of system.
Embodiment two, and a kind of initial method of Subscriber Identity Module, flow chart comprise as shown in Figure 2:
A1, the signal that the Subscriber Identity Module of receiving sensor feedback inserts;
In the present embodiment, described Subscriber Identity Module can be SIM card, UIM card or usim card etc.At the difference of applied environment, Subscriber Identity Module can also have the multiple form of expression, be not construed as limiting the invention, and be the example explanation below with the SIM card.Insertion pull action or the insert action of the embodiment of the invention by the sensor senses SIM card with respect to the insertion of polling mode perception SIM card of the prior art or extract the consumption that can reduce greatly system resource, improves the operational efficiency of system.
In the embodiment of the invention, the feedback signal that the signal that Subscriber Identity Module inserts sends when being the insertion of sensor senses Subscriber Identity Module.Be understandable that can also take multiple conventional implementation for the mode of the insertion of perception Subscriber Identity Module, concrete mode is not construed as limiting the invention.
Described transducer can be mechanical type or photoinduction transducer, its role is to the Plug Action of perception SIM card; For example: adopt mechanical sensor, spring of design in the device that inserts SIM card, after SIM card was inserted draw-in groove, SIM card promoted shell fragment and produces the signal that the perception SIM card is inserted.This signal can be an interrupt signal, can the process of the embodiment of the invention preferentially be carried out so that portable terminal is ended current ongoing operation.
A2 is described Subscriber Identity Module power supply;
After the SIM card of receiving sensor feedback is inserted signal, then can power for SIM card., insertion by the perception Subscriber Identity Module in the present embodiment and the action of extracting are the Subscriber Identity Module power supply, make that also the hot plug of SIM card is more safe and reliable.The power supply of promptly opening the SIM card draw-in groove for SIM card power supply here is the SIM card power supply.
A3 is to the described user identifying card initializing that inserts.
Initialization mode can be with reference to the conventional realization flow of the SIM card initialization of prior art, and concrete initialization mode is not construed as limiting the invention.
A4, whether the described Subscriber Identity Module that judgement is inserted is consistent with the User Recognition card information that this organizational security is deposited, if inconsistent, then continues steps A 5, if unanimity, then process ends.
Concrete judgement can comprise: whether the described Subscriber Identity Module that judgement is inserted is consistent with international mobile subscriber identity (IMSI) sign indicating number of the SIM card that this organizational security is deposited, if inconsistent, then initiates to search net again.
A5 initiates to search net again.
Generally speaking, if the User Recognition card replacement, also, also need again the information on the reading SIM card in order to satisfy user's user demand, as: phone directory and short message etc.
The signal that inserts for the SIM card of steps A 1 feedback can be an interrupt signal, program module in the terminal is received this interrupt signal, then stops ongoing operation, turns to execution in step A2 and steps A 3, after treating that the SIM card initialization is finished, return described ongoing operation again and continue to carry out.
The embodiment of the invention two provides a kind of initial method of Subscriber Identity Module, the initialization under the situation that has realized Subscriber Identity Module heat is inserted.Insert action by the sensor senses SIM card, can reduce consumption greatly with respect to the insertion of polling mode perception SIM card of the prior art to system resource, the operational efficiency of raising system, and when identification card takes place to change, initiate to search net again, satisfied user's demand.
Embodiment three, a kind of method of user identifying card motion perception, and flow chart comprises as shown in Figure 3:
B1, the signal that the Subscriber Identity Module of receiving sensor feedback is extracted;
In the embodiment of the invention, described transducer can be mechanical type or photoinduction transducer, its role is to the Plug Action of perception Subscriber Identity Module.
B2, the business procedure relevant out of service with described Subscriber Identity Module.
After perceiving the signal that Subscriber Identity Module extracts, the business procedure relevant with this Subscriber Identity Module stopped.
The embodiment of the invention three, the initial method of Subscriber Identity Module and the method for action perception are provided, by the pull action of sensor senses Subscriber Identity Module, with respect to the consumption that can reduce greatly of extracting of polling mode perception Subscriber Identity Module of the prior art, improve the operational efficiency of system to system resource.
Be understandable that, after described step B1 receives the signal that the Subscriber Identity Module of sensor feedback extracts, present embodiment may further include: stop Subscriber Identity Module being powered, action of stopping power supply and step B2 do not have inevitable sequential relationship, because the foundation that transducer is stopped power supply to the perception conduct of SIM card action, therefore in order to reach better technique effect, the perceived accuracy of transducer is than higher.Be that Subscriber Identity Module has action slightly, then can be by sensor senses.Reaching in the process of hot plug, by control to the Subscriber Identity Module power supply, assurance when the Plug Action of machinery is arranged, the no power supply state of Subscriber Identity Module discrepancy, avoided the burning card of hot line job, burnt the situation of terminal interface, made that the plug of Subscriber Identity Module is more safe and reliable.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, described storage medium can be a read-only memory, disk or CD etc.
The portable terminal that the embodiment of the invention is provided is described below.
Embodiment four, a kind of portable terminal 400, and structural representation comprises as shown in Figure 4: transducer 410, user identifying card initializing module 420;
Whether described transducer 410 is used to detect Subscriber Identity Module and inserts; Insert if detect Subscriber Identity Module, then send the signal that described Subscriber Identity Module inserts to the user identifying card initializing module;
Described user identifying card initializing module 420 is used to receive the signal that the Subscriber Identity Module of described transducer 410 feedbacks inserts, and described Subscriber Identity Module is carried out initialization.
In the present embodiment, when Subscriber Identity Module inserts terminal, be positioned at the insert action of the sensor senses Subscriber Identity Module of terminal groove, the signal that inserts to user identifying card initializing module feedback user identification card then, initialization module is received the transducer inverse signal, then is the interior user identifying card initializing of draw-in groove of described insertion.The transducer here can be the transducer of mechanical type or photoinduction formula, and different transducers can be selected the installation site according to self characteristics, and concrete sensor type is not construed as limiting the invention.
Embodiment five, a kind of portable terminal 500, structural representation comprises as shown in Figure 4: transducer 510 and user identifying card initializing module 520, and described user identifying card initializing module 520 comprises: User Recognition card control units 521, supply module 522, initialization module 523;
Whether described transducer 510 is used to detect Subscriber Identity Module and inserts; Insert the signal that then sends the Subscriber Identity Module insertion if detect Subscriber Identity Module to User Recognition card control units 521;
Described User Recognition card control units 521, be used to receive the signal that the Subscriber Identity Module of described transducer 510 feedbacks inserts, notice supply module 522 is described Subscriber Identity Module power supply, and the user identifying card initializing of 523 pairs of described insertions of control user identifying card initializing module;
Described supply module 522, the notice that is used to receive User Recognition card control units 521 are the Subscriber Identity Module power supply;
Described initialization module 523 is used under the control of User Recognition card control units 521 Subscriber Identity Module being carried out initialization.
Below the terminal of embodiment five is carried out initialized process to Subscriber Identity Module and be described, at first transducer then sends the signal that Subscriber Identity Module inserts to the User Recognition card control units if detect the insertion of Subscriber Identity Module; This signal may be an interrupt signal, can make the CPU of system stop current this initialize routine of program running like this.
Described User Recognition card control units receives the signal that Subscriber Identity Module that described transducer returns inserts, and then notifying supply module is the Subscriber Identity Module power supply, start power supply after, then control initialization module and carry out initialization for Subscriber Identity Module to described insertion.
Embodiment six, a kind of portable terminal, structural representation comprises as shown in Figure 6: transducer 610 and user identifying card initializing module 620, and described user identifying card initializing module 620 comprises: User Recognition card control units 621, supply module 622, initialization module 623; Inspection unit 630;
Whether described transducer 610 is used to detect Subscriber Identity Module and inserts; Insert the signal that then sends the Subscriber Identity Module insertion if detect Subscriber Identity Module to User Recognition card control units 621;
Described User Recognition card control units 621 is used to receive the signal that the Subscriber Identity Module of described transducer 610 feedbacks inserts, and notice supply module 622 is powered for Subscriber Identity Module; And the user identifying card initializing of 623 pairs of described insertions of control user identifying card initializing module after the Subscriber Identity Module power supply;
Described supply module 622, the notice that is used to receive the User Recognition card control units are the Subscriber Identity Module power supply;
Described initialization module 623 is used under the control of User Recognition card control units Subscriber Identity Module being carried out initialization.
Described inspection unit 630, be used for after initialization module is to user identifying card initializing, whether the Subscriber Identity Module that check to insert and the User Recognition card information of preservation be consistent, if inconsistent, then initiation is searched net and read phone directory and short message on the Subscriber Identity Module again.
Be understandable that, in the present embodiment, also can not comprise inspection unit 630, whether consistent need not judged for the Subscriber Identity Module that inserts, and directly carries out initialization and gets final product, and read phone directory and the short message of storing on the Subscriber Identity Module again.
Be understandable that whether described transducer also is used to detect Subscriber Identity Module extracts, if extract the signal of then extracting to User Recognition card control units feedback user identification card;
Described User Recognition card control units 621 also is used for behind the signal that the Subscriber Identity Module of receiving described sensor feedback is extracted, and notifies described supply module 622 to stop the Subscriber Identity Module power supply; And the business procedure relevant of stopping running with Subscriber Identity Module.
Embodiment seven, and a kind of portable terminal, structural representation comprise as shown in Figure 7: transducer 710 and User Recognition card control units 720;
Described transducer 710 is used for the signal of extracting to the Subscriber Identity Module of User Recognition card control units 720 feedbacks;
Described User Recognition card control units 720 is used for behind the signal that the described Subscriber Identity Module of receiving described sensor feedback is extracted the business procedure relevant with Subscriber Identity Module out of service.
Be understandable that described User Recognition card control units 720 also is used for stopping Subscriber Identity Module being powered behind the signal that the described Subscriber Identity Module of receiving described sensor feedback is extracted.
Embodiment seven provides a kind of support User Recognition card mobile terminal, has realized the plug of mobile phone users identification card, and is few with respect to the prior art occupying system resources, and more safe and reliable.
More than user identifying card initializing method provided by the present invention, user identifying card motion perception method and terminal are described in detail, wherein:
In the embodiment of the invention, the method of the hot plug of Subscriber Identity Module is provided, insertion pull action or insert action by the sensor feedback Subscriber Identity Module, with respect to the insertion of polling mode perception Subscriber Identity Module of the prior art or extract the consumption that can reduce greatly to system resource, the operational efficiency of raising system, and when for the Subscriber Identity Module power supply, make that also the hot plug of Subscriber Identity Module is more safe and reliable by sensor senses.
And, in the process of hot plug, the embodiment of the invention is by the switching of the powering mode of supply module, guarantee when the Plug Action of machinery is arranged, the no power supply state of Subscriber Identity Module discrepancy, avoided the burning card of hot line job, burnt the situation of terminal interface, made that the plug of Subscriber Identity Module is more safe and reliable.
For one of ordinary skill in the art, according to the thought of the embodiment of the invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.