CN107277907A - Method for controlling mobile terminal, mobile terminal and computer-readable recording medium - Google Patents

Method for controlling mobile terminal, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107277907A
CN107277907A CN201710644625.5A CN201710644625A CN107277907A CN 107277907 A CN107277907 A CN 107277907A CN 201710644625 A CN201710644625 A CN 201710644625A CN 107277907 A CN107277907 A CN 107277907A
Authority
CN
China
Prior art keywords
mobile terminal
state
preset
preparatory condition
running status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710644625.5A
Other languages
Chinese (zh)
Other versions
CN107277907B (en
Inventor
叶思超
郭晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingxian Liangliang Photoelectric Technology Co ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710644625.5A priority Critical patent/CN107277907B/en
Publication of CN107277907A publication Critical patent/CN107277907A/en
Application granted granted Critical
Publication of CN107277907B publication Critical patent/CN107277907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium, this method is by when detecting the mobile terminal from bright screen state into black state, obtaining the blank screen time that the mobile terminal enters the black state;If the blank screen time is more than or equal to predetermined threshold value, judge whether the current running status of the mobile terminal meets preparatory condition;If the running status meets the preparatory condition, the mobile terminal is controlled to exit host mode, into resting state.The present invention is realized during mobile terminal realizes double LTE communications by external equipment, and external equipment is powered by built-in power to oneself, and mobile terminal enters resting state in the case where meeting certain condition, to save the electricity of mobile terminal.

Description

Method for controlling mobile terminal, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for controlling mobile terminal, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With the development of mobile communication technology, mobile terminal has become user and carried with, and essential electronics is set It is standby.In leading for operator and major OEM (Original Equipment Manufacturer, original equipment manufacturer) manufacturers Under head, 3G (3rd Generation, 3rd generation mobile communication technology), 4G (the 4th Generation Mobile Communication Technology, forth generation mobile communication technology), CA (Carrier Aggregation, using carrier wave Polymerization technique) and newest 5G (5th-Generation, the 5th third-generation mobile communication technology) arise at the historic moment, the mesh of these technologies Be to improve the online bandwidth of user.Under such a background, a kind of mode for improving user's online bandwidth is also quietly given birth to, Mobile terminal connects two modems, and each modem has corresponding SIM (Subscriber Identification Module) card, and each modem can independently surf the Net, and then access user on upper strata The network network speed that carries out two data networks according to actual conditions be superimposed, so as to reach the purpose for improving online bandwidth.Due to Monopolization and limitation of the operator to legacy user's online bandwidth, manufacturer terminal can pass through the network speed superimposing technique scheme and increase use Family online bandwidth, effectively incorporates the online resource of two SIM cards in mobile terminal, and realize true DSDA (Dual SIM Dual active, double card bilateral), and the double LTE (Long Term Evolution, Long Term Evolution) of double card are standby.
Therefore, it is outer by mobile terminal and containing modem in order that mobile terminal connects two modems The connection of equipment is connect, to realize true DSDA, and the double LTE of double card standby.But if when mobile terminal and external equipment are connected During, the dormancy lock of connection mobile terminal driving corresponding with the interface of external equipment is consistent to be in effective status, the i.e. drive It is dynamic all to hold dormancy lock always, therefore mobile terminal can be caused not enter deep sleep state, so as to waste mobile terminal Electricity.
The content of the invention
It is a primary object of the present invention to propose a kind of method for controlling mobile terminal, mobile terminal and computer-readable storage Medium, it is intended to which during solving mobile terminal by the double LTE communications of external equipment realization, mobile terminal cannot be introduced into resting state Technical problem.
To achieve the above object, a kind of method for controlling mobile terminal that the present invention is provided, the mobile terminal passes through default Interface is connected with external equipment, and the mobile terminal includes the first application processor and with the first Subscriber Identity Module and with second First modem of Subscriber Identity Module connection, the external equipment includes the second application processor and the second modulation /demodulation Device;The method for controlling mobile terminal includes:
When detecting the mobile terminal from bright screen state into black state, obtain the mobile terminal and enter described The blank screen time of black state;
If the blank screen time is more than or equal to predetermined threshold value, judge that the current running status of the mobile terminal is It is no to meet preparatory condition;
If the running status meets the preparatory condition, the mobile terminal is controlled to exit host mode, into not Dormancy state.
Alternatively, if the running status meets the preparatory condition, the mobile terminal is controlled to exit main frame Pattern, into after the step of resting state, in addition to:
When detecting the mobile terminal from the black state into the bright screen state, the preset interface is detected Whether idle pulley is in;
If the preset interface is in idle pulley, the mobile terminal is controlled to enter the master from the idle pulley Machine pattern, to wake up the mobile terminal.
Alternatively, it is described when detecting the mobile terminal from the black state into the bright screen state, detect institute State preset interface whether be in idle pulley the step of after, in addition to:
If the preset interface is not in the idle pulley, detecting described pre- again after the first preset duration If whether interface is in the idle pulley.
Alternatively, the step of whether running status for judging that the mobile terminal is current meets preparatory condition includes:
Judge whether the blank screen time is less than or equal to first preset time;
If the blank screen time is less than or equal to first preset time, detect the preset interface whether the Whether do not transmitted in two preset times in data, and the mobile terminal only has OTG drivings to hold dormancy lock;
If the preset interface is not transmitted in second preset time only has OTG in data, and the mobile terminal Dormancy lock is held in driving, it is determined that the running status meets the preparatory condition;
If the preset interface does not transmit more than OTG in data, and the mobile terminal in second preset time Dormancy lock is held in driving, it is determined that the running status does not meet the preparatory condition;
If the preset interface has in second preset time only has OTG in transmission data, and the mobile terminal Dormancy lock is held in driving, it is determined that the running status does not meet the preparatory condition;
If the preset interface has more than OTG in transmission data, and the mobile terminal in second preset time Dormancy lock is held in driving, it is determined that the running status does not meet the preparatory condition.
Alternatively, it is described judge the blank screen time whether be less than or equal to first preset time the step of it Afterwards, in addition to:
If the blank screen time is more than first preset time, detect in the mobile terminal whether only have OTG to drive It is dynamic to hold dormancy lock;
If only having OTG drivings to hold dormancy lock in the mobile terminal, it is determined that the running status meets described default Condition;
If dormancy lock is held in more than OTG drivings in the mobile terminal, it is determined that the running status does not meet described pre- If condition.
Alternatively, if the blank screen time is more than or equal to predetermined threshold value, judge that the mobile terminal is current Running status the step of whether meet preparatory condition after, in addition to:
If the mobile terminal does not meet the preparatory condition, the fortune is being judged again after the second preset duration Whether row state meets the preparatory condition.
Alternatively, if the blank screen time is more than or equal to predetermined threshold value, judge that the mobile terminal is current Running status the step of whether meet preparatory condition before, in addition to;
Detect whether the mobile terminal enters the black state from the bright screen state first after powering;
If the mobile terminal enters the black state from the bright screen state first after powering, judge described black Whether the screen time is more than or equal to preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, the operation shape of the mobile terminal currently is judged The step of whether state meets preparatory condition includes:
If the blank screen time is more than or equal to the preset first threshold value, the fortune of the mobile terminal currently is judged Whether row state meets the preparatory condition.
Alternatively, whether the detection mobile terminal enters the blank screen from the bright screen state first after powering After the step of state, in addition to:
If the mobile terminal is non-after powering to enter the black state from the bright screen state first, judge described Whether the blank screen time is more than or equal to default Second Threshold, wherein, the default Second Threshold is less than default first threshold Value;
If the blank screen time is more than or equal to predetermined threshold value, the operation shape of the mobile terminal currently is judged The step of whether state meets preparatory condition includes:
If the blank screen time is more than or equal to the default Second Threshold, the fortune of the mobile terminal currently is judged Whether row state meets the preparatory condition.
In addition, to achieve the above object, the present invention also proposes a kind of mobile terminal, and the mobile terminal passes through preset interface It is connected with external equipment, the mobile terminal includes memory, processor and is stored on the memory and can be at the place The mobile terminal control program run on reason device, the mobile terminal control program is realized as above institute during the computing device The step of method for controlling mobile terminal stated.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Be stored with mobile terminal control program on storage medium, and as above institute is realized when the mobile terminal control program is executed by processor The step of method for controlling mobile terminal stated.
The present invention is described mobile whole by when detecting the mobile terminal from bright screen state into black state, obtaining End enters the blank screen time of the black state;If the blank screen time is more than or equal to predetermined threshold value, the shifting is judged Whether the current running status of dynamic terminal meets preparatory condition;If the running status meets the preparatory condition, institute is controlled State mobile terminal and exit host mode, into resting state.Realize and pass through the double LTE communications of external equipment realization in mobile terminal During, external equipment is powered by built-in power to oneself, and mobile terminal enters resting state in the case where meeting certain condition, with Save the electricity of mobile terminal.
Brief description of the drawings
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention;
Fig. 2 is mobile terminal and the first hardware architecture diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 3 is mobile terminal and a kind of entity structure schematic diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of method for controlling mobile terminal first embodiment in the present invention;
Fig. 5 is the schematic flow sheet of method for controlling mobile terminal second embodiment in the present invention.
The realization, functional characteristics and advantage of the object of the invention will be explained referring to the drawings in conjunction with the embodiments.
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.

Claims (10)

1. a kind of method for controlling mobile terminal, it is characterised in that the mobile terminal is connected by preset interface with external equipment, The mobile terminal include the first application processor and be connected with the first Subscriber Identity Module and with second user identification card the One modem, the external equipment includes the second application processor and second modem;The mobile terminal control Method includes:
When detecting the mobile terminal from bright screen state into black state, obtain the mobile terminal and enter the blank screen 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 the mobile terminal is full Sufficient preparatory condition;
If the running status meets the preparatory condition, the mobile terminal is controlled to exit host mode, into dormancy shape State.
2. method for controlling mobile terminal as claimed in claim 1, it is characterised in that if the running status meets described Preparatory condition, then control the mobile terminal to exit host mode, into after the step of resting state, in addition to:
When detecting the mobile terminal from the black state into the bright screen state, whether the preset interface is detected In idle pulley;
If the preset interface is in idle pulley, the mobile terminal is controlled to enter the main frame mould from the idle pulley Formula, to wake up the mobile terminal.
3. method for controlling mobile terminal as claimed in claim 2, it is characterised in that the detecting mobile terminal of working as is from institute When stating black state into the bright screen state, detect after the step of whether preset interface is in idle pulley, also wrap Include:
If the preset interface is not in the idle pulley, described default connect is being detected again after the first preset duration Whether mouth is in the idle pulley.
4. method for controlling mobile terminal as claimed in claim 1, it is characterised in that the judgement mobile terminal is current The step of whether running status meets preparatory condition includes:
Judge whether the blank screen time is less than or equal to first preset time;
If the blank screen time is less than or equal to first preset time, detect whether the preset interface is pre- second If not transmitting data in the time, and whether only have OTG drivings to hold dormancy lock in the mobile terminal;
If the preset interface, which is not transmitted in second preset time in data, and the mobile terminal, only has OTG drivings Hold dormancy lock, it is determined that the running status meets the preparatory condition;
If the preset interface does not transmit more than OTG drivings in data, and the mobile terminal in second preset time Hold dormancy lock, it is determined that the running status does not meet the preparatory condition;
If the preset interface, which has in second preset time in transmission data, and the mobile terminal, only has OTG drivings Hold dormancy lock, it is determined that the running status does not meet the preparatory condition;
If the preset interface has more than OTG drivings in transmission data, and the mobile terminal in second preset time Hold dormancy lock, it is determined that the running status does not meet the preparatory condition.
5. method for controlling mobile terminal as claimed in claim 4, it is characterised in that described to judge whether the blank screen time is small After the step of first preset time, in addition to:
If the blank screen time is more than first preset time, detect in the mobile terminal whether only have OTG drivings to hold There is dormancy lock;
If only having OTG drivings to hold dormancy lock in the mobile terminal, it is determined that the running status meets the preparatory condition;
If dormancy lock is held in more than OTG drivings in the mobile terminal, it is determined that the running status does not meet the default bar Part.
6. method for controlling mobile terminal as claimed in claim 1, it is characterised in that if the blank screen time be more than or Equal to predetermined threshold value, then judge after the step of whether current running status of the mobile terminal meets preparatory condition, also wrap Include:
If the mobile terminal does not meet the preparatory condition, the operation shape is being judged again after the second preset duration Whether state meets the preparatory condition.
7. the method for controlling mobile terminal as described in any one of claim 1 to 6, it is characterised in that if during the blank screen Between be more than or equal to predetermined threshold value, then the step of whether current running status of the mobile terminal meets preparatory condition judged Before, in addition to;
Detect whether the mobile terminal enters the black state from the bright screen state first after powering;
If the mobile terminal enters the black state from the bright screen state first after powering, when judging the blank screen Between whether be more than or equal to preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge that the current running status of the mobile terminal is It is no to include the step of meet preparatory condition:
If the blank screen time is more than or equal to the preset first threshold value, the operation shape of the mobile terminal currently is judged Whether state meets the preparatory condition.
8. method for controlling mobile terminal as claimed in claim 7, it is characterised in that the detection mobile terminal whether After the step of entering the black state from the bright screen state first after start, in addition to:
If the mobile terminal is non-after powering to enter the black state from the bright screen state first, the blank screen is judged Whether the time is more than or equal to default Second Threshold, wherein, the default Second Threshold is less than the preset first threshold value;
If the blank screen time is more than or equal to predetermined threshold value, judge that the current running status of the mobile terminal is It is no to include the step of meet preparatory condition:
If the blank screen time is more than or equal to the default Second Threshold, the operation shape of the mobile terminal currently is judged Whether state meets the preparatory condition.
9. a kind of mobile terminal, it is characterised in that the mobile terminal is connected by preset interface with external equipment, the movement Terminal includes memory, processor and is stored in the mobile terminal control that can be run on the memory and on the processor Program, the mobile terminal control program is by shifting of the realization as any one of claim 1 to 8 during the computing device The step of dynamic terminal control method.
10. a kind of computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium mobile whole Control program is held, is realized when the mobile terminal control program is executed by processor as any one of claim 1 to 8 The step of method for controlling mobile terminal.
CN201710644625.5A 2017-07-31 2017-07-31 Mobile terminal and control method thereof Active CN107277907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710644625.5A CN107277907B (en) 2017-07-31 2017-07-31 Mobile terminal and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710644625.5A CN107277907B (en) 2017-07-31 2017-07-31 Mobile terminal and control method thereof

Publications (2)

Publication Number Publication Date
CN107277907A true CN107277907A (en) 2017-10-20
CN107277907B CN107277907B (en) 2020-11-27

Family

ID=60075367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710644625.5A Active CN107277907B (en) 2017-07-31 2017-07-31 Mobile terminal and control method thereof

Country Status (1)

Country Link
CN (1) CN107277907B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543333A (en) * 2018-05-29 2019-12-06 视联动力信息技术股份有限公司 Dormancy processing method and device for processor, mobile terminal and storage medium
CN110742580A (en) * 2019-09-18 2020-02-04 华为技术有限公司 Sleep state identification method and device
CN112351482A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Method and device for automatically controlling terminal dormancy and computer readable storage medium
CN114816031A (en) * 2022-05-09 2022-07-29 海信电子科技(深圳)有限公司 Power saving method of terminal device, terminal device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102485545A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Power management method and power management system
CN105376645A (en) * 2014-08-25 2016-03-02 深圳市中兴微电子技术有限公司 Set-top box and power consumption reduction method
CN106502687A (en) * 2016-10-24 2017-03-15 深圳市金立通信设备有限公司 A kind of method and terminal for entering resting state
CN106547335A (en) * 2016-11-01 2017-03-29 上海传英信息技术有限公司 Energy consumption reduces method and mobile terminal
CN106900043A (en) * 2017-03-30 2017-06-27 努比亚技术有限公司 Dormancy control system and its dormancy control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102485545A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Power management method and power management system
CN105376645A (en) * 2014-08-25 2016-03-02 深圳市中兴微电子技术有限公司 Set-top box and power consumption reduction method
CN106502687A (en) * 2016-10-24 2017-03-15 深圳市金立通信设备有限公司 A kind of method and terminal for entering resting state
CN106547335A (en) * 2016-11-01 2017-03-29 上海传英信息技术有限公司 Energy consumption reduces method and mobile terminal
CN106900043A (en) * 2017-03-30 2017-06-27 努比亚技术有限公司 Dormancy control system and its dormancy control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543333A (en) * 2018-05-29 2019-12-06 视联动力信息技术股份有限公司 Dormancy processing method and device for processor, mobile terminal and storage medium
CN110742580A (en) * 2019-09-18 2020-02-04 华为技术有限公司 Sleep state identification method and device
CN112351482A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Method and device for automatically controlling terminal dormancy and computer readable storage medium
CN114816031A (en) * 2022-05-09 2022-07-29 海信电子科技(深圳)有限公司 Power saving method of terminal device, terminal device and medium
CN114816031B (en) * 2022-05-09 2023-10-13 海信电子科技(深圳)有限公司 Power saving method for terminal equipment, terminal equipment and medium

Also Published As

Publication number Publication date
CN107277907B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN107277907A (en) Method for controlling mobile terminal, mobile terminal and computer-readable recording medium
CN107087269B (en) Mobile terminal and data transmission method thereof
CN107087298A (en) Mobile terminal and its dormancy control method
CN106900045A (en) Data transmission system and method
CN107071162A (en) Dormancy control system and its dormancy control method
CN107087057A (en) Data transmission system and method
CN106953984A (en) Data transmission system and method
CN106982461A (en) Data transmission system and method
CN107087297A (en) Mobile terminal and its dormancy control method
CN107087062A (en) Data transmission system and method
CN107466025A (en) Data packet transmission system and method
CN106900044A (en) Mobile terminal and its dormancy control method
CN107087295A (en) Dormancy control system and its dormancy control method
CN106954254A (en) Mobile terminal and its dormancy control method
CN107466028A (en) Data transmission system, method, external equipment and mobile terminal
CN107087294A (en) Dormancy control system and its dormancy control method
CN107087064A (en) Mobile terminal and its data transmission method
CN107087061A (en) Data transmission system and method
CN107094316A (en) Mobile terminal and its data transmission method
CN107087270A (en) Data transmission system and method
CN107087268A (en) Data transmission system and method
CN107071164A (en) Data transmission system and method
CN107071165A (en) Data transmission system and method
CN106961719A (en) Data transmission system and method
CN106953983A (en) Data transmission system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201112

Address after: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jingxian County, Xuancheng City, Anhui Province

Applicant after: Jingxian GUSHENG Information Technology Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210224

Address after: 242599 shop front 2-3, area B, Xiyuan Community, No. 188, Meiqi Road, Jingchuan Town, Jing County, Xuancheng City, Anhui Province

Patentee after: Jingxian Liangliang Photoelectric Technology Co.,Ltd.

Address before: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jing County, Xuancheng City, Anhui Province

Patentee before: Jingxian GUSHENG Information Technology Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Mobile terminals and their control methods

Effective date of registration: 20230814

Granted publication date: 20201127

Pledgee: Jingxian SME Financing Guarantee Co.,Ltd.

Pledgor: Jingxian Liangliang Photoelectric Technology Co.,Ltd.

Registration number: Y2023980051957

PE01 Entry into force of the registration of the contract for pledge of patent right