CN108430083B - Network switching method and device - Google Patents
Network switching method and device Download PDFInfo
- Publication number
- CN108430083B CN108430083B CN201810322451.5A CN201810322451A CN108430083B CN 108430083 B CN108430083 B CN 108430083B CN 201810322451 A CN201810322451 A CN 201810322451A CN 108430083 B CN108430083 B CN 108430083B
- Authority
- CN
- China
- Prior art keywords
- network
- user
- user operation
- application program
- characteristic information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
Abstract
The embodiment of the invention provides a method and a device for switching networks, wherein the method comprises the following steps: when the switchable network is detected, determining the characteristic information of the currently running application program; acquiring user operation information corresponding to the application program, and judging whether the user operation information meets network switching conditions corresponding to the characteristic information; and when the user operation information meets the network switching condition, switching to the switchable network. By the embodiment of the invention, the network switching is realized by selecting proper time, the influence of the network switching on the application program is avoided, and the normal operation of the application program is ensured.
Description
Technical Field
The present invention relates to the field of computer networks, and in particular, to a method and an apparatus for network handover.
Background
With the development of scientific technology, WIreless network technologies such as WI-FI (WIreless-FIdelity) are increasingly popularized, and most places such as companies, shopping malls and buses are covered with WIreless networks.
At present, a user can connect a wireless network with a mobile terminal such as a smart phone, and after connecting with a certain wireless network, when the mobile terminal enters the coverage area of the wireless network again, the mobile terminal can automatically connect with the wireless network.
However, in the process of running some applications, such as a battle game, if the mobile terminal is automatically connected to the wireless network, and the quality of the wireless network is poor, the current running application may be jammed, delayed, disconnected, and the like, which affects the normal running of the application and causes poor user experience.
Disclosure of Invention
The embodiment of the invention provides a network switching method and device, aiming at solving the problem that the network switching influences the running of an application program.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides a method for network handover, where the method includes:
when the switchable network is detected, determining the characteristic information of the currently running application program;
acquiring user operation information corresponding to the application program, and judging whether the user operation information meets network switching conditions corresponding to the characteristic information;
and when the user operation information meets the network switching condition, switching to the switchable network.
In a second aspect, an embodiment of the present invention provides an apparatus for network handover, where the apparatus includes:
the application program determining module is used for determining the characteristic information of the currently running application program when the switchable network is detected;
the network switching condition judging module is used for acquiring user operation information corresponding to the application program and judging whether the user operation information meets the network switching condition corresponding to the characteristic information;
and the network switching module is used for switching to the switchable network when the user operation information meets the network switching condition.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when the switchable network is detected, the currently running application program is determined, then the user operation information corresponding to the application program is obtained, whether the user operation information meets the network switching condition corresponding to the application program is judged, and when the user operation information meets the network switching condition, the switching is carried out to the switchable network, so that the network switching is carried out at a proper time, the influence of the network switching on the application program is avoided, the normal running of the application program is ensured, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for network handover according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps in another method of network handover in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of steps in another method of network handover in accordance with an embodiment of the present invention;
fig. 4 is a block diagram of a network switching apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to an 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.
Referring to fig. 1, a flowchart of steps of a method for network switching according to an embodiment of the present invention is shown, where the method may be applied to a mobile terminal, the mobile terminal may include a smart Phone, a tablet computer, a notebook computer, a palm computer, and the like, and an operating system of the mobile terminal may include Android, IOS, Windows Phone, Windows, and the like, which is not limited in this invention.
Specifically, the embodiment of the present invention may include the following steps:
the switchable network may be a wireless network in which connection information such as a password is stored in advance.
The characteristic information may include an identification of the application, a type of the application, and the like.
In the embodiment of the invention, the mobile terminal can detect the wireless network covering the area where the mobile terminal is located, when the switchable network exists in the area, the currently running application program in the mobile terminal can be further detected, and the characteristic information of the application program can be determined, for example, the type of the currently running application program is determined to be the game type, so as to judge whether the opportunity of network switching is reached.
In a preferred example, the mobile terminal may first detect the network type of the current network, may perform subsequent detection on the user operation if the current network is a mobile network such as 3G or 4G, and may continue to use the current network for communication if the current network is a wireless network such as WI-FI.
In a preferred embodiment of the invention, the following steps may be included before step 101:
starting a wireless network connection switch and displaying a target button; and when the clicking operation of the user on the target button is detected, starting a user operation detection switch.
In a specific implementation, the mobile terminal may display the wireless network connection switch at a designated location, and when the wireless network connection switch is activated, the mobile terminal may display the target button.
When detecting the click operation of the user on the target button, the mobile terminal may activate the user operation detection switch to trigger step 101 to perform the detection of the user operation.
102, acquiring user operation information corresponding to the application program, and judging whether the user operation information meets network switching conditions corresponding to the characteristic information;
as an example, the network switching condition may be a condition for a real-time operation frequency or a currently performed operation, such as setting the real-time operation frequency to be less than 1 time/second, or setting the currently performed operation not to be a sliding operation.
In the embodiment of the present invention, a corresponding network switching condition may be set in advance for the feature information, and may be set for the identifier of the application program, where the network switching condition is that the current operation is not a sliding operation when the identifier of the application program is set to be an a game, or may be set for the type of the application program, and the network switching condition is that the frequency of the click operation is less than or equal to 1 time/second when the type of the application program is set to be an instant battle game.
When a user operates a currently running application program, such as click operation and sliding operation, the mobile terminal can generate and store user operation information corresponding to the operation, such as operation type, operation time, operation frequency and the like, and then can acquire and judge whether the user operation information meets the network switching condition so as to judge whether to perform network switching.
In a preferred embodiment of the present invention, the step of obtaining the user operation information corresponding to the application program may include the following sub-steps:
and judging whether the characteristic information is appointed characteristic information or not, and acquiring user operation information corresponding to the application program when the characteristic information is confirmed to be the appointed characteristic information.
After the feature information of the application program is obtained, whether the feature information is the designated feature information or not can be judged, if not, the switching to the switchable network can be directly carried out, and if yes, the step of obtaining the user operation information corresponding to the application program is executed.
For example, if the type of the application program is detected to be an instant battle game, the user operation information corresponding to the application program can be acquired in one step, and if the type of the application program is detected to be a music application program, the switching to the switchable network can be directly performed.
And 103, switching to the switchable network when the user operation information meets the network switching condition.
If the user operation information is judged to meet the network switching condition, the network can be switched to the switchable network, and if the user operation information is judged to not meet the network switching condition, the current network is continuously adopted for communication.
In the embodiment of the invention, when the switchable network is detected, the characteristic information of the currently running application program is determined, then the user operation information corresponding to the application program is obtained, whether the user operation information meets the network switching condition corresponding to the characteristic information is judged, and when the user operation information meets the network switching condition, the switching is carried out to the switchable network, so that the network switching is carried out at a proper time, the influence of the network switching on the application program is avoided, the normal running of the application program is ensured, and the user experience is improved.
Referring to fig. 2, a flowchart illustrating steps of another network handover method according to an embodiment of the present invention is shown, which may specifically include the following steps:
as one example, the characteristic information may include an identification of the application, a type of the application, and the like.
In the embodiment of the invention, the mobile terminal can detect the wireless network covering the area where the mobile terminal is located, when the switchable network exists in the area, the currently running application program in the mobile terminal can be further detected, and the characteristic information of the application program can be determined, for example, the type of the currently running application program is determined to be the game type, so as to judge whether the opportunity of network switching is reached.
when the user operates the currently running application program, such as click operation and sliding operation, the mobile terminal may generate and store user operation information corresponding to the operation.
as an example, the first operation may be a click operation or a slide operation.
After the user operation information is obtained, an operation record of a first operation can be screened from the user operation information, then the operation times of the first operation performed by the user within a preset time length are counted, and the ratio of the operation times to the preset time is calculated to obtain the real-time operation frequency of the first operation performed by the user.
for each operation, a corresponding preset operation frequency may be preset, for example, the preset operation frequency corresponding to the click operation is 2 times/second, and the preset operation frequency corresponding to the slide operation is 1 time/second, and then the preset operation frequency corresponding to the first operation may be determined.
Step 205, when the real-time operating frequency is smaller than the preset operating frequency, determining that the user operating information meets a network switching condition corresponding to the feature information;
after the operation frequency is obtained, whether the real-time operation frequency is smaller than the preset operation frequency or not can be compared, if the real-time operation frequency is smaller than the preset operation frequency, the fact that the user does not frequently operate the application program is represented, and it is judged that the user operation information meets the network switching condition corresponding to the feature information of the currently running application program.
If the real-time operation frequency is not less than the preset operation frequency, representing that the user frequently operates the application program, and judging that the user operation information does not meet the network switching condition corresponding to the characteristic information of the currently operated application program.
And step 206, when the user operation information meets the network switching condition, switching to the switchable network.
If the user operation information is judged to meet the network switching condition, the network can be switched to the switchable network, and if the user operation information is judged to not meet the network switching condition, the current network is continuously adopted for communication.
In the embodiment of the invention, when the switchable network is detected, the characteristic information of the currently running application program is determined, then the user operation information corresponding to the application program is obtained, whether the user operation information meets the network switching condition corresponding to the characteristic information is judged, and when the user operation information meets the network switching condition, the switching is carried out to the switchable network, so that the network switching is carried out at a proper time, the influence of the network switching on the application program is avoided, the normal running of the application program is ensured, and the user experience is improved.
And calculating the real-time operation frequency of the first operation performed by the user based on the user operation information, determining the preset operation frequency corresponding to the first operation, and when the real-time operation frequency is smaller than the preset operation frequency, judging that the user operation information meets the network switching condition corresponding to the characteristic information, and switching to the switchable network, so that network switching is avoided under the condition of high user operation frequency.
Referring to fig. 3, a flowchart illustrating steps of another network handover method according to an embodiment of the present invention is shown, which may specifically include the following steps:
as one example, the characteristic information may include an identification of the application, a type of the application, and the like.
In the embodiment of the invention, the mobile terminal can detect the wireless network covering the area where the mobile terminal is located, when the switchable network exists in the area, the currently running application program in the mobile terminal can be further detected, and the characteristic information of the application program can be determined, for example, the type of the currently running application program is determined to be the game type, so as to judge whether the opportunity of network switching is reached.
when the user operates the currently running application program, such as click operation and sliding operation, the mobile terminal may generate and store user operation information corresponding to the operation.
as an example, the second operation may be a click operation or a slide operation.
After the user operation information is obtained, an operation currently performed by the user may be determined from the user operation information as the second operation.
Step 304, when it is detected that the second operation is a designated operation, determining that the user operation information meets a network switching condition corresponding to the application program;
as an example, the designation operation may not be a slide operation and not a click operation.
When the second operation currently performed is detected not to be the sliding operation and not to be the clicking operation, it can be determined that the user operation information meets the network switching condition corresponding to the feature information of the currently running application program.
If the user operation information is judged to meet the network switching condition, the network can be switched to the switchable network, and if the user operation information is judged to not meet the network switching condition, the current network is continuously adopted for communication.
In the embodiment of the invention, when the switchable network is detected, the characteristic information of the currently running application program is determined, then the user operation information corresponding to the application program is obtained, whether the user operation information meets the network switching condition corresponding to the application program is judged, and when the user operation information meets the network switching condition, the switching is carried out to the switchable network, so that the network switching is carried out at a proper time, the influence of the network switching on the application program is avoided, the normal running of the application program is ensured, and the user experience is improved.
And by determining the second operation currently performed by the user based on the user operation information, when the second operation is detected to be the designated operation, the user operation information is judged to meet the network switching condition corresponding to the characteristic information, and the network is switched to the switchable network, so that the network switching is avoided when the sliding operation is performed.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a network switching apparatus according to an embodiment of the present invention is shown, which may specifically include the following modules:
an application determining module 401, configured to determine feature information of a currently running application when a switchable network is detected;
a network switching condition determining module 402, configured to obtain user operation information corresponding to the application program, and determine whether the user operation information meets a network switching condition corresponding to the feature information;
a network switching module 403, configured to switch to the switchable network when the user operation information satisfies the network switching condition.
In a preferred embodiment of the present invention, the network switching condition determining module 402 includes:
the real-time operation frequency calculation submodule is used for calculating the real-time operation frequency of the first operation performed by the user based on the user operation information;
a preset operation frequency determining submodule, configured to determine a preset operation frequency corresponding to the first operation;
and the frequency comparison submodule is used for determining that the user operation information meets the network switching condition corresponding to the characteristic information when the real-time operation frequency is smaller than the preset operation frequency.
In a preferred embodiment of the present invention, the network switching condition determining module 402 includes:
the second operation determining submodule is used for determining the second operation currently performed by the user based on the user operation information;
and the appointed operation detection submodule is used for determining that the user operation information meets the network switching condition corresponding to the characteristic information when the second operation is detected to be the appointed operation.
In a preferred embodiment of the present invention, the network switching condition determining module 402 further includes:
the designated characteristic information judgment submodule is used for judging whether the characteristic information is designated characteristic information or not;
and the user operation information acquisition sub-module is used for acquiring the user operation information corresponding to the application program when the characteristic information is determined to be the specified characteristic information.
In a preferred embodiment of the present invention, the method further comprises:
the target button display module is used for starting the wireless network connection switch and displaying a target button;
and the switch starting module is used for starting the user operation detection switch when detecting the clicking operation of the user on the target button.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
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. 3, and is not described herein again to avoid repetition.
Referring to fig. 5, a hardware structure of a mobile terminal for implementing various embodiments of the present invention is schematically illustrated.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 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.
Wherein, the processor 510 is configured to determine feature information of a currently running application program when a switchable network is detected; acquiring user operation information corresponding to the application program, and judging whether the user operation information meets network switching conditions corresponding to the characteristic information; and when the user operation information meets the network switching condition, switching to the switchable network.
In the embodiment of the invention, when the switchable network is detected, the characteristic information of the currently running application program is determined, then the user operation information corresponding to the application program is obtained, whether the user operation information meets the network switching condition corresponding to the characteristic information is judged, and when the user operation information meets the network switching condition, the switching is carried out to the switchable network, so that the network switching is carried out at a proper time, the influence of the network switching on the application program is avoided, the normal running of the application program is ensured, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 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 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 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 505 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 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 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 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. 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 508 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 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 509 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 510 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 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 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 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the above-mentioned method embodiment for network handover, 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 method for network handover, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. 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 (6)
1. A method of network handover, the method comprising:
when the switchable network is detected, determining the characteristic information of the currently running application program;
acquiring user operation information corresponding to the application program, and judging whether the user operation information meets network switching conditions corresponding to the characteristic information;
when the user operation information meets the network switching condition, switching to the switchable network;
wherein the step of judging whether the user operation information meets the network switching condition corresponding to the characteristic information comprises:
calculating real-time operation frequency of a user for performing first operation based on the user operation information;
determining a preset operation frequency corresponding to the first operation;
when the real-time operation frequency is smaller than the preset operation frequency, determining that the user operation information meets a network switching condition corresponding to the characteristic information;
or, the step of judging whether the user operation information satisfies the network switching condition corresponding to the application program includes:
determining a second operation currently performed by the user based on the user operation information;
when the second operation is detected to be a designated operation, determining that the user operation information meets a network switching condition corresponding to the characteristic information; wherein the specified operation is not a sliding operation and is not a clicking operation.
2. The method according to claim 1, wherein the obtaining user operation information corresponding to the application program comprises:
judging whether the characteristic information is specified characteristic information or not;
and when the characteristic information is determined to be the designated characteristic information, acquiring user operation information corresponding to the application program.
3. The method of claim 1, further comprising, prior to the step of determining a currently running application when a switchable network is detected:
starting a wireless network connection switch and displaying a target button;
and when the clicking operation of the user on the target button is detected, starting a user operation detection switch.
4. An apparatus for network handover, the apparatus comprising:
the application program determining module is used for determining the characteristic information of the currently running application program when the switchable network is detected;
the network switching condition judging module is used for acquiring user operation information corresponding to the application program and judging whether the user operation information meets the network switching condition corresponding to the characteristic information;
the network switching module is used for switching to the switchable network when the user operation information meets the network switching condition;
wherein, the network switching condition judging module comprises:
the real-time operation frequency calculation submodule is used for calculating the real-time operation frequency of the first operation performed by the user based on the user operation information;
a preset operation frequency determining submodule, configured to determine a preset operation frequency corresponding to the first operation;
the frequency comparison submodule is used for determining that the user operation information meets the network switching condition corresponding to the characteristic information when the real-time operation frequency is smaller than the preset operation frequency;
or, the network switching condition determining module includes:
the second operation determining submodule is used for determining the second operation currently performed by the user based on the user operation information;
the designated operation detection submodule is used for determining that the user operation information meets the network switching condition corresponding to the characteristic information when the second operation is detected to be the designated operation; wherein the specified operation is not a sliding operation and is not a clicking operation.
5. The apparatus of claim 4, wherein the network handover condition determining module further comprises:
the designated characteristic information judgment submodule is used for judging whether the characteristic information is designated characteristic information or not;
and the user operation information acquisition sub-module is used for acquiring the user operation information corresponding to the application program when the characteristic information is determined to be the specified characteristic information.
6. The apparatus of claim 4, further comprising:
the target button display module is used for starting the wireless network connection switch and displaying a target button;
and the switch starting module is used for starting the user operation detection switch when detecting the clicking operation of the user on the target button.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810322451.5A CN108430083B (en) | 2018-04-11 | 2018-04-11 | Network switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810322451.5A CN108430083B (en) | 2018-04-11 | 2018-04-11 | Network switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108430083A CN108430083A (en) | 2018-08-21 |
CN108430083B true CN108430083B (en) | 2021-01-15 |
Family
ID=63160975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810322451.5A Active CN108430083B (en) | 2018-04-11 | 2018-04-11 | Network switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108430083B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955560A (en) * | 2011-08-25 | 2013-03-06 | 腾讯科技(深圳)有限公司 | Application program processing method and device |
CN104703238A (en) * | 2013-12-10 | 2015-06-10 | 华为技术有限公司 | Network switching method and terminal device |
CN106060884A (en) * | 2016-05-19 | 2016-10-26 | 维沃移动通信有限公司 | Network switching method and mobile terminal |
CN106211164A (en) * | 2016-07-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Terminal network changing method, terminal network switching device and terminal |
CN106604361A (en) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | WiFi scanning method and mobile terminal |
CN106648865A (en) * | 2016-12-15 | 2017-05-10 | 北京奇虎科技有限公司 | Intelligent terminal, game operating environment optimizing method and system |
CN106792955A (en) * | 2016-12-26 | 2017-05-31 | 北京奇虎科技有限公司 | Switching analog network method, device and terminal device |
CN107027150A (en) * | 2017-04-11 | 2017-08-08 | 广东欧珀移动通信有限公司 | WiFi control methods, device and terminal device |
CN107343083A (en) * | 2017-06-01 | 2017-11-10 | 努比亚技术有限公司 | One kind lifting game experiencing method, apparatus and computer-readable recording medium |
CN107577508A (en) * | 2017-08-14 | 2018-01-12 | 广东欧珀移动通信有限公司 | Applied program processing method, device, readable storage medium storing program for executing and mobile terminal |
CN107734584A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017514418A (en) * | 2014-04-25 | 2017-06-01 | インテル アイピー コーポレイション | User equipment and method for handover initiation |
US9635491B2 (en) * | 2014-07-10 | 2017-04-25 | Sap Se | Transient mobile application capture in a restricted area |
-
2018
- 2018-04-11 CN CN201810322451.5A patent/CN108430083B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955560A (en) * | 2011-08-25 | 2013-03-06 | 腾讯科技(深圳)有限公司 | Application program processing method and device |
CN104703238A (en) * | 2013-12-10 | 2015-06-10 | 华为技术有限公司 | Network switching method and terminal device |
CN106060884A (en) * | 2016-05-19 | 2016-10-26 | 维沃移动通信有限公司 | Network switching method and mobile terminal |
CN106211164A (en) * | 2016-07-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Terminal network changing method, terminal network switching device and terminal |
CN106604361A (en) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | WiFi scanning method and mobile terminal |
CN106648865A (en) * | 2016-12-15 | 2017-05-10 | 北京奇虎科技有限公司 | Intelligent terminal, game operating environment optimizing method and system |
CN106792955A (en) * | 2016-12-26 | 2017-05-31 | 北京奇虎科技有限公司 | Switching analog network method, device and terminal device |
CN107027150A (en) * | 2017-04-11 | 2017-08-08 | 广东欧珀移动通信有限公司 | WiFi control methods, device and terminal device |
CN107343083A (en) * | 2017-06-01 | 2017-11-10 | 努比亚技术有限公司 | One kind lifting game experiencing method, apparatus and computer-readable recording medium |
CN107577508A (en) * | 2017-08-14 | 2018-01-12 | 广东欧珀移动通信有限公司 | Applied program processing method, device, readable storage medium storing program for executing and mobile terminal |
CN107734584A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN108430083A (en) | 2018-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109067418B (en) | Antenna control method and mobile terminal | |
CN108459797B (en) | Control method of folding screen and mobile terminal | |
CN109078319B (en) | Game interface display method and terminal | |
CN108279948B (en) | Application program starting method and mobile terminal | |
CN109739429B (en) | Screen switching processing method and mobile terminal equipment | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN108900695B (en) | Display processing method, terminal equipment and computer readable storage medium | |
CN109343788B (en) | Operation control method of mobile terminal and mobile terminal | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN110399000B (en) | Mobile terminal and temperature control method thereof | |
CN108668328B (en) | Network switching method and mobile terminal | |
CN108495349B (en) | Switching method of operator network and mobile terminal | |
CN107992342B (en) | Application configuration changing method and mobile terminal | |
CN109144393B (en) | Image display method and mobile terminal | |
CN108009031B (en) | Application program control method and mobile terminal | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN108419283B (en) | WIFI hotspot scanning method and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN111310165B (en) | Account switching or registering method and electronic equipment | |
CN111427644B (en) | Target behavior identification method and electronic equipment | |
CN110740265B (en) | Image processing method and terminal equipment | |
CN109660657B (en) | Application program control method and device | |
CN109753776B (en) | Information processing method and device and mobile terminal | |
CN108234745B (en) | Signal receiving method, mobile terminal and computer readable storage medium | |
CN109040457B (en) | Screen brightness adjusting method 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 |