CN110012528A - Offline mode control method, storage medium and the mobile terminal of mobile terminal - Google Patents

Offline mode control method, storage medium and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN110012528A
CN110012528A CN201910173298.9A CN201910173298A CN110012528A CN 110012528 A CN110012528 A CN 110012528A CN 201910173298 A CN201910173298 A CN 201910173298A CN 110012528 A CN110012528 A CN 110012528A
Authority
CN
China
Prior art keywords
mobile terminal
base station
section
station number
offline mode
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
CN201910173298.9A
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 CN201910173298.9A priority Critical patent/CN110012528A/en
Publication of CN110012528A publication Critical patent/CN110012528A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • 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
    • 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)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to offline mode control method, mobile terminal and the storage mediums of a kind of mobile terminal.This method comprises: receive one stroke information, according to the travel information obtain the trip information indicated by the corresponding base station number in each section in corresponding stroke route;User's time point locating for each section is calculated according to the stroke route, departure time and default movement speed;The corresponding base station number in section currently reached is obtained, when the base station number is less than default base station number threshold value, the mobile terminal is controlled and opens offline mode.The disclosure avoids mobile terminal and increases the loss that power consumption carries out searching net and causes electricity in weak output signal.

Description

Offline mode control method, storage medium and the mobile terminal of mobile terminal
Technical field
This disclosure relates to mobile device technology more particularly to a kind of offline mode control method of mobile terminal, deposit Storage media and mobile terminal.
Background technique
The offline mode of smart phone needs the manual deactivation of user or closing at present.In the related technology, when user is in Mountain area, basement, peripheral base stations signal is very weak or without in the case where base station signal on aircraft etc., if user manually will not Mobile phone is adjusted to offline mode, then mobile phone will increase antenna power and search net frequency to search the signal of peripheral base station, this feelings The power consumption of user mobile phone would generally be very big under condition, but since peripheral base station signal is too weak, even if actually mobile phone increases power consumption Search net or cannot normal communication, so causing the loss in vain of mobile telephone power consumption.
Therefore, it is necessary to which providing the new technical solution of one kind improves one or more problem present in above scheme.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The offline mode control method for being designed to provide a kind of mobile terminal, mobile terminal and the storage of the disclosure are situated between Matter, and then one or more is overcome the problems, such as caused by the limitation and defect due to the relevant technologies at least to a certain extent.
According to the first aspect of the embodiments of the present disclosure, a kind of offline mode control method of mobile terminal is provided, comprising:
Receive one stroke information, according to the travel information obtain the trip information indicated by corresponding stroke route it is each The corresponding base station number in section;
The section that user is currently reached is calculated according to the stroke route, current time and default movement speed;
The corresponding base station number in section currently reached is obtained, is less than default base station number threshold value in the base station number When, it controls the mobile terminal and opens offline mode.
In embodiment of the disclosure, this method further include:
It is more than or equal to default base station number threshold value in the base station number, and the signal of mobile terminal is weaker than preset signals threshold value When, it controls the mobile terminal and opens offline mode.
In embodiment of the disclosure, control before the mobile terminal opens offline mode, further includes:
Obtain the corresponding base station number of lower a road section in the section currently reached.
In embodiment of the disclosure, this method further include:
When the base station number of the lower a road section is more than or equal to the default base station number threshold value, the mobile terminal is controlled Offline mode is closed in the location of described lower a road section.
In embodiment of the disclosure, according to the travel information obtain the trip information indicated by corresponding stroke route The step of corresponding base station number in each section, comprising:
Networking inquiry obtains indicated by the trip information the corresponding base station number in each section in corresponding stroke route.
In embodiment of the disclosure, user is calculated according to the stroke route, current time and default movement speed and is worked as Before preceding reached section, further includes:
A predetermined registration operation is responded to work as to calculate user according to the stroke route, current time and default movement speed Preceding reached section.
In embodiment of the disclosure, user is calculated according to the stroke route, current time and default movement speed and is worked as The step of preceding reached section, comprising:
Stroke distances are obtained according to the stroke route, according to the stroke distances, current time and the default shifting Dynamic speed calculates the section that user is currently reached.
In embodiment of the disclosure, the travel information includes stroke route, departure time, default movement speed, starting Position and destination locations.
According to the second aspect of an embodiment of the present disclosure, a kind of mobile terminal is provided comprising:
Processor;And
Memory, for storing the computer program that can be run on the processor;
Wherein, the computer program realizes a kind of mobile terminal described in any of the above-described when being executed by the processor The step of offline mode control method.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine program, the computer program realize a kind of movement described in any one above-mentioned embodiment when being executed by least one processor The step of offline mode control method of terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In a kind of embodiment of the disclosure, before stroke starts, corresponding stroke indicated by travel information is obtained in advance The corresponding base station number in each section in route, and can be according to the stroke route, current time and default in stroke Movement speed calculates the section that user is currently reached, and obtains the corresponding base station number in the section, when the base station number is less than Default base station number threshold value and cause mobile terminal signal it is faint can not normal communication when, can be automatically controled mobile terminal opening Offline mode avoids mobile terminal and increases the loss that power consumption carries out searching net and causes electricity in weak output signal.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
Fig. 1 schematically shows a kind of hardware structural diagram of mobile terminal in disclosure exemplary embodiment;
Fig. 2 schematically shows a kind of communications network system configuration diagram in disclosure exemplary embodiment;
Fig. 3 schematically shows a kind of offline mode control method process of mobile terminal in disclosure exemplary embodiment and shows It is intended to;
Fig. 4 schematically shows a kind of interface schematic diagram of mobile terminal in disclosure exemplary embodiment;
Fig. 5 schematically shows a kind of another interface schematic diagram of mobile terminal in disclosure exemplary embodiment;
Fig. 6 schematically shows a kind of offline mode control system signal of mobile terminal in disclosure exemplary embodiment Figure;
Fig. 7 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
A kind of offline mode control method of mobile terminal is provided firstly in this example embodiment, this method can answer For one have display screen terminal device, such as can be mobile phone, personal digital assistant, laptop, tablet computer, The mobile terminals such as smartwatch.With reference to shown in Fig. 3, this method may include:
Step S301, receive one stroke information, according to the travel information obtain the trip information indicated by corresponding line The corresponding base station number in each section in journey route;
Step S302 calculates user according to the stroke route, current time and default movement speed and is currently reached Section;
Step S303 obtains the corresponding base station number in section currently reached, is less than default base station in the base station number When amount threshold, controls the mobile terminal and open offline mode.
By the above method, before stroke starts, obtain in advance each in corresponding stroke route indicated by travel information The corresponding base station number in section, and can be according to the stroke route, current time and default movement speed in stroke The section that user is currently reached is calculated, and obtains the corresponding base station number in the section, when the base station number is less than default base station Amount threshold and cause mobile terminal signal it is faint can not normal communication when, can be automatically controled the mobile terminal open flight mould Formula avoids mobile terminal and increases the loss that power consumption carries out searching net and causes electricity in weak output signal.
In the following, each step of the reference Fig. 3 to Fig. 5 to the above method in this example embodiment is carried out more detailed Explanation.
In step S301, the travel information can be mobile in typing before travel by user according to oneself trip arrangement In an application program on terminal device, specifically, the application program is the application of recordable travel information, for example, record The initial position of this trip, destination locations, departure time, stroke route, traffic, average movement speed, trip traffic Tool etc..In this way, mobile terminal can directly obtain all travel informations from the application program.It later, need to be in conjunction with online existing Each section base station information data having obtain corresponding with each section in corresponding stroke route in the travel information of user's typing Base station number, and it is stored in a predeterminated position of mobile terminal, to facilitate subsequent calling, which can be note The application program of record travel information can also be other applications, and the present invention is without limitation.
In one embodiment, user's plan drives to go to a certain scenic spot from own home in, can first move before travel The input travel origin of an incident in the travel information records application program of dynamic terminal, such as " tourism ", then sequentially input departure place, scenic spot Place, departure time, stroke route, the average movement speed selected in conjunction with map application etc..Then, in conjunction with online existing Each section base station information data, obtain the base station number information in all sections in the traffic path, and these information are recorded In the application program.For user's convenience, the application program can also simultaneously the multiple travel informations of typing, and respectively obtain should The corresponding base station number in each section in corresponding stroke route indicated by multiple travel informations, so that user is according to different situations It is selected, for example, in certain a road section traffic accident or natural calamity occur for stroke route currently in use in stroke road Evil, can be selected other stroke route at this time.
In step s 302, the default movement speed is the average movement speed recorded in above mentioned step S3 01. In one embodiment, when stroke starts, which is calculated according to the stroke route recorded in travel information records application program The total distance of line calculates the current institute of user further according to the total distance of the route, current time and the default movement speed The section of arrival and the time point locating for each section.
After opening offline mode in the next steps, mobile terminal will be unable to normal communication, i.e., can not judge at which The signal of communication of mobile terminal can restore normally when a road section, can be in subsequent step by calculating time point locating for each section Setting in rapid, is automatically closed offline mode on the time point that mobile terminal restores normal section by signal of communication.
In step S303, the corresponding base station number in section currently reached is obtained, is less than in the base station number default When base station number threshold value, controls the mobile terminal and open offline mode.In one embodiment, for example in combination with navigation system GPS navigation system or Beidou Navigation System judge the section that the mobile terminal currently reaches, before being obtained according to the road section information The corresponding base station number information in the section that step has recorded, and the base station number and default base station number threshold value are compared Compared with.Wherein, the default base station number threshold value is the minimum base station number that the mobile terminal can be made to carry out normal communication.When this When the corresponding base station number in section is greater than or equal to default base station number threshold value, the mobile terminal keeps offline mode to close shape State;When the corresponding base station number in the section is less than default base station number threshold value, controls the mobile terminal and opens offline mode, Avoid mobile terminal at this time because weak output signal can not normal communication, but appoint so increase power consumption constantly carry out searching net and caused by Electric quantity loss.
In another embodiment, based on the basis of previous embodiment, the corresponding base in section currently reached is being obtained When quantity of standing, the offline mode control method of the mobile terminal of the disclosure can with the following steps are included:
Step S304 is more than or equal to default base station number threshold value in the base station number, and the signal of mobile terminal be weaker than it is pre- If when signal threshold value, controlling the mobile terminal and opening offline mode.
Wherein, the preset signals threshold value is the minimum signal value that the mobile terminal can be made to carry out normal communication.When with When the stroke route at family has basement, airport, underground parking or other special occasions, the base in section locating for these occasions When quantity of standing is less than default base station number threshold value, controls the mobile terminal and open offline mode.And road locating for these occasions The base station number of section is possible to be more than or equal to default base station number threshold value, but due to by environment or other specific factors Influence, such as be provided with signal shielding device etc., at this time the signal of mobile terminal be weaker than preset signals threshold value and can not normal communication, Can control the mobile terminal to open offline mode, avoid mobile terminal increase power consumption constantly carry out searching net and caused by electricity Loss.
In one embodiment, based on the basis of previous embodiment, control the mobile terminal open offline mode it Before, the offline mode control method of the mobile terminal of the disclosure can with the following steps are included:
Step S305 obtains the corresponding base station number of lower a road section in the section currently reached.
Since mobile terminal is after opening offline mode, normal communication will be unable to, i.e., can not judge to connect at which section The signal received can make the communication recovery of mobile terminal normal.It therefore, can be in the corresponding base station in section that acquisition is currently reached When quantity, while the corresponding base station number of lower a road section in the section currently reached is obtained, can also currently be arrived obtaining After the corresponding base station number in the section reached, then obtain the corresponding base station number of lower a road section in the section currently reached.
In one embodiment, based on the basis of previous embodiment, the offline mode of the mobile terminal of the disclosure is controlled Method can with the following steps are included:
Step S306 controls institute when the base station number of the lower a road section is more than or equal to the default base station number threshold value It states mobile terminal and closes offline mode in the location of described lower a road section.
Before mobile terminal opens offline mode, the lower a road section for having obtained the section currently reached is corresponding Base station number, and before the step of in by calculating time point locating for each section, can predict in advance reach it is described next Locating time point and position when section.Therefore, in this step, mobile terminal can in the state of opening offline mode, The base station number of the lower a road section and default base station number threshold value are compared by backstage, when the base station number of the lower a road section is big When being equal to the default base station number threshold value, it can control the mobile terminal to close in the location of described lower a road section and fly Row mode.
For example, during stroke, gets certain a road section base station number and be less than default base station number threshold value, and ten minutes The base station number of the lower a road section to be reached afterwards is more than or equal to default base station number threshold value, then controls the mobile terminal on this road Section opens offline mode, and offline mode is automatically closed ten minutes later.In this way, it is ensured that when the signal that mobile terminal receives is enough When keeping normal communication, offline mode can be automatically closed in mobile terminal, will not influence the normal use of user.
In one embodiment, based on the basis of previous embodiment, the trip information is obtained according to the travel information In indicated corresponding stroke route the step of the corresponding base station number in each section, comprising the following steps:
Step S3011, networking inquiry obtain indicated by the trip information the corresponding base in each section in corresponding stroke route It stands quantity.
It, can be according to indicated in travel information specifically, after mobile terminal receives the travel information of user's typing The information in each section in corresponding stroke route, in combination with online existing each section base station information data, networking inquiry is described each The base station number in section, and these base station number data are stored in a predeterminated position of mobile terminal, to facilitate subsequent tune With the application program that the predeterminated position can be record travel information can also be other applications, and the present invention does not limit this System.
In one embodiment, it based on the basis of previous embodiment, according to the stroke route, current time and presets Before movement speed calculates the section that is currently reached of user, the offline mode control method of the mobile terminal of the disclosure can be with The following steps are included:
Step S307 responds a predetermined registration operation to according to the stroke route, current time and default movement speed Calculate the section that user is currently reached.
Optionally, the form of the predetermined registration operation can be with are as follows: the shortcut key in the drop-down menu of mobile terminal or upper sliding menu, Also it can be set in the application program of user record travel information.
The form of the predetermined registration operation is set to as shown in figure 4, Fig. 4 is that the disclosure is shown according to an exemplary embodiment The interface schematic diagram of shortcut key in the drop-down menu of mobile terminal shows the icon and text of " automatic offline mode ", when When user clicks the icon, the predetermined registration operation has as been responded to according to the stroke route, current time and default shifting Dynamic speed calculates the section that user is currently reached.The pattern of icon and text only for convenience of description, and does not have in this diagram Shortcut key Shi Kecan in limitation of the present invention, in the upper sliding menu for setting mobile terminal for the form of the predetermined registration operation Above description and attached drawing are examined, this will not be repeated here.
The form of the predetermined registration operation is set to as shown in figure 5, Fig. 5 is that the disclosure is shown according to an exemplary embodiment Interface schematic diagram in the application program of user record travel information shows the stroke of user record in the interface of the application program " stroke 1 ", " stroke 2 ", " stroke 3 " are shown in route, such as Fig. 5, are designed with check boxes before each stroke route, when user selects In after one of stroke route, " √ " is shown in the check boxes before the trip route, at this point, having responded predetermined registration operation use To calculate the section that user is currently reached according to the stroke route, current time and default movement speed.
In one embodiment, it based on the basis of previous embodiment, according to the stroke route, current time and presets Movement speed calculates the step of section that user is currently reached, and the offline mode control method of the mobile terminal of the disclosure may be used also With the following steps are included:
Step S3021, according to the stroke route obtain stroke distances, according to the stroke distances, current time and The default movement speed calculates the section that user is currently reached.
Can be according to the stroke route chosen, in conjunction with map class application program, such as Baidu map, Tencent's map, high moral Figure etc., obtain the trip route stroke distances, further according to the trip default movement speed i.e. averagely movement speed combine work as The preceding time calculates the position that user is presently in, and determines the section that user is currently reached with the position.
In one embodiment, the travel information includes stroke route, departure time, default movement speed, start bit It sets, destination locations and traffic information etc..
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order, This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps Row, and/or a step is decomposed into execution of multiple steps etc..In addition, being also easy to understand, these steps be can be Such as it is either synchronously or asynchronously executed in multiple module/process/threads.
Further, in this example embodiment, a kind of offline mode control system of mobile terminal is additionally provided.With reference to Shown in Fig. 6, system 400 may include that base station obtains module 401, time determining module 402, terminal control module 403.Its In:
Base station obtains module 401, and for receiving one stroke information, it is signified to obtain the trip information according to the travel information The corresponding base station number in each section in the corresponding stroke route shown;
Time determining module 402, for calculating user according to the stroke route, current time and default movement speed The section currently reached;
Terminal control module 403 is small in the base station number for obtaining the corresponding base station number in current section achieved When default base station number threshold value, controls the mobile terminal and open offline mode.
In one embodiment, the system also includes:
The first submodule of terminal control module for being more than or equal to default base station number threshold value in the base station number, and moves When the signal of dynamic terminal is weaker than preset signals threshold value, controls the mobile terminal and open offline mode.
In one embodiment, the first submodule of the terminal control module or terminal control module is also used to obtain and work as The corresponding base station number of lower a road section in preceding reached section.
In one embodiment, the system also includes:
Terminal control module second submodule is more than or equal to the default base station for the base station number when the lower a road section When amount threshold, mobile terminal time point locating for described lower a road section closing offline mode is controlled.
In one embodiment, the time determining module, the inquiry that is also used to network obtain indicated by the trip information The corresponding base station number in each section in corresponding stroke route.
In one embodiment, the system also includes:
Trigger module, for responding a predetermined registration operation to according to the stroke route, current time and default movement Speed calculates the section that user is currently reached.
In one embodiment, the time determining module is also used to obtain stroke distances, root according to the stroke route The section that user is currently reached is calculated according to the stroke distances, departure time and the default movement speed.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that although being referred to several modules or list for acting the system executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.As module or list The component of member display may or may not be physical unit, it can and it is in one place, or may be distributed over In multiple network units.It can select some or all of the modules therein according to the actual needs to realize the open scheme of wood Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with Institute in any one above-mentioned embodiment may be implemented when for example, at least a processor executes in calculation machine program, the computer program The step of stating a kind of offline mode control method of mobile terminal.In some possible embodiments, each side of the invention Face is also implemented as a kind of form of program product comprising program code, when described program product is transported on the terminal device When row, said program code is used to that the terminal device to be made to execute a kind of above-mentioned offline mode control of mobile terminal of this specification Described in method part according to the present invention various illustrative embodiments the step of.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method of embodiment according to the present invention 300, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on mobile phone.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing, which can be, appoints What include or the tangible medium of storage program that the program can be commanded execution system, device or device use or and its It is used in combination.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In an exemplary embodiment of the disclosure, a kind of mobile terminal is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution The step of offline mode control method of the executable instruction to execute a kind of mobile terminal described in any one above-mentioned embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of offline mode control method of mobile terminal characterized by comprising
Receive one stroke information, according to the travel information obtain the trip information indicated by each section in corresponding stroke route Corresponding base station number;
The section that user is currently reached is calculated according to the stroke route, current time and default movement speed;
The corresponding base station number in section currently reached is obtained, when the base station number is less than default base station number threshold value, control It makes the mobile terminal and opens offline mode.
2. the method according to claim 1, wherein this method further include:
It is more than or equal to default base station number threshold value in the base station number, and when the signal of mobile terminal is weaker than preset signals threshold value, It controls the mobile terminal and opens offline mode.
3. method according to claim 1 or 2, which is characterized in that before controlling the mobile terminal opening offline mode, Further include:
Obtain the corresponding base station number of lower a road section in the section currently reached.
4. according to the method described in claim 3, it is characterized in that, this method further include:
When the base station number of the lower a road section is more than or equal to the default base station number threshold value, the mobile terminal is controlled in institute It states the location of lower a road section and closes offline mode.
5. according to the method described in claim 4, it is characterized in that, indicated by obtaining the trip information according to the travel information Corresponding stroke route in the corresponding base station number in each section the step of, comprising:
Networking inquiry obtains indicated by the trip information the corresponding base station number in each section in corresponding stroke route.
6. according to the method described in claim 4, it is characterized in that, according to the stroke route, current time and default shifting Dynamic speed calculates before the section that user is currently reached, further includes:
A predetermined registration operation is responded to calculate the current institute of user according to the stroke route, current time and default movement speed The section of arrival.
7. according to the method described in claim 4, it is characterized in that, according to the stroke route, current time and default shifting Dynamic speed calculates the step of section that user is currently reached, comprising:
Stroke distances are obtained according to the stroke route, according to the stroke distances, current time and the default mobile speed Degree calculates the section that user is currently reached.
8. the method according to claim 1, wherein the travel information include stroke route, it is the departure time, pre- If movement speed, initial position, destination locations.
9. a kind of mobile terminal characterized by comprising
Processor;And
Memory, for storing the computer program that can be run on the processor;
Wherein, realize that any one of claim 1~8 is described a kind of mobile whole when the computer program is executed by the processor The step of offline mode control method at end.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt A kind of any one of claim 1~8 offline mode control method of mobile terminal is realized when at least one processor executes The step of.
CN201910173298.9A 2019-03-07 2019-03-07 Offline mode control method, storage medium and the mobile terminal of mobile terminal Pending CN110012528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910173298.9A CN110012528A (en) 2019-03-07 2019-03-07 Offline mode control method, storage medium and the mobile terminal of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910173298.9A CN110012528A (en) 2019-03-07 2019-03-07 Offline mode control method, storage medium and the mobile terminal of mobile terminal

Publications (1)

Publication Number Publication Date
CN110012528A true CN110012528A (en) 2019-07-12

Family

ID=67166527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910173298.9A Pending CN110012528A (en) 2019-03-07 2019-03-07 Offline mode control method, storage medium and the mobile terminal of mobile terminal

Country Status (1)

Country Link
CN (1) CN110012528A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022056832A1 (en) * 2020-09-18 2022-03-24 Qualcomm Incorporated User equipment (ue) context scenario indication-based configuration

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511101A (en) * 2008-12-30 2009-08-19 上海闻泰电子科技有限公司 Method for improving call speed and call finish rate of PHS mobile telephone
CN102651783A (en) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 Method and device for automatically control flying mode, and mobile device
CN105933963A (en) * 2016-05-25 2016-09-07 努比亚技术有限公司 Device and method for controlling flight mode
US20170163794A1 (en) * 2015-04-30 2017-06-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Flight mode control method and mobile terminal
WO2018125686A2 (en) * 2016-12-30 2018-07-05 Intel Corporation Methods and devices for radio communications
CN108541051A (en) * 2018-04-04 2018-09-14 广东小天才科技有限公司 Mobile terminal and use mode control method based on same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511101A (en) * 2008-12-30 2009-08-19 上海闻泰电子科技有限公司 Method for improving call speed and call finish rate of PHS mobile telephone
CN102651783A (en) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 Method and device for automatically control flying mode, and mobile device
US20170163794A1 (en) * 2015-04-30 2017-06-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Flight mode control method and mobile terminal
CN105933963A (en) * 2016-05-25 2016-09-07 努比亚技术有限公司 Device and method for controlling flight mode
WO2018125686A2 (en) * 2016-12-30 2018-07-05 Intel Corporation Methods and devices for radio communications
CN108541051A (en) * 2018-04-04 2018-09-14 广东小天才科技有限公司 Mobile terminal and use mode control method based on same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022056832A1 (en) * 2020-09-18 2022-03-24 Qualcomm Incorporated User equipment (ue) context scenario indication-based configuration

Similar Documents

Publication Publication Date Title
CN107977152A (en) A kind of picture sharing method, terminal and storage medium based on dual-screen mobile terminal
CN107682536A (en) A kind of sound control method, terminal and computer-readable recording medium
CN109831586A (en) A kind of user interface switching display methods, mobile terminal and storage medium
CN109743504A (en) A kind of auxiliary photo-taking method, mobile terminal and storage medium
CN107329682A (en) Edge exchange method and mobile terminal
CN110134301A (en) A kind of application function operating method, terminal and computer readable storage medium
CN108768775A (en) Information processing method, electronic equipment and computer storage media
CN109726179A (en) Screenshot picture processing method, storage medium and mobile terminal
CN107657583A (en) A kind of screenshot method, terminal and computer-readable recording medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN109376669A (en) Control method, mobile terminal and the computer readable storage medium of intelligent assistant
CN109444938A (en) Combined positioning method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN109471571A (en) Display methods, mobile terminal and the computer readable storage medium of suspension control
CN108449513A (en) A kind of interaction regulation and control method, equipment and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109584897A (en) Vedio noise reduction method, mobile terminal and computer readable storage medium
CN107948397A (en) A kind of information-pushing method, device and computer-readable recording medium
CN109885224A (en) Interface of input method display methods, storage medium and mobile terminal
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN109375857A (en) Screenshot method, device, mobile terminal and readable storage medium storing program for executing
CN110012528A (en) Offline mode control method, storage medium and the mobile terminal of mobile terminal
CN110188249A (en) A kind of global search method, equipment and computer readable storage medium
CN109710207A (en) Method, dual-screen mobile terminal and the storage medium of dual-screen mobile terminal preview picture
CN109462703A (en) Screen luminance adjustment method, storage medium and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712