CN109041148B - Mobile terminal operation method and mobile terminal - Google Patents

Mobile terminal operation method and mobile terminal Download PDF

Info

Publication number
CN109041148B
CN109041148B CN201810983706.2A CN201810983706A CN109041148B CN 109041148 B CN109041148 B CN 109041148B CN 201810983706 A CN201810983706 A CN 201810983706A CN 109041148 B CN109041148 B CN 109041148B
Authority
CN
China
Prior art keywords
change
mobile terminal
wireless network
preset
determining
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.)
Active
Application number
CN201810983706.2A
Other languages
Chinese (zh)
Other versions
CN109041148A (en
Inventor
刘旭东
赖志隆
王丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810983706.2A priority Critical patent/CN109041148B/en
Publication of CN109041148A publication Critical patent/CN109041148A/en
Application granted granted Critical
Publication of CN109041148B publication Critical patent/CN109041148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Abstract

The embodiment of the invention provides a mobile terminal operation method and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; and if the first change, the second change and the third change all accord with the target conditions, switching from the wireless network to the mobile network for network connection. When the first change, the second change and the third change are obtained to meet the target conditions, the fact that the current mobile terminal is in a scene of getting on or off the elevator is shown, due to the fact that wireless network signals in the process of getting on or off the elevator are poor, the wireless network connection is switched to the mobile network connection, manual switching of a user is not needed, automatic switching is achieved, stability of the network connection can be kept, and use experience of the user is improved.

Description

Mobile terminal operation method and mobile terminal
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a mobile terminal operation method and a mobile terminal.
Background
With the development of communication technology, mobile terminals integrate more and more functions, so that more and more corresponding applications are included in a system function list of the mobile terminal. Some applications may involve some scene recognition functions for specific services, such as: recommending services, predicting services and the like, and identifying corresponding scenes based on the positions of the users, thereby providing the service information related to the scenes for the users.
However, the existing mobile terminal has the problem of unsmooth network connection.
Disclosure of Invention
The embodiment of the invention provides a mobile terminal operation method and a mobile terminal, which can improve the smoothness of network connection.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for operating a mobile terminal, including: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of the wireless network signal; and if the first change, the second change and the third change all accord with target conditions, switching from the wireless network to a mobile network for network connection.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including: the mobile terminal comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state; and the switching module is used for switching from the wireless network to a mobile network for network connection if the first change, the second change and the third change all accord with target conditions.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the mobile terminal operation method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the mobile terminal operation method.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change accord with target conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator, and because the wireless network signal in the process of getting on or off the elevator is poor, switching to the mobile network from the wireless network connection is realized, the automatic switching is realized without manual switching of a user, the stability of the network connection can be maintained, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for operating a mobile terminal according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for operating a mobile terminal according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a method for operating a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a method for operating a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention;
fig. 7 is a schematic hardware structure diagram of a mobile terminal according to a seventh embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for operating a mobile terminal according to a first embodiment of the present invention is shown.
The operation method of the mobile terminal provided by the embodiment of the invention comprises the following steps:
step 101: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal.
When the mobile terminal is in a wireless network connection state, an inertial sensor in the mobile terminal is called to determine the first change of acceleration, wherein the inertial sensor is a sensor and mainly used for detecting and measuring acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion. And invoking a global positioning system in the mobile terminal to detect a second change of the position of the mobile terminal and detect a third state of the strength of the wireless network signal.
A first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in mobile network signal may also be determined while the mobile terminal is in a mobile network connected state.
Step 102: and if the first change, the second change and the third change all accord with the target conditions, switching from the wireless network to the mobile network for network connection.
And when the mobile terminal is in a wireless network connection state, and the first change, the second change and the third change all accord with the target conditions, switching from the wireless network to the mobile network for network connection.
When the mobile terminal is in a mobile network connection state, if the first change, the second change and the third change all accord with the target conditions, searching for a wireless network, if the wireless network exists, switching from the mobile network connection state to the wireless network connection state, and if the wireless network does not exist, keeping the mobile network connection state.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with the target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change of the first change accord with the target conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator.
Example two
Referring to fig. 2, a flowchart illustrating steps of a method for operating a mobile terminal according to a second embodiment of the present invention is shown.
The operation method of the mobile terminal provided by the embodiment of the invention comprises the following steps:
step 201: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal.
When the mobile terminal is in a wireless network connection state, an inertial sensor in the mobile terminal is called to determine the first change of acceleration, wherein the inertial sensor is a sensor and mainly used for detecting and measuring acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion. And invoking a global positioning system in the mobile terminal to detect a second change of the position of the mobile terminal and detect a third change of the strength of the wireless network signal.
A first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in mobile network signal may also be determined while the mobile terminal is in a mobile network connected state.
Step 202: if the first change is that the acceleration is greater than a first threshold value within a first preset time period, and is less than a second threshold value within a second preset time period, or the acceleration is less than the first threshold value within the first preset time period and is greater than the second threshold value within the second preset time period, it is determined that the first change meets the target condition.
The first preset time period and the second preset time period are continuous, and the first threshold value is smaller than the second threshold value after the second preset time period is after the first preset time period.
And calling an inertial sensor, detecting that the mobile terminal is weightless within a first preset time period, namely the acceleration is smaller than a first threshold value, and then detecting that the mobile terminal is overweight within a second preset time period and the acceleration is larger than a second threshold value, or the mobile terminal is overweight within the first preset time period and weightless within the second preset time period, wherein the first change is in accordance with the target condition.
In addition, the first stepA threshold of 9m/s2The second threshold is 11m/s2The first threshold and the second threshold are not particularly limited in the embodiments of the present invention.
Step 203: and if the second change is that the position of the mobile terminal is not changed and the signal of the global positioning system of the mobile terminal is weakened, determining that the second change meets the target condition.
And calling a global positioning system in the mobile terminal to detect the position change of the mobile terminal, and when the situation that the global positioning system of the mobile terminal is not changed and the signal of the global positioning system is weakened from strong is detected, determining that the second change meets the target condition.
Step 204: and if the third change is the signal attenuation of the wireless network, determining that the third change meets the target condition.
And when the signal attenuation of the wireless network is detected or when the mobile terminal is connected with the mobile network, the signal attenuation of the mobile network determines that the third change meets the target condition.
Step 205: and switching from the wireless network to the mobile network for network connection.
When the first change, the second change and the third change all accord with the target conditions, the user is indicated to be in a scene of getting on or off the elevator, the network connection needs to be switched, when the network connection of the mobile terminal is a wireless network, the wireless network connection state is switched to a mobile network connection state, and when the network connection of the mobile terminal is the mobile network connection state, the mobile network connection state is switched to the wireless network connection state.
Step 206: and acquiring the system time.
And acquiring the system time in the mobile terminal.
Step 207: and judging whether the system time is within a preset time period.
And determining whether the system time is within a preset time period, and when the system time is within the preset time period, indicating that the user is on duty or off duty, or indicating that the user is in a state of body building, shopping and the like.
Step 208: if yes, determining that the application programs with the frequency higher than the preset frequency in the preset time period are used in the preset period.
It should be noted that, a person skilled in the art may select the preset period according to actual situations, and the preset period may be set to be one week. The preset number may be set to 3, 5, 7, etc.
Step 209: and displaying the icon of each application program at a first preset position of the display interface.
Icons of the respective applications are displayed at positions convenient for the user to click.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change which are obtained from the first change accord with preset conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator. In addition, the icons of the application programs frequently used by the user are acquired and displayed to the first preset position, and the user can conveniently click on the application programs.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating steps of a method for operating a mobile terminal according to a third embodiment of the present invention is shown.
The operation method of the mobile terminal provided by the embodiment of the invention comprises the following steps:
step 301: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal.
When the mobile terminal is in a wireless network connection state, an inertial sensor in the mobile terminal is called to determine the first change of acceleration, wherein the inertial sensor is a sensor and mainly used for detecting and measuring acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion. And invoking a global positioning system in the mobile terminal to detect a second change of the position of the mobile terminal and detect a third change of the strength of the wireless network signal.
A first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in mobile network signal may also be determined while the mobile terminal is in a mobile network connected state.
Step 302: and if the first change, the second change and the third change do not accord with the target condition, determining whether the first change indicates that the mobile terminal is in a preset motion state.
Wherein the predetermined movement comprises running and/or walking.
If the first change, the second change and the third change do not meet the target condition, whether the mobile terminal is in a motion state is indicated according to the first change of the acceleration detected by the inertial sensor of the mobile terminal, namely whether the user is in the motion state is indicated.
And judging whether the first change indicates that the mobile terminal is in a preset motion state, and judging whether the mobile terminal is in the preset motion state by acquiring the step frequency, the amplitude and the flight time. For example: the inertial sensor detects partial weightlessness status for a continuous period of time, and the amplitude of the acceleration of the colleague exceeds the amplitude threshold value of the running movement, and the step is considered to be running.
Step 303: if yes, the walking and/or running steps are respectively displayed.
And respectively displaying the walking and running steps on a display interface for the user to check.
Step 304: and calculating and displaying the consumption energy value corresponding to walking according to the walking steps, and/or calculating and displaying the consumption energy value corresponding to running according to the running steps.
And calculating the energy consumption value of running and walking according to the walking and running steps. The larger the running amplitude is, the longer the soaring time is, the larger the energy value consumed by one step is, and each step is multiplied by corresponding different energy values aiming at different walking and running states, so that the total energy value consumed in the whole exercise process is calculated more accurately.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change do not meet the target condition, determining whether the first change indicates that the mobile terminal is in the preset motion, if so, respectively displaying the walking and/or running steps, calculating and displaying the consumption energy value corresponding to the walking according to the walking steps, and/or calculating and displaying the consumption energy value corresponding to the running according to the running steps. The motion scene can be identified through the first change, the energy value consumed by the current motion is accurately calculated, and the use experience of a user is improved.
Example four
Referring to fig. 4, a flowchart illustrating steps of a method for operating a mobile terminal according to a fourth embodiment of the present invention is shown.
The operation method of the mobile terminal provided by the embodiment of the invention comprises the following steps:
step 401: when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal.
When the mobile terminal is in a wireless network connection state, an inertial sensor in the mobile terminal is called to determine the first change of acceleration, wherein the inertial sensor is a sensor and mainly used for detecting and measuring acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion. And invoking a global positioning system in the mobile terminal to detect a second change of the position of the mobile terminal and detect a third change of the strength of the wireless network signal.
A first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in mobile network signal may also be determined while the mobile terminal is in a mobile network connected state.
Step 402: and if the first change, the second change and the third change do not meet the target condition, determining whether the first change and the second motion indicate that the mobile terminal is in a high-speed motion state.
And the movement speed of the high-speed movement state is greater than the preset speed.
If the inertia sensor detects high-frequency oscillation and the amplitude of the oscillation resultant acceleration exceeds a threshold value, the mobile terminal is considered to be in a motion state, meanwhile, a motion track of position change detected by a global positioning system of the mobile terminal moves on a road or railway track, and the mobile terminal is considered to be in a moving vehicle such as a moving automobile when the calculated moving speed exceeds a preset speed, namely, the mobile terminal is indicated to be in a high-speed motion state.
It should be noted that, a person skilled in the art may set the preset speed according to an actual situation, and may set the preset speed to be 40km/h, 50km/h, 60km/h, and the like.
Step 403: and if so, determining at least one map navigation application program.
Step 404: and displaying an icon corresponding to at least one map navigation application program at a second preset position of the display interface.
If the first change state and the second change state indicate that the mobile terminal is in a high-speed motion state, determining at least one map navigation application program, and displaying an icon of the at least one map navigation application program at a second preset position, so that a user can conveniently navigate a route, and the second preset position is convenient for the user to click.
Step 405: and calling a camera of the mobile terminal to shoot a first user image.
And calling a front camera or a rear camera of the mobile terminal to shoot the first user image.
Step 406: and judging whether the user fastens a safety belt or not according to the first user image.
Whether an object in the shape of a safety belt is tied at the position below the face and the position below the shoulders in the first user image is identified, and a plurality of first user images can be shot to judge whether the user ties the safety belt.
Step 407: if not, outputting prompt information to prompt the user that the safety belt is not fastened.
And if the first user image is recognized that the object with the shape of the safety belt does not exist in the first user image to be fastened, outputting prompt information to prompt the positions of the front row and the rear row, and fastening the safety belt.
Steps 405 to 407 may also be:
and when the mobile terminal receives the incoming call, calling a camera of the mobile terminal to shoot a second user image. And judging whether the user is in the driving position or not according to the second user image. If yes, voice prompt information is output. And receiving the selection operation of the incoming call answering mode of the target incoming call, and answering the incoming call according to the target incoming call answering mode.
When the mobile terminal receives an incoming call, the front camera and the rear camera are called to shoot a second user image, wherein the shot second user image can be a single image or a plurality of images.
And identifying the second user image, if the distance between the second user image and an automobile instrument panel and the front windshield is relatively short, considering that the user is in the front row position, and further determining whether the user is in the driving position by identifying the outline of the automobile body inside and outside the front windshield and the displacement of an external object while the internal image of the automobile body outline is unchanged in the second user image of continuous frames, so that the position of the user on the left side or the right side of the front row can be further determined.
When the driving position of the user is detected, voice prompt information is output, the user can input an answering mode in a voice mode, and can select 'hands-free answering', 'no answering' or 'hanging up', and the user can answer the incoming call according to the answering mode selected by the user.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if not, determining whether the first change and the second movement indicate that the mobile terminal is in high-speed movement, and if so, determining at least one map navigation application program. And displaying an icon corresponding to at least one map navigation application program at a second preset position of the display interface. And shooting a first user image, judging whether the user wears a safety belt or not by identifying the first user image, and if not, outputting prompt information. The prompt information corresponding to the scene can be output by identifying the current scene, and the use experience of the user is improved.
EXAMPLE five
Referring to fig. 5, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 501, configured to determine a first change of an acceleration of the mobile terminal, a second change of a location of the mobile terminal, and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state; a switching module 502, configured to switch from the wireless network to a mobile network for network connection if the first change, the second change, and the third change all meet the target condition.
When the mobile terminal is in a wireless network connection state, the first change, the second change and the third change all accord with the target condition, and the switching module switches the wireless network to the mobile network for network connection.
When the mobile terminal is in a mobile network connection state, if the first change, the second change and the third change all accord with the target condition, a wireless network is searched, if the wireless network exists, the mobile network connection state is switched to the wireless network connection state by the switching module, and if the wireless network does not exist, the mobile network connection state is kept.
When the mobile terminal is in a wireless network connection state, the first determining module calls an inertial sensor in the mobile terminal to determine the first change of acceleration, wherein the inertial sensor is a sensor and mainly detects and measures acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion. And invoking a global positioning system in the mobile terminal to detect a second change of the position of the mobile terminal and detect a third change of the strength of the wireless network signal. A first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in mobile network signal may also be determined while the mobile terminal is in a mobile network connected state.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with the target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change of the first change accord with the target conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator.
EXAMPLE six
Referring to fig. 6, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown,
the mobile terminal provided by the embodiment of the invention comprises: a first determining module 601, configured to determine a first change of an acceleration of the mobile terminal, a second change of a location of the mobile terminal, and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state; a switching module 602, configured to switch from the wireless network to a mobile network for network connection if the first change, the second change, and the third change all meet preset conditions.
Preferably, the switching module 602 includes: a first determining submodule 6021, configured to determine that the first change meets a target condition if the first change is that the acceleration is greater than a first threshold within a first preset time period and is less than a second threshold within a second preset time period, or the acceleration is less than the first threshold within the first preset time period and is greater than the second threshold within the second preset time period; the first preset time period and the second preset time period are continuous, and after the first preset time period, the first threshold value is smaller than the second threshold value; a second determining submodule 6022, configured to determine that the second change meets a target condition if the second change is that the position of the mobile terminal is not changed and the global positioning system of the mobile terminal is weakened; a third determining submodule 6023, configured to determine that the third change meets a target condition if the third change is a signal attenuation of the wireless network; and a switching submodule 6024 for switching from the wireless network to the mobile network for network connection.
Preferably, the mobile terminal further includes: a second determining module 603, configured to obtain a system time after the switching module 602 switches from the wireless network to a mobile network for network connection if the first change, the second change, and the third change all meet the target condition; a first determining module 604, configured to determine whether the system time is within a preset time period; a third determining module 605, configured to determine, if the determination result of the first determining module is yes, a preset number of application programs with a frequency higher than a preset frequency are used in a preset period within the preset time period; the first display module 606 is configured to display an icon of each application at a first preset position on a display interface.
Preferably, the mobile terminal further includes: a fourth determining module 607, configured to determine, after the first determining module 601 determines that the mobile terminal is in the wireless network connection state, the first change of the acceleration of the mobile terminal, the second change of the position of the mobile terminal, and the third change of the wireless network signal, and if none of the first change, the second change, and the third change meets a target condition, determine whether the first change indicates that the mobile terminal is in a preset motion state, where the preset motion state includes running and/or walking; a second display module 608, configured to display the walking and/or running steps if yes; the calculating module 609 is configured to calculate and display a consumption energy value corresponding to walking according to the number of steps of walking, and/or calculate and display a consumption energy value corresponding to running according to the number of steps of running.
Preferably, the mobile terminal further includes: a fifth determining module 610, configured to determine, after the first determining module 601 determines a first change of an acceleration of the mobile terminal, a second change of a position of the mobile terminal, and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state, and if none of the first change, the second change, and the third change meets a target condition, determine whether the first change and the second change indicate that the mobile terminal is in a high-speed motion state, where a motion speed of the high-speed motion state is greater than a preset speed; a sixth determining module 611, configured to determine at least one map navigation application if the determination is positive; the third display module 612 is configured to display an icon corresponding to the at least one map navigation application at a second preset position of the display interface.
Preferably, the mobile terminal further includes: a first shooting module 613, configured to call a camera of the mobile terminal to shoot a first user image after the third display module 612 displays an icon corresponding to the at least one map navigation application at a second preset position on a display interface; a second determining module 614, configured to determine whether the user wears a seat belt according to the first user image; and the prompting module 615 is configured to output a prompting message to prompt the user that the user is not wearing the safety belt if the determination result of the second determining module is negative.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with the target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change of the first change accord with the target conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator.
EXAMPLE seven
Referring to fig. 7, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 710 for determining a first change in acceleration of the mobile terminal, a second change in location of the mobile terminal, and a third change in the wireless network signal when the mobile terminal is in a wireless network connection state; and if the first change, the second change and the third change all accord with target conditions, switching from the wireless network to a mobile network for network connection.
In the embodiment of the invention, when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of a wireless network signal; if the first change, the second change and the third change all accord with the target conditions, switching to a mobile network from a wireless network for network connection, and when the second change and the third change of the first change accord with the target conditions, indicating that the current mobile terminal is in a scene of getting on or off an elevator.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the above mobile terminal operation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned mobile terminal operation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of operating a mobile terminal, the method comprising:
when the mobile terminal is in a wireless network connection state, determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of the wireless network signal;
if the first change, the second change and the third change all accord with target conditions, switching from the wireless network to a mobile network for network connection;
if the first change, the second change and the third change all meet the target condition, the step of switching from the wireless network to a mobile network for network connection comprises the following steps:
if the first change is that the acceleration is greater than a first threshold value within a first preset time period and is less than a second threshold value within a second preset time period, or the acceleration is less than the first threshold value within the first preset time period and is greater than the second threshold value within the second preset time period, determining that the first change meets a target condition; the first preset time period and the second preset time period are continuous, and after the first preset time period, the first threshold value is smaller than the second threshold value;
if the second change is that the position of the mobile terminal is not changed and the signal of the global positioning system of the mobile terminal is weakened, determining that the second change meets a target condition;
if the third change is the signal attenuation of the wireless network, determining that the third change meets a target condition;
and switching from the wireless network to a mobile network for network connection.
2. The method according to claim 1, wherein after the step of switching from the wireless network to a mobile network for network connection if the first change, the second change and the third change all meet the target condition, the method further comprises:
acquiring system time;
judging whether the system time is within a preset time period or not;
if yes, determining that a preset number of application programs with frequency higher than a preset frequency are used in a preset time period in a preset period;
and displaying the icon of each application program at a first preset position of a display interface.
3. The method of claim 1, wherein after the step of determining the first change in acceleration of the mobile terminal, the second change in position of the mobile terminal, and the third change in wireless network signal while the mobile terminal is in a wireless network connected state, the method further comprises:
if the first change, the second change and the third change do not meet the target condition, determining whether the first change indicates that the mobile terminal is in a preset motion state, wherein the preset motion state comprises running and/or walking;
if yes, respectively displaying the walking and/or running steps;
and calculating and displaying the consumption energy value corresponding to walking according to the walking steps, and/or calculating and displaying the consumption energy value corresponding to running according to the running steps.
4. The method of claim 1, wherein after the step of determining the first change in acceleration of the mobile terminal, the second change in position of the mobile terminal, and the third change in wireless network signal while the mobile terminal is in a wireless network connected state, the method further comprises:
if the first change, the second change and the third change do not meet the target condition, determining whether the first change and the second change indicate that the mobile terminal is in a high-speed motion state, wherein the motion speed of the high-speed motion state is greater than a preset speed;
if yes, determining at least one map navigation application program;
and displaying the icon corresponding to the at least one map navigation application program at a second preset position of the display interface.
5. The method of claim 4, wherein after the step of displaying the icon corresponding to the at least one map navigation application at the second preset position of the display interface, the method further comprises:
calling a camera of the mobile terminal to shoot a first user image;
judging whether the user wears a safety belt or not according to the first user image; if not, outputting prompt information to prompt the user that the safety belt is not fastened.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the mobile terminal comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a first change of the acceleration of the mobile terminal, a second change of the position of the mobile terminal and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state;
the switching module is used for switching the wireless network to a mobile network for network connection if the first change, the second change and the third change all accord with target conditions;
the switching module includes:
a first determining submodule, configured to determine that the first change state meets a target condition if the first change is that the acceleration is greater than a first threshold within a first preset time period and is less than a second threshold within a second preset time period, or the acceleration is less than the first threshold within the first preset time period and is greater than the second threshold within the second preset time period; the first preset time period and the second preset time period are continuous, and after the first preset time period, the first threshold value is smaller than the second threshold value;
a second determining submodule, configured to determine that the second change meets a target condition if the second change is that the position of the mobile terminal is not changed and a global positioning system of the mobile terminal is weakened;
a third determining submodule, configured to determine that the third change is a target condition if the third change is that a signal of the wireless network is attenuated;
and the switching submodule is used for switching the wireless network to a mobile network for network connection.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
a second determining module, configured to obtain a system time after the switching module switches from the wireless network to a mobile network for network connection if the first change, the second change, and the third change all meet a target condition;
the first judgment module is used for judging whether the system time is within a preset time period or not;
a third determining module, configured to determine, if the determination result of the first determining module is yes, a preset number of application programs whose usage frequency is higher than a preset frequency within a preset period in the preset time period;
the first display module is used for displaying the icons of the application programs at a first preset position of a display interface.
8. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
a fourth determining module, configured to determine, after the first determining module determines that the mobile terminal is in a wireless network connection state, a first change of an acceleration of the mobile terminal, a second change of a position of the mobile terminal, and a third change of the wireless network signal, and if none of the first change, the second change, and the third change meets a target condition, determine whether the first change indicates that the mobile terminal is in a preset motion state, where the preset motion state includes running and/or walking;
the second display module is used for respectively displaying the walking and/or running steps if the walking and/or running steps are/is not the same as the walking and/or running steps;
and the calculating module is used for calculating and displaying the consumption energy value corresponding to walking according to the walking steps and/or calculating and displaying the consumption energy value corresponding to running according to the running steps.
9. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
a fifth determining module, configured to determine, after the first determining module determines a first change of an acceleration of the mobile terminal, a second change of a position of the mobile terminal, and a third change of the wireless network signal when the mobile terminal is in a wireless network connection state, and if none of the first change, the second change, and the third change meets a target condition, determine whether the first change and the second change indicate that the mobile terminal is in a high-speed motion state, where a motion speed of the high-speed motion state is greater than a preset speed;
a sixth determining module, configured to determine at least one map navigation application if the determination is positive;
and the third display module is used for displaying the icon corresponding to the at least one map navigation application program at a second preset position of the display interface.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
the first shooting module is used for calling a camera of the mobile terminal to shoot a first user image after the third display module displays the icon corresponding to the at least one map navigation application program at a second preset position of a display interface;
the second judgment module is used for judging whether the user wears a safety belt or not according to the first user image;
and the prompting module is used for outputting prompting information to prompt a user that the safety belt is not fastened if the judgment result of the second judgment module is negative.
CN201810983706.2A 2018-08-27 2018-08-27 Mobile terminal operation method and mobile terminal Active CN109041148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983706.2A CN109041148B (en) 2018-08-27 2018-08-27 Mobile terminal operation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983706.2A CN109041148B (en) 2018-08-27 2018-08-27 Mobile terminal operation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109041148A CN109041148A (en) 2018-12-18
CN109041148B true CN109041148B (en) 2021-01-08

Family

ID=64624762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983706.2A Active CN109041148B (en) 2018-08-27 2018-08-27 Mobile terminal operation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109041148B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743764A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 A kind of identification elevator scene method and device, mobile terminal device and storage medium
CN113163470B (en) * 2019-02-21 2023-06-09 荣耀终端有限公司 Method for identifying specific position on specific route and electronic equipment
CN110022235B (en) * 2019-04-18 2022-07-15 维沃移动通信有限公司 Information processing method, terminal and server
CN110121145B (en) * 2019-04-23 2021-08-20 维沃移动通信有限公司 Network connection method and mobile terminal
CN110167046B (en) * 2019-05-05 2022-10-14 Oppo广东移动通信有限公司 Method for improving communication signal of electronic device, equipment and storage medium
CN112019679B (en) 2019-05-31 2022-02-18 苹果公司 Elevator scene detection and operation of wireless devices
CN112153720B (en) * 2019-06-28 2022-04-15 腾讯科技(深圳)有限公司 Wireless network connection method and device, mobile terminal and storage medium
CN113824837A (en) * 2020-06-19 2021-12-21 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN116614848A (en) * 2021-07-30 2023-08-18 荣耀终端有限公司 Network link switching method based on electronic equipment position and electronic equipment
CN114461874B (en) * 2021-08-27 2022-12-13 荣耀终端有限公司 Motion information display method and electronic equipment
CN115002849B (en) * 2021-12-14 2023-02-24 荣耀终端有限公司 Network switching method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945454A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Wireless local area network switching method and system
CN103096796A (en) * 2010-03-25 2013-05-08 欧姆龙健康医疗事业株式会社 Activity meter, manufacturing method thereof, and storage medium
CN104081831A (en) * 2012-08-21 2014-10-01 统一有限责任两合公司 Method and apparatus for selecting an access point based on direction of movement
CN104956731A (en) * 2013-01-25 2015-09-30 三星电子株式会社 Method and apparatus for controlling mobility for a cell having a small cell service area in a mobile communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9860816B2 (en) * 2016-03-25 2018-01-02 Qualcomm Incorporated Managing usage of radio access technologies in a multimode communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096796A (en) * 2010-03-25 2013-05-08 欧姆龙健康医疗事业株式会社 Activity meter, manufacturing method thereof, and storage medium
CN101945454A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Wireless local area network switching method and system
CN104081831A (en) * 2012-08-21 2014-10-01 统一有限责任两合公司 Method and apparatus for selecting an access point based on direction of movement
CN104956731A (en) * 2013-01-25 2015-09-30 三星电子株式会社 Method and apparatus for controlling mobility for a cell having a small cell service area in a mobile communication system

Also Published As

Publication number Publication date
CN109041148A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109041148B (en) Mobile terminal operation method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN108051010B (en) Method for determining time of arrival at destination and mobile terminal
CN107846518B (en) Navigation state switching method, mobile terminal and computer readable storage medium
CN107835495B (en) Message prompting method and device and mobile terminal
CN108986528B (en) Driving guide method, information indication method, terminal device and server
CN107728847B (en) Charging interference processing method and mobile terminal
CN108091159A (en) A kind of method and mobile terminal for hiding congestion route
CN108362303B (en) Navigation method and mobile terminal
CN107608855A (en) Based reminding method and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN108920572B (en) Bus information processing method and mobile terminal
CN111196281A (en) Page layout control method and device for vehicle display interface
CN108388335B (en) Method for controlling mobile terminal and mobile terminal
CN111246061B (en) Mobile terminal, method for detecting shooting mode and storage medium
CN107784298B (en) Identification method and device
CN111399792B (en) Content sharing method and electronic equipment
CN109005297B (en) Display method of navigation application and mobile terminal
CN109474747B (en) Information prompting method and mobile terminal
CN111158624A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109246305B (en) Navigation processing method of navigation equipment, navigation equipment and mobile terminal
CN108632466B (en) Volume compensation method and mobile terminal
CN110928616A (en) Shortcut icon management method and electronic equipment
CN108089799B (en) Control method of screen edge control 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
GR01 Patent grant
GR01 Patent grant