Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention.The LTE network framework of one embodiment of the invention
Including:One or more mobile terminals (user equipment, UE) 100, E-UTRAN (Evolved UMTS
Terrestrial Radio Access Network, the UMTS Terrestrial radio access network of evolution) (non-label in figure), evolution point
Group core (EPC) (non-label in figure), home subscriber servers (HSS) 107, network (for example, internet) (non-label in figure)
And circuit switching system (non-label in figure).
E-UTRAN includes evolution B node (eNodeB) 101 and other eNodeB 102.ENodeB 101 is provided towards shifting
The user plane of dynamic terminal 100 and the protocol terminations of chain of command.ENodeB 101 can be connected to other eNodeB via X2 interface.
ENodeB 101 is alternatively referred to as base station, base transceiver station, radio base station, wireless set, transceiver function, basic service
Collection, extended service set or some other suitable terms.ENodeB 101 is that mobile terminal 1 00 provides the access for going to EPC
Point.
ENodeB 101 is connected to EPC by S1 interfaces.EPC includes mobile management entity (EEM) 104, other moving tubes
Manage entity 106, gateway 103, and packet data network (PDN) gateway 105.Mobile management entity 104 is processing movement
The control node of signaling between terminal 100 and EPC.Mobile management entity 104 provides carrying and connection management.All User IPs
Packet is transmitted by gateway 103, and gateway 103 is itself coupled to PDN Gateway 105.PDN Gateway 105 provides UE IP
Address is distributed and other functions.PDN Gateway 105 is connected to network, for example, internet.
Circuit switching system includes interaction solution module (IWS) 108, mobile switching centre (MSC) 109, base station 110
With movement station 111.In one aspect, circuit switching system can pass through IWS and MME (Mobility Management
Entity, mobile management entity) communicated with EPS (Evolved Packet System, the grouping system of evolution).
Fig. 2 is mobile terminal and a kind of hardware architecture diagram of external equipment communication connection in the embodiment of the present invention.
In the embodiment of the present invention, mobile terminal 1 00 is by preset interface (Universal Serial Bus, USB) and outside
Equipment 200 is connect to connect.Mobile terminal 1 00 includes the first process chip 001 and the first radio frequency being connected with the first process chip 001
Module 12.Wherein, the first process chip 001 includes the first application processor (Application Processor) 10 and first
The first modem 11 (modem1) and RPM (Resource that Subscriber Identity Module 13 and second user identification card 14 are connected
Power Manager, resource power supervisor) 15.External equipment 200 include second processing chip 002 and with second processing core
The second radio-frequency module 22 that piece 002 is connected.Wherein, second processing chip 002 includes the second application processor 20 and the second modulation
Demodulator (modem2) 21.Subscriber Identity Module is SIM card.
The inner frame of first application processor 10 and the second application processor 20 includes application layer, ccf layer etc., can locate
Manage the logical operation of complexity and carry out task distribution etc..In one embodiment, application processor refers to Android operations system
System, and the various apk (Android Package, Android installation kit) based on Android operation system.First application processing
The application processor 20 of device 10 and second is realized by USB and connected, and provides the user interactive interface, the operational order that user is inputted
(for example, the operational order for the relevant startup video calling that user is inputted by user interface) is transferred to the first modem 11
Or second modem 21, to realize the definition and transmission of data between two processors, for example, carrying out two application processing
Control of chip boot sequence the etc. when dormancy of device, wake-up, synchronous control, switching on and shutting down.
First application processor 10 is connected by preset interface with the second application processor 20, to realize mobile terminal 1 00
With the connection between external equipment 200, wherein, preset interface is USB.In embodiments of the present invention, USB is multiplexed out three datas
Passage, is respectively used to user data between the first application processor 10 and the second application processor 20, signaling data and SIM card mirror
The interaction of flexible strategy evidence.That is the first application processor 10 and the second application processor 20 pass through USB transmission user data, signaling data
With SIM card authorization data.Wherein, user data includes but is not limited to the data that online is produced, picture and chat message data;Letter
Make data include but is not limited to the control data of switching on and shutting down, switch the control data of offline mode, the control of dispaly state signal
Data;SIM card authorization data includes but is not limited to IMSI (International Mobile Subscriber
Identification Number, international mobile subscriber identity) and Ki (key identifier, KI).
Specifically, the first application processor 10 and the second application processor 20 enter line number by OTG (On-The-Go) technology
According to interaction.By OTG technologies, the first modem 11 in mobile terminal 1 00 can pass through second user identification card 14 or the
SIM card parameter in one Subscriber Identity Module 13 accesses eNodeB 101, and second modem 21 can be known by second user
Not Ka 14 or first the SIM card parameter of Subscriber Identity Module 13 access eNodeB 101, SIM card parameter includes but is not limited to SIM
Card authorization data.
The protocol stack of the network formats of first modem 11 and second modem 21 comprising various network interactions,
Protocol stack includes LTE/WCDMA (Wideband Code Division Multiple Access, WCDMA)/GSM
(Global System for Mobile Communication, global system for mobile communications)/TD-SCDMA (Time
Division-Synchronous Code Division Multiple Access, synchronous time division CDMA)/CDMA
(Code Division Multiple Access, CDMA)/EDGE (Enhanced Data Rate for GSM
Evolution, strong type Data for GSM Evolution) etc. protocol code as defined in inside communication standard.Mobile terminal 1 00 is led to
Agreement is crossed to interact with carrier network, that is, carry out data traffic online, VOLTE (Voice Over LTE) make a phone call or
Make a phone call in CS (Circuit Switched, circuit switching) domain.First modem 11 and second modem 21 are also used
In management and control to SIM card etc..
In embodiments of the present invention, the first radio-frequency module 12 is transmitted to after being used for the data processing of transmitting mobile terminal 1 00
ENodeB 101 (base station network), and for being transmitted to mobile terminal 1 00 after the data processing of transmitting eNodeB 101.Second
Radio-frequency module 22 is transmitted to eNodeB 101 (base station network) after being used for the data processing of transmitting external equipment 200, and is used for
External equipment 200 is transmitted to after the data processing that eNodeB 101 is transmitted.
First Subscriber Identity Module 13 and second user identification card 14 are used to provide mobile communication business (CS speech businesses, PS
Data service and PS speech businesses) needed for related data, and its storage inside user profile, short message, perform authentication calculate
Method and generation cryptographic keys etc..
First Subscriber Identity Module 13 and second user identification card 14 can store associated with similar and different technical standard
User profile.In specific non-limiting examples, technical standard can be the 2G communication technologys, for example, GSM, EDGE), 3G communication
Technology (for example, WCDMA, TD-SCDMA), the 4G communication technologys (for example, LTE), or any other mobile communication technology is (for example, 4G
Etc.).First Subscriber Identity Module 13 and second user identification card 14 are preferably SIM card.
First Subscriber Identity Module 13 and second user identification card 14 with mobile terminal 1 00 when being interacted, and mobile terminal 1 00 is examined
The signal of Subscriber Identity Module presence or absence is surveyed only in the instantaneous generation of start, will in the presence of start can't detect Subscriber Identity Module
Point out " insertion Subscriber Identity Module ".After mobile terminal 1 00 is started shooting, communicate within 28 seconds between mobile terminal 1 00 and Subscriber Identity Module
Once, the communication check (for example, Subscriber Identity Module whether in place etc.) of some fixations is completed.
Because current mobile terminal 1 00 only has a set of radio-frequency module, when mobile terminal 1 00 has two Subscriber Identity Modules
When, two Subscriber Identity Modules of mobile terminal 1 00 are the relation of time-sharing multiplex using the set radio frequency, can not be taken simultaneously.Example
Such as, in two Subscriber Identity Module standard-sized sheets, conversed wherein a Subscriber Identity Module only handles GSM, and another Subscriber Identity Module
The 4G network informations are handled, which kind of network performed, is not limited herein for which specific Subscriber Identity Module.Therefore current radio frequency double card
This framework of time-sharing multiplex has only accomplished that (the corresponding technical standard of i.e. one Subscriber Identity Module is LTE, another use to LTE+GSM
Identification card corresponding technical standard in family is GSM).
Although it is understood that existing mobile terminal 1 00 can support Dual-user identification card, due to mobile terminal
100 in the case of registered network, and what two Subscriber Identity Modules were supported is the network of different technologies standard, one support 2G or
3G, another support 4G, can cause during the use of mobile terminal 1 00, surfing flow speed is slower.In the embodiment of the present invention
In, mobile terminal 1 00 is by USB connections external equipment 200, because external equipment 200 includes second modem 21 and the
Two radio-frequency modules 22, and the second radio-frequency module 22 supports 4G networks, therefore, mobile terminal 1 00 can pass through USB and external equipment
200 interactions, so that mobile terminal 1 00 possesses double LTE functions (now the first Subscriber Identity Module 13 and second user identification card
The technical standard of 14 management is LTE standard, the wireless access skill involved by the first radio-frequency module 12 and the second radio-frequency module 22
Art is LTE).
The RPM15 of mobile terminal 1 00 is used for the various resources of management and control, including clock sources, bus resource, PMIC (Power
Management IC, the voltage of power management integrated circuit, i.e. each chip), DDR (Memory Allocation), and managing chip
The deadline that the interruption of dormancy awakening and application processor wake up.The subsystems of mobile terminal 1 00, are needing resource
When, apply for resource to RPM15, subsystems include the first application processor 10, the first modem 11, PRONTO respectively
(WIFI/ bluetooths, NFC (Near Field Communication, near-field communication) etc.), LPASS (Low power audio
Subsystem, low-power consumption audio subsystem), RPM15 is used for determining the resting state of the system of mobile terminal 1 00, is specifically,
Voting mechanisms of the RPM15 based on subsystems realizes that, when subsystems all throw dormancy ticket, RPM15 can just make movement
The whole system of terminal 100 carries out dormancy.And working as mobile terminal 1 00 has a sub or multiple subsystems to throw the ticket for opposing dormancy,
The whole system of mobile terminal 1 00 all can not dormancy.
After the whole system dormancy of mobile terminal 1 00, if to restart operation, it is necessary to wake up at the first application
Reason device 10 is interacted with the transmission for carrying out data.
In the case where mobile terminal 1 00 and external equipment 200 are by USB communication connections, wake-up mode can be following three
Kind:
1st, when the first application processor 10 receives signaling data, by USB send shake hands keyword to second application at
Device 20 is managed, to wake up the second application processor 20.
2nd, when second modem 21 receives user data, the second application processor 20 is waken up, by the second application
Reason device 20 shakes hands keyword to the first application processor 10 by USB transmission, to wake up the first application processor 10.
3rd, second modem 21 periodically searches paging request, with active activation oneself.If receiving paging request,
Second modem 21 then wakes up the second application processor 20, and key of shaking hands is sent by USB by the second application processor 20
Word gives the first application processor 10, to wake up the second application processor 20.
It should be noted that keyword of shaking hands can use the character mark of fixed word length, it is to be not in normal data packet
Field.It such as can use 0xF9F9F9 or 0x9F9F9F to represent keyword of shaking hands, can be waken up in sleep by keyword of shaking hands
The first application processor 10 or the second application processor 20 of state.
In addition, second modem 21 can be with periodic wakeup oneself, to carry out location updating in mobile terminal 1 00
When, interaction of shaking hands is carried out with base station, the first application processor 10 need not be now waken up.
Reference picture 3, Fig. 3 is the entity structure schematic diagram of mobile terminal 1 00 of the present invention and the communication connection of external equipment 200.
Mobile terminal 1 00 is connected by USB with the communication of external equipment 200, wherein, mobile terminal includes but is not limited to mobile phone, PC
(Personal Computer, PC) or PAD (Personal Digital Assistant, personal digital assistant), outside
Connect equipment 200 and include but is not limited to wireless Internet card and data card.It should be noted that mobile terminal 1 00 by USB with it is external
The link position of equipment 200 is not limited to shown in Fig. 3, mobile terminal 1 00 can be set to be set by USB with external according to specific needs
Standby 200 link position.
The hardware configuration for communicating connection based on above-mentioned LTE network framework figure, mobile terminal 1 00 and external equipment 200 shows
The problem of intention, entity structure schematic diagram and prior art are present, proposes each embodiment of the present invention.
Propose the control method of a kind of mobile terminal 1 00 of the invention.
Reference picture 4, Fig. 4 is the schematic flow sheet of the control method first embodiment of mobile terminal 1 00 of the present invention.
In the present embodiment there is provided the embodiment of the control method of mobile terminal 1 00, it is necessary to which what is illustrated is, although in stream
Logical order is shown in journey figure, but in some cases, can be shown or described to be performed different from order herein
The step of.
In the present embodiment, mobile terminal 1 00 is connected by preset interface with external equipment 200, and mobile terminal 1 00 includes
First application processor 10 and the first modem being connected with the first Subscriber Identity Module 13 and second user identification card 14
11;External equipment 200 includes the second application processor 20 and second modem 21.In embodiments of the present invention, preset and connect
Mouth is USB interface, and mobile terminal 1 00 and external equipment 200 are carried out data transmission by OTG technologies.In other embodiments, in advance
If interface is alternatively other interfaces that can carry out data transmission.Power supply is built-in with external equipment 200, by the power supply, outside
Connect equipment 200 oneself can be powered to oneself, it is no longer necessary to which mobile terminal 1 00 is powered.
The embodiment of the present invention is all by operating in mobile terminal 1 00CPU (Central Processing Unit, centre
Manage device) on software code kernel (Kernel) come what is realized, specifically being realized by the power management module in kernel
's.
The control method of mobile terminal 1 00 includes:
Step S10, when detecting mobile terminal 1 00 from bright screen state into black state, obtains mobile terminal 1 00 and enters
Enter the blank screen time of black state.
Step S20, if the blank screen time is more than or equal to predetermined threshold value, judges the current operation shape of mobile terminal 1 00
Whether state meets preparatory condition.
When detecting mobile terminal 1 00 from bright screen state into black state, call and pre-set in mobile terminal 1 00
Good dormancy call back function control mobile terminal 1 00 enters resting state.In embodiments of the present invention, when mobile terminal 1 00 from
When bright screen state enters black state, the duration that mobile terminal 1 00 is in black state is obtained, that is, obtains the blank screen time.
Specifically, it can start the timer that initial value is zero when mobile terminal 1 00 enters black state, calculated by the timer
The blank screen time of mobile terminal 1 00.
When getting the blank screen time of mobile terminal 1 00, judge whether the blank screen time is more than or equal to predetermined threshold value.
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 meets default bar
Part;If the blank screen time is less than predetermined threshold value, the blank screen time that timer calculates mobile terminal 1 00 is continued through.Wherein, preset
Threshold value can be set according to specific needs, such as could be arranged to 30s (second), 35s or 42s etc..
Further, judge that the step of whether current running status of mobile terminal 1 00 meets preparatory condition includes:
Step a, judges whether the blank screen time is less than or equal to the first preset time.
Step b, if the blank screen time is less than or equal to the first preset time, whether detection preset interface is default second
Whether do not transmitted in the time in data, and mobile terminal only has OTG drivings to hold dormancy lock.
Judge that the detailed process whether current running status of mobile terminal 1 00 meets preparatory condition is:Judge mobile whole
Whether the blank screen time at end 100 is less than or equal to the first preset time.If the blank screen time of mobile terminal is less than or equal to
First preset time, then whether detection preset interface is not transmitted in the second preset time in data, and mobile terminal only has
Dormancy lock (wake lock) is held in OTG drivings.It should be noted that being locked when there is any effective dormancy in mobile terminal 1 00
When, mobile terminal 1 00 is all without entering deep-sleep.It is understood that judging preset interface whether in the second preset time
It is not transmitted across data inside, as mobile terminal 1 00 and external equipment 200 is not all passed in the second preset time by preset interface
Transmission of data.Wherein, the first preset time and the second preset time can be set as the case may be, and such as the first preset time can be set
It is set to 110s, 120s, or 126s;Second preset time may be configured as 4s, 5s or 8s etc..
Step c, if preset interface, which is not transmitted in the second preset time in data, and mobile terminal 1 00, only has OTG drivings
Hold dormancy lock, it is determined that running status meets preparatory condition.
Step d, if preset interface does not transmit more than OTG drivings in data, and mobile terminal 1 00 in the second preset time
Hold dormancy lock, it is determined that running status does not meet preparatory condition.
Step e, if preset interface, which has in the second preset time in transmission data, and mobile terminal 1 00, only has OTG drivings
Hold dormancy lock, it is determined that running status does not meet preparatory condition.
Step f, if preset interface has more than OTG drivings in transmission data, and mobile terminal 1 00 in the second preset time
Hold dormancy lock, it is determined that running status does not meet preparatory condition.
Only have OTG drivings to hold if preset interface is not transmitted across in the second preset time in data, and mobile terminal 1 00
Dormancy is locked, it is determined that the current running status of mobile terminal 1 00 meets preparatory condition.If preset interface is in the second preset time
More than OTG drivings are not transmitted across in data, and mobile terminal 1 00 and hold dormancy lock, it is determined that the current operation of mobile terminal 1 00
State does not meet preparatory condition.If preset interface is transmitted across in data, and mobile terminal 1 00 incessantly in the second preset time
Dormancy lock is held in OTG drivings, it is determined that the current running status of mobile terminal 1 00 does not meet preparatory condition.If preset interface exists
It is transmitted across in second preset time in data, and mobile terminal 1 00 and only has OTG drivings to hold dormancy lock, it is determined that is mobile whole
100 current running statuses are held not meet preparatory condition.
Whether step g, only have OTG drivings to hold if the blank screen time is more than in the first preset time, detection mobile terminal 1 00
There is dormancy lock.
Step h, if only having OTG drivings to hold dormancy lock in mobile terminal, it is determined that running status meets preparatory condition.
Step i, if dormancy lock is held in more than OTG drivings in mobile terminal 1 00, it is determined that running status does not meet default bar
Part.
Whether only have if the blank screen time of mobile terminal 1 00 is more than in the first preset time, detection mobile terminal 1 00
Dormancy lock is held in OTG drivings.If only having OTG drivings to hold dormancy lock in mobile terminal 1 00, it is determined that mobile terminal 1 00 is current
Running status meet preparatory condition;If dormancy lock is held in more than OTG drivings in mobile terminal 1 00, it is determined that mobile terminal 1 00
Current running status does not meet preparatory condition.
Held if the blank screen time of mobile terminal 1 00 is more than in the first preset time, and mobile terminal 1 00 only OTG drivings
There is dormancy lock, it is determined that the current running status of mobile terminal 1 00 meets preparatory condition;If the blank screen time of mobile terminal 1 00
Hold dormancy lock less than or equal to more than OTG drivings in the first preset time, and/or mobile terminal 1 00, it is determined that mobile whole
The running status at end 100 does not meet preparatory condition.
Step S30, if running status meets preparatory condition, control mobile terminal 1 00 exits host mode, into dormancy
State.
If the current running status of mobile terminal 1 00 meets preparatory condition, control mobile terminal 1 00 exits main frame
(host) pattern, into resting state.It is understood that the mobile terminal 1 00 mentioned in the present embodiment enters dormancy shape
State refers to that mobile terminal 1 00 enters deep sleep state.After mobile terminal 1 00 enters resting state, the electricity in preset interface
Pressure output port there will be no the VBUS (Voltage Bus, voltage output port) in voltage output, i.e. USB interface will not be again
There is voltage output.
Step S40, if running status does not meet preparatory condition, is judging operation shape again after the second preset duration
Whether state meets preparatory condition.
When the current running status of mobile terminal 1 00 does not meet preparatory condition, then after the second preset duration again
Judge whether mobile current running status meets preparatory condition.Wherein, the second preset duration can be set according to specific needs,
It such as could be arranged to 4s, 5s or 8s etc..
The present embodiment is by when detecting mobile terminal 1 00 from bright screen state into black state, obtaining mobile terminal
100 enter the blank screen time of black state;If the blank screen time is more than or equal to predetermined threshold value, judge that mobile terminal 1 00 is worked as
Whether preceding running status meets preparatory condition;If running status meets preparatory condition, control mobile terminal 1 00 exits main frame
Pattern, into resting state.Realize during mobile terminal 1 00 realizes double LTE communications by external equipment 200, it is external
Equipment 200 is powered by built-in power to oneself, and mobile terminal 1 00 enters resting state in the case where meeting certain condition, to save
The electricity of mobile terminal 1 00.
Further, the control method second embodiment of mobile terminal 1 00 of the present invention is proposed.
The difference of the control method second embodiment of mobile terminal 1 00 and first embodiment is, reference picture 5, mobile terminal
100 control methods also include:
Step S50, when detecting mobile terminal 1 00 from black state into bright screen state, whether detection preset interface is located
In idle pulley.
Step S60, if preset interface is in idle pulley, control mobile terminal 1 00 enters main frame mould from idle pulley
Formula, to wake up mobile terminal 1 00.
When detecting mobile terminal 1 00 from black state into bright screen state, call and pre-set in mobile terminal 1 00
Wake-up call back function control mobile terminal 1 00 enter host mode.When mobile terminal 1 00 from black state enter bright screen state
When, whether detection preset interface is in idle pulley, that is, detects whether USB interface is in idle pulley.Wherein, in the present embodiment
The b_idle patterns that are understood by those skilled in the art of idle pulley.If preset interface is in idle pulley, control is moved
Dynamic terminal 100 enters host mode from idle pulley, to wake up mobile terminal 1 00, mobile terminal 1 00 is entered from resting state
Wake-up states.
Further, the control method of mobile terminal 1 00 also includes:
Step j, if preset interface is not in idle pulley, preset interface is being detected after the first preset duration again
Whether idle pulley is in.
If preset interface is not in idle pulley, detecting whether preset interface is located again after the first preset duration
In idle pulley.Wherein, the first preset duration can be set according to specific needs, such as could be arranged to 2s, 3s or 5s etc..
The present embodiment is by when mobile terminal 1 00 enters bright screen state from black state, first detecting mobile terminal 1 00
Whether preset interface is in idle pulley.Only when preset interface is in idle pulley, just mobile terminal 1 00 is controlled to enter master
Machine pattern, to wake up mobile terminal 1 00.Avoid when mobile terminal 1 00 is having just enter into black state, immediately enter bright screen shape
State, i.e., when mobile terminal 1 00 is not also completely into idle pulley, i.e., into host mode, cause the mixed of USB interface state machine
Disorderly, fail so as to cause mobile terminal 1 00 to enter host mode.
Further, the control method 3rd embodiment of mobile terminal 1 00 of the present invention is proposed.
The control method fourth embodiment of mobile terminal 1 00 with first and/or two the difference of embodiment be, mobile terminal
100 control methods also include:
Whether step k, detection mobile terminal 1 00 enters black state from bright screen state first after powering.
When mobile terminal 1 00 enters black state from bright screen state, whether detection mobile terminal 1 00 is first after powering
It is secondary to enter black state from bright screen state.If mobile terminal 1 00 is to enter black state from bright screen state first after powering,
Judge that whether mobile terminal 1 00 is in the blank screen time of black state more than or equal to preset first threshold value.
Further, in the present embodiment, a status indicator is provided with the mobile terminal 100, passes through the state mark
Knowledge can determine that whether mobile terminal 1 00 enters black state from bright screen state first after powering.Specifically, mobile terminal is worked as
100 from bright screen state enter black state when, if status indicator now is the first mark, show that mobile terminal 1 00 is being opened
It is to enter black state from bright screen state first after machine;If status indicator now is the second mark, then it represents that mobile terminal 1 00
It is not to enter black state from bright screen state first after powering.Wherein, status indicator can be set according to specific needs, only
It can distinguish whether mobile terminal 1 00 enters bright screen state from black state first after powering.As the first mark can
00 is set to, the second mark may be configured as the 01, or first mark and may be configured as 11, and the second mark may be configured as 10 etc..
Step l, if mobile terminal 1 00 enters black state from bright screen state first after powering, judges the blank screen time
Whether preset first threshold value is more than or equal to.
If mobile terminal 1 00 is to enter black state from bright screen state first after powering, judge at mobile terminal 1 00
Whether it is more than or equal to preset first threshold value in the blank screen time of black state.Wherein, in order to ensure that mobile terminal 1 00 is being opened
When entering black state from bright screen state for the first time after machine, mobile terminal 1 00 has completed network registration operation, therefore, presets the
One threshold value should set a bit big (for default Second Threshold).As preset first threshold value could be arranged to 55s,
60s, or 70s etc..
Step S20 includes:
Step a1, if the blank screen time is more than or equal to preset first threshold value, judges the current operation of mobile terminal 1 00
Whether state meets preparatory condition.
If the blank screen time that mobile terminal 1 00 is in black state is more than or equal to preset first threshold value, judge to move
Whether the current running status of dynamic terminal 100 meets preparatory condition.Further, if mobile terminal 1 00 is in black state
The blank screen time is less than preset first threshold value, then continues to calculate the blank screen time of mobile terminal 1 00, judge the black of mobile terminal 1 00
Whether the screen time is more than or equal to preset first threshold value.
The present embodiment by when mobile terminal 1 00 after powering for the first time from bright screen state enter black state when, only
When mobile terminal 1 00 the blank screen time be more than or equal to preset first threshold value when, just perform judge mobile terminal 1 00 currently
Whether running status meets preparatory condition, it is to avoid when mobile terminal 1 00 first enters blank screen shape from bright screen state after powering
During state, mobile terminal 1 00 does not complete network registration operation also, resting state has been put into, so as to cause the network of mobile terminal 1 00
Registration failure.
Further, the control method fourth embodiment of mobile terminal 1 00 of the present invention is proposed.
The difference of the control method fourth embodiment of mobile terminal 1 00 and 3rd embodiment is, the controlling party of mobile terminal 1 00
Method also includes:
Step m, if mobile terminal 1 00 is non-after powering to enter black state from bright screen state first, when judging blank screen
Between whether be more than or equal to default Second Threshold, wherein, preset Second Threshold and be less than preset first threshold value.
When mobile terminal 1 00 not enters black state from bright screen state first after powering, then mobile terminal 1 00 is judged
The blank screen time whether be more than or equal to default Second Threshold.It is understood that when mobile terminal 1 00 after powering not
When entering black state from bright screen state first, show that mobile terminal 1 00 has completed network registration operation, therefore, preset the
Two threshold values are set smaller than preset first threshold value.Default Second Threshold can be set according to specific needs, such as be set to 26s,
30s, or 33s etc..
Step S20 includes:
Step a2, if the blank screen time is more than or equal to default Second Threshold, judges the current operation of mobile terminal 1 00
Whether state meets preparatory condition.
When the blank screen time that mobile terminal 1 00 is in black state being more than or equal to default Second Threshold, judge to move
Whether the current running status of dynamic terminal 100 meets preparatory condition.Further, when mobile terminal 1 00 is in black state
When the blank screen time is less than default Second Threshold, then continues to calculate the blank screen time of mobile terminal 1 00, judge mobile terminal 1 00
Whether the blank screen time is more than or equal to default Second Threshold.
The present embodiment is by when mobile terminal 1 00 not enters black state from bright screen state first after powering, sentencing
Whether the blank screen time of disconnected mobile terminal 100 is more than or equal to default Second Threshold, and default Second Threshold is less than default the
One threshold value.Only when the blank screen time being more than or equal to default Second Threshold, the current operation shape of mobile terminal 1 00 is just judged
Whether state meets preparatory condition.Realize when mobile terminal 1 00 not enters black state from bright screen state first after powering
When, default Second Threshold is set smaller than preset first threshold value, mobile terminal 1 00 is improved not first from bright screen state
During into black state, mobile terminal 1 00 enters the speed of resting state, saves the electricity of mobile terminal 1 00.
In addition, the embodiment of the present invention also proposes a kind of mobile terminal 1 00, mobile terminal 1 00 by preset interface with it is external
Equipment 200 is connected, and mobile terminal 1 00 includes memory, processor and storage on a memory and can run on a processor
Mobile terminal control program.
Memory can be used for storage software program and various data.Memory can mainly include storing program area and storage
Data field, wherein, the application program that storing program area can be needed for storage program area, at least one function (such as play by sound
Function, image player function etc.) etc.;Storage data field can be stored uses created data (such as audio number according to mobile phone
According to, phone directory etc.) etc..In addition, memory can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor is the control centre of mobile terminal 1 00, utilizes various interfaces and the whole mobile terminal 1 00 of connection
Various pieces, by operation or perform and are stored in software program and/or module in memory, and call and be stored in memory
Interior data, perform the various functions and processing data of mobile terminal 1 00, so as to carry out integral monitoring to mobile terminal 1 00.Place
Reason device may include one or more processing units;It is preferred that, processor can integrated application processor and modem, wherein,
Application processor mainly handles operating system, user interface and application program etc., and modem mainly handles radio communication.Can
With understanding, above-mentioned modem can not also be integrated into processor.
Processor is used to call the mobile terminal control program stored in memory, and performs following steps:
When detecting mobile terminal 1 00 from bright screen state into black state, obtain mobile terminal 1 00 and enter blank screen shape
The blank screen time of state;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
Sufficient preparatory condition;
If running status meets preparatory condition, control mobile terminal 1 00 exits host mode, into resting state.
Further, if running status meets preparatory condition, control mobile terminal 1 00 exits host mode, into not
After the step of dormancy state, processor is additionally operable to call the mobile terminal control program stored in memory, performs following steps:
When detecting mobile terminal 1 00 from black state into bright screen state, whether detection preset interface is in the free time
Pattern;
If preset interface is in idle pulley, control mobile terminal 1 00 enters host mode from idle pulley, to wake up
Mobile terminal 1 00.
Further, when detecting mobile terminal 1 00 from black state into bright screen state, whether detection preset interface is located
After the step of idle pulley, processor is additionally operable to call the mobile terminal control program stored in memory, performs following
Step:
If preset interface is not in idle pulley, detecting whether preset interface is located again after the first preset duration
In idle pulley.
Further, judge that the step of whether current running status of mobile terminal 1 00 meets preparatory condition includes:
Judge whether the blank screen time is less than or equal to the first preset time;
If the blank screen time is less than or equal to the first preset time, whether detection preset interface is in the second preset time
Whether do not transmit in data, and mobile terminal 1 00 only has OTG drivings to hold dormancy lock;
Only have OTG drivings to hold not if preset interface is not transmitted in the second preset time in data, and mobile terminal 1 00
Sleep and lock, it is determined that running status meets preparatory condition;
Hold not if preset interface does not transmit more than OTG drivings in data, and mobile terminal 1 00 in the second preset time
Sleep and lock, it is determined that running status does not meet preparatory condition;
Only have OTG drivings to hold not if preset interface has in the second preset time in transmission data, and mobile terminal 1 00
Sleep and lock, it is determined that running status does not meet preparatory condition;
If preset interface has more than OTG drivings in transmission data, and mobile terminal 1 00 to hold not in the second preset time
Sleep and lock, it is determined that running status does not meet preparatory condition.
Further, judge after the step of whether the blank screen time is less than or equal to the first preset time, processor is also
The mobile terminal control program stored for calling in memory, performs following steps:
Whether only have OTG drivings to hold dormancy if the blank screen time is more than in the first preset time, detection mobile terminal 1 00
Lock;
If only having OTG drivings to hold dormancy lock in mobile terminal 1 00, it is determined that running status meets preparatory condition;
If dormancy lock is held in more than OTG drivings in mobile terminal 1 00, it is determined that running status does not meet preparatory condition.
Further, if the blank screen time is more than or equal to predetermined threshold value, the current operation shape of mobile terminal 1 00 is judged
After the step of whether state meets preparatory condition, processor is additionally operable to call the mobile terminal control program stored in memory,
Perform following steps:
If mobile terminal 1 00 does not meet preparatory condition, judging that running status is again after the second preset duration
It is no to meet preparatory condition.
Further, if the blank screen time is more than or equal to predetermined threshold value, the current operation shape of mobile terminal 1 00 is judged
Before the step of whether state meets preparatory condition, processor is additionally operable to call the mobile terminal control program stored in memory,
Perform following steps:
Whether detection mobile terminal 1 00 enters black state from bright screen state first after powering;
If mobile terminal 1 00 enters black state from bright screen state first after powering, judge whether the blank screen time is big
In or equal to preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
The step of sufficient preparatory condition, includes:
If the blank screen time is more than or equal to preset first threshold value, judge that the current running status of mobile terminal 1 00 is
It is no to meet preparatory condition.
Further, the step of whether detection mobile terminal 1 00 enters black state from bright screen state first after powering
Afterwards, processor is additionally operable to call the mobile terminal control program stored in memory, performs following steps:
If mobile terminal 1 00 is non-after powering to enter black state from bright screen state first, whether the blank screen time is judged
More than or equal to default Second Threshold, wherein, preset Second Threshold and be less than preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
The step of sufficient preparatory condition, includes:
If the blank screen time is more than or equal to default Second Threshold, judge that the current running status of mobile terminal 1 00 is
It is no to meet preparatory condition.
Further, the external equipment 200 being connected with mobile terminal 1 00 is built-in with power supply.
The embodiment of mobile terminal 1 00 of the present invention and the basic phase of each embodiment of the above-mentioned control method of mobile terminal 1 00
Together, it will not be repeated here.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium.
Be stored with mobile terminal control program on computer-readable recording medium, and mobile terminal control program is held by processor
Following steps are realized during row:
When detecting mobile terminal 1 00 from bright screen state into black state, obtain mobile terminal 1 00 and enter blank screen shape
The blank screen time of state;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
Sufficient preparatory condition;
If running status meets preparatory condition, control mobile terminal 1 00 exits host mode, into resting state.
Further, if running status meets preparatory condition, control mobile terminal 1 00 exits host mode, into not
After the step of dormancy state, following steps are realized when mobile terminal control program is executed by processor:
When detecting mobile terminal 1 00 from black state into bright screen state, whether detection preset interface is in the free time
Pattern;
If preset interface is in idle pulley, control mobile terminal 1 00 enters host mode from idle pulley, to wake up
Mobile terminal 1 00.
Further, when detecting mobile terminal 1 00 from black state into bright screen state, whether detection preset interface is located
After the step of idle pulley, following steps are realized when mobile terminal control program is executed by processor:
If preset interface is not in idle pulley, detecting whether preset interface is located again after the first preset duration
In idle pulley.
Further, judge that the step of whether current running status of mobile terminal 1 00 meets preparatory condition includes:
Judge whether the blank screen time is less than or equal to the first preset time;
If the blank screen time is less than or equal to the first preset time, whether detection preset interface is in the second preset time
Whether do not transmit in data, and mobile terminal 1 00 only has OTG drivings to hold dormancy lock;
Only have OTG drivings to hold not if preset interface is not transmitted in the second preset time in data, and mobile terminal 1 00
Sleep and lock, it is determined that running status meets preparatory condition;
Hold not if preset interface does not transmit more than OTG drivings in data, and mobile terminal 1 00 in the second preset time
Sleep and lock, it is determined that running status does not meet preparatory condition;
Only have OTG drivings to hold not if preset interface has in the second preset time in transmission data, and mobile terminal 1 00
Sleep and lock, it is determined that running status does not meet preparatory condition;
If preset interface has more than OTG drivings in transmission data, and mobile terminal 1 00 to hold not in the second preset time
Sleep and lock, it is determined that running status does not meet preparatory condition.
Further, judge the blank screen time whether be less than or equal to the first preset time the step of after, mobile terminal
Following steps are realized when control program is executed by processor:
Whether only have OTG drivings to hold dormancy if the blank screen time is more than in the first preset time, detection mobile terminal 1 00
Lock;
If only having OTG drivings to hold dormancy lock in mobile terminal 1 00, it is determined that running status meets preparatory condition;
If dormancy lock is held in more than OTG drivings in mobile terminal 1 00, it is determined that running status does not meet preparatory condition.
Further, if the blank screen time is more than or equal to predetermined threshold value, the current operation shape of mobile terminal 1 00 is judged
After the step of whether state meets preparatory condition, following steps are realized when mobile terminal control program is executed by processor:
If mobile terminal 1 00 does not meet preparatory condition, judging that running status is again after the second preset duration
It is no to meet preparatory condition.
Further, if the blank screen time is more than or equal to predetermined threshold value, the current operation shape of mobile terminal 1 00 is judged
Before the step of whether state meets preparatory condition, following steps are realized when mobile terminal control program is executed by processor:
Whether detection mobile terminal 1 00 enters black state from bright screen state first after powering;
If mobile terminal 1 00 enters black state from bright screen state first after powering, judge whether the blank screen time is big
In or equal to preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
The step of sufficient preparatory condition, includes:
If the blank screen time is more than or equal to preset first threshold value, judge that the current running status of mobile terminal 1 00 is
It is no to meet preparatory condition.
Further, the step of whether detection mobile terminal 1 00 enters black state from bright screen state first after powering
Afterwards, following steps are realized when mobile terminal control program is executed by processor:
If mobile terminal 1 00 is non-after powering to enter black state from bright screen state first, whether the blank screen time is judged
More than or equal to default Second Threshold, wherein, preset Second Threshold and be less than preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of mobile terminal 1 00 is full
The step of sufficient preparatory condition, includes:
If the blank screen time is more than or equal to default Second Threshold, judge that the current running status of mobile terminal 1 00 is
It is no to meet preparatory condition.
Further, the external equipment 200 being connected with mobile terminal 1 00 is built-in with power supply.
Computer-readable recording medium embodiment of the present invention and each embodiment of the above-mentioned control method of mobile terminal 1 00
It is essentially identical, it will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and
And also including the other key elements being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of 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), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification 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.