CN105933963A - Device and method for controlling flight mode - Google Patents

Device and method for controlling flight mode Download PDF

Info

Publication number
CN105933963A
CN105933963A CN201610356219.4A CN201610356219A CN105933963A CN 105933963 A CN105933963 A CN 105933963A CN 201610356219 A CN201610356219 A CN 201610356219A CN 105933963 A CN105933963 A CN 105933963A
Authority
CN
China
Prior art keywords
detection
signal intensity
offline mode
threshold value
predetermined threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610356219.4A
Other languages
Chinese (zh)
Inventor
陈芹浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610356219.4A priority Critical patent/CN105933963A/en
Publication of CN105933963A publication Critical patent/CN105933963A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • 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)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a device for controlling a flight mode. The device comprises a detection module and a control module, wherein the detection module is used for detecting the signal intensity of a target network in an environment where a terminal locates; the control module is used for controlling the terminal to enter the flight mode when the signal intensity is smaller than a preset threshold value; the detection module is further used for continuously detecting the signal intensity of the target network in the environment where the terminal locates after the terminal enters the flight mode; and the control module is further used for controlling the terminal to exit the flight mode when the signal intensity is greater than or equal to the preset threshold value. The invention further discloses a method for controlling the flight mode. According to the device and the method disclosed by the invention, when the signal intensity of the target network in the environment where the terminal locates is relatively poor, the flight mode can be started automatically, the terminal is prevented from frequently searching a registry network to waste the electric energy of the terminal, and the electric energy of the terminal is effectively saved.

Description

Offline mode control device and method
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of offline mode control device and method.
Background technology
Mobile phone becomes a part indispensable in people's daily life, the electric quantity consumption of mobile phone when of trip Become people's very concern.People often take high ferro or motor-car, in high ferro trip when Or during motor-car process of passing through tunnel, often cause cell phone network signal more unstable, when taking high ferro or motor-car High-speed motion also can cause cell phone network signal more unstable, and then causes mobile phone fall net and search frequently Net action, cell phone network Chief Signal Boatswain time fluctuation and cannot stably can consume substantial amounts of resource removal search note Volume network, and then cause a large amount of consumption of cell-phone battery electric-charge quantity.
Summary of the invention
Present invention is primarily targeted at a kind of offline mode control device and method of offer, it is intended to save hands The electric energy of machine.
The offline mode that the present invention provides controls device and includes:
Detection module, for detecting the signal intensity of objective network in terminal local environment;
Control module, for when described signal intensity is less than predetermined threshold value, controls the entrance of described terminal and flies Row mode;
Described detection module is additionally operable to after described terminal enters offline mode, continues to detect described terminal institute The signal intensity of objective network in place's environment;
Described control module is additionally operable to, when described signal intensity is more than or equal to predetermined threshold value, control described Terminal exits offline mode.
Optionally, described offline mode controls device and also comprises determining that module, for according to target operation Pattern determines that objective network, described target operational mode include basic communication pattern and network communication mode.
Optionally, described control module be additionally operable to described signal intensity less than predetermined threshold value time, if with this In detection before secondary detection is adjacent, the signal intensity of continuous first preset times detection is respectively less than and presets threshold Value, then control described terminal and enter offline mode.
Optionally, described detection module is additionally operable to after described terminal enters offline mode, the inspection of intermittent Survey the signal intensity of objective network in described terminal local environment;
Wherein, when the signal intensity of detection every time is less than predetermined threshold value, if it adjacent with this detection In front detection, the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value, then increase this detection And the time interval between detection next time, until described time interval increases to maximum preset time interval Time, detect according to described maximum preset time interval.
Optionally, described control module is additionally operable to when described signal intensity is more than or equal to predetermined threshold value, If the signal intensity of continuous second preset times detection is all higher than in the detection before adjacent with this detection Or equal to predetermined threshold value, then control described terminal and exit offline mode.
Additionally, the offline mode control method that the present invention further provides includes:
The signal intensity of objective network in detection terminal local environment;
When described signal intensity is less than predetermined threshold value, controls described terminal and enter offline mode;
After described terminal enters offline mode, continue to detect objective network in described terminal local environment Signal intensity;
When described signal intensity is more than or equal to predetermined threshold value, controls described terminal and exit offline mode.
Optionally, in described detection terminal local environment before the step of the signal intensity of objective network, also Including: determine that objective network, described target operational mode include basic communication mould according to target operational mode Formula and network communication mode.
Optionally, described when described signal intensity is less than predetermined threshold value, control described terminal and enter flight The step of pattern includes:
When described signal intensity is less than predetermined threshold value, if the detection before adjacent with this detection connects The signal intensity of continuous first preset times detection is respectively less than predetermined threshold value, then control described terminal and enter flight Pattern.
Optionally, after described terminal enters offline mode, continue to detect mesh in described terminal local environment The step of the signal intensity of mark network includes:
After described terminal enters offline mode, target network in the detection described terminal local environment of intermittent The signal intensity of network;
Wherein, when the signal intensity of detection every time is less than predetermined threshold value, if it adjacent with this detection In front detection, the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value, then increase this detection And the time interval between detection next time, until described time interval increases to maximum preset time interval Time, detect according to described maximum preset time interval.
Optionally, described when described signal intensity is more than or equal to predetermined threshold value, control described terminal and move back The step going out offline mode includes: when described signal intensity is more than or equal to predetermined threshold value, and if this Detect adjacent before detection in the signal intensity of continuous second preset times detection be all higher than or equal to pre- If threshold value, then control described terminal and exit offline mode.
The offline mode control device and method that the present invention provides, by detecting in described terminal local environment The signal intensity of objective network, and when described signal intensity is less than predetermined threshold value, controls described terminal and enter Enter offline mode, after described terminal enters offline mode, continue to detect mesh in described terminal local environment The signal intensity of mark network, and when described signal intensity is more than or equal to predetermined threshold value, control described end End exits offline mode, thus when in terminal local environment, the signal intensity of objective network is poor, permissible Automatically turn on offline mode, it is to avoid terminal removal search registered network frequently and waste terminal electric energy, have Save terminal electric energy to effect.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional mobile phone that each embodiment of the present invention relates to;
Fig. 2 is the high-level schematic functional block diagram that offline mode of the present invention controls device first embodiment;
Fig. 3 is the first sight schematic diagram that user triggers Intelligent flight management mode control;
Fig. 4 is the second sight schematic diagram that user triggers Intelligent flight management mode control;
Fig. 5 is the high-level schematic functional block diagram that offline mode of the present invention controls device the 3rd embodiment;
Fig. 6 is the schematic flow sheet of offline mode control method first embodiment of the present invention;
Fig. 7 is the schematic flow sheet of offline mode control method the 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The server realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, Use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to The explanation of the present invention, itself does not has specific meaning.Therefore, " module " can mix with " parts " Close ground to use.
Specifically, the terminal of the present invention can be implemented in a variety of manners, such as, described in the present invention Terminal can include such as mobile phone, smart phone, e-book, panel computer etc..
As a kind of implementation, the hardware configuration of above-mentioned terminal can be as shown in Figure 1.
With reference to Fig. 1, this terminal can include user input unit 110, memorizer 120, processor 130 With communication bus 140 etc..Fig. 1 shows the terminal with various assembly, it should be understood that It is not required for implementing all assemblies illustrated.Can alternatively implement more or less of assembly.Below will Describe each assembly of mobile terminal in detail.
User input unit 110 can receive the Intelligent flight management mode of user's input and be turned on and off referring to Order, and receive predetermined threshold value, preset times or other preset instructions etc. of user's input.
Memorizer 120 can be high-speed RAM memorizer, it is also possible to be stable memorizer (non-volatile Memory), such as disk memory.Memorizer 120 optionally can also is that independent of aforementioned processor The storage device of 130.Memorizer 120 optionally can also is that modemst1 and modemst2 of terminal Subregion, memorizer 120 optionally can also is that terminal NV (non-volatile memory, non-volatile Property memorizer).As the memorizer 120 of a kind of computer-readable storage medium can store offline mode control Program etc..
Processor 130 can call in memorizer 120 offline mode of storage and control program, and perform with Lower operation:
Detect the signal intensity of objective network in described terminal local environment;
When described signal intensity is less than predetermined threshold value, controls described terminal and enter offline mode;
After described terminal enters offline mode, continue to detect objective network in described terminal local environment Signal intensity;
When described signal intensity is more than or equal to predetermined threshold value, controls described terminal and exit offline mode.
Processor 130 may call upon the offline mode of storage in memorizer 120 and controls program, and performs Below operation:
Determine that objective network, described target operational mode include basic communication pattern according to target operational mode And network communication mode.
Processor 130 may call upon the offline mode of storage in memorizer 120 and controls program, and performs Below operation:
When described signal intensity is less than predetermined threshold value, if the detection before adjacent with this detection connects The signal intensity of continuous first preset times detection is respectively less than predetermined threshold value, then control described terminal and enter flight Pattern.
Processor 130 may call upon the offline mode of storage in memorizer 120 and controls program, and performs Below operation:
After described terminal enters offline mode, target network in the detection described terminal local environment of intermittent The signal intensity of network;
Wherein, when the signal intensity of detection every time is less than predetermined threshold value, if it adjacent with this detection In front detection, the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value, then increase this detection And the time interval between detection next time, until described time interval increases to maximum preset time interval Time, detect according to described maximum preset time interval.
Processor 130 may call upon the offline mode of storage in memorizer 120 and controls program, and performs Below operation:
When described signal intensity is more than or equal to predetermined threshold value, if the inspection before adjacent with this detection In survey, the signal intensity of continuous second preset times detection is all higher than or equal to predetermined threshold value, then control described Terminal exits offline mode.
Propose offline mode of the present invention based on said system framework and hardware structure and control apparatus and method Each embodiment.
It is the high-level schematic functional block diagram that offline mode of the present invention controls device first embodiment with reference to Fig. 2, Fig. 2. It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 2 is only one The exemplary plot of preferred embodiment, those skilled in the art around the functional module of the terminal shown in Fig. 2, Supplementing of new functional module can be carried out easily;The title of each functional module is self-defined title, is only used for Auxiliary understands each program function block of this terminal, is not used in restriction technical scheme, the present invention The core of technical scheme is, the function that the functional module of each self-defined title is to be reached.
The present embodiment proposes a kind of offline mode and controls device, and described offline mode controls device and includes:
Detection module 210, for detecting the signal intensity of objective network in described terminal local environment;
In the present embodiment, objective network such as can include GSM, 1X, WCDMA, TDSCDMAL, EVDO, LTE etc..The signal intensity of its correspondence is determined according to the network signal obtained.
Terminal typically has two kinds with extraneous communication mode, and a kind of is basic call/short message service pattern, Another kind is network data service pattern.User can arrange target operational mode, target operational mode bag Include basic communication pattern and network communication mode.Offline mode controls device and can also include determining module, For determining objective network according to target operational mode.Such as, if communication based on target operational mode Pattern, then objective network can be GSM network;If target operational mode is network communication mode, then Objective network can be 3G, 4G network.
Optionally, as it is shown on figure 3, Fig. 3 is user triggers the first feelings of Intelligent flight management mode control Scape schematic diagram, can arrange Intelligent flight management mode and open and close control.Fly based on intelligence user During line pipe reason mode control input open command, then terminal starts to detect target in described terminal local environment The signal intensity of network, and control the entrance of described terminal or exit offline mode.Input based on intelligence user During energy flight management mode control input out code, then terminal normally works, user manually control Whether system enters offline mode.
Control module 220, for when described signal intensity is less than predetermined threshold value, controls described terminal and enters Offline mode;
In the present embodiment, predetermined threshold value can be configured according to actual needs, in this no limit.
When signal intensity is more than or equal to predetermined threshold value, then it is assumed that current signal intensity can meet hands The function of machine proper communication, therefore can close offline mode, make mobile phone normally work.At signal intensity During less than predetermined threshold value, then it is assumed that current signal intensity can not meet the function of mobile phone proper communication, Therefore can automatically turn on offline mode, make mobile phone stop communication with the outside world, it is to avoid mobile phone constantly goes Search for registered network and waste mobile phone electric energy.
Optionally, due to different user or same user, the business model required for different occasions may Differ.Such as, user there may come a time when to require that mobile phone possesses basic call/short message service function, Sometimes may in turn require that mobile phone network data service to be possessed pattern.In the present embodiment, user can also root According to needing to arrange the grade of access network.As shown in Figure 4, Fig. 4 is that user triggers Intelligent flight management mould Second sight schematic diagram of formula control.Described predetermined threshold value includes that first corresponding with basic communication pattern is pre- If threshold value and second predetermined threshold value corresponding with network communication mode, described first predetermined threshold value is less than described Second predetermined threshold value.
Described basic communication pattern is above-mentioned call/short message service pattern;Described network communication mode is i.e. For above-mentioned network data service pattern.
Three controls, first control correspondence basic communication business model, second control pair can be set Answering network data service pattern, the 3rd control correspondence closes Intelligent flight management mode.Triggering first According to signal intensity whether during individual control, then terminal is judging signal intensity whether during less than predetermined threshold value, Judge less than the first predetermined threshold value.When triggering second control, then mobile phone is judging that signal intensity is No less than predetermined threshold value time, whether judge less than the second predetermined threshold value according to signal intensity.Triggering the During three controls, then mobile phone cuts out Intelligent flight management mode.
Described detection module 210 is additionally operable to after described terminal enters offline mode, continues to detect described end The signal intensity of objective network in end local environment;
After described terminal enters offline mode, after a period of time, wake up the radio frequency of a terminal up Resource and detect terminal the signal intensity of objective network in the environment, and judge whether signal intensity is less than Predetermined threshold value.Such as, every detection in 10 seconds once.During waking up the radio frequency resource of terminal up, can be short Temporary closedown offline mode, to detect, upon completion of the assays, continues on offline mode.Therefore, When terminal enters offline mode, except detecting the signal intensity phase of objective network in described terminal local environment Outside between, terminal is in offline mode opening.
Described control module 220 is additionally operable to, when described signal intensity is more than or equal to predetermined threshold value, control Described terminal exits offline mode;
When signal intensity is more than or equal to predetermined threshold value, then it is assumed that the current network signal of mobile phone stabilizes, Normal communication function can be carried out.Therefore, control described terminal and exit offline mode.
The offline mode that the present invention provides controls device, by detecting target network in described terminal local environment The signal intensity of network, and when described signal intensity is less than predetermined threshold value, controls described terminal and enter flight Pattern, after described terminal enters offline mode, continues to detect objective network in described terminal local environment Signal intensity, and described signal intensity more than or equal to predetermined threshold value time, control described terminal and exit Offline mode, thus when in terminal local environment, the signal intensity of objective network is poor, can automatically open Open offline mode, it is to avoid terminal removal search registered network frequently and waste terminal electric energy, effectively save About terminal electric energy.
Further, controlling the first embodiment of device based on offline mode of the present invention, the present invention also proposes Offline mode controls the second embodiment of device, and described control module 220 is additionally operable at described signal strong When degree is less than predetermined threshold value, if continuous first preset times inspection in the detection before adjacent with this detection The signal intensity surveyed is respectively less than predetermined threshold value, then control described terminal and enter offline mode.
In the present embodiment, the first preset times can be configured according to actual needs, for example, it is possible to It is that 2 times, 3 times or 4 are inferior.
Owing to terminal may be due to system or other are former the most at a time or in the ofest short duration time Thus resulting in signal intensity poor, signal intensity is not that last longer is poor, flies if now opening Row mode, the inconvenience of meeting cause the user communication aspects, the most now need not open offline mode.
Therefore, in order to improve the stability of detection so that terminal is only in poor at signal intensity for a long time In the case of just enter offline mode, can be the least at the signal intensity of the most certain preset times detection When predetermined threshold value, then enter offline mode.In the present embodiment, if the first preset times is 2 times, then When the signal intensity of continuous 3 detections is respectively less than predetermined threshold value, then enter offline mode.Such as, if The signal intensity of detection is less than predetermined threshold value for the first time, then carry out second time after certain interval of time again and detect, Signal intensity still less than predetermined threshold value, then carries out third time again and detects after certain interval of time, signal is strong Degree still less than predetermined threshold value, then enters offline mode.
Further, the first or second embodiments of device, the present invention are controlled based on offline mode of the present invention Also proposed offline mode and control the 3rd embodiment of device, be offline mode of the present invention with reference to Fig. 5, Fig. 5 Controlling the high-level schematic functional block diagram of device the 3rd embodiment, described offline mode controls device and also includes:
Presetting module 230, for presetting the public land mobile network corresponding with the SIM of terminal;
Terminal can automatically preset corresponding public land mobile network according to the SIM inserted.
Described detection module 210 is additionally operable to the signal intensity of the described public land mobile network that detection is preset; It is additionally operable to, after described terminal enters offline mode, continue the described public land mobile network that detection is preset Signal intensity.
In the present embodiment, such as, move SIM and can only detect the PLMN of movement Network, the network corresponding without detecting other operators (such as UNICOM, telecommunications etc.), can be further Save the electric energy of terminal, on the premise of energy-conservation, ensure that the normal service function of terminal.
Further, in order to save the electric energy of terminal further, control device based on offline mode of the present invention The first to the 3rd any embodiment, the invention allows for offline mode control device the 4th embodiment, Described detection module 210 is additionally operable to after described terminal enters offline mode, the detection described end of intermittent The signal intensity of objective network in end local environment;In the present embodiment, can the most adjacent twice detection Between time interval identical.Optionally, it is also possible to the time interval between the most adjacent twice detection is increasingly Long.
Optionally, when the signal intensity of detection every time is less than predetermined threshold value, if adjacent with this detection In detection before, the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value, then increase this inspection Survey the time interval between detection next time, until described time interval increased between the maximum preset time Every time, detect according to described maximum preset time interval.
If owing to the signal intensity of terminal network occurs the most unstable, then need not detect all every time Wait identical time interval, time interval gradually can be elongated, to reduce the number of times of detection, and then Save the electric energy of terminal.Optionally, a minimum interval can be set, having just enter into flight mould every time First detecting with minimum interval after formula, the signal intensity detected later is still less than predetermined threshold value Time, then increase the time interval next time detecting wait, by that analogy, until it reaches the maximum preset time Interval, then detect with maximum preset time interval.
If it is understood that the signal intensity of certain one-time detection is more than or equal to predetermined threshold value during this period, Then can exit offline mode.
Described control module 220 is additionally operable to when described signal intensity is more than or equal to predetermined threshold value, if with This detection adjacent before detection in continuous second preset times detection signal intensity be all higher than or etc. In predetermined threshold value, then control described terminal and exit offline mode, thus just exit when signal intensity is stablized Offline mode, improves the stability of detection.If that is, the signal of certain one-time detection during above-mentioned detection Intensity is more than or equal to predetermined threshold value, and the time interval the most next time detecting wait will return back to minimum again Time interval, if the signal intensity again carrying out detecting is still less than predetermined threshold value, then continues according to above-mentioned The mode that is gradually increased of time interval detect.If again carry out the intensity that detects still above or etc. In predetermined threshold value, then judge whether to reach the second preset times, more than or equal to time, then exit flight Pattern, less than time, continue detection.
Such as, under offline mode, strong and weak in order to detect the signal of unstable environment, in detection for the first time Signal intensity less than predetermined threshold value time, can with less time interval carry out second time detect, such as, Carry out second time after can waiting 1 second again to detect.If the signal intensity of second time detection is still less than presetting Threshold value, then can increase the time interval next time detecting wait, for example, it is possible to enter after waiting 2 seconds again Row third time detection.By that analogy, it is assumed that until proceed to the tenth time detection, and these ten times detection letter Number intensity is respectively less than predetermined threshold value.And the signal intensity of the tenth one-time detection is more than or equal to predetermined threshold value. Third time to time interval between adjacent twice detection in the 7th detection can be followed successively by 5 seconds, 10 seconds, 20 seconds, 30 seconds.Assume that maximum preset time interval is defined as 30 seconds, then the 7th time to ten one-time detection In time interval between adjacent twice detection can be all 30 seconds.
When the signal of the tenth one-time detection is more than or equal to predetermined threshold value, then can reduce the waiting time, Tenth time interval once and between the tenth secondary detection can be such as 2 seconds.Assume second default time Number is 2 times.The number of times that current continuous detecting is qualified is also not up to the second preset times, it is therefore desirable to continue Continue and detect.Detection afterwards may have two kinds of situations:
A kind of situation be the 12nd time and the signal intensity that detects the most several times less than predetermined threshold value, then Mobile phone can carry out follow-up detection in the way of continuing to be gradually increased according to above-mentioned time interval.Or the tenth The signal intensity of secondary detection is less than predetermined threshold value, the signal intensity of the 13rd, 14 and 15 detections Reach predetermined threshold value.12nd and 13 detection can detect with minimum interval for 1 second.Tenth In three times, 14 and 15 detections, the time interval of adjacent twice detection can be identical, for example, it is possible to It it is 2 seconds.After having detected at the 15th time, continuous 3 detections are all higher than or equal to predetermined threshold value, i.e. In detection before adjacent with this detection, the signal intensity of continuous 2 detections is all higher than or equal to presetting Threshold value, therefore can exit offline mode.
Another kind of situation is that the signal intensity of the 12nd and 13 detection is more than or equal to predetermined threshold value, the In 11,12 and 13 detections, the time interval between adjacent twice detection can be identical, such as, It can be 2 seconds.After having detected at the 13rd time, continuous 3 detections are all higher than or equal to predetermined threshold value, Therefore offline mode can be exited.
Optionally, it is all higher than or equal to pre-at the signal intensity carrying out described continuous second preset times detection If during threshold value, the time interval between adjacent twice detection is less than described maximum preset time interval. Such as, in above-described embodiment, when carrying out the detection of continuous second preset times, adjacent twice detection Between time interval be 2 seconds.Thus ensure that mobile phone can exit in time when network signal recovers and fly Row mode.
The present invention further provides a kind of offline mode control method, be that the present invention flies with reference to Fig. 6, Fig. 6 The schematic flow sheet of mode control method first embodiment, described offline mode control method includes:
Step S10, the signal intensity of objective network in detection terminal local environment;
In the present embodiment, objective network such as can include GSM, 1X, WCDMA, TDSCDMAL, EVDO, LTE etc..The signal intensity of its correspondence is determined according to the network signal obtained.
Mobile phone typically has two kinds with extraneous communication mode, and a kind of is basic call/short message service pattern, Another kind is network data service pattern.User can arrange target operational mode, target operational mode bag Include basic communication pattern and network communication mode.The letter of objective network in described detection terminal local environment Before the step of number intensity, also include: determine objective network according to target operational mode.Such as, if Communication mode based on target operational mode, then objective network can be GSM network;If target operation Pattern is network communication mode, then objective network can be 3G, 4G network.
Optionally, as it is shown on figure 3, Intelligent flight management mode can be arranged open and close control.? When user is based on Intelligent flight management mode control input open command, then terminal starts to detect described terminal The signal intensity of objective network in local environment, and control the entrance of described terminal or exit offline mode.? When user's input is based on the input out code of Intelligent flight management mode control, then terminal normally works, Whether offline mode is entered by user's Non-follow control.
Step S20, when described signal intensity is less than predetermined threshold value, controls described terminal and enters offline mode;
In the present embodiment, predetermined threshold value can be configured according to actual needs, in this no limit.
When signal intensity is more than or equal to predetermined threshold value, then it is assumed that current signal intensity can meet hands The function of machine proper communication, therefore can close offline mode, make mobile phone normally work.At signal intensity During less than predetermined threshold value, then it is assumed that current signal intensity can not meet the function of mobile phone proper communication, Therefore can automatically turn on offline mode, make mobile phone stop communication with the outside world, it is to avoid mobile phone constantly goes Search for registered network and waste mobile phone electric energy.
Mobile phone typically has two kinds with extraneous communication mode, and a kind of is basic call/short message service pattern, Another kind is network data service pattern, and the signal intensity required by both business models is different, net The signal intensity that the signal intensity that network data service mode requires requires more than call/short message service pattern.No With user or same user, the business model required for different occasions may differ.Such as, user There may come a time when to require that mobile phone possesses basic call/short message service function, sometimes may in turn require that mobile phone Network data service pattern to be possessed.In the present embodiment, user can also be arranged as required to access network Grade.As shown in Figure 4, described predetermined threshold value includes that first corresponding with basic communication pattern presets threshold Value and second predetermined threshold value corresponding with network communication mode, described first predetermined threshold value is less than described second Predetermined threshold value.
Described basic communication pattern is above-mentioned call/short message service pattern;Described network communication mode is i.e. For above-mentioned network data service pattern.
Three controls, first control correspondence basic communication business model, second control pair can be set Answering network data service pattern, the 3rd control correspondence closes Intelligent flight management mode.Triggering first According to signal intensity whether during individual control, then terminal is judging signal intensity whether during less than predetermined threshold value, Judge less than the first predetermined threshold value.When triggering second control, then mobile phone is judging that signal intensity is No less than predetermined threshold value time, whether judge less than the second predetermined threshold value according to signal intensity.Triggering the During three controls, then mobile phone cuts out Intelligent flight management mode.
Step S30, after described terminal enters offline mode, continues to detect mesh in described terminal local environment The signal intensity of mark network;
After described terminal enters offline mode, after a period of time, wake up the radio frequency of a terminal up Resource and detect terminal the signal intensity of objective network in the environment, and judge whether signal intensity is less than Predetermined threshold value.Such as, every detection in 10 seconds once.During waking up the radio frequency resource of terminal up, can be short Temporary closedown offline mode, to detect, upon completion of the assays, continues on offline mode.Therefore, When terminal enters offline mode, except detecting the signal intensity phase of objective network in described terminal local environment Outside between, terminal is in offline mode opening.
Step S40, when described signal intensity is more than or equal to predetermined threshold value, controls described terminal and exits and fly Row mode;
When signal intensity reaches predetermined threshold value, then it is assumed that the current network signal of mobile phone stabilizes, permissible Carry out normal communication function.Therefore, control described terminal and exit park mode, i.e. control mobile phone and close Offline mode.
The offline mode control method that the present invention provides, by detecting target network in described terminal local environment The signal intensity of network, and when described signal intensity is less than predetermined threshold value, controls described terminal and enter flight Pattern, after described terminal enters offline mode, continues to detect objective network in described terminal local environment Signal intensity, and described signal intensity more than or equal to predetermined threshold value time, control described terminal and exit Offline mode, thus when in terminal local environment, the signal intensity of objective network is poor, can automatically open Open offline mode, it is to avoid terminal removal search registered network frequently and waste terminal electric energy, effectively save About terminal electric energy.
Further, first embodiment based on offline mode control method of the present invention, the present invention also proposes Second embodiment of offline mode control method, step S20 includes: at described signal intensity less than pre- If during threshold value, if the signal of continuous first preset times detection in the detection before adjacent with this detection Intensity is respectively less than predetermined threshold value, then control described terminal and enter offline mode.
In the present embodiment, the first preset times can be configured according to actual needs, for example, it is possible to It is that 2 times, 3 times or 4 are inferior.
Owing to terminal may be due to system or other are former the most at a time or in the ofest short duration time Thus resulting in signal intensity poor, signal intensity is not that last longer is poor, flies if now opening Row mode, the inconvenience of meeting cause the user communication aspects, the most now need not open offline mode.
Therefore, in order to improve the stability of detection so that terminal is only in poor at signal intensity for a long time In the case of just enter offline mode, can be the least at the signal intensity of the most certain preset times detection When predetermined threshold value, then enter offline mode.In the present embodiment, if the first preset times is 2 times, then When the signal intensity of continuous 3 detections is respectively less than predetermined threshold value, then enter offline mode.Such as, if The signal intensity of detection is less than predetermined threshold value for the first time, then carry out second time after certain interval of time again and detect, Signal intensity still less than predetermined threshold value, then carries out third time again and detects after certain interval of time, signal is strong Degree still less than predetermined threshold value, then enters offline mode.
Further, first or second embodiments based on offline mode control method of the present invention, the present invention Also proposed the 3rd embodiment of offline mode control method, be offline mode of the present invention with reference to Fig. 7, Fig. 7 The schematic flow sheet of control method the 3rd embodiment, before step S10, also includes:
Step S50, presets the public land mobile network corresponding with the SIM of terminal;
Terminal can automatically preset corresponding public land mobile network according to the SIM inserted.
Step S10 includes step S11, the signal intensity of the described public land mobile network that detection is preset;
Step S30 includes step S31, after described terminal enters offline mode, continues the institute that detection is preset State the signal intensity of public land mobile network.
In the present embodiment, such as, move SIM and can only detect the PLMN of movement Network, the network corresponding without detecting other operators (such as UNICOM, telecommunications etc.), can be further Save the electric energy of terminal, on the premise of energy-conservation, ensure that the normal service function of terminal.
Further, in order to save the electric energy of terminal further, based on offline mode control method of the present invention The first to the 3rd any embodiment, the invention allows for the 4th embodiment of offline mode control method, Step S30 includes: after described terminal enters offline mode, ring residing for the described terminal of detection of intermittent The signal intensity of objective network in border;In the present embodiment, can time between the most adjacent twice detection It is spaced identical.Optionally, it is also possible to the time interval between the most adjacent twice detection is more and more longer.
Optionally, when the signal intensity of detection every time is less than predetermined threshold value, if adjacent with this detection In detection before, the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value, then increase this inspection Survey the time interval between detection next time, until described time interval increased between the maximum preset time Every time, detect according to described maximum preset time interval.
If owing to the signal intensity of terminal network occurs the most unstable, then need not detect all every time Wait identical time interval, time interval gradually can be elongated, to reduce the number of times of detection, and then Save the electric energy of terminal.Optionally, a minimum interval can be set, having just enter into flight mould every time First detecting with minimum interval after formula, the signal intensity detected later is still less than predetermined threshold value Time, then increase the time interval next time detecting wait, by that analogy, until it reaches the maximum preset time Interval, then detect with maximum preset time interval.
If it is understood that the signal intensity of certain one-time detection is more than or equal to predetermined threshold value during this period, Then can exit offline mode.
Optionally, step S40 includes: when described signal intensity is more than or equal to predetermined threshold value, if with This detection adjacent before detection in continuous second preset times detection signal intensity be all higher than or etc. In predetermined threshold value, then control described terminal and exit offline mode, thus just exit when signal intensity is stablized Offline mode, improves the stability of detection.If that is, the signal of certain one-time detection during above-mentioned detection Intensity is more than or equal to predetermined threshold value, and the time interval the most next time detecting wait will return back to minimum again Time interval, if the signal intensity again carrying out detecting is still less than predetermined threshold value, then continues according to above-mentioned The mode that is gradually increased of time interval detect.If again carry out the intensity that detects still above or etc. In predetermined threshold value, then judge whether to reach the second preset times, more than or equal to time, then exit flight Pattern, less than time, continue detection.
Such as, under offline mode, strong and weak in order to detect the signal of unstable environment, in detection for the first time Signal intensity less than predetermined threshold value time, can with less time interval carry out second time detect, such as, Carry out second time after can waiting 1 second again to detect.If the signal intensity of second time detection is still less than presetting Threshold value, then can increase the time interval next time detecting wait, for example, it is possible to enter after waiting 2 seconds again Row third time detection.By that analogy, it is assumed that until proceed to the tenth time detection, and these ten times detection letter Number intensity is respectively less than predetermined threshold value.And the signal intensity of the tenth one-time detection is more than or equal to predetermined threshold value. Third time to time interval between adjacent twice detection in the 7th detection can be followed successively by 5 seconds, 10 seconds, 20 seconds, 30 seconds.Assume that maximum preset time interval is defined as 30 seconds, then the 7th time to ten one-time detection In time interval between adjacent twice detection can be all 30 seconds.
When the signal of the tenth one-time detection is more than or equal to predetermined threshold value, then can reduce the waiting time, Tenth time interval once and between the tenth secondary detection can be such as 2 seconds.Assume second default time Number is 3 times.The number of times that current continuous detecting is qualified is also not up to the second preset times, it is therefore desirable to continue Continue and detect.Detection afterwards may have two kinds of situations:
A kind of situation be the 12nd time and the signal intensity that detects the most several times less than predetermined threshold value, then Mobile phone can carry out follow-up detection in the way of continuing to be gradually increased according to above-mentioned time interval.Or the tenth The signal intensity of secondary detection is less than predetermined threshold value, the signal intensity of the 13rd, 14 and 15 detections Reach predetermined threshold value.12nd and 13 detection can detect with minimum interval for 1 second.Tenth In three times, 14 and 15 detections, the time interval of adjacent twice detection can be identical, for example, it is possible to It it is 2 seconds.After having detected at the 15th time, continuous 3 detections are all higher than or equal to predetermined threshold value, i.e. In detection before adjacent with this detection, the signal intensity of continuous 2 detections is all higher than or equal to presetting Threshold value, therefore can exit offline mode.
Another kind of situation is that the signal intensity of the 12nd and 13 detection is more than or equal to predetermined threshold value, the In 11,12 and 13 detections, the time interval between adjacent twice detection can be identical, such as, It can be 2 seconds.After having detected at the 13rd time, continuous 3 detections are all higher than or equal to predetermined threshold value, Therefore offline mode can be exited.
Optionally, it is all higher than or equal to pre-at the signal intensity carrying out described continuous second preset times detection If during threshold value, the time interval between adjacent twice detection is less than described maximum preset time interval. Such as, in above-described embodiment, when carrying out the detection of continuous second preset times, adjacent twice detection Between time interval be 2 seconds.Thus ensure that mobile phone can exit in time when network signal recovers and fly Row mode.
It should be noted that in this article, term " include ", " comprising " or its any other variant Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction Under condition, statement " including ... " key element limited, it is not excluded that include this key element process, Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. an offline mode controls device, it is characterised in that described offline mode controls device and includes:
Detection module, for detecting the signal intensity of objective network in terminal local environment;
Control module, for when described signal intensity is less than predetermined threshold value, controls described terminal and enters offline mode;
Described detection module is additionally operable to after described terminal enters offline mode, continues to detect the signal intensity of objective network in described terminal local environment;
Described control module is additionally operable to, when described signal intensity is more than or equal to predetermined threshold value, control described terminal and exit offline mode.
2. offline mode as claimed in claim 1 controls device, it is characterized in that, described offline mode controls device and also comprises determining that module, for determining that objective network, described target operational mode include basic communication pattern and network communication mode according to target operational mode.
3. offline mode as claimed in claim 1 controls device, it is characterized in that, described control module is additionally operable to when described signal intensity is less than predetermined threshold value, if the signal intensity of continuous first preset times detection is respectively less than predetermined threshold value in the detection before adjacent with this detection, then controls described terminal and enter offline mode.
4. offline mode as claimed in claim 1 controls device, it is characterised in that described detection module is additionally operable to after described terminal enters offline mode, the signal intensity of objective network in the described terminal local environment of detection of intermittent;
Wherein, when the signal intensity of detection every time is less than predetermined threshold value, if the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value in the detection before adjacent with this detection, then increase the time interval between this detection and detection next time, during until described time interval increases to maximum preset time interval, detect according to described maximum preset time interval.
5. offline mode as claimed in claim 1 controls device, it is characterized in that, described control module is additionally operable to when described signal intensity is more than or equal to predetermined threshold value, if the signal intensity of continuous second preset times detection is all higher than or equal to predetermined threshold value, then controls described terminal and exit offline mode in the detection before adjacent with this detection.
6. an offline mode control method, it is characterised in that described offline mode control method includes:
The signal intensity of objective network in detection terminal local environment;
When described signal intensity is less than predetermined threshold value, controls described terminal and enter offline mode;
After described terminal enters offline mode, continue to detect the signal intensity of objective network in described terminal local environment;
When described signal intensity is more than or equal to predetermined threshold value, controls described terminal and exit offline mode.
7. offline mode control method as claimed in claim 6, it is characterized in that, in described detection terminal local environment before the step of the signal intensity of objective network, also include: determine that objective network, described target operational mode include basic communication pattern and network communication mode according to target operational mode.
8. offline mode control method as claimed in claim 6, it is characterised in that when described signal intensity is less than predetermined threshold value, the step controlling described terminal entrance offline mode includes:
When described signal intensity is less than predetermined threshold value, if the signal intensity of continuous first preset times detection is respectively less than predetermined threshold value in the detection before adjacent with this detection, then controls described terminal and enter offline mode.
9. offline mode control method as claimed in claim 6, it is characterised in that after described terminal enters offline mode, continues to detect the step of the signal intensity of objective network in described terminal local environment and includes:
After described terminal enters offline mode, the signal intensity of objective network in the described terminal local environment of detection of intermittent;
Wherein, when the signal intensity of detection every time is less than predetermined threshold value, if the signal intensity of continuous some number of times detection is respectively less than predetermined threshold value in the detection before adjacent with this detection, then increase the time interval between this detection and detection next time, during until described time interval increases to maximum preset time interval, detect according to described maximum preset time interval.
10. offline mode control method as claimed in claim 6, it is characterized in that, when described signal intensity is more than or equal to predetermined threshold value, control described terminal to exit the step of offline mode and include: when described signal intensity is more than or equal to predetermined threshold value, if the signal intensity of continuous second preset times detection is all higher than or equal to predetermined threshold value, then controls described terminal and exit offline mode in the detection before adjacent with this detection.
CN201610356219.4A 2016-05-25 2016-05-25 Device and method for controlling flight mode Pending CN105933963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610356219.4A CN105933963A (en) 2016-05-25 2016-05-25 Device and method for controlling flight mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610356219.4A CN105933963A (en) 2016-05-25 2016-05-25 Device and method for controlling flight mode

Publications (1)

Publication Number Publication Date
CN105933963A true CN105933963A (en) 2016-09-07

Family

ID=56841275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610356219.4A Pending CN105933963A (en) 2016-05-25 2016-05-25 Device and method for controlling flight mode

Country Status (1)

Country Link
CN (1) CN105933963A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018132942A1 (en) * 2017-01-17 2018-07-26 廖建强 Signal control method and terminal
CN108541051A (en) * 2018-04-04 2018-09-14 广东小天才科技有限公司 A kind of use pattern control method and mobile terminal based on mobile terminal
CN108574980A (en) * 2017-03-13 2018-09-25 深圳富泰宏精密工业有限公司 Electricity-saving system, electronic device and its electricity saving method with the electricity-saving system
CN108924915A (en) * 2018-05-30 2018-11-30 出门问问信息科技有限公司 Data-updating method and device based on offline mode
CN110012528A (en) * 2019-03-07 2019-07-12 努比亚技术有限公司 Offline mode control method, storage medium and the mobile terminal of mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186226A (en) * 2010-12-23 2011-09-14 上海华勤通讯技术有限公司 Mobile phone for self-adapting communication environment and energy-saving method thereof
CN102651783A (en) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 Method and device for automatically control flying mode, and mobile device
CN102883072A (en) * 2012-07-30 2013-01-16 成都西可科技有限公司 Method for automatically adjusting power consumption according to signal strength
CN103945365A (en) * 2014-03-20 2014-07-23 可牛网络技术(北京)有限公司 Automatic control method and device for airplane mode and mobile equipment
CN105120095A (en) * 2015-08-28 2015-12-02 上海卓易科技股份有限公司 Airplane mode control method and control device, and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186226A (en) * 2010-12-23 2011-09-14 上海华勤通讯技术有限公司 Mobile phone for self-adapting communication environment and energy-saving method thereof
CN102651783A (en) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 Method and device for automatically control flying mode, and mobile device
CN102883072A (en) * 2012-07-30 2013-01-16 成都西可科技有限公司 Method for automatically adjusting power consumption according to signal strength
CN103945365A (en) * 2014-03-20 2014-07-23 可牛网络技术(北京)有限公司 Automatic control method and device for airplane mode and mobile equipment
CN105120095A (en) * 2015-08-28 2015-12-02 上海卓易科技股份有限公司 Airplane mode control method and control device, and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018132942A1 (en) * 2017-01-17 2018-07-26 廖建强 Signal control method and terminal
CN108574980A (en) * 2017-03-13 2018-09-25 深圳富泰宏精密工业有限公司 Electricity-saving system, electronic device and its electricity saving method with the electricity-saving system
CN108574980B (en) * 2017-03-13 2021-12-28 深圳富泰宏精密工业有限公司 Power saving system, electronic device with same and power saving method thereof
CN108541051A (en) * 2018-04-04 2018-09-14 广东小天才科技有限公司 A kind of use pattern control method and mobile terminal based on mobile terminal
CN108924915A (en) * 2018-05-30 2018-11-30 出门问问信息科技有限公司 Data-updating method and device based on offline mode
CN110012528A (en) * 2019-03-07 2019-07-12 努比亚技术有限公司 Offline mode control method, storage medium and the mobile terminal of mobile terminal

Similar Documents

Publication Publication Date Title
CN105933963A (en) Device and method for controlling flight mode
CN105554316B (en) A kind of realization method and system of reserved intelligent terminal battery capacity
CN104166542A (en) Method and device for detecting electricity consumption of application
CN106055073B (en) A kind for the treatment of method and apparatus based on bright screen lock
CN105676987A (en) Method for shutting down background application of mobile terminal, device and mobile terminal
CN110505709B (en) Method and device for quickly deactivating mobile network and mobile terminal
CN103686955A (en) Electric energy optimization method and system
CN106879051A (en) Power reduction method and electronic installation
CN102724738A (en) Multimode terminal and method and device for selecting resident network for multimode terminal
CN101995553B (en) Electric quantity detecting circuit as well as processing device and method for detecting state of mobile phone in standby mode
CN104244321A (en) Cell energy saving and awakening method and device
CN104599389A (en) School entering and leaving judgment method of intelligent electronic student identity card
CN103686595A (en) State switching method and electronic equipment
CN109121188A (en) Internet-of-things terminal, system and the awakening method for internet-of-things terminal
CN111065114B (en) Energy-saving management method, energy-saving management device and storage medium
CN105704758A (en) Method and device of closing social applications based on flow monitoring
CN102695257A (en) Terminal and power consumption optimizing method thereof
CN107197426A (en) A kind of method, device and mobile management nodes for reducing network signaling overhead
CN103327161B (en) Terminal and fast starting method
CN106095288A (en) A kind of based on the treating method and apparatus waking up lock up
CN103581448A (en) Multifunctional intelligent terminal and energy management method thereof
CN107402808A (en) process management method, device, storage medium and electronic equipment
CN103068008A (en) Access method of LTE network and LTE communication terminal
CN107132905A (en) Terminal communication control method and terminal
CN108121435A (en) Electricity saving of mobile terminal operation method, device and computer readable storage medium

Legal Events

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

Application publication date: 20160907

RJ01 Rejection of invention patent application after publication