CN109511145B - Network hotspot switching method, intelligent terminal and computer-readable storage medium - Google Patents

Network hotspot switching method, intelligent terminal and computer-readable storage medium Download PDF

Info

Publication number
CN109511145B
CN109511145B CN201811609901.5A CN201811609901A CN109511145B CN 109511145 B CN109511145 B CN 109511145B CN 201811609901 A CN201811609901 A CN 201811609901A CN 109511145 B CN109511145 B CN 109511145B
Authority
CN
China
Prior art keywords
network
network hotspot
hotspot
connection
intelligent terminal
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
CN201811609901.5A
Other languages
Chinese (zh)
Other versions
CN109511145A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811609901.5A priority Critical patent/CN109511145B/en
Publication of CN109511145A publication Critical patent/CN109511145A/en
Priority to PCT/CN2019/125723 priority patent/WO2020135131A1/en
Application granted granted Critical
Publication of CN109511145B publication Critical patent/CN109511145B/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/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The invention discloses a switching method of network hotspots, which comprises the following steps: monitoring the current network communication state of the intelligent terminal; if the network communication state is abnormal, judging whether the current network hotspot is normally connected; if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal; and searching corresponding network hotspots according to the using scenes, and connecting. The technical scheme provided by the invention can automatically select the corresponding network hotspot to connect according to the current use scene of the intelligent terminal when the network communication state is abnormal, thereby realizing the automatic switching connection of the network hotspot when the network communication state is abnormal, conveniently solving the problem of abnormal network communication state and facilitating the use of users.

Description

Network hotspot switching method, intelligent terminal and computer-readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network hotspot switching method, an intelligent terminal, and a computer-readable storage medium.
Background
The existing wifi hotspot selection generally comprises the following steps: 1) connecting according to default (or preferential) hot spots set by a user; 2) connecting according to whether the WIFI can be successfully connected or not; 3) connecting according to the characteristics of WIFI (wireless fidelity), such as WIFI strength, network speed, connection quantity and the like; 4) and performing connection according to historical places, historical times and the like. The selection modes are selected according to the WIFI environment, once the selection of the WIFI hotspot is not changed in the same WIFI environment, when the intelligent terminal is limited to carry out website connection under the connected WIFI hotspot in the use process, if a user wants to use the intelligent terminal normally, another proper hotspot needs to be replaced manually, and the user feels inconvenient in the use process.
Therefore, when the access of the intelligent terminal is abnormal, the network hotspot switching is inconvenient to solve
Disclosure of Invention
The invention mainly aims to provide a switching method of network hotspots, an intelligent terminal and a computer readable storage medium, and aims to solve the technical problem that network hotspot switching is inconvenient when the intelligent terminal is abnormally accessed.
The invention provides a switching method of network hotspots, which comprises the following steps:
monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal, judging whether the current network hotspot is normally connected;
if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal;
and searching a corresponding network hotspot according to the use scene, and connecting.
Preferably, the step of acquiring the current usage scenario of the intelligent terminal if the current network hotspot connection is normal includes:
and if the current network hotspot connection is normal, acquiring the operation information of the application program currently operated by the intelligent terminal, and determining the current use scene according to the operation information of the application program.
If the running information of the application program currently running in the intelligent terminal cannot be acquired, detecting the starting condition of the system service;
and acquiring the use scene of the intelligent terminal according to the starting condition.
Preferably, the step of acquiring the current usage scenario of the intelligent terminal if the current network hotspot connection is normal further includes:
if the current network hotspot connection is normal, acquiring the domain name of the website to be connected currently by the intelligent terminal;
acquiring a corresponding keyword according to the domain name;
and determining the use scene of the intelligent terminal according to the keywords.
Preferably, the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
searching in a connection strategy record of a network hotspot according to the use scene;
if the connection strategy matched with the use scene can be found, switching to a network hotspot corresponding to the matched connection strategy for connection;
and if the connection strategy matched with the use scene cannot be found, dynamically switching connection of the network hotspot in the current environment.
Preferably, if the connection policy matched with the usage scenario cannot be found, the step of dynamically switching the connection to the current network hotspot includes:
if the connection strategy matched with the use scene cannot be found, trying to connect the network hotspots in the current environment to obtain the network hotspots which can be normally connected;
acquiring a network hotspot with a normal network communication state from network hotspots which can be normally connected in the use scene;
and connecting with a network hotspot with a normal network communication state.
Preferably, the step of connecting to a network hotspot with a normal network communication state includes:
if only one network hotspot in the normal network communication state exists, directly connecting with the network hotspot in the normal network communication state;
and if two or more network hotspots in the normal network communication state exist, selecting the network hotspot with the optimal network speed from the network hotspots in the normal network communication state for connection.
Preferably, after the step of connecting to the network hotspot in the normal network communication state, the method further includes:
and updating the connected network hotspot into the connection strategy record for storage.
Preferably, after the step of switching to the corresponding network hotspot for connection through the matched connection policy if the matched connection policy can be found, the method further includes:
judging whether the network communication state is abnormal in the use scene;
if the network communication state is not abnormal in the use scene, executing the following steps: monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal in the use scene, executing the following steps: and if the matched connection strategy cannot be found, dynamically switching connection to the current network hotspot.
In addition, the present invention further provides an intelligent terminal, which includes a processor, a memory, and a network hotspot switching program stored in the memory and executable by the processor, wherein when the network hotspot switching program is executed by the processor, the steps of the network hotspot switching method described above are implemented.
The present invention provides a computer-readable storage medium, wherein a network hotspot switching program is stored on the computer-readable storage medium, and when the network hotspot switching program is executed by a processor, the steps of the network hotspot switching method are implemented.
In the technical scheme of the invention, the current network communication state of the intelligent terminal is monitored; if the network communication state is abnormal, judging whether the current network hotspot is normally connected; if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal; and searching a corresponding network hotspot according to the current use scene, and connecting. According to the technical scheme provided by the invention, when the network communication state is abnormal, the corresponding network hotspot can be automatically selected for connection according to the current use scene of the intelligent terminal, so that when the network communication state is abnormal, the automatic switching connection of the network hotspot is realized, the problem of abnormal network communication state is conveniently solved, and the use of a user is facilitated.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a network hotspot switching method according to the present invention;
fig. 3 is a schematic flowchart illustrating a detailed process of obtaining a current usage scenario of an intelligent terminal if a current network hotspot connection is normal in an embodiment of the present invention;
fig. 4 is a flowchart illustrating a detailed process of obtaining a current usage scenario of the intelligent terminal if the current network hotspot connection is normal in another embodiment of the present invention;
fig. 5 is a flowchart of a step of searching for a corresponding network hotspot according to the usage scenario and connecting according to the embodiment of the present invention;
fig. 6 is a flowchart illustrating a step of dynamically switching connection to a current network hotspot if a connection policy matching the current usage scenario cannot be found in the embodiment of the present invention;
FIG. 7 is a flowchart illustrating a detailed procedure of connecting to a network hotspot with a normal network communication status in an embodiment of the present invention;
fig. 8 is a flowchart illustrating a second embodiment of a network hotspot switching method according to the present invention;
fig. 9 is a flowchart illustrating a network hotspot switching method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The switching method of the network hotspot related by the embodiment of the invention is mainly applied to the intelligent terminal which can be a device with display and processing functions, such as a PC, a portable computer, a mobile intelligent terminal and the like.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention. In the embodiment of the present invention, the smart terminal may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the apparatus, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005 of fig. 1, which is a type of computer-readable storage medium, may include an operating system, a network communication module, and a handoff program for a network hotspot.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; the processor 1001 may call the handover procedure of the network hotspot stored in the memory 1005, and perform the following steps:
monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal, judging whether the current network hotspot is normally connected;
if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal;
and searching a corresponding network hotspot according to the use scene, and connecting.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
and if the current network hotspot connection is normal, acquiring the operation information of the application program currently operated by the intelligent terminal, and determining the use scene of the intelligent terminal according to the operation information of the application program.
If the running information of the application program currently running in the intelligent terminal cannot be acquired, detecting the starting condition of the system service;
and acquiring the use scene of the intelligent terminal according to the starting condition.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
if the current network hotspot connection is normal, acquiring the domain name of the website to be connected currently by the intelligent terminal;
acquiring a corresponding keyword according to the domain name;
and determining the use scene of the intelligent terminal according to the keywords.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
searching in a connection strategy record of a network hotspot according to the use scene;
if the connection strategy matched with the use scene can be found, switching to a network hotspot corresponding to the matched connection strategy for connection;
and if the connection strategy matched with the use scene cannot be found, dynamically switching connection of the network hotspot in the current environment.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
if the connection strategy matched with the use scene cannot be found, trying to connect the network hotspots in the current environment to obtain the network hotspots which can be normally connected;
acquiring a network hotspot with a normal network communication state from network hotspots which can be normally connected in the use scene;
and connecting with a network hotspot with a normal network communication state.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
if only one network hotspot in the normal network communication state exists, directly connecting with the network hotspot in the normal network communication state;
and if two or more network hotspots in the normal network communication state exist, selecting the network hotspot with the optimal network speed from the network hotspots in the normal network communication state for connection.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
and updating the connected network hotspot into the connection strategy record for storage.
Further, the processor 1001 may call a handover procedure of the network hotspot stored in the memory 1005, and further perform the following steps:
judging whether the network communication state is abnormal in the use scene;
if the network communication state is not abnormal in the use scene, executing the following steps: monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal in the use scene, executing the following steps: and if the matched connection strategy cannot be found, dynamically switching connection to the current network hotspot.
Based on the hardware structure of the intelligent terminal, the invention provides various embodiments of the network hotspot switching method.
The invention provides a switching method of network hotspots.
Referring to fig. 2, in a first embodiment of the present invention, a method for switching a network hotspot includes the following steps:
s100, monitoring the current network communication state of the intelligent terminal;
the intelligent terminal is generally connected with a network hotspot when accessing a webpage or some application programs needing to consume flow for watching, in the application, the intelligent terminal is connected with wifi for example, and under the condition that the intelligent terminal is connected with wifi, the current network communication state of the intelligent terminal is monitored to judge whether the current network communication state of the intelligent terminal is abnormal or not. It should be noted that whether the current network communication state of the intelligent terminal is abnormal or not means whether the intelligent terminal can normally browse a webpage, normally watch a picture, normally play music, normally play a video, and the like. Before step S100, a currently optimal wifi hotspot may be selected for connection and use according to a current wifi environment. It should be noted that the currently optimal wifi hotspot may be selected according to the needs of the user, for example, the currently optimal wifi hotspot may be a network hotspot with the fastest network speed or may be a network hotspot that is most secure for the user.
Specifically, if a webpage cannot be browsed normally, a picture cannot be opened normally, a video cannot be played normally, and the like, it can be determined that the current network communication state is abnormal; if the webpage can be browsed normally, the picture can be opened normally, the audio can be played normally, the video can be played normally and the like, it can be judged that the current network communication state is not abnormal.
Step S200, if the network communication state is abnormal, judging whether the current network hotspot is normally connected;
if the current network communication state of the intelligent terminal is abnormal, whether the current network hotspot is normally connected or not can be judged, namely whether the intelligent terminal is normally connected with wifi or not is judged, if the current network hotspot is disconnected, the initially connected network hotspot is reconnected or is directly switched to other network hotspots for connection, and the step S100 is returned: and monitoring the current network communication state of the intelligent terminal. And if the current network communication state of the intelligent terminal is not abnormal, continuously monitoring the current network communication state of the intelligent terminal.
Step S300, if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal;
if the current network hotspot connection is normal, the current use scene of the intelligent terminal can be obtained, and the current use scene of the intelligent terminal can comprise currently browsed webpages, pictures, audio playing, video playing and the like.
Specifically, referring to fig. 3, fig. 3 is a flowchart illustrating a step of obtaining a current usage scenario of the intelligent terminal in an embodiment of the present invention, if a current network hotspot connection is normal, based on the embodiment, step S300 includes:
step S310, if the current network hotspot connection is normal, acquiring the operation information of the application program currently operated by the intelligent terminal, and determining the use scene of the intelligent terminal according to the operation information of the application program;
specifically, under the condition that the current network hotspot connection is normal, the current use scene of the intelligent terminal can be determined by acquiring the operation information of the application program currently operated by the intelligent terminal and according to the operation information of the application program. It should be noted that only the application program of the intelligent terminal can provide the operation information for the intelligent terminal, that is, the intelligent terminal can only obtain the operation information of the application program of the intelligent terminal, and cannot obtain the operation information of the third-party application program.
Step S320, if the running information of the application program currently running in the intelligent terminal cannot be acquired, detecting the starting condition of the system service;
specifically, if the application program currently running on the intelligent terminal is the third-party application, the intelligent terminal cannot acquire the running information of the currently running application program, and in this case, the current use scene of the intelligent terminal can be acquired by detecting the starting condition of the system service, that is, if the running information of the application program currently running on the intelligent terminal cannot be acquired, the starting condition of the system service can be detected.
And S330, acquiring the use scene of the intelligent terminal according to the starting condition.
After the starting condition of the system service is detected, the current use scene of the intelligent terminal can be obtained according to the starting service of the system service, for example, when the playing service in the system service is detected to be started, the current use scene of the intelligent terminal can be determined to be a video playing scene.
In addition, referring to fig. 4, fig. 4 is a detailed schematic view of a process of obtaining a current usage scenario of the intelligent terminal if the current network hotspot connection is normal in another embodiment of the present invention, based on the above embodiment, step S300 further includes:
step S340, if the current network hotspot connection is normal, acquiring a domain name of a website to be connected currently by the intelligent terminal;
specifically, if the intelligent terminal is currently connected to a website, the domain name of the website to be currently connected to the intelligent terminal can be acquired under the condition that the current network hotspot connection is normal, and the current use scene of the terminal can be judged through the domain name of the website.
Step S350, acquiring corresponding keywords according to the domain name;
specifically, keywords related to a domain name, for example, keywords representing videos such as "video", "MP 4", and the like, and keywords representing video playing applications such as "iqiyi", "you", and the like, may be stored in the terminal; "MP 3", "music", etc. represent keywords of audio, and "kuguo" etc. represent keywords of audio playing application; "image" and the like represent keywords of a picture and the like.
And S360, determining the use scene of the intelligent terminal according to the keywords.
After the keywords in the domain name are acquired, the current use scene of the intelligent terminal can be acquired according to the keywords, for example, when the acquired keywords represent pictures, it is indicated that the current use scene of the intelligent terminal is a browsing picture; when the acquired keywords represent audio or audio playing application, the current use scene of the intelligent terminal is indicated to be music playing; when the acquired keywords represent videos or video playing applications, it is indicated that the current use scene of the intelligent terminal is a playing video and the like. It should be noted that when the domain name cannot acquire the keywords related to the picture, the audio, the video, and the like, it may be determined that the current usage scenario of the intelligent terminal is a browsing webpage.
And S400, searching a corresponding network hotspot according to the use scene, and connecting.
After the current use scene of the intelligent terminal is obtained, the corresponding network is searched for connection according to the current use scene of the intelligent terminal, so that the problem of abnormal connection of network points is solved.
Specifically, referring to fig. 5, fig. 5 is a detailed schematic view of a flow of steps of searching for a corresponding network hotspot according to the usage scenario and connecting, in an embodiment of the present invention, based on the above embodiment, step S400 includes:
step S410, searching in the connection strategy record of the network hotspot according to the use scene;
after the current use scene of the intelligent terminal is obtained, searching is carried out in the previous connection strategy record of the network hotspot according to the current use scene. The connection policy record refers to recording network hotspots to which the smart terminal has been successfully connected before, and is recorded as a connection policy record.
Step S420, if the connection strategy matched with the use scene can be found, switching to a network hotspot corresponding to the matched connection strategy for connection;
if the connection strategy matched with the current use scene of the intelligent terminal can be searched in the connection strategy record, the network hotspot corresponding to the matched connection strategy is switched to be connected, and the intelligent switching of the network hotspot is realized. Specifically, the corresponding network hotspot is determined according to the searched connection strategy, and the current network hotspot of the intelligent terminal is switched to the network hotspot corresponding to the connection strategy, that is, the corresponding network hotspot is determined by the searched connection strategy to be used as the use hotspot of the current use scene.
And step S430, if the connection strategy matched with the use scene cannot be found, dynamically switching connection of the network hotspot in the current environment.
If the connection strategy matched with the current use scene of the intelligent terminal cannot be found in the connection strategy record, the network hotspots in the current environment can be dynamically switched to perform connection attempt and find the network hotspots capable of solving the abnormal network communication state. It should be noted that the fact that a connection policy that is not matched with the current usage scenario is not found in the connection policy record means that there is no corresponding connection policy in the previous connection policy record, or the problem that the abnormal problem of the network communication state cannot be solved by the corresponding connection policy in the previous connection policy record.
Further, referring to fig. 6, fig. 6 is a detailed schematic view of a flow of the step of dynamically switching connection to the current network hotspot if the connection policy matched with the current usage scenario cannot be found in the embodiment of the present invention, where, based on the embodiment, step S430 includes:
step S431, if the connection strategy matched with the use scene cannot be found, trying to connect the network hotspot in the current environment to obtain a network hotspot capable of being normally connected;
specifically, if the connection policy matched with the current usage scenario cannot be found, the network hotspot in the current environment may be attempted to be connected, so as to obtain a network hotspot capable of being normally connected. It should be noted that the network hotspots that can be connected include a network hotspot in which a password is stored, a public wifi hotspot, and the like.
Step S432, acquiring a network hotspot with a normal network communication state from network hotspots which can be normally connected in the use scene;
specifically, after the network hotspot capable of being normally connected is obtained, the network hotspot with a normal network communication state is obtained from the network hotspot capable of being normally connected under the current use condition. In addition, in another embodiment, in a current use scenario, when a network hotspot with a normal network communication state cannot be obtained from network hotspots that can be normally connected, a prompt that the network hotspot cannot be normally used can be sent on a display interface of the intelligent terminal, and the intelligent terminal is connected with the initial network hotspot.
And step S433, connecting with a network hotspot with a normal network communication state.
Under the current use condition, after the network hotspot with the normal network communication state is acquired from the network hotspots which can be normally connected, the network hotspot with the normal network communication state can be connected, and the problem of abnormal network communication state of the intelligent terminal is solved.
Further, referring to fig. 7, fig. 7 is a detailed flowchart illustrating a step of connecting to a network hotspot in a normal network communication state in the embodiment of the present invention, based on the embodiment, step S433 includes:
step S4331, if only one network hotspot in the normal network communication state exists, directly connecting with the network hotspot in the normal network communication state;
step S4332, if two or more network hotspots in the normal network communication state exist, selecting the network hotspot with the optimal network speed from the network hotspots in the normal network communication state to connect.
Specifically, when only one network hotspot with a normal network communication state is acquired from the network hotspots which can be normally connected under the current use condition, the network hotspot can be directly connected so as to be convenient for the use of a user; when two or more network hotspots with normal network communication states are acquired from the network hotspots which can be normally connected under the current use condition, the network hotspot with the optimal network speed can be selected from the network hotspots with normal network communication states for connection. In another embodiment, the most secure network hotspot can be selected from network hotspots with normal network communication state for connection. In addition, after the connection with the network hotspot with the optimal network speed is performed, whether the scene of the intelligent terminal is used completely (that is, whether the video is played completely, and whether the picture and the webpage are browsed completely) or whether the website of the intelligent terminal is connected completely can be judged, and when the scene is used completely, the network connected with the intelligent terminal can be switched back to the initially connected network hotspot.
In the technical scheme of the invention, the current network communication state of the intelligent terminal is monitored; if the network communication state is abnormal, judging whether the current network hotspot is normally connected; if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal; and searching a corresponding network hotspot according to the use scene, and connecting. According to the technical scheme provided by the invention, when the network communication state is abnormal, the corresponding network hotspot can be automatically selected according to the current use scene of the intelligent terminal for connection, so that when the network communication state is abnormal, the automatic switching connection of the network hotspot is realized, the problem of abnormal network communication state is conveniently solved, and the use of a user is facilitated.
Further, referring to fig. 8, fig. 8 is a flowchart illustrating a second embodiment of the method for switching a network hotspot according to the present invention, based on the above embodiment, after step S433, the method further includes:
step S434, the connected network hotspot is updated to the connection policy record for storage.
After the network hotspot with the optimal network speed is connected with the network hotspot with the optimal network speed in the network hotspots with normal network communication state, the network hotspot with the optimal network speed is updated to the connection strategy record to be stored, so that the types of the connection strategies stored in the connection strategy record are increased, and the corresponding connection strategy can be searched in the connection strategy record when the user encounters the similar network communication state abnormity problem next time. In a preferred embodiment, the network hotspots corresponding to the connection policies recorded in the connection policy record may also be subjected to an optimized use ranking, and when a user manually adds a certain network hotspot, the network hotspot is stored as an optimal network in the connection policy record.
Further, referring to fig. 9, fig. 9 is a flowchart illustrating a third embodiment of the method for switching a network hotspot according to the present invention, and based on the above embodiment, after step S420, the method further includes:
step S421, judging whether the network communication state is abnormal in the use scene;
if the network communication state is not abnormal in the use scene, executing step S100: monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal in the usage scenario, step S430 is executed: and if the matched connection strategy cannot be found, dynamically switching connection to the current network hotspot.
Specifically, after the network hotspot corresponding to the connection policy is connected, it is determined whether the network communication state is abnormal in the current usage scenario, and if the network communication state is not abnormal in the current usage scenario, the process returns to step S100: monitoring the current network communication state of the intelligent terminal; if the network communication state is abnormal in the current usage scenario, which indicates that the network hotspot corresponding to the connection policy cannot solve the problem of the network communication abnormality currently required by the user, and needs to attempt to connect other hotspots in the current environment, then step S430 is performed: and if the connection strategy matched with the current use scene cannot be found, dynamically switching connection of the network hotspot in the current environment.
In addition, when the connection policy is stored, a usage scenario corresponding to the connected network hotspot may be stored in the intelligent terminal, and specifically, a key field may be obtained from the usage scenario, for example, the key field may be a webpage, a picture, an audio, a video, or the like, and then the key field and the network hotspot are stored correspondingly. After the current use scene of the intelligent terminal is obtained, the key field corresponding to the use scene can be obtained, and then the key field is searched in the connection strategy record of the network hotspot. If the acquired key field is found in the corresponding relation between the stored key field and the network hotspot, the matched connection strategy can be found; if the obtained keyword cannot be found in the stored corresponding relationship between the key field and the network hotspot, the matching connection strategy cannot be found.
In addition, in another embodiment, when the network hotspot corresponding to the current use scene of the intelligent terminal cannot be found in the connection policy record, a scene or a key field can be added, then the network hotspot in the current environment is attempted to be connected, the network hotspot with normal network communication is added to the connection policy record, and the corresponding relationship between the network hotspot and the scene or the key field is stored in the intelligent terminal.
In addition, the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a switching program of a network hotspot, wherein when the switching program of the network hotspot is executed by a processor, the steps of the switching method of the network hotspot are implemented.
The method implemented when the switching program of the network hotspot is executed may refer to each embodiment of the switching method of the network hotspot of the present invention, and is not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A switching method of a network hotspot is characterized by comprising the following steps:
monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal, judging whether the current network hotspot is normally connected;
if the current network hotspot connection is normal, acquiring the current use scene of the intelligent terminal;
searching a corresponding network hotspot according to the use scene, and connecting;
if the current network hotspot connection is normal, the step of acquiring the current use scene of the intelligent terminal comprises the following steps:
if the current network hotspot connection is normal, acquiring the operation information of the application program currently operated by the intelligent terminal, and determining the use scene of the intelligent terminal according to the operation information of the application program;
if the running information of the application program currently running in the intelligent terminal cannot be acquired, detecting the starting condition of the system service;
acquiring a use scene of the intelligent terminal according to the starting condition;
the usage scenes comprise currently browsed web pages, pictures, audio playing and video playing.
2. The method for switching network hotspots according to claim 1, wherein the step of obtaining the current usage scenario of the intelligent terminal if the current network hotspot is connected normally further comprises:
if the current network hotspot connection is normal, acquiring the domain name of the website to be connected currently by the intelligent terminal;
acquiring a corresponding keyword according to the domain name;
and determining the use scene of the intelligent terminal according to the keywords.
3. The method for switching network hotspots according to any of claims 1-2, wherein the step of finding the corresponding network hotspot according to the usage scenario and connecting comprises:
searching in a connection strategy record of a network hotspot according to the use scene;
if the connection strategy matched with the use scene can be found, switching to a network hotspot corresponding to the matched connection strategy for connection;
and if the connection strategy matched with the use scene cannot be found, dynamically switching connection of the network hotspot in the current environment.
4. The method according to claim 3, wherein if the connection policy matching the usage scenario cannot be found, the step of dynamically switching connection to the current network hotspot comprises:
if the connection strategy matched with the use scene cannot be found, trying to connect the network hotspots in the current environment to obtain the network hotspots which can be normally connected;
acquiring a network hotspot with a normal network communication state from network hotspots which can be normally connected in the use scene;
and connecting with a network hotspot with a normal network communication state.
5. The method according to claim 4, wherein the step of connecting to the network hotspot with a normal network communication state comprises:
if only one network hotspot in the normal network communication state exists, directly connecting with the network hotspot in the normal network communication state;
and if two or more network hotspots in the normal network communication state exist, selecting the network hotspot with the optimal network speed from the network hotspots in the normal network communication state for connection.
6. The method for switching a network hotspot according to claim 4, wherein after the step of connecting with the network hotspot with a normal network communication state, the method further comprises:
and updating the connected network hotspot into the connection strategy record for storage.
7. The method according to claim 3, wherein after the step of switching to the corresponding network hotspot for connection through the matching connection policy if the matching connection policy can be found, the method further comprises:
judging whether the network communication state is abnormal in the use scene;
if the network communication state is not abnormal in the use scene, executing the following steps: monitoring the current network communication state of the intelligent terminal;
if the network communication state is abnormal in the use scene, executing the following steps: and if the matched connection strategy cannot be found, dynamically switching connection to the current network hotspot.
8. An intelligent terminal, comprising a processor, a memory, and a network hotspot switching program stored in the memory and executable by the processor, wherein the network hotspot switching program, when executed by the processor, implements the steps of the network hotspot switching method according to any one of claims 1 to 7.
9. A computer-readable storage medium, on which a handover program of a network hotspot is stored, wherein the handover program of the network hotspot, when executed by a processor, implements the steps of the handover method of the network hotspot according to any one of claims 1 to 7.
CN201811609901.5A 2018-12-27 2018-12-27 Network hotspot switching method, intelligent terminal and computer-readable storage medium Active CN109511145B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811609901.5A CN109511145B (en) 2018-12-27 2018-12-27 Network hotspot switching method, intelligent terminal and computer-readable storage medium
PCT/CN2019/125723 WO2020135131A1 (en) 2018-12-27 2019-12-16 Network hotspot switching method, intelligent terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609901.5A CN109511145B (en) 2018-12-27 2018-12-27 Network hotspot switching method, intelligent terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109511145A CN109511145A (en) 2019-03-22
CN109511145B true CN109511145B (en) 2021-04-16

Family

ID=65754912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609901.5A Active CN109511145B (en) 2018-12-27 2018-12-27 Network hotspot switching method, intelligent terminal and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN109511145B (en)
WO (1) WO2020135131A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109511145B (en) * 2018-12-27 2021-04-16 深圳Tcl新技术有限公司 Network hotspot switching method, intelligent terminal and computer-readable storage medium
CN112153713B (en) * 2020-10-23 2021-08-20 珠海格力电器股份有限公司 Obstacle determination method and apparatus, storage medium, and electronic apparatus
CN115396824B (en) * 2022-07-13 2023-11-21 深圳市酷开网络科技股份有限公司 Bluetooth-based network configuration method, device, computer equipment and medium
CN115297530B (en) * 2022-09-28 2023-04-07 荣耀终端有限公司 Network connection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298142A (en) * 2012-02-24 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal equipment for wireless network connection
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108932140A (en) * 2018-07-13 2018-12-04 重庆邮电大学 The method of cleaning background application based on Android user behavior habit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100547750B1 (en) * 2004-07-05 2006-01-31 삼성전자주식회사 Continuous data transmission method in home network system
US10271245B2 (en) * 2015-12-18 2019-04-23 Samsung Electronics Co., Ltd Methods and systems for transferring hotspot session
CN106535263A (en) * 2016-11-22 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for managing hotspot connection and mobile terminal
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN109511145B (en) * 2018-12-27 2021-04-16 深圳Tcl新技术有限公司 Network hotspot switching method, intelligent terminal and computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298142A (en) * 2012-02-24 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal equipment for wireless network connection
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108932140A (en) * 2018-07-13 2018-12-04 重庆邮电大学 The method of cleaning background application based on Android user behavior habit

Also Published As

Publication number Publication date
CN109511145A (en) 2019-03-22
WO2020135131A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
CN109511145B (en) Network hotspot switching method, intelligent terminal and computer-readable storage medium
US10750234B2 (en) User terminal device and content sharing method thereof
US10715529B2 (en) Method, apparatus, and computer program product for privacy management
US8943164B2 (en) Apparatus and methods for retrieving/ downloading content on a communication device
US8972884B2 (en) Presenting information pertaining to a plurality of tabs in an instant messaging application
EP2005634B1 (en) Method and apparatus for synchronizing contents of home network devices
EP3528199B1 (en) Method and apparatus for collecting content
US20090125934A1 (en) User rating mechanism for media content
JP6806762B2 (en) Methods and devices for pushing information
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN110913135A (en) Video shooting method and device, electronic equipment and storage medium
CN105867714A (en) Application downloading method, apparatus and system
JP2007067702A (en) Information processing apparatus and method of reproducing contents thereof
US8677246B2 (en) User interface control apparatus, user interface control method, program, storage medium storing program, and integrated circuit
EP2811399B1 (en) Method and terminal for starting music application
KR101919257B1 (en) Application program switch method, apparatus and electronic terminal
KR20120091831A (en) Apparatus and method for providing bookmark function in portable terminal
US10089450B2 (en) User authentication method, authentication apparatus, and terminal
CN104756102A (en) Terminal and application program interaction method
US8977246B2 (en) Method and system for providing seamless service
US9781198B2 (en) Information processing method and electronic device
CN104811795A (en) Online video playing method and online video playing device
KR101377737B1 (en) Storage profile generation for network-connected portable storage devices
CN103984691A (en) Information processing apparatus, information processing method, and program
US20120184333A1 (en) Apparatus and method for providing and executing content

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