A kind of control method and mobile terminal
Technical field
The present invention relates to the terminal management technology in the communications field, more particularly to a kind of control method and mobile terminal.
Background technology
In current techniques, mobile terminal can be provided with least two ID cards, and each ID card
Data interaction etc. is carried out by corresponding modulation /demodulation module and processes operation.But, in the scene of this multiple ID cards,
The larger problem of power consumption may be related to, and user therefore can be affected using duration and the experience of mobile terminal.
Content of the invention
Present invention is primarily targeted at proposing a kind of control method and mobile terminal, it is intended to solve presence in prior art
The problems referred to above.
A kind of control method that the present invention is provided, at least provided with first user tag card in the mobile terminal;Described
Method includes:
The first user tag card is in running order;Wherein, the working condition is characterized
ID card carries out the state of data interaction with mobile communications network;
The state of the modulation /demodulation module corresponding to detection second user tag card, obtains state-detection result;Wherein, institute
State second user tag card different from the type of the first user tag card, the second user tag card is Virtual User mark
Know card;
The state-detection result based on the modulation /demodulation module corresponding to second user tag card, it is determined whether control
The corresponding modulation /demodulation module of the second user tag card enters park mode.
A kind of mobile terminal that the present invention is provided, at least provided with first user tag card in the mobile terminal;Described
Mobile terminal includes:
Detector unit, in running order for detecting the first user tag card;Wherein, the working condition table
Levy at least carries out the state of data interaction based on the first user tag card and mobile communications network;Detection second user mark
The state of the corresponding modulation /demodulation module of card, obtains state-detection result;Wherein, the second user tag card and described
The type of one ID card is different, and the second user tag card is virtual subscriber identity card;
Control unit, for the state-detection knot based on the modulation /demodulation module corresponding to second user tag card
Really, it is determined whether the corresponding modulation /demodulation module of the control second user tag card enters park mode.
A kind of control method proposed by the present invention and mobile terminal so that be provided with least two users in the terminal
During tag card, based on the data transmission parameters of ID card, the modulation /demodulation for controlling second user tag card is determined whether
Module enters park mode.So, it becomes possible in the case where not affecting mobile terminal to carry out communication capacity, reduce as far as possible due to
The power consumption problem brought by the corresponding modulation /demodulation module of multiple ID cards is opened, during the use of lifting mobile terminal
Long.
Description of the drawings
Fig. 1 is the hardware architecture diagram of the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3-1 is embodiment of the present invention control method schematic flow sheet;
Fig. 3-2 is that embodiment of the present invention mobile terminal hardware constitutes structural representation;
Fig. 4 is that embodiment of the present invention mobile terminal constitutes structural representation.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only in order to explain the present invention.
Referring now to the mobile terminal that Description of Drawings realizes each embodiment of the invention.In follow-up description, use
For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself
Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include that wireless communication unit 110, user input unit 130, sensing unit 140, output are single
Unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 is shown with various assemblies
Mobile terminal, it should be understood that being not required for implementing all components for illustrating.Alternatively can implement more or less
Component.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one of wireless Internet module 113.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice
Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape
State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input), the mobile terminal of mobile terminal 1 00
100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for being used for device of the connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..
Display unit 151 in output unit may be displayed on the information processed in mobile terminal 1 00.For example, work as movement
Terminal 100 be in telephone calling model when, display unit 151 can show with converse or other communicate (for example, text message receipts
Send out, multimedia file is downloaded etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in
When video calling pattern or image capture mode, display unit 151 can show the image of capture and/or the image of reception,
UI or GUI of video or image and correlation function etc. are shown.
Meanwhile, when the display unit 151 and touch pad touch screen with formation superposed on one another as a layer, display unit
151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment that wants, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touch
Input pressure and touch input position and touch input area.
Memorizer 160 can store software program for the process and control operation executed by controller 180 etc., Huo Zheke
Temporarily to store the data for having exported or will having exported (for example, telephone directory, message, still image, video etc.).And
And, memorizer 160 can be storing the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen
Data.
Memorizer 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memorizer (for example, SD or DX memorizeies etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memorizer with by network connection
The network storage device cooperation of 160 store function.
The overall operation of 180 usual control mobile terminal of controller.For example, controller 180 is executed and voice call, data
The related control of communication, video calling etc. and process.In addition, controller 180 can include (or playback) many matchmakers for reproducing
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or it is so structured that and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for executing on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to execute function described herein
At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment.
For software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation
Software module is implementing.Software code can be come by the software application (or program) that is write with any appropriate programming language
Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any
Line and wireless communication system and satellite-based communication system are operating.
Referring now to the communication system that Fig. 2 descriptions are wherein operable to according to the mobile terminal of the present invention.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any one in some known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.?
In Fig. 2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains useful positioning letter
Breath.
Based on above-mentioned mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
Embodiment one,
Embodiments provide a kind of control method, be applied to mobile terminal, in the mobile terminal at least provided with
There is first user tag card;As shown in figure 3-1, including:
Step 301:The first user tag card is in running order;Wherein, the working condition is characterized and is at least based on
The first user tag card carries out the state of data interaction with mobile communications network;
Step 302:The state of the modulation /demodulation module corresponding to detection second user tag card, obtains state-detection knot
Really;Wherein, the second user tag card is different from the type of the first user tag card, and the second user tag card is
Virtual subscriber identity card;
Step 303:Based on the state-detection result of the modulation /demodulation module corresponding to second user tag card, determine
Whether control the corresponding modulation /demodulation module of the second user tag card and enter park mode.
Wherein, the state-detection result at least includes the corresponding modulatedemodulate mode transfer of the sign second user tag card
There is the first state of data transfer in block and the corresponding modulation /demodulation module of the sign second user tag card does not have number
The second state according to transmission.
Here, the mobile terminal can be mobile terminal, the Yi Jineng that can be at least provided with two ID cards
Enough terminals communicated with mobile communications network.Such as, can be smart mobile phone.
Wherein, the ID card can be SIM.
Further, two ID cards can be for same communication network, or for dissimilar
Communication network.Usual two SIMs be directed to for different types of communication network, such as, can be mobile network and connection
Open network both, specifically, have been directed to the network of different communication standards, mobile network can be to having GSM, LTE etc.
Communication standard, UNICOM's network can then correspond to the network of the communication standards such as CDMA, LTE.
Each ID card corresponds to a modulation /demodulation module respectively.Each modem module is used for into line number
According to reception, demodulation, modulation etc. process.It should be noted that when different communication networks are accessed, be modulated and
The processing mode of demodulation is different, and therefore, each SIM needs a corresponding modem module to carry out communication data
Reception and transmission.
It is further noted that above-mentioned two ID card is different types of ID card, especially, its
Middle second user tag card is virtual subscriber identity card;Namely club, first user tag card (SIM) is the use of an entity
Family card, can assign with corresponding draw-in groove, and virtual SIM card is to be fictionalized by software and SIM identical function, than
Such as, can be that SIM function is set up to realize the modes such as virtual SIM card function by software based on card information, in the present embodiment
Exhaustion is not carried out.
In above-mentioned steps 301, in two ID cards, first user tag card is in running order, that is, be in
Mobile communications network carries out the state of data interaction;Specifically, can be that first user tag card is in and mobile radio communication
Network carries out the state of data interaction, and now second user tag card may be at working condition and can also be in idle shape
State.
In above-mentioned steps 302, the state of the modulation /demodulation module corresponding to the detection second user tag card obtains shape
State testing result, including:
Detect and whether there is between the modulation /demodulation module corresponding to the second user tag card and application processing module
Data transfer, to obtain state-detection result.
Specifically, detect modulation /demodulation module corresponding to the second user tag card and application processing module it
Between whether there is data transfer, to obtain state-detection result, including:
When there is number between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During according to transmitting, determine that the modulation /demodulation module corresponding to the second user tag card is in data transmission state;
When not existing between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During data transfer, determine that the modulation /demodulation module corresponding to the second user tag card is in non-data transmission state.
Detect between the corresponding modulation /demodulation module of the second user tag card and application processing module with the presence or absence of number
Fig. 3-2 be may refer to according to the mode of transmission, it can be seen that the modulation /demodulation module of second user tag card (SIM 2) in figure
There is the interface channel of data interaction between (MODEM 2) and application processor (AP), as long as detect in passage whether there is
Data transfer.
Or, further, by Fig. 3-2 it can be seen that Modem2 at least possesses an interface, direct detection towards AP
Whether there is data transfer in the interface, it becomes possible to determine modulation /demodulation module with the presence or absence of the number between application processing module
According to interaction.
Accordingly, the state-detection result of the modulation /demodulation module based on corresponding to second user tag card,
Determine whether that controlling the corresponding modulation /demodulation module of the second user tag card enters park mode, including:When described second
The state-detection result of the modulation /demodulation module corresponding to ID card be in non-data transmission state when, determine control
Make the corresponding modulation /demodulation module of the second user tag card and enter park mode.That is, once it is determined that second user
When the corresponding modulation /demodulation module of designation card is in non-data transmission state, modulation /demodulation module is set to dormancy mould by just control
Formula.
The technical scheme that the present embodiment is provided, the state according to SIM 2 are judged that SIM 2 is virtual card;Work as SIM
When card 2 is VSIM cards, between detecting modem2 and AP, whether there is data transfer, if there are then holding transmitting state not dormancy, if
No, then notify hardware abstraction layer drive, call serial ports itself support power down patterns, make clock dormancy so as to
Serial ports dormancy is made, and further makes modem2 dormancy.
It can be seen that, by adopting such scheme, it becomes possible to so that being provided with least two ID cards in the terminal
When, based on the data transmission parameters of ID card, determine whether that the modulation /demodulation module for controlling second user tag card is entered
Enter park mode.So, it becomes possible in the case where not affecting mobile terminal to carry out communication capacity, reduce as far as possible many due to opening
The power consumption problem brought by the corresponding modulation /demodulation module of individual ID card, lifts the use duration of mobile terminal.
Embodiment two,
Embodiments provide a kind of control method, be applied to mobile terminal, in the mobile terminal at least provided with
There is first user tag card;As shown in figure 3-1, including:
Step 301:The first user tag card is in running order;Wherein, the working condition is characterized and is at least based on
The first user tag card carries out the state of data interaction with mobile communications network;
Step 302:The state of the modulation /demodulation module corresponding to detection second user tag card, obtains state-detection knot
Really;Wherein, the second user tag card is different from the type of the first user tag card, and the second user tag card is
Virtual subscriber identity card;
Step 303:Based on the state-detection result of the modulation /demodulation module corresponding to second user tag card, determine
Whether control the corresponding modulation /demodulation module of the second user tag card and enter park mode.
Wherein, the state-detection result at least includes the corresponding modulatedemodulate mode transfer of the sign second user tag card
There is the first state of data transfer in block and the corresponding modulation /demodulation module of the sign second user tag card does not have number
The second state according to transmission.
Here, the mobile terminal can be mobile terminal, the Yi Jineng that can be at least provided with two ID cards
Enough terminals communicated with mobile communications network.Such as, can be smart mobile phone.
Wherein, the ID card can be SIM.
Further, two ID cards can be for same communication network, or for dissimilar
Communication network.Usual two SIMs be directed to for different types of communication network, such as, can be mobile network and connection
Open network both, specifically, have been directed to the network of different communication standards, mobile network can be to having GSM, LTE etc.
Communication standard, UNICOM's network can then correspond to the network of the communication standards such as CDMA, LTE.
Each ID card corresponds to a modulation /demodulation module respectively.Each modem module is used for into line number
According to reception, demodulation, modulation etc. process.It should be noted that when different communication networks are accessed, be modulated and
The processing mode of demodulation is different, and therefore, each SIM needs a corresponding modem module to carry out communication data
Reception and transmission.
It is further noted that above-mentioned two ID card is different types of ID card, especially, its
Middle second user tag card is virtual subscriber identity card;Namely club, first user tag card (SIM) is the use of an entity
Family card, can assign with corresponding draw-in groove, and virtual SIM card is to be fictionalized by software and SIM identical function, than
Such as, can be that SIM function is set up to realize the modes such as virtual SIM card function by software based on card information, in the present embodiment
Exhaustion is not carried out.
In above-mentioned steps 301, in two ID cards, first user tag card is in running order, that is, be in
Mobile communications network carries out the state of data interaction;Specifically, can be that first user tag card is in and mobile radio communication
Network carries out the state of data interaction, and now second user tag card may be at working condition and can also be in idle shape
State.
In above-mentioned steps 302, the state of the modulation /demodulation module corresponding to the detection second user tag card obtains shape
State testing result, including:
Detect and whether there is between the modulation /demodulation module corresponding to the second user tag card and application processing module
Data transfer, to obtain state-detection result.
Specifically, detect modulation /demodulation module corresponding to the second user tag card and application processing module it
Between whether there is data transfer, to obtain state-detection result, including:
When there is number between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During according to transmitting, determine that the modulation /demodulation module corresponding to the second user tag card is in data transmission state;
When not existing between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During data transfer, determine that the modulation /demodulation module corresponding to the second user tag card is in non-data transmission state.
Detect between the corresponding modulation /demodulation module of the second user tag card and application processing module with the presence or absence of number
Fig. 3-2 be may refer to according to the mode of transmission, it can be seen that the modulation /demodulation module of second user tag card (SIM 2) in figure
There is the interface channel of data interaction between (MODEM 2) and application processor (AP), as long as detect in passage whether there is
Data transfer.
Or, further, by Fig. 3-2 it can be seen that Modem2 at least possesses an interface, direct detection towards AP
Whether there is data transfer in the interface, it becomes possible to determine modulation /demodulation module with the presence or absence of the number between application processing module
According to interaction.
It is with one difference of embodiment, the present embodiment comes really further combined with the duration in there is no data transfer
Determine state-detection result and non-data transmission state is in for second user identification card, specifically:
When not existing between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During data transfer, detect that the modulation /demodulation module corresponding to the second user tag card does not have the duration of data transfer;When
The duration exceedes predetermined threshold value, it is determined that the state-detection result is in non-data transmission state.
Wherein, the duration can be configured according to practical situation, got modulation /demodulation module and processed mould with application
There is no the duration of data transfer between block, can be determined based on detection cycle, the duration of each detection cycle can be with root
Arrange according to practical situation, such as, could be arranged to 1s;In addition, predetermined threshold value can also be arranged according to practical situation, than
Such as, 5S could be arranged to.
That is, by least one detection cycle result that obtains of detection, be calculated duration, such as, when depositing
There is no data transfer in three cycle detections between two modules, then determine that do not exist data transfer when a length of
3S.
Accordingly, the state-detection result of the modulation /demodulation module based on corresponding to second user tag card,
Determine whether that controlling the corresponding modulation /demodulation module of the second user tag card enters park mode, including:When described second
The state-detection result of the modulation /demodulation module corresponding to ID card be in non-data transmission state when, determine control
Make the corresponding modulation /demodulation module of the second user tag card and enter park mode.That is, once it is determined that second user
When the corresponding modulation /demodulation module of designation card is in non-data transmission state, modulation /demodulation module is set to dormancy mould by just control
Formula.
The technical scheme that the present embodiment is provided, the state according to SIM 2 are judged that SIM 2 is virtual card;Work as SIM
When card 2 is VSIM cards, between detecting modem2 and AP, whether there is data transfer, if there are then holding transmitting state not dormancy, if
No, then notify hardware abstraction layer drive, call serial ports itself support power down patterns, make clock dormancy so as to
Serial ports dormancy is made, and further makes modem2 dormancy.(can be with certain frequency, the such as timer of 5s during detecting data).
It can be seen that, by adopting such scheme, it becomes possible to so that being provided with least two ID cards in the terminal
When, based on the data transmission parameters of ID card, determine whether that the modulation /demodulation module for controlling second user tag card is entered
Enter park mode.So, it becomes possible in the case where not affecting mobile terminal to carry out communication capacity, reduce as far as possible many due to opening
The power consumption problem brought by the corresponding modulation /demodulation module of individual ID card, lifts the use duration of mobile terminal.
Embodiment three,
A kind of mobile terminal is embodiments provided, is identified at least provided with first user in the mobile terminal
Card;As shown in figure 4, including:
Detector unit 41, in running order for detecting the first user tag card;Wherein, the working condition
Characterize at least carries out the state of data interaction based on the first user tag card and mobile communications network;Detection second user mark
Know the state of the corresponding modulation /demodulation module of card, obtain state-detection result;Wherein, the second user tag card with described
The type of first user tag card is different, and the second user tag card is virtual subscriber identity card;
Control unit 42, for the state-detection knot based on the modulation /demodulation module corresponding to second user tag card
Really, it is determined whether the corresponding modulation /demodulation module of the control second user tag card enters park mode.
Wherein, the state-detection result at least includes the corresponding modulatedemodulate mode transfer of the sign second user tag card
There is the first state of data transfer in block and the corresponding modulation /demodulation module of the sign second user tag card does not have number
The second state according to transmission.
Here, the mobile terminal can be mobile terminal, the Yi Jineng that can be at least provided with two ID cards
Enough terminals communicated with mobile communications network.Such as, can be smart mobile phone.
Wherein, the ID card can be SIM.
Further, two ID cards can be for same communication network, or for dissimilar
Communication network.Usual two SIMs be directed to for different types of communication network, such as, can be mobile network and connection
Open network both, specifically, have been directed to the network of different communication standards, mobile network can be to having GSM, LTE etc.
Communication standard, UNICOM's network can then correspond to the network of the communication standards such as CDMA, LTE.
Each ID card corresponds to a modulation /demodulation module respectively.Each modem module is used for into line number
According to reception, demodulation, modulation etc. process.It should be noted that when different communication networks are accessed, be modulated and
The processing mode of demodulation is different, and therefore, each SIM needs a corresponding modem module to carry out communication data
Reception and transmission.
It is further noted that above-mentioned two ID card is different types of ID card, especially, its
Middle second user tag card is virtual subscriber identity card;Namely club, first user tag card (SIM) is the use of an entity
Family card, can assign with corresponding draw-in groove, and virtual SIM card is to be fictionalized by software and SIM identical function, than
Such as, can be that SIM function is set up to realize the modes such as virtual SIM card function by software based on card information, in the present embodiment
Exhaustion is not carried out.
In two ID cards, first user tag card is in running order, that is, is in enter with mobile communications network
The state of row data interaction;Specifically, can be in for first user tag card carries out data interaction with mobile communications network
State, and now second user tag card may be at working condition and can also be in idle state.
The detector unit, for detecting modulation /demodulation module corresponding to the second user tag card and answering use
Whether there is data transfer between reason module, to obtain state-detection result.
Specifically, detect modulation /demodulation module corresponding to the second user tag card and application processing module it
Between whether there is data transfer, to obtain state-detection result, including:
The detector unit, for answering use when the modulation /demodulation module corresponding to the second user tag card with described
When there is data transfer between reason module, determine that the modulation /demodulation module corresponding to the second user tag card is passed in data
Defeated state;
When not existing between the modulation /demodulation module corresponding to the second user tag card and the application processing module
During data transfer, determine that the modulation /demodulation module corresponding to the second user tag card is in non-data transmission state.
Detect between the corresponding modulation /demodulation module of the second user tag card and application processing module with the presence or absence of number
Fig. 3-2 be may refer to according to the mode of transmission, it can be seen that the modulation /demodulation module of second user tag card (SIM 2) in figure
There is the interface channel of data interaction between (MODEM 2) and application processor (AP), as long as detect in passage whether there is
Data transfer.
Or, further, by Fig. 3-2 it can be seen that Modem2 at least possesses an interface, direct detection towards AP
Whether there is data transfer in the interface, it becomes possible to determine modulation /demodulation module with the presence or absence of the number between application processing module
According to interaction.
The detector unit, for answering use when the modulation /demodulation module corresponding to the second user tag card with described
When there is no data transfer between reason module, detect that the modulation /demodulation module corresponding to the second user tag card does not have number
Duration according to transmission;When the duration exceedes predetermined threshold value, it is determined that the state-detection result is to transmit in non-data
State.
Wherein, the duration can be configured according to practical situation, got modulation /demodulation module and processed mould with application
There is no the duration of data transfer between block, can be determined based on detection cycle, the duration of each detection cycle can be with root
Arrange according to practical situation, such as, could be arranged to 1s;In addition, predetermined threshold value can also be arranged according to practical situation, than
Such as, 5S could be arranged to.
That is, by least one detection cycle result that obtains of detection, be calculated duration, such as, when depositing
There is no data transfer in three cycle detections between two modules, then determine that do not exist data transfer when a length of
3S.
Accordingly, described control unit, for when the institute of the modulation /demodulation module corresponding to the second user tag card
State state-detection result be in non-data transmission state when, determine the corresponding modulation /demodulation of the control second user tag card
Module enters park mode.That is, once it is determined that the corresponding modulation /demodulation module of second user designation card is in non-data
During transmission state, modulation /demodulation module is set to park mode by just control.
The technical scheme that the present embodiment is provided, the state according to SIM 2 are judged that SIM 2 is virtual card;Work as SIM
When card 2 is VSIM cards, between detecting modem2 and AP, whether there is data transfer, if there are then holding transmitting state not dormancy, if
No, then notify hardware abstraction layer drive, call serial ports itself support power down patterns, make clock dormancy so as to
Serial ports dormancy is made, and further makes modem2 dormancy.(can be with certain frequency, the such as timer of 5s during detecting data).
It can be seen that, by adopting such scheme, it becomes possible to so that being provided with least two ID cards in the terminal
When, based on the data transmission parameters of ID card, determine whether that the modulation /demodulation module for controlling second user tag card is entered
Enter park mode.So, it becomes possible in the case where not affecting mobile terminal to carry out communication capacity, reduce as far as possible many due to opening
The power consumption problem brought by the corresponding modulation /demodulation module of individual ID card, lifts the use duration of mobile terminal.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row
His property includes, so that a series of process, method, article or device including key elements not only includes those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 by software to realize, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Such understanding is based on, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) execute method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, every using this
Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.