CN101902513A - Mobile terminal and method thereof for realizing hot plug of UIM card - Google Patents

Mobile terminal and method thereof for realizing hot plug of UIM card Download PDF

Info

Publication number
CN101902513A
CN101902513A CN2010101892972A CN201010189297A CN101902513A CN 101902513 A CN101902513 A CN 101902513A CN 2010101892972 A CN2010101892972 A CN 2010101892972A CN 201010189297 A CN201010189297 A CN 201010189297A CN 101902513 A CN101902513 A CN 101902513A
Authority
CN
China
Prior art keywords
uim card
uim
baseband processor
state
current
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
CN2010101892972A
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom 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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN2010101892972A priority Critical patent/CN101902513A/en
Publication of CN101902513A publication Critical patent/CN101902513A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal. The mobile terminal comprises a baseband processor and a UIM card seat connected with the baseband processor, wherein the baseband processor comprises a GPIO interrupt pin, and the UIM card seat is arranged at the position of direct hot plug; the UIM card seat is also provided with a power supply pin connected with the GPIO interrupt pin of the baseband processor and used for detecting plug-in and plug-out actions of the UIM card and sending an interrupt signal to the baseband processor when detecting plug-in and plug-out actions of the UIM card; and the baseband processor is used for judging the current state of the UIM card when receiving the interrupt signal and performing corresponding treatment accordingly. In the method, the UIM card seat of the mobile terminal is arranged at the position where the card seat is not sheltered by a battery, and based on the structure, the method realizes the hot plug operation of the UIM card in a boot-up state; and when the UIM card is plugged out or plugged in, the interrupt signal is triggered to notify hardware and software of the mobile terminal of performing operations related to the plug-in and plug-out of the UIM card.

Description

The method of a kind of portable terminal and realization UIM card hot plug thereof
[technical field]
The present invention relates to the terminal technology field, relate in particular to the method for a kind of portable terminal and realization UIM card hot plug thereof.
[background technology]
Along with China Telecom opens the 3G Communications service, the kind of the cdma mobile terminal of releasing on the market and style are more and more, increasing mobile phone producer all participates in the middle of the competition of CDMA mobile phone, yet current do not have a CDMA mobile phone to be supported in plug UIM card under the open state on the market.This is because the UIM draw-in groove of currently marketed CDMA mobile phone all is arranged at below the battery of mobile phone, the battery if plug UIM card just must be chosen earlier, so could plug the UIM card after can only shutting down.Like this, just be necessary to propose a kind of portable terminal that can realize the UIM card hot plug,, enlarge operator and user both sides' interests to satisfy user's needs.
[summary of the invention]
The technical problem that the present invention will solve provides a kind of portable terminal, is implemented in the function of carrying out the plug of UIM card under the open state; Another technical problem that the present invention will solve provides a kind of method of the UIM of realization card hot plug, realizes that portable terminal can plug the UIM card under open state, and does not influence the normal operation of portable terminal.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is,
A kind of portable terminal comprises baseband processor and coupled UIM deck, and described baseband processor comprises the GPIO interrupt pin, and described UIM deck is arranged at the position that can directly plug;
Described UIM deck also comprises power pins, and this power pins is connected with the GPIO interrupt pin of described baseband processor, is used to survey the insertion/pull action of UIM card and sends interrupt signal to baseband processor when detecting;
Described baseband processor is used for when receiving described interrupt signal, judges the state of current UIM card and carries out respective handling in view of the above.
Wherein, also comprise the protective circuit that is used for controlling the mutation current that UIM card plug process produces, described GPIO interrupt pin is connected by this protective circuit with described power pins.
A kind of method that realizes the UIM card hot plug comprises:
The UIM deck is located at the position that can directly plug;
The insertion or the pull action of UIM deck real-time detection UIM card, and when detecting this action, send interrupt signal to baseband processor;
After described baseband processor receives described interrupt signal, judge the state of current UIM card and carry out respective handling in view of the above.
Said method also comprises: the power pins of UIM deck is connected a protective circuit, the maximum current that produces when limiting this pin voltage saltus step.
Wherein, the insertion of described UIM deck detection UIM card or the method for pull action are:
The power pins of described UIM deck is monitored the level of himself in real time, when detecting this level from high to low when saltus step or saltus step from low to high, judges that current UIM card takes place to insert or pull action.
Wherein, described baseband processor judges that the method for the state of current UIM card is:
After receiving interrupt signal, the level of the power pins of identification UIM deck, if high level, the state of then judging current UIM card is for extracting state; If low level, the state of then judging current UIM card is the insertion state.
Wherein, described baseband processor further comprises according to the process that the state of current UIM card carries out respective handling:
If the state of current UIM card, then unloads the UIM card for extracting state and drives, the UIM card application is entered resting state, and discharge shared system resource;
If the state of current UIM card is the insertion state, then the relevant hardware of UIM card is carried out initialization, apply for required system resource and initialization, activate the UIM card application
The present invention has following beneficial effect:
In the present invention, the UIM deck of portable terminal is located at the position of not blocked by battery, based on this structure, the present invention has realized carrying out UIM card plug operation under open state, when the UIM card is pulled out or inserts, can notify the hardware and software of portable terminal to carry out the relevant treatment operations that the UIM card inserts and extracts by triggering interrupt signal.In addition, but the present invention's real-time informing portable terminal UIM card insert and extract, reduced the fault-tolerant processing of systems soft ware in the action event of handling the UIM card, also reduced the misoperation of users potential risk that operation brings to system.
[description of drawings]
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Fig. 1 is the structural representation of portable terminal in the embodiment of the invention.
Fig. 2 is a method flow diagram of realizing the UIM card hot plug in the embodiment of the invention.
Fig. 3 is that portable terminal is realized the method flow diagram that the UIM card is extracted in the embodiment of the invention.
Fig. 4 is that portable terminal is realized the method flow diagram that the UIM card inserts in the embodiment of the invention.
[embodiment]
Core concept of the present invention is: on the one hand, the position of UIM deck can be arranged at portable terminal side (i.e. the position that can not covered by battery), on structural design, can stay next UIM deck position at side, like this, the battery of in plug UIM card, just needn't choosing earlier; On the other hand, increase the UIM card Plug Action measuring ability of UIM deck and the Interrupt Process function of baseband processor, like this, the UIM deck can be notified baseband processor in plug UIM card, and then baseband processor is carried out corresponding operating.
As shown in Figure 1, the portable terminal of realization UIM card hot plug comprises in the present embodiment: baseband processor, UIM deck, memory, protective circuit, other control circuits; And baseband processor comprises the GPIO interrupt pin.Wherein,
The UIM deck comprises power pins, and this power pins is connected with the GPIO interrupt pin of baseband processor, is used to survey the insertion/pull action of UIM card and sends interrupt signal to baseband processor when detecting;
Baseband processor is used for when receiving the interrupt signal of UIM deck, judges the state of current UIM card and carries out respective handling in view of the above;
Protective circuit is used for that the closed-loop adjustment by control circuit and comparison circuit limits excessive pulse current when the power pins generation voltage jump of UIM deck.
See also Fig. 2, realize in the present embodiment that the method for UIM card hot plug may further comprise the steps:
201, the UIM deck is located at the position that the edge of portable terminal or other can not covered by battery.
202, the insertion or the pull action of UIM deck real-time detection UIM card, and when detecting this action, send interrupt signal to baseband processor.
203, after described baseband processor receives the interrupt signal that the UIM deck sends, judge the state of current UIM card and enter corresponding handling process in view of the above.
Because when the UIM card is extracted, the power pins of UIM deck is unsettled, this moment, this power pins was a high level, and when the UIM card inserts, the power pins conducting of UIM deck, this moment, this power pins was a high level, so in said method, the power pins of UIM deck can be monitored the level of self in real time, according to level whether saltus step takes place and judges whether current UIM takes place to insert or pull action; And baseband processor is after receiving interrupt signal, also can judge that just the state of current UIM card is that the insertion state is still extracted state according to the level of the power pins of current UIM deck.
See also Fig. 3, this figure is depicted as and uses the process that portable terminal of the present invention realizes that the UIM card is extracted, and comprising:
301, from the UIM deck, extract the UIM card, trigger interrupt signal.
302, after baseband processor receives interrupt signal, the power pins that identifies the UIM card is a high level, then judge current UIM card for extracting state, the driving of startup UIM card is carried out the UIM card and is extracted flow processing, promptly unloads the driving of UIM card and discharges its shared resource.
303, upper layer application is carried out the UIM card and is extracted flow processing; This step further comprises: if current mobile terminal is not moved the application program of UIM card, then need make the UIM card application enter resting state, can not be activated by the user, and discharge the shared system resource of UIM card application; If current mobile terminal is being moved the application program of UIM card, then need close the thread that is associated with the UIM card that is moving, and extract to user prompt client UIM card, the processing operation when subsequent operation will not move the application program of UIM card according to above-mentioned current mobile terminal is carried out.
See also Fig. 4, this figure is depicted as and uses the process that portable terminal of the present invention realizes that the UIM card inserts, and comprising:
401, in the UIM deck, insert the UIM card, trigger interrupt signal;
402, after baseband processor receives interrupt signal, the power pins that identifies the UIM card is a low level, judge that then current UIM card is the insertion state, start UIM card driving carrying out UIM card and insert flow processing, promptly the UIM card drives the initialization hardware relevant with the UIM card and also applies for the required system resource of UIM card operate as normal.
403, upper layer application is carried out UIM card insertion flow processing; Be initialization and the needed system resource of UIM card related application, and activate the application program of UIM card.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.

Claims (7)

1. a portable terminal comprises baseband processor and coupled UIM deck, and described baseband processor comprises the GPIO interrupt pin, it is characterized in that described UIM deck is arranged at the position that can directly plug;
Described UIM deck also comprises power pins, and this power pins is connected with the GPIO interrupt pin of described baseband processor, is used to survey the insertion/pull action of UIM card and sends interrupt signal to baseband processor when detecting;
Described baseband processor is used for when receiving described interrupt signal, judges the state of current UIM card and carries out respective handling in view of the above.
2. according to claim 1, it is characterized in that also comprise the protective circuit that is used for controlling the mutation current that UIM card plug process produces, described GPIO interrupt pin is connected by this protective circuit with described power pins.
3. a method that realizes the UIM card hot plug is characterized in that, this method comprises:
The UIM deck is located at the position that can directly plug;
The insertion or the pull action of UIM deck real-time detection UIM card, and when detecting this action, send interrupt signal to baseband processor;
After described baseband processor receives described interrupt signal, judge the state of current UIM card and carry out respective handling in view of the above.
4. the method for realization according to claim 3 UIM card hot plug is characterized in that this method also comprises: the power pins of UIM deck is connected a protective circuit, the maximum current that produces when limiting this pin voltage saltus step.
5. according to the method for claim 3 or 4 described realization UIM card hot plugs, it is characterized in that described UIM deck is surveyed the insertion of UIM card or the method for pull action is:
The power pins of described UIM deck is monitored the level of himself in real time, when detecting this level from high to low when saltus step or saltus step from low to high, judges that current UIM card takes place to insert or pull action.
6. according to the method for claim 3 or 4 described realization UIM card hot plugs, it is characterized in that described baseband processor judges that the method for the state of current UIM card is:
After receiving interrupt signal, the level of the power pins of identification UIM deck, if high level, the state of then judging current UIM card is for extracting state; If low level, the state of then judging current UIM card is the insertion state.
7. according to the methods of claim 3 or 4 described realization UIM card hot plugs, it is characterized in that described baseband processor further comprises according to the process that the state of current UIM card carries out respective handling:
If the state of current UIM card, then unloads the UIM card for extracting state and drives, the UIM card application is entered resting state, and discharge shared system resource;
If the state of current UIM card is the insertion state, then the relevant hardware of UIM card is carried out initialization, apply for required system resource and initialization, activate the UIM card application.
CN2010101892972A 2010-06-01 2010-06-01 Mobile terminal and method thereof for realizing hot plug of UIM card Pending CN101902513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101892972A CN101902513A (en) 2010-06-01 2010-06-01 Mobile terminal and method thereof for realizing hot plug of UIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101892972A CN101902513A (en) 2010-06-01 2010-06-01 Mobile terminal and method thereof for realizing hot plug of UIM card

Publications (1)

Publication Number Publication Date
CN101902513A true CN101902513A (en) 2010-12-01

Family

ID=43227709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101892972A Pending CN101902513A (en) 2010-06-01 2010-06-01 Mobile terminal and method thereof for realizing hot plug of UIM card

Country Status (1)

Country Link
CN (1) CN101902513A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710827A (en) * 2012-06-11 2012-10-03 无锡力芯微电子股份有限公司 Method and mobile communication terminal for rapidly responding hot plug of SIM card
CN102866312A (en) * 2012-08-30 2013-01-09 东信和平科技股份有限公司 Intelligent card reader-writer power failure test capturing method based on current mutation and reader-writer
CN103094793A (en) * 2013-01-07 2013-05-08 华为终端有限公司 Smart card connecting circuit for electronic equipment and electronic equipment
CN103929675A (en) * 2014-03-28 2014-07-16 深圳市九洲电器有限公司 Communication implementation method of set top box and set top box
CN104270740A (en) * 2014-09-16 2015-01-07 广东欧珀移动通信有限公司 Slot-sharing T card and SIM card detection method
CN104661016A (en) * 2013-11-20 2015-05-27 扬智科技股份有限公司 Detecting method and electronic device
CN106229767A (en) * 2016-08-31 2016-12-14 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN106527607A (en) * 2016-10-12 2017-03-22 惠州Tcl移动通信有限公司 Configuration method and system of mobile terminal pin

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577561A (en) * 2008-12-17 2009-11-11 上海闻泰电子科技有限公司 Mobile terminal realizing hot plug of SIM card and SIM card hot plug method
CN101631160A (en) * 2009-07-30 2010-01-20 中兴通讯股份有限公司 SIM card slot, SIM card push-pull processing method and terminal thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577561A (en) * 2008-12-17 2009-11-11 上海闻泰电子科技有限公司 Mobile terminal realizing hot plug of SIM card and SIM card hot plug method
CN101631160A (en) * 2009-07-30 2010-01-20 中兴通讯股份有限公司 SIM card slot, SIM card push-pull processing method and terminal thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710827A (en) * 2012-06-11 2012-10-03 无锡力芯微电子股份有限公司 Method and mobile communication terminal for rapidly responding hot plug of SIM card
CN102866312A (en) * 2012-08-30 2013-01-09 东信和平科技股份有限公司 Intelligent card reader-writer power failure test capturing method based on current mutation and reader-writer
CN102866312B (en) * 2012-08-30 2014-08-20 东信和平科技股份有限公司 Intelligent card reader-writer power failure test capturing method based on current mutation and reader-writer
US9755373B2 (en) 2013-01-07 2017-09-05 Huawei Device Co., Ltd. Smart card connection circuit of electronic device and electronic device
CN103094793A (en) * 2013-01-07 2013-05-08 华为终端有限公司 Smart card connecting circuit for electronic equipment and electronic equipment
WO2014106444A1 (en) * 2013-01-07 2014-07-10 华为终端有限公司 Smart card connection circuit of electronic device and electronic device
CN103094793B (en) * 2013-01-07 2015-11-25 华为终端有限公司 The smart card connecting circuit of electronic equipment and electronic equipment
CN104661016A (en) * 2013-11-20 2015-05-27 扬智科技股份有限公司 Detecting method and electronic device
CN103929675A (en) * 2014-03-28 2014-07-16 深圳市九洲电器有限公司 Communication implementation method of set top box and set top box
CN104270740A (en) * 2014-09-16 2015-01-07 广东欧珀移动通信有限公司 Slot-sharing T card and SIM card detection method
CN104270740B (en) * 2014-09-16 2018-01-19 广东欧珀移动通信有限公司 A kind of detection method of neck T cards and SIM card altogether
CN106229767A (en) * 2016-08-31 2016-12-14 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN106229767B (en) * 2016-08-31 2018-09-04 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN106527607A (en) * 2016-10-12 2017-03-22 惠州Tcl移动通信有限公司 Configuration method and system of mobile terminal pin
CN106527607B (en) * 2016-10-12 2019-10-29 Tcl移动通信科技(宁波)有限公司 A kind of configuration method and system of mobile terminal pin

Similar Documents

Publication Publication Date Title
CN101902513A (en) Mobile terminal and method thereof for realizing hot plug of UIM card
US8127126B2 (en) Integrated power supply and network connection control device for cord set
CN102882267B (en) Power supply device, electronic equipment and power supply method
CN101631160A (en) SIM card slot, SIM card push-pull processing method and terminal thereof
CN107295166A (en) The startup method and mobile terminal of a kind of dual system mobile terminal
TW200603001A (en) Peripheral device feature allowing processors to enter a low power state
CN102299992A (en) Terminal as well as method and device for controlling same
CN101577561A (en) Mobile terminal realizing hot plug of SIM card and SIM card hot plug method
CN106610714A (en) Switch control circuit and method for terminal
WO2014106499A1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN105929922A (en) Electronic device
CN104536551A (en) Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
CN106484061A (en) Terminal resets control method, controller and system
CN104679347A (en) Method for solving failure of touch screen of mobile terminal and mobile terminal
CN102722389B (en) A kind of electronic equipment and its boot system
CN104850021B (en) A kind of power on/off system
CN101872232A (en) Controller, mainboard and computer
CN101977179A (en) Dual-network dual-system computer communication method
CN105204601B (en) A kind of system electrification automatic boot circuit and its starting-up method
CN102929737A (en) Method and system for automatically restarting wireless network card
CN104979892A (en) System and method for preventing OPS abnormal power failure of OPS-TV all-in-one machine
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
CN106228784A (en) A kind of radio remote control switch machine being applied to self-help terminal equipment
CN106249832B (en) Touch control all-in-one machine and power supply control method thereof
CN105491242B (en) Mobile communication terminal and control method and device thereof

Legal Events

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

Application publication date: 20101201