CN108495302A - SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing - Google Patents

SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108495302A
CN108495302A CN201810391392.7A CN201810391392A CN108495302A CN 108495302 A CN108495302 A CN 108495302A CN 201810391392 A CN201810391392 A CN 201810391392A CN 108495302 A CN108495302 A CN 108495302A
Authority
CN
China
Prior art keywords
sim card
initialization
accelerated method
initializes
terminal
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.)
Pending
Application number
CN201810391392.7A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810391392.7A priority Critical patent/CN108495302A/en
Publication of CN108495302A publication Critical patent/CN108495302A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of SIM cards to initialize accelerated method, includes the following steps:In SIM card power down, monitor whether that, there are the clearance order of SIM card cache information in terminal buffers area, the SIM card cache information includes the initialization files and chip identification code of SIM card;If in the presence of forbidding responding the clearance order;When electric on the sim card, the chip identification code for powering on SIM card is read, and judges whether the chip identification code for powering on SIM card and the chip identification code stored in terminal buffers area are consistent;If consistent, SI reporting M card initializations complete event.The invention also discloses a kind of mobile terminal and computer readable storage mediums.Present invention optimizes the initialization flows of SIM card, and then accelerate the initialization speed of SIM card.

Description

SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to a kind of SIM card optimization field more particularly to SIM card initialization accelerated method, mobile terminal and meters Calculation machine readable storage medium storing program for executing.
Background technology
SIM card (Subscriber Identification Module), also referred to as subscriber identification card, smart card, GSM digital mobile telephones must load onto this card and can use.Due to storing the letter of digital mobile phone client on chip The contents such as breath, encrypted key and the telephone directory of user, thus differentiated for GSM network client identity, and to client Voice messaging when call is encrypted.
When mobile terminal registers mobile network, need to use SIM card, and SIM card is inserted into as an independent individual and is moved Need to be identified after dynamic terminal namely SIM card after a power failure again insertable into mobile terminal when, restart mobile terminal, and then again Identification SIM card simultaneously carries out initialization operation to it, finally can just re-register mobile network.Usual mobile terminal can compare SIM card Start-up course is first completed, user ability normal use mobile network only after SIM card completes initialization thereby reduces user Usage experience.
Invention content
The main purpose of the present invention is to provide and a kind of SIM card initialization accelerated method, mobile terminal and computer can Read storage medium, it is intended to solve how to accelerate the technical issues of SIM card starts speed after SIM card power down.
To achieve the above object, the present invention provides a kind of SIM card initialization accelerated method, and the SIM card initialization accelerates Method includes the following steps:
In SIM card power down, monitor whether that there are the clearance order of SIM card cache information in terminal buffers area, the SIM Card cache information includes the initialization files and chip identification code of SIM card;
If in the presence of forbidding responding the clearance order;
When electric on the sim card, read the chip identification code for powering on SIM card, and judge to power on the chip identification code of SIM card with Whether the chip identification code stored in terminal buffers area is consistent;
If consistent, SI reporting M card initializations complete event.
Optionally, the SIM card initialization accelerated method further includes:
In SIM card power down, it is readable state that the readable mark position of SIM card cache information and default setting, which is arranged,.
Optionally, the SIM card initialization accelerated method further includes:
In SIM card power down, timing is carried out to SIM card power down;
Judge whether current SIM card power down duration is more than preset duration;
If so, being set as the readable mark position of SIM card cache information to forbid reading state.
Optionally, the SIM card initialization accelerated method further includes:
After SIM card power down, monitor whether that there are the reading instructions of SIM card cache information in terminal buffers area;
If in the presence of judging whether current readable mark position is readable state;
If so, allowing to respond the reading instruction, if it is not, then forbidding responding the reading instruction.
Optionally, the SIM card initialization accelerated method further includes:
When electric on the sim card, if power on SIM card chip identification code and terminal buffers area in the chip identification code that stores not Unanimously, then it is initialized according to the initialization flow of acquiescence to powering on SIM card.
Optionally, the SIM card initialization accelerated method further includes:
When electric on the sim card, if power on SIM card chip identification code and terminal buffers area in the chip identification code that stores not Unanimously, then the SIM card cache information in terminal buffers area is removed.
Optionally, the SIM card initialization accelerated method further includes:
When electric on the sim card, triggering powers on SIM card and carries out reset answer, so that SIM card reader receives SIM in terminal The communication information of card electrification reset.
Optionally, after the triggering powers on SIM card progress reset answer, the SIM card initialization accelerated method is also Including:
Matching powers on the selection of the protocol parameter between SIM card and terminal;
The communications protocol powered between SIM card and terminal is executed, and establishes data transmission channel between the two.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage Device, processor have stored in the SIM card initialization that can be run on the memory and on the processor and accelerate program, institute It states and realizes any one of them SIM card initialization as above acceleration side when SIM card initialization accelerates program to be executed by the processor The step of method.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers It is stored with SIM card initialization on readable storage medium storing program for executing and accelerates program, when the SIM card initialization accelerates program to be executed by processor The step of realizing any one of them SIM card initialization accelerated method as above.
In the present invention, in SIM card power down, monitor whether that the removing there are SIM card cache information in terminal buffers area refers to It enables, and if it exists, then forbid responding the clearance order, to retain initialization files and the chip knowledge when last SIM is powered on Other code.When electric on the sim card, the chip identification code for powering on SIM card is read, and judges to power on chip identification code and the end of SIM card Whether the chip identification code stored in the buffer area of end is consistent;If it is consistent, namely when the corresponding SIM card of cache information with currently power on When SIM card is the same card, then direct SI reporting M card initializations complete event, and initialization is re-started again due to avoiding, To save the initialization time of SIM card, the knowledge card for accelerating terminal searches net progress.
Description of the drawings
A kind of Fig. 1 hardware architecture diagrams of terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram that SIM card of the present invention initializes accelerated method first embodiment;
Fig. 4 is the schematic diagram of a scenario that SIM card of the present invention initializes one embodiment of accelerated method;
Fig. 5 is the schematic diagram of a scenario that SIM card of the present invention initializes another embodiment of accelerated method;
Fig. 6 is the flow diagram that SIM card of the present invention initializes accelerated method second embodiment;
Fig. 7 is the flow diagram that SIM card of the present invention initializes accelerated method 3rd embodiment;
Fig. 8 is the flow diagram that SIM card of the present invention initializes accelerated method fourth embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, in mobile terminal 100 shown in Fig. 1, processor 110 is for calling the SIM card stored in memory 109 Initialization accelerates program, to execute following operation:
In SIM card power down, monitor whether that there are the clearance order of SIM card cache information in terminal buffers area, the SIM Card cache information includes the initialization files and chip identification code of SIM card;
If in the presence of forbidding responding the clearance order;
When electric on the sim card, read the chip identification code for powering on SIM card, and judge to power on the chip identification code of SIM card with Whether the chip identification code stored in terminal buffers area is consistent;
If consistent, SI reporting M card initializations complete event.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
In SIM card power down, it is readable state that the readable mark position of SIM card cache information and default setting, which is arranged,.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
In SIM card power down, timing is carried out to SIM card power down;
Judge whether current SIM card power down duration is more than preset duration;
If so, being set as the readable mark position of SIM card cache information to forbid reading state.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
After SIM card power down, monitor whether that there are the reading instructions of SIM card cache information in terminal buffers area;
If in the presence of judging whether current readable mark position is readable state;
If so, allowing to respond the reading instruction, if it is not, then forbidding responding the reading instruction.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
When electric on the sim card, if power on SIM card chip identification code and terminal buffers area in the chip identification code that stores not Unanimously, then it is initialized according to the initialization flow of acquiescence to powering on SIM card.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
When electric on the sim card, if power on SIM card chip identification code and terminal buffers area in the chip identification code that stores not Unanimously, then the SIM card cache information in terminal buffers area is removed.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
When electric on the sim card, triggering powers on SIM card and carries out reset answer, so that SIM card reader receives SIM in terminal The communication information of card electrification reset.
Further, processor 110 is for calling the SIM card stored in memory 109 initialization that program is accelerated also to execute It operates below:
Matching powers on the selection of the protocol parameter between SIM card and terminal;
The communications protocol powered between SIM card and terminal is executed, and establishes data transmission channel between the two.
In addition, above-mentioned mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, preferably , power supply 111 can be logically contiguous by power-supply management system and processor 110, is managed to be realized by power-supply management system The functions such as reason charging, electric discharge and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned mobile terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, SIM card initialization accelerated method of the present invention is proposed Each embodiment.
It is the flow diagram that SIM card of the present invention initializes accelerated method first embodiment with reference to Fig. 3, Fig. 3.
In the present embodiment, the SIM card initialization accelerated method includes the following steps:
Step S110 monitors whether that the removing there are SIM card cache information in terminal buffers area refers in SIM card power down It enables, the SIM card cache information includes the initialization files and chip identification code of SIM card;
In general, the basic process of SIM card initialization is:Restart when mobile terminal-opening or after being inserted into SIM card, mobile terminal It is required for identification SIM card, first inquires chip identification code ICCID (the Integrate circuit card of SIM card Identity), corresponding application specific directory A DF (Application Dedicated File) and is further selected, then It reads in the EF files to mobile terminal caching under ADF, last SI reporting M card initializations complete event, to complete SIM card Entire initialization procedure.And after SIM card power down, mobile terminal can fall clearly the SIM card information in caching, and wait know card next time When, repeat the above process.
The case where usual SIM card power down, is broadly divided into three kinds:One is SIM card failure problems, namely fall card;It is a kind of It is that SIM card is pulled out, namely pulls out card;Another kind is mobile terminal shutdown.When any case occurs among these, mobile terminal The SIM card information in caching will be disposed, to ensure the data safety of SIM card account.
The process initialized by above-mentioned SIM card is it is found that there are nothing but following two realizations in the initialization speed for accelerating SIM card Mode:
Realization method one:Accelerate the execution speed of each operating procedure in initialization procedure;
Realization method two:Reduce the operating procedure in initialization procedure.
Obviously, the first realization method executes increasingly complex and difficult with respect to the first realization method, and not necessarily There is larger effect.Therefore, the present embodiment preferably promotes the initialization speed of SIM card by the second way.
It is not reduction truly it should be noted that in the present embodiment when accelerating SIM card to initialize speed Operating procedure in SIM card initialization procedure, but be directed to for the special applications scene of SIM card, namely for mobile whole End re-starts the initialization operation process of SIM card this special applications scene when knowing card next time.
In general, in mobile phone terminal, SIM card corresponds to phone number, and user usually can't frequently change the hand of oneself Same SIM card can be used for a long time in machine number namely mobile phone terminal, and therefore, almost SIM card each time initializes also substantially All it is corresponding same SIM card, therefore, as long as SIM card had carried out initialization, and remained the SIM card information of caching, Then mobile terminal, which subsequently knows card, can not do SIM card initialization, or only do a few SIM card initialization step, from And it can substantially accelerate the initialization speed of SIM card.
Step S120, and if it exists, then forbid responding the clearance order;
Considering for application scenarios is initialized based on above-mentioned SIM card, in the present embodiment, in SIM card power down, monitors whether to deposit The clearance order of SIM card cache information in terminal buffers area, if there is the clearance order for SIM card cache information, then Forbid responding the clearance order, to retain the SIM card information in caching, to avoid re-starting again when knowing card next time SIM card initialization operation.
In the present embodiment, clearance order specifically by mobile terminal itself initiate, for example, when mobile terminal for a long time not with When SIM is communicated, then SIM card cache information clearance order is automatically initiated.
In addition, the present embodiment is unlimited for forbidding the realization method for responding clearance order.For example, by directly removing being made to refer to It enables failure and forbids responding clearance order to realize, or do not execute clearance order by indirect control terminal buffers and forbid to realize Respond clearance order.
Step S130 when electric on the sim card, reads the chip identification code for powering on SIM card, and judges to power on the core of SIM card Whether piece identification code and the chip identification code stored in terminal buffers area are consistent;
Step S140, if unanimously, SI reporting M card initializations complete event.
In the present embodiment, the case where SIM card powers on, is broadly divided into two kinds:It is switched on again after shutting down one is mobile terminal;Separately Restart again after being inserted into SIM card one is mobile terminal shutdown.
In the present embodiment, when SIM card powers on, which had both been likely to be new SIM card, it is also possible to be old SIM (namely the SIM card used before power down) therefore powers on the chip identification code of SIM card to reading, then judges to power on SIM card again Chip identification code and the chip identification code that is stored in terminal buffers area it is whether consistent, namely judge currently whether power on SIM card For the SIM card used before power down.
If the chip identification code of SIM card compares consistent, illustrate that the current SIM card that powers on is exactly the SIM used before power down Block, under such application scenarios, the SIM card information retained in caching can be directly used, to reduce the operation in initialization procedure Step saves the initialization time of SIM card.Therefore, it can directly SI reporting M card initializations completion event namely SIM card be in Ready states.
Optionally, in one embodiment, when electric on the sim card, if powering on chip identification code and the terminal buffers area of SIM card The chip identification code of middle storage is inconsistent, then is initialized according to the initialization flow of acquiescence to powering on SIM card.Namely if The chip identification code comparison of SIM card is inconsistent, then illustrates currently to power on the SIM card that SIM card is new, under such application scenarios, need It to be initialized according to the initialization flow of acquiescence to powering on SIM card.Since the number that such application scenarios occur is especially few, Therefore, it sees on the whole, the present invention program is still to accelerating SIM card initialization to have larger effect.
Optionally, in another embodiment, when electric on the sim card, if powering on the chip identification code and terminal buffers of SIM card The chip identification code stored in area is inconsistent, then removes the SIM card cache information in terminal buffers area.
As shown in figure 4, in SIM card power down, retain SIM card cache information in terminal buffers area;As shown in figure 5, When identical SIM card powers on, the SIM card cache information in direct using terminal buffer area avoids carrying out identical SIM card again just Beginningization, to improve the initialization speed of SIM card.
In the present embodiment, in SIM card power down, monitor whether that there are the removings of SIM card cache information in terminal buffers area Instruction, and if it exists, then forbid responding the clearance order, to retain initialization files and chip when last SIM is powered on Identification code.When electric on the sim card, read the chip identification code for powering on SIM card, and judge to power on the chip identification code of SIM card with Whether the chip identification code stored in terminal buffers area is consistent;If it is consistent, namely when the corresponding SIM card of cache information with it is current on When electric SIM card is the same card, then direct SI reporting M card initializations complete event, are re-started again initially due to avoiding Change, to save the initialization time of SIM card, the knowledge card for accelerating terminal searches net progress.
It is the flow diagram that SIM card of the present invention initializes accelerated method second embodiment with reference to Fig. 6, Fig. 6.Based on above-mentioned First embodiment, the present embodiment and above-mentioned first embodiment difference lies in:
Step S210, in SIM card power down, it is readable that the readable mark position of SIM card cache information and default setting, which is arranged, State;
Step S220 carries out timing to SIM card power down;
Step S230 judges whether current SIM card power down duration is more than preset duration;
Step S240, if so, being set as the readable mark position of SIM card cache information to forbid reading state.
Based on above-mentioned first embodiment, in SIM card power down, if not removing the SIM card cache information in terminal buffers area, Then after SIM card power down, it is possible to SIM card account data be caused to reveal.
Therefore, in the present embodiment, in SIM card power down, whether setting one is readable for identifying SIM card cache information Readable mark position, and default setting is readable state, for example set the numerical value of readable mark position to True, namely in SIM card When because of failure power down, mobile terminal may be currently running related application and need SIM card data at this time, thus give tacit consent to permission terminal Using the SIM card cache information that can be read in buffer area to ensure being normally carried out for applied business.
However, unlimitedly allow terminal applies reading SIM card cache information be certainly it is unsafe, therefore, this implementation The state transition condition of readable mark position is further arranged in example, when meeting the state transition condition, by SIM card cache information Readable mark position is set as forbidding reading state, is read to avoid SIM card cache information and SIM card account data is caused to let out Dew.
It is more in view of terminal applies type of service and be difficult to accurately understand each practical use using reading SIM card cache information On the way, therefore, in the present embodiment, using power down time-out as state transition condition, specifically in SIM card power down, to SIM card power down into Row timing, and when SIM card power down duration is more than preset duration, the readable mark position of SIM card cache information is set as forbidding Reading state, for example set the numerical value of readable mark position to False.
It is the flow diagram that SIM card of the present invention initializes accelerated method 3rd embodiment with reference to Fig. 7, Fig. 7.Based on above-mentioned Second embodiment, the present embodiment and above-mentioned second embodiment difference lies in:
Step S310 monitors whether that the reading there are SIM card cache information in terminal buffers area refers to after SIM card power down It enables;
Step S320, and if it exists, then judge whether current readable mark position is readable state;
Step S330, if so, allowing to respond the reading instruction;
Step S340, if it is not, then forbidding responding the reading instruction.
Based on above-mentioned second embodiment, in SIM card power down, if not removing the SIM card cache information in terminal buffers area, Then after SIM card power down, the reading if there is SIM card cache information in terminal buffers area instructs, it is likely that causes SIM card Account data is revealed.
In the present embodiment, instruction is read specifically by mobile terminal based on interior business application request and by mobile terminal itself It initiates, for example, when in mobile terminal using needing using SIM card data, then into terminal, correlation module initiates SIM card caching Information reads instruction.
In the present embodiment, when monitoring that the reading of SIM card cache information instructs, first reads readable mark position and judge to work as Whether preceding readable mark position is readable state, if so, allowing to respond the reading instruction, does not otherwise allow to respond the reading Instruction, to avoid SIM card account data from revealing.
It is the flow diagram that SIM card of the present invention initializes accelerated method fourth embodiment with reference to Fig. 8, Fig. 8.Based on above-mentioned First embodiment, the present embodiment and above-mentioned first embodiment difference lies in:
Step S410, when electric on the sim card, triggering powers on SIM card and carries out reset answer, so that SIM card is read and write in terminal Device receives the communication information of SIM card electrification reset;
Step S420, matching power on the selection of the protocol parameter between SIM card and terminal;
Step S430 executes the communications protocol powered between SIM card and terminal, and it is logical to establish data transmission between the two Road.
In the present embodiment, when electric on the sim card, terminal triggering powers on SIM card and carries out reset answer ATR (Answer To Reset), power on SIM card and the related parameter information (such as communications parameter) of oneself is passed into SIM card reader automatically, so as to Making SIM card reader, correctly identification powers on SIM card and is operated accordingly to it.
It powers on SIM card and provides different configured transmission data, such as communications protocol and character etc. in the interface character of ATR Wait for the time.It, must be first before actually executing agreement if terminal needs to change one or more of these parameters parameter Execute protocol parameter selection PPS (Protocol Parameter Selection), and then terminal can go to change with it is certain Protocol parameter, as long as SIM card is agreed to.
Protocol parameter selection is carried out between SIM card and terminal powering on, to realize the matching of protocol parameter between the two Later, you can execute the communications protocol powered between SIM card and terminal, and then established between based on the communications protocol Data transmission channel, to be initialized to powering on SIM card.
The present invention also provides a kind of computer readable storage mediums.
It is stored with SIM card in the present embodiment, on computer readable storage medium and initializes and accelerates program, at the beginning of the SIM card Realizing the SIM card initialization accelerated method as described in any of the above-described embodiment when beginningization accelerates program to be executed by processor Step.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, it is every using equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, directly or indirectly Other related technical areas are used in, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of SIM card initializes accelerated method, which is characterized in that the SIM card initialization accelerated method includes the following steps:
In SIM card power down, monitor whether that, there are the clearance order of SIM card cache information in terminal buffers area, the SIM card is slow Deposit the initialization files and chip identification code that information includes SIM card;
If in the presence of forbidding responding the clearance order;
When electric on the sim card, the chip identification code for powering on SIM card is read, and judges to power on the chip identification code and terminal of SIM card Whether the chip identification code stored in buffer area is consistent;
If consistent, SI reporting M card initializations complete event.
2. SIM card as described in claim 1 initializes accelerated method, which is characterized in that the SIM card initializes accelerated method Further include:
In SIM card power down, it is readable state that the readable mark position of SIM card cache information and default setting, which is arranged,.
3. SIM card as claimed in claim 2 initializes accelerated method, which is characterized in that the SIM card initializes accelerated method Further include:
In SIM card power down, timing is carried out to SIM card power down;
Judge whether current SIM card power down duration is more than preset duration;
If so, being set as the readable mark position of SIM card cache information to forbid reading state.
4. SIM card as claimed in claim 2 or claim 3 initializes accelerated method, which is characterized in that the SIM card initialization accelerates Method further includes:
After SIM card power down, monitor whether that there are the reading instructions of SIM card cache information in terminal buffers area;
If in the presence of judging whether current readable mark position is readable state;
If so, allowing to respond the reading instruction, if it is not, then forbidding responding the reading instruction.
5. SIM card as described in claim 1 initializes accelerated method, which is characterized in that the SIM card initializes accelerated method Further include:
When electric on the sim card, if the chip identification code for powering on SIM card differs with the chip identification code stored in terminal buffers area It causes, is then initialized according to the initialization flow of acquiescence to powering on SIM card.
6. SIM card as claimed in claim 5 initializes accelerated method, which is characterized in that the SIM card initializes accelerated method Further include:
When electric on the sim card, if the chip identification code for powering on SIM card differs with the chip identification code stored in terminal buffers area It causes, then removes the SIM card cache information in terminal buffers area.
7. SIM card as described in claim 1 initializes accelerated method, which is characterized in that the SIM card initializes accelerated method Further include:
When electric on the sim card, triggering powers on SIM card and carries out reset answer, so that SIM card reader receives in SIM card in terminal The communication information of reset.
8. SIM card as claimed in claim 7 initializes accelerated method, which is characterized in that power on SIM card in the triggering and carry out After reset answer, the SIM card initialization accelerated method further includes:
Matching powers on the selection of the protocol parameter between SIM card and terminal;
The communications protocol powered between SIM card and terminal is executed, and establishes data transmission channel between the two.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes that memory, processor have stored in the storage On device and the SIM card initialization that can run on the processor accelerates program, SIM card initialization to accelerate program described The step of SIM card initialization accelerated method as described in any one of claim 1-8 is realized when processor executes.
10. a kind of computer readable storage medium, which is characterized in that be stored with SIM card on the computer readable storage medium Initialization accelerates program, the SIM card initialization to be realized such as any one of claim 1-8 when program being accelerated to be executed by processor The SIM card initializes the step of accelerated method.
CN201810391392.7A 2018-04-26 2018-04-26 SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing Pending CN108495302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810391392.7A CN108495302A (en) 2018-04-26 2018-04-26 SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810391392.7A CN108495302A (en) 2018-04-26 2018-04-26 SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108495302A true CN108495302A (en) 2018-09-04

Family

ID=63314284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810391392.7A Pending CN108495302A (en) 2018-04-26 2018-04-26 SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108495302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110233773A (en) * 2019-04-28 2019-09-13 深圳市元征科技股份有限公司 A kind of SIM card hot plug method, apparatus, terminal device and storage medium
CN117406845A (en) * 2023-12-11 2024-01-16 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium
US11985730B2 (en) 2018-10-15 2024-05-14 Huawei Technologies Co., Ltd. Terminal configuration method and apparatus

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784048A (en) * 2004-11-27 2006-06-07 Lg电子株式会社 Apparatus and method for initialization of mobile communication terminal
CN101247591A (en) * 2007-12-21 2008-08-20 嘉兴闻泰通讯科技有限公司 Dual-SIM dual-standby mobile phone and its SIM card initialization method
CN101789070A (en) * 2010-01-28 2010-07-28 华为终端有限公司 Intelligent card initialization method and terminal equipment
CN102082873A (en) * 2011-01-13 2011-06-01 中兴通讯股份有限公司 Starting method, mobile terminal and user identification card
WO2011091658A1 (en) * 2010-01-28 2011-08-04 中兴通讯股份有限公司 Terminal and method for binding sim card
CN104584603A (en) * 2012-08-24 2015-04-29 高通股份有限公司 Optimization of SIM card initialization
US20150234421A1 (en) * 2014-02-19 2015-08-20 Samsung Electronics Co., Ltd. Memory initializing method and electronic device supporting the same
CN105323373A (en) * 2014-08-01 2016-02-10 深圳市中兴微电子技术有限公司 Mobile terminal, and method and device for initializing subscriber identity module card of mobile terminal
CN107329912A (en) * 2017-07-04 2017-11-07 济南浪潮高新科技投资发展有限公司 A kind of power down process method of NAND FLASH arrays
CN107678798A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of SIM card fast initializing method, device and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784048A (en) * 2004-11-27 2006-06-07 Lg电子株式会社 Apparatus and method for initialization of mobile communication terminal
CN101247591A (en) * 2007-12-21 2008-08-20 嘉兴闻泰通讯科技有限公司 Dual-SIM dual-standby mobile phone and its SIM card initialization method
CN101789070A (en) * 2010-01-28 2010-07-28 华为终端有限公司 Intelligent card initialization method and terminal equipment
WO2011091658A1 (en) * 2010-01-28 2011-08-04 中兴通讯股份有限公司 Terminal and method for binding sim card
CN102082873A (en) * 2011-01-13 2011-06-01 中兴通讯股份有限公司 Starting method, mobile terminal and user identification card
CN104584603A (en) * 2012-08-24 2015-04-29 高通股份有限公司 Optimization of SIM card initialization
US20150234421A1 (en) * 2014-02-19 2015-08-20 Samsung Electronics Co., Ltd. Memory initializing method and electronic device supporting the same
CN105323373A (en) * 2014-08-01 2016-02-10 深圳市中兴微电子技术有限公司 Mobile terminal, and method and device for initializing subscriber identity module card of mobile terminal
CN107329912A (en) * 2017-07-04 2017-11-07 济南浪潮高新科技投资发展有限公司 A kind of power down process method of NAND FLASH arrays
CN107678798A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of SIM card fast initializing method, device and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11985730B2 (en) 2018-10-15 2024-05-14 Huawei Technologies Co., Ltd. Terminal configuration method and apparatus
CN110233773A (en) * 2019-04-28 2019-09-13 深圳市元征科技股份有限公司 A kind of SIM card hot plug method, apparatus, terminal device and storage medium
CN117406845A (en) * 2023-12-11 2024-01-16 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium
CN117406845B (en) * 2023-12-11 2024-05-03 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108737254A (en) Display control method, terminal and the computer storage media of application chat component
CN109151169A (en) Camera right management method, mobile terminal and computer readable storage medium
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN109453523A (en) A kind of game picture display processing method, terminal and computer readable storage medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN109327581A (en) A kind of downloading switching device and mobile terminal
CN108965602A (en) Application program display methods, mobile terminal and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108495302A (en) SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing
CN109005288A (en) Call processing method, double-sided screen terminal and computer readable storage medium
CN108776600A (en) Application program pretrigger method, mobile terminal and computer readable storage medium
CN110290269A (en) Display control method, mobile terminal and computer readable storage medium
CN110086925A (en) A kind of application processing method and mobile terminal
CN107678622B (en) Application icon display method, terminal and storage medium
CN108541046A (en) A kind of network selecting method, terminal and storage medium
CN108449806A (en) A kind of information processing method, terminal and readable storage medium storing program for executing
CN107911778A (en) A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN109947519A (en) Hardware-accelerated control method, terminal and computer readable storage medium
CN110187934A (en) Application control method, terminal and computer readable storage medium
CN110058890A (en) A kind of Android system starting method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904

RJ01 Rejection of invention patent application after publication