WO2020135131A1 - 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
WO2020135131A1
WO2020135131A1 PCT/CN2019/125723 CN2019125723W WO2020135131A1 WO 2020135131 A1 WO2020135131 A1 WO 2020135131A1 CN 2019125723 W CN2019125723 W CN 2019125723W WO 2020135131 A1 WO2020135131 A1 WO 2020135131A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
usage scenario
hotspot
network hotspot
current
Prior art date
Application number
PCT/CN2019/125723
Other languages
French (fr)
Chinese (zh)
Inventor
柯杰燕
Original Assignee
深圳Tcl新技术有限公司
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 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2020135131A1 publication Critical patent/WO2020135131A1/en

Links

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

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method for switching network hotspots, an intelligent terminal, and a computer-readable storage medium.
  • the existing wifi hotspot options are generally the following: 1) Connect according to the default (or priority) hotspot set by the user; 2) Connect according to whether the WIFI can be successfully connected; 3) According to the characteristics of the WIFI (such as WIFI strength, Network speed, number of connections, etc.) Connect; 4) Connect according to historical location, historical time, etc. These selection methods are based on the WIFI environment. Once the WIFI hotspot selection does not change in the same environment as the WIFI, when the connected WIFI hotspot is used to restrict the smart terminal to perform network connection during use, If the user wants to use it normally, he must manually change another suitable hotspot. The user will find it inconvenient during the use.
  • the main purpose of the present application is to provide a method for switching network hotspots, an intelligent terminal, and a computer-readable storage medium, aiming to solve the technical problem of inconvenient switching of network hotspots when there is an abnormal access to the intelligent terminal.
  • the present application provides a method for switching network hotspots.
  • the method for switching network hotspots includes:
  • the step of acquiring the current usage scenario of the smart terminal includes:
  • the step of acquiring the current usage scenario of the smart terminal further includes:
  • the usage scenario of the smart terminal is determined according to the keyword.
  • the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
  • connection strategy matching the usage scenario If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
  • the network hotspot in the current environment is dynamically switched to connect.
  • the step of dynamically switching connections to the current network hotspot includes:
  • connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
  • the step of connecting to a network hotspot with normal network communication status includes:
  • the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
  • the method further includes:
  • the method further includes:
  • the step is: monitoring the current network communication status of the smart terminal;
  • the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
  • the present application also provides an intelligent terminal, including a processor, a memory, and a network hotspot switching program stored on the memory and executable by the processor, wherein the network hotspot switching program is When the processor executes, the steps of the network hotspot switching method described above are implemented.
  • the present application 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 network as described above is implemented Steps of hotspot switching method.
  • the current network communication status of the smart terminal is monitored; if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally; if the current network hotspot connection is normal, the current usage scenario of the smart terminal is obtained; according to Find the corresponding network hotspot in the current usage scenario and connect it.
  • the technical solution proposed in this application can automatically select the corresponding network hotspot to connect according to the current usage scenario of the smart terminal when the network communication status is abnormal, so that when the smart terminal has an abnormal network communication status, it can automatically switch the connection to the network hotspot , It is more convenient to solve the problem of abnormal network communication status, which is convenient for users.
  • FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal involved in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for switching network hotspots according to the application;
  • FIG. 3 is a detailed flowchart of a step of acquiring a current usage scenario of an intelligent terminal if the current network hotspot connection is normal in an embodiment of this application;
  • FIG. 4 is a detailed flowchart of a step of acquiring a current usage scenario of a smart terminal if the current network hotspot connection is normal in another embodiment of the present application;
  • FIG. 5 is a detailed flowchart of a step of searching for a corresponding network hotspot according to the usage scenario and connecting in an embodiment of the present application;
  • FIG. 6 is a detailed flowchart of the steps of dynamically switching connections to the current network hotspot if a connection strategy matching the current usage scenario cannot be found in the embodiment of the present application;
  • FIG. 7 is a detailed flowchart of the steps of connecting to a network hotspot with a normal network communication state in an embodiment of the present application
  • FIG. 8 is a schematic flowchart of a second embodiment of a method for switching network hotspots according to the application.
  • FIG. 9 is a schematic flowchart of a third embodiment of a method for switching network hotspots in the present application.
  • the method for switching network hotspots involved in the embodiments of the present application is mainly applied to an intelligent terminal, and the intelligent terminal may be a device with display and processing functions such as a PC, a portable computer, and a mobile intelligent terminal.
  • FIG. 1 is a schematic structural diagram of an intelligent terminal involved in a solution according to an embodiment of this application.
  • the smart terminal may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to realize the connection and communication between these components;
  • the user interface 1003 may include a display (Display), an input unit such as a keyboard (Keyboard);
  • the network interface 1004 may optionally include a standard wired interface, a wireless interface (Such as WI-FI interface);
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory, and the memory 1005 may optionally be a storage device independent of the foregoing processor 1001 .
  • FIG. 1 does not constitute a limitation on the device, and may include more or less components than those illustrated, or combine certain components, or arrange different components.
  • the memory 1005 in FIG. 1 as a computer-readable storage medium may include an operating system, a network communication module, and a network hotspot switching program.
  • the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the switching program of the network hotspot stored in the memory 1005 and perform the following steps:
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • the usage scenario of the smart terminal is determined according to the keyword.
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • connection strategy matching the usage scenario If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
  • the network hotspot in the current environment is dynamically switched to connect.
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
  • the step is: monitoring the current network communication status of the smart terminal;
  • the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
  • This application provides a method for switching network hotspots.
  • the method of switching network hotspots includes the following steps:
  • Step S100 monitoring the current network communication status of the smart terminal
  • a smart terminal When a smart terminal accesses a web page or some applications that need to consume traffic to watch, it generally connects to a network hotspot.
  • the smart terminal is connected to wifi as an example.
  • the smart terminal is monitored. To determine whether the current network communication status of the smart terminal is abnormal. It should be noted that whether the current network communication status of the smart terminal is abnormal refers to whether the smart terminal can currently browse the webpage normally, view pictures normally, play music normally, play videos normally, and so on.
  • the current optimal wifi hotspot may be selected for connection and use. It should be noted that the current optimal wifi hotspot may be selected according to the needs of the user. For example, the current optimal wifi hotspot may be the fastest network hotspot or may be the most secure network hotspot for the user.
  • the webpage cannot be browsed normally, the picture cannot be opened normally, and the video cannot be played normally, etc., it can be judged that the current network communication status is abnormal; if the webpage can be browsed normally, the picture can be opened normally, the audio can be played normally, and the video If it can play normally, it can be judged that the current network communication status is not abnormal.
  • Step S200 if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally;
  • the current network communication status of the smart terminal is abnormal, you can determine whether the current network hotspot is connected normally, that is, determine whether the smart terminal is currently connected to wifi. If the current network hotspot has been disconnected, the initial connected network hotspot Reconnect, or directly switch to another network hotspot to connect, and then return to step S100: monitor the current network communication status of the smart terminal. If the current network communication status of the smart terminal is not abnormal, continue to monitor the current network communication status of the smart terminal.
  • Step S300 if the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
  • the current usage scenario of the smart terminal may include currently browsing web pages, pictures, audio playback, and video playback.
  • step S300 includes :
  • Step S310 if the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
  • the current usage scenario of the smart terminal may be determined by acquiring the running information of the application currently running on the smart terminal and according to the running information of the application. It should be noted that only the application that comes with the smart terminal can provide the running information to the smart terminal, that is, the smart terminal can only obtain the running information of the own application and cannot obtain the running information of the third-party application.
  • Step S320 if the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
  • the smart terminal cannot obtain the running information of the currently running application program.
  • the smart terminal can be obtained by detecting the activation of the system service
  • the current usage scenario that is, if the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status can be detected.
  • Step S330 Acquire the usage scenario of the smart terminal according to the startup situation.
  • the current usage scenario of the smart terminal can be obtained according to the activation service of the system service. For example, when it is detected that the playback service in the system service is activated, the current usage scenario of the intelligent terminal can be determined as Video playback scene.
  • step S300 further includes :
  • Step S340 if the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
  • the domain name of the web address that the smart terminal currently needs to connect to can be obtained when the current network hotspot connection is normal, and the current usage scenario of the terminal can be judged by the domain name of the web address .
  • Step S350 obtaining corresponding keywords according to the domain name
  • keywords related to the domain name may be stored in the terminal, for example, keywords such as “video” and “MP4" representing videos, and keywords such as “iqiyi” and “youku” representing video playback applications; “MP3” “Music” represents keywords for audio, “kugou” represents keywords for audio playback applications; “image” represents keywords for pictures, etc.
  • Step S360 Determine the usage scenario of the smart terminal according to the keyword.
  • the current usage scenario of the smart terminal can be obtained according to the keyword.
  • the acquired keyword represents a picture
  • it means that the current usage scenario of the smart terminal is to browse the picture
  • the keyword represents audio or audio playback application
  • the acquired keyword represents a video or video playback application
  • it indicates that the current usage scenario of the smart terminal is to play video, etc.
  • keywords related to pictures, audio, video, etc. cannot be obtained from the domain name, it can be determined that the current usage scenario of the smart terminal is to browse the webpage.
  • Step S400 Find a corresponding network hotspot according to the usage scenario and connect.
  • the corresponding network is searched and connected according to the current usage scenario of the smart terminal, so as to solve the problem of abnormal connection of the outlets.
  • step S400 includes:
  • Step S410 searching in the connection strategy record of the network hotspot according to the usage scenario
  • connection strategy record refers to recording the network hotspot that the intelligent terminal has successfully connected to before, and is recorded as the connection strategy record.
  • Step S420 if a connection strategy matching the usage scenario can be found, switch to a network hotspot corresponding to the matching connection strategy to connect;
  • the network hotspot corresponding to the matched connection strategy is switched to connect to achieve intelligent switching of the network hotspot.
  • the corresponding network hotspot is determined according to the found connection strategy, and the current network hotspot of the smart terminal is switched to the network hotspot corresponding to the connection strategy, that is, the corresponding network hotspot is determined using the found connection strategy as the current usage scenario Use hotspots.
  • Step S430 If a connection strategy matching the usage scenario cannot be found, dynamically switch connections to network hotspots in the current environment.
  • connection strategy that does not match the current usage scenario of the smart terminal cannot be found in the connection strategy record, you can dynamically switch the network hotspots in the current environment to make connection attempts and find network hotspots that can solve the abnormal network communication status. It should be noted that the failure to find a connection strategy that matches the current usage scenario in the connection strategy record means that there is no corresponding connection strategy in the previous connection strategy record, or the corresponding connection strategy in the previous connection strategy record cannot resolve network communication Abnormal status.
  • step S430 includes:
  • Step S431 If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
  • the network hotspot in the current environment can be tried to connect to obtain a network hotspot that can be connected normally.
  • the network hotspots that can be connected include network hotspots with passwords saved, public wifi hotspots, and so on.
  • Step S432 obtaining a network hotspot with a normal network communication state from network hotspots that can be normally connected in the usage scenario;
  • a network hotspot with a normal network communication state is obtained from the network hotspot that can be normally connected in the current usage situation.
  • an unusable function can be issued on the display interface of the smart terminal Prompt, and connect the smart terminal with the initial network hotspot.
  • Step S433 Connect to a network hotspot with normal network communication status.
  • the network hotspot with normal network communication status obtained from the network hotspots that can be connected normally under current usage conditions, it can be connected to the network hotspot with normal network communication status to solve the problem of abnormal network communication status of the intelligent terminal.
  • step S433 includes:
  • Step S4331 if there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
  • Step S4332 If there are two or more network hotspots with normal network communication status, then select a network hotspot with the best network speed from the network hotspots with normal network communication status to connect.
  • the network hotspot when there is only one network hotspot with normal network communication status obtained from a network hotspot that can be normally connected in the current usage situation, the network hotspot can be directly connected to facilitate the user's use; when in the current usage situation If there are two or more network hotspots with normal network communication status obtained from network hotspots that can be connected normally, you can select the network hotspot with the best network speed to connect from the network hotspots with normal network communication status. In another embodiment, the most secure network hotspot can also be selected from network hotspots with normal network communication status to connect.
  • the network connected to the smart terminal can be switched back to the initially connected network hotspot.
  • the current network communication status of the smart terminal is monitored; if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally; if the current network hotspot connection is normal, the current usage scenario of the smart terminal is obtained; according to The usage scenario finds the corresponding network hotspot and connects.
  • the technical solution proposed in this application can automatically select the corresponding network hotspot to connect according to the current usage scenario of the smart terminal when the network communication status is abnormal, so that when the network communication status of the smart terminal is abnormal, the automatic switching of the network hotspot connection is realized , It is more convenient to solve the problem of abnormal network communication status, which is convenient for users.
  • FIG. 8 is a schematic flowchart of a second embodiment of a method for switching network hotspots according to the present application. Based on the foregoing embodiment, after step S433, the method further includes:
  • Step S434 Update the connected network hotspot to the connection strategy record and save it.
  • connection strategy record After connecting with the network hotspot with the best network speed among the network hotspots with normal network communication status, update the connected network hotspot with the best network speed to the connection strategy record and save it, thereby increasing the connection strategy saved in the connection strategy record
  • the type allows users to find the corresponding connection strategy in the connection strategy record when they encounter similar network communication status abnormal problems next time.
  • the network hotspots to which the connection strategy recorded in the connection strategy record should be optimized for use, when the user manually adds a network hotspot, the network hotspot is saved as a connection strategy record The best network in the world.
  • FIG. 9 is a schematic flowchart of a third embodiment of a method for switching a network hotspot according to this application. Based on the foregoing embodiment, after step S420, the method further includes:
  • Step S421 judging whether there is an abnormality in the network communication status under the usage scenario
  • step S100 is performed: monitoring the current network communication status of the smart terminal;
  • step S430 is executed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
  • step S100 monitoring The current network communication status of the smart terminal; if the network communication status is abnormal in the current usage scenario, it means that the network hotspot corresponding to the connection strategy cannot solve the problem of abnormal network communication that the user currently needs, and it is necessary to try other hotspots in the current environment
  • step S430 if a connection strategy that matches the current usage scenario cannot be found, dynamically switch connections to network hotspots in the current environment.
  • the usage scenarios corresponding to the connected network hotspots can be saved in the smart terminal.
  • key fields can be obtained from the usage scenarios, for example, the key fields can be web pages, pictures , Audio, video, etc., and then save key fields corresponding to network hotspots. After obtaining the current usage scenario of the smart terminal, the key field corresponding to the usage scenario can be obtained, and then searched in the connection strategy record of the network hotspot according to the key field.
  • the obtained key field is found in the correspondence between the saved key field and the network hotspot, it means that a matching connection strategy can be found; if the correspondence between the saved key field and the network hotspot cannot be found If you find the obtained keyword, it means that you cannot find a matching connection strategy.
  • a scene or key field may also be added, and then the network hotspot in the current environment Perform an attempt to connect, add the network hotspot with normal network communication to the connection strategy record, and save the correspondence between the network hotspot and the scene or key field to the smart terminal.
  • the present application also provides a computer-readable storage medium.
  • the computer readable storage medium of the present application stores a network hotspot switching program, wherein, when the network hotspot switching program is executed by the processor, the steps of the network hotspot switching method as described above are implemented.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

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

Abstract

Disclosed is a network hotspot switching method, comprising: monitoring a current network communication state of an intelligent terminal; if the network communication state is abnormal, determining whether the connection of a current network hotspot is normal; and if the connection of the current network hotspot is normal, acquiring a current usage scenario of the intelligent terminal; and searching for a corresponding network hotspot according to the usage scenario, and connecting to same. Further disclosed are an intelligent terminal and a computer-readable storage medium. The technical solution provided in the present application solves the technical problem of inconvenient switching of a network hotspot when an access abnormality occurs in an intelligent terminal.

Description

网络热点的切换方法、智能终端及计算机可读存储介质Network hotspot switching method, intelligent terminal and computer readable storage medium
本申请要求于2018年12月27日提交中国专利局、申请号为201811609901.5、发明名称为“网络热点的切换方法、智能终端及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application requires the priority of the Chinese patent application submitted to the China Patent Office on December 27, 2018, with the application number 201811609901.5 and the invention titled "Network Hotspot Switching Method, Intelligent Terminal, and Computer-readable Storage Media", all of its content Incorporated by reference in the application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种网络热点的切换方法、智能终端及计算机可读存储介质。The present application relates to the field of communication technologies, and in particular, to a method for switching network hotspots, an intelligent terminal, and a computer-readable storage medium.
背景技术Background technique
现有的wifi热点选择一般有以下几种:1)根据用户设定的默认(或优先)热点进行连接;2)根据WIFI是否可以连接成功进行连接;3)根据WIFI的特性(如WIFI强度、网速、连接数量等)进行连接;4)根据历史地点、历史时间等方式进行连接。这些选择的方式是根据WIFI的环境进行选择,一但在WIFI相同的环境下,WIFI热点的选择不会发生改变,当在使用的过程中,连接的WIFI热点下限制智能终端进行网点连接时,用户如果想要正常使用,必须手动更换另外的合适的热点,用户在使用的过程中会觉得很不方便。The existing wifi hotspot options are generally the following: 1) Connect according to the default (or priority) hotspot set by the user; 2) Connect according to whether the WIFI can be successfully connected; 3) According to the characteristics of the WIFI (such as WIFI strength, Network speed, number of connections, etc.) Connect; 4) Connect according to historical location, historical time, etc. These selection methods are based on the WIFI environment. Once the WIFI hotspot selection does not change in the same environment as the WIFI, when the connected WIFI hotspot is used to restrict the smart terminal to perform network connection during use, If the user wants to use it normally, he must manually change another suitable hotspot. The user will find it inconvenient during the use.
因此,智能终端存在访问异常时,网络热点切换不便是一种亟待解决的问题。Therefore, when there is an abnormal access to the smart terminal, the inconvenience of switching the network hotspot is an urgent problem to be solved.
技术解决方案Technical solution
本申请的主要目的在于提供一种网络热点的切换方法、智能终端及计算机可读存储介质,旨在解决智能终端存在访问异常时,网络热点切换不便的技术问题。The main purpose of the present application is to provide a method for switching network hotspots, an intelligent terminal, and a computer-readable storage medium, aiming to solve the technical problem of inconvenient switching of network hotspots when there is an abnormal access to the intelligent terminal.
本申请提供一种网络热点的切换方法,所述网络热点的切换方法包括:The present application provides a method for switching network hotspots. The method for switching network hotspots includes:
监测智能终端当前的网络通讯状态;Monitor the current network communication status of smart terminals;
若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;If there is an abnormality in the network communication status, determine whether the current network hotspot is connected normally;
若当前的网络热点连接正常,则获取智能终端当前的使用场景;If the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
根据所述使用场景查找对应的网络热点,并连接。Find the corresponding network hotspot according to the usage scenario and connect.
可选地,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:Optionally, if the current network hotspot connection is normal, the step of acquiring the current usage scenario of the smart terminal includes:
若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,根据所述应用程序的运行信息确定当前的使用场景;If the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the current usage scenario according to the running information of the application;
若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;If the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
根据所述启动情况获取智能终端的使用场景。Acquire the usage scenario of the smart terminal according to the startup situation.
可选地,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤还包括:Optionally, if the current network hotspot connection is normal, the step of acquiring the current usage scenario of the smart terminal further includes:
若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;If the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
根据域名获取对应的关键字;Obtain the corresponding keywords according to the domain name;
根据所述关键字确定智能终端的使用场景。The usage scenario of the smart terminal is determined according to the keyword.
可选地,所述根据所述使用场景查找对应的网络热点,并连接的步骤包括:Optionally, the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
根据所述使用场景在网络热点的连接策略记录中进行查找;Search in the connection strategy record of the network hotspot according to the usage scenario;
若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。If a connection strategy that matches the usage scenario cannot be found, the network hotspot in the current environment is dynamically switched to connect.
可选地,所述若不能查找到与所述使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤包括:Optionally, if a connection strategy that matches the usage scenario cannot be found, the step of dynamically switching connections to the current network hotspot includes:
若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Obtaining network hotspots with normal network communication status from network hotspots that can be normally connected in the usage scenario;
与网络通讯状态正常的网络热点进行连接。Connect to a network hotspot with normal network communication status.
可选地,所述与网络通讯状态正常的网络热点进行连接的步骤包括:Optionally, the step of connecting to a network hotspot with normal network communication status includes:
若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;If there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。If there are two or more network hotspots with normal network communication status, the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
可选地,所述与网络通讯状态正常的网络热点进行连接的步骤之后,还包括:Optionally, after the step of connecting to a network hotspot with normal network communication status, the method further includes:
将连接的网络热点更新至连接策略记录中进行保存。Update the connected network hotspot to the connection strategy record and save it.
可选地,所述若能够查找到匹配的连接策略,则通过匹配的连接策略切换到对应的网络热点进行连接的步骤之后,还包括:Optionally, if the matching connection strategy can be found, after the step of switching to the corresponding network hotspot to connect through the matching connection strategy, the method further includes:
判断在所述使用场景下网络通讯状态是否存在异常;Determine whether there is an abnormality in the network communication status under the usage scenario;
若在所述使用场景下网络通讯状态不存在异常,则执行步骤:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status under the usage scenario, then the step is: monitoring the current network communication status of the smart terminal;
若在所述使用场景下网络通讯状态存在异常,则执行步骤:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If there is an abnormality in the network communication status under the usage scenario, the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
另外,本申请还提供一种智能终端,包括处理器、存储器、以及存储在所述存储器上的可被所述处理器执行的网络热点的切换程序,其中,所述网络热点的切换程序被所述处理器执行时,实现如上所述的网络热点的切换方法的步骤。In addition, the present application also provides an intelligent terminal, including a processor, a memory, and a network hotspot switching program stored on the memory and executable by the processor, wherein the network hotspot switching program is When the processor executes, the steps of the network hotspot switching method described above are implemented.
本申请提供一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有网络热点的切换程序,其中,所述网络热点的切换程序被处理器执行时,实现如上所述的网络热点的切换方法的步骤。The present application 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 network as described above is implemented Steps of hotspot switching method.
本申请技术方案中,监测智能终端当前的网络通讯状态;若网络通讯状态存在异常,则判断当前的网络热点是否连接正常;若当前的网络热点连接正常,则获取智能终端的当前使用场景;根据当前使用场景查找对应的网络热点,并连接。本申请提出的技术方案能够在网络通讯状态出现异常时,自动根据智能终端的当前使用场景选择对应的网络热点进行连接,从而在智能终端存在网络通讯状态异常时,实现对网络热点的自动切换连接,较为方便的解决网络通讯状态异常的问题,便于用户的使用。In the technical solution of the present application, the current network communication status of the smart terminal is monitored; if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally; if the current network hotspot connection is normal, the current usage scenario of the smart terminal is obtained; according to Find the corresponding network hotspot in the current usage scenario and connect it. The technical solution proposed in this application can automatically select the corresponding network hotspot to connect according to the current usage scenario of the smart terminal when the network communication status is abnormal, so that when the smart terminal has an abnormal network communication status, it can automatically switch the connection to the network hotspot , It is more convenient to solve the problem of abnormal network communication status, which is convenient for users.
附图说明BRIEF DESCRIPTION
图1为本申请实施例方案中涉及的智能终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal involved in an embodiment of the present application;
图2为本申请网络热点的切换方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for switching network hotspots according to the application;
图3为本申请一种实施例中若当前网络热点连接正常,则获取智能终端当前的使用场景的步骤的流程细化示意图;FIG. 3 is a detailed flowchart of a step of acquiring a current usage scenario of an intelligent terminal if the current network hotspot connection is normal in an embodiment of this application;
图4为本申请另一种实施例中若当前网络热点连接正常,则获取智能终端当前的使用场景的步骤的流程细化示意图;FIG. 4 is a detailed flowchart of a step of acquiring a current usage scenario of a smart terminal if the current network hotspot connection is normal in another embodiment of the present application;
图5为本申请实施例中根据所述使用场景查找对应的网络热点,并连接的步骤的流程细化示意图;FIG. 5 is a detailed flowchart of a step of searching for a corresponding network hotspot according to the usage scenario and connecting in an embodiment of the present application;
图6为本申请实施例中若不能查找到与所述当前使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤的流程细化示意图;FIG. 6 is a detailed flowchart of the steps of dynamically switching connections to the current network hotspot if a connection strategy matching the current usage scenario cannot be found in the embodiment of the present application; FIG.
图7为本申请实施例中与网络通讯状态正常的网络热点进行连接的步骤的流程细化示意图;7 is a detailed flowchart of the steps of connecting to a network hotspot with a normal network communication state in an embodiment of the present application;
图8为本申请网络热点的切换方法第二实施例的流程示意图;8 is a schematic flowchart of a second embodiment of a method for switching network hotspots according to the application;
图9为本申请网络热点的切换方法第三实施例的流程示意图。FIG. 9 is a schematic flowchart of a third embodiment of a method for switching network hotspots in the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional characteristics and advantages of the present application will be further described in conjunction with the embodiments and with reference to the drawings.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
本申请实施例涉及的网络热点的切换方法主要应用于智能终端,该智能终端可以是PC、便携计算机、移动智能终端等具有显示和处理功能的设备。The method for switching network hotspots involved in the embodiments of the present application is mainly applied to an intelligent terminal, and the intelligent terminal may be a device with display and processing functions such as a PC, a portable computer, and a mobile intelligent terminal.
参照图1,图1为本申请实施例方案中涉及的智能终端结构示意图。本申请实施例中,智能终端可以包括处理器1001(例如CPU),通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信;用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard);网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口);存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器,存储器1005可选的还可以是独立于前述处理器1001的存储装置。Referring to FIG. 1, FIG. 1 is a schematic structural diagram of an intelligent terminal involved in a solution according to an embodiment of this application. In the embodiment of the present application, the smart terminal may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (Such as WI-FI interface); the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory, and the memory 1005 may optionally be a storage device independent of the foregoing processor 1001 .
本领域技术人员可以理解,图1中示出的硬件结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art may understand that the hardware structure shown in FIG. 1 does not constitute a limitation on the device, and may include more or less components than those illustrated, or combine certain components, or arrange different components.
继续参照图1,图1中作为一种计算机可读存储介质的存储器1005可以包括操作系统、网络通信模块以及网络热点的切换程序。With continued reference to FIG. 1, the memory 1005 in FIG. 1 as a computer-readable storage medium may include an operating system, a network communication module, and a network hotspot switching program.
在图1中,网络通信模块主要用于连接服务器,与服务器进行数据通信;而处理器1001可以调用存储器1005中存储的网络热点的切换程序,并执行以下步骤:In FIG. 1, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the switching program of the network hotspot stored in the memory 1005 and perform the following steps:
监测智能终端当前的网络通讯状态;Monitor the current network communication status of smart terminals;
若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;If there is an abnormality in the network communication status, determine whether the current network hotspot is connected normally;
若当前的网络热点连接正常,则获取智能终端当前的使用场景;If the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
根据所述使用场景查找对应的网络热点,并连接。Find the corresponding network hotspot according to the usage scenario and connect.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,根据所述应用程序的运行信息确定智能终端的使用场景;If the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;If the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
根据所述启动情况获取智能终端的使用场景。Acquire the usage scenario of the smart terminal according to the startup situation.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;If the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
根据域名获取对应的关键字;Obtain the corresponding keywords according to the domain name;
根据所述关键字确定智能终端的使用场景。The usage scenario of the smart terminal is determined according to the keyword.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
根据所述使用场景在网络热点的连接策略记录中进行查找;Search in the connection strategy record of the network hotspot according to the usage scenario;
若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。If a connection strategy that matches the usage scenario cannot be found, the network hotspot in the current environment is dynamically switched to connect.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Obtaining network hotspots with normal network communication status from network hotspots that can be normally connected in the usage scenario;
与网络通讯状态正常的网络热点进行连接。Connect to a network hotspot with normal network communication status.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;If there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。If there are two or more network hotspots with normal network communication status, the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
将连接的网络热点更新至连接策略记录中进行保存。Update the connected network hotspot to the connection strategy record and save it.
进一步地,处理器1001可以调用存储器1005中存储的网络热点的切换程序,还执行以下步骤:Further, the processor 1001 can call the network hotspot switching program stored in the memory 1005, and also perform the following steps:
判断在所述使用场景下网络通讯状态是否存在异常;Determine whether there is an abnormality in the network communication status under the usage scenario;
若在所述使用场景下网络通讯状态不存在异常,则执行步骤:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status under the usage scenario, then the step is: monitoring the current network communication status of the smart terminal;
若在所述使用场景下网络通讯状态存在异常,则执行步骤:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If there is an abnormality in the network communication status under the usage scenario, the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
基于上述智能终端的硬件结构,提出本申请网络热点的切换方法的各个实施例。Based on the hardware structure of the above-mentioned intelligent terminal, various embodiments of the switching method of the network hotspot of the present application are proposed.
本申请提供一种网络热点的切换方法。This application provides a method for switching network hotspots.
请参阅图2,在本申请第一实施例中,网络热点的切换方法包括以下步骤:Please refer to FIG. 2. In the first embodiment of the present application, the method of switching network hotspots includes the following steps:
步骤S100,监测智能终端当前的网络通讯状态;Step S100, monitoring the current network communication status of the smart terminal;
智能终端在访问网页或者某些需要消耗流量观看的应用程序时,一般会连接网络热点,在本申请中,以智能终端连接wifi为例,在智能终端连接有wifi的情况下,监测智能终端当前的网络通讯状态,来判断智能终端当前的网络通讯状态是否存在异常。需要说明的是,智能终端当前的网络通讯状态是否存在异常是指智能终端当前是否能够正常浏览网页、正常观看图片、正常播放音乐以及正常播放视频等。其中,在步骤S100之前,可以根据当前的wifi环境,选择当前最优的wifi热点进行连接和使用。需要说明的是,可以根据用户的需要选择当前最优的wifi热点,例如,当前最优的wifi热点可以是网速最快的网络热点或者可以是对用户来说最安全的网络热点。When a smart terminal accesses a web page or some applications that need to consume traffic to watch, it generally connects to a network hotspot. In this application, the smart terminal is connected to wifi as an example. When the smart terminal is connected to wifi, the smart terminal is monitored. To determine whether the current network communication status of the smart terminal is abnormal. It should be noted that whether the current network communication status of the smart terminal is abnormal refers to whether the smart terminal can currently browse the webpage normally, view pictures normally, play music normally, play videos normally, and so on. Before step S100, according to the current wifi environment, the current optimal wifi hotspot may be selected for connection and use. It should be noted that the current optimal wifi hotspot may be selected according to the needs of the user. For example, the current optimal wifi hotspot may be the fastest network hotspot or may be the most secure network hotspot for the user.
可选地,如果网页无法正常浏览、图片无法正常打开,视频无法正常播放等,则可以判断出当前的网络通讯状态存在异常;如果网页能够正常浏览、图片能够正常打开,音频能够正常播放,视频能够正常播放等,则可以判断出当前的网络通讯状态没有异常。Optionally, if the webpage cannot be browsed normally, the picture cannot be opened normally, and the video cannot be played normally, etc., it can be judged that the current network communication status is abnormal; if the webpage can be browsed normally, the picture can be opened normally, the audio can be played normally, and the video If it can play normally, it can be judged that the current network communication status is not abnormal.
步骤S200,若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;Step S200, if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally;
如果智能终端当前的网络通讯状态存在异常,则可以判断当前的网络热点是否连接正常,即,判断智能终端当前是否与wifi正常连接,如果当前的网络热点已经断开,则对初始连接的网络热点进行重新连接,或者直接切换成其他网络热点进行连接,再返回步骤S100:监测智能终端当前的网络通讯状态。若智能终端当前的网络通讯状态没有异常,则继续监测智能终端当前的网络通讯状态。If the current network communication status of the smart terminal is abnormal, you can determine whether the current network hotspot is connected normally, that is, determine whether the smart terminal is currently connected to wifi. If the current network hotspot has been disconnected, the initial connected network hotspot Reconnect, or directly switch to another network hotspot to connect, and then return to step S100: monitor the current network communication status of the smart terminal. If the current network communication status of the smart terminal is not abnormal, continue to monitor the current network communication status of the smart terminal.
步骤S300,若当前的网络热点连接正常,则获取智能终端当前的使用场景;Step S300, if the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
如果当前的网络热点连接正常,则可以获取智能终端当前的使用场景,智能终端当前的使用场景可以包括当前浏览网页、图片、音频播放以及视频播放等。If the current network hotspot connection is normal, the current usage scenario of the smart terminal may be obtained. The current usage scenario of the smart terminal may include currently browsing web pages, pictures, audio playback, and video playback.
可选地,请参照图3,图3为本申请一种实施例中若当前网络热点连接正常,则获取智能终端当前的使用场景的步骤的流程细化示意图,基于上述实施例,步骤S300包括:Optionally, please refer to FIG. 3, which is a detailed flowchart of a step of acquiring a current usage scenario of a smart terminal if the current network hotspot connection is normal in an embodiment of the present application. Based on the above embodiment, step S300 includes :
步骤S310,若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,并根据所述应用程序的运行信息确定智能终端的使用场景;Step S310, if the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
可选地,在当前的网络热点连接正常的情况下,可以通过获取智能终端当前运行的应用程序的运行信息,并根据应用程序的运行信息来确定智能终端当前的使用场景。需要说明的是,只有智能终端自带的应用程序才能给智能终端提供运行信息,即,智能终端只能够获取自带的应用程序的运行信息,无法获取第三方应用程序的运行信息。Optionally, when the current network hotspot connection is normal, the current usage scenario of the smart terminal may be determined by acquiring the running information of the application currently running on the smart terminal and according to the running information of the application. It should be noted that only the application that comes with the smart terminal can provide the running information to the smart terminal, that is, the smart terminal can only obtain the running information of the own application and cannot obtain the running information of the third-party application.
步骤S320,若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;Step S320, if the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
可选地,如果智能终端当前运行的应用程序是第三方应用,则智能终端无法获取当前运行的应用程序的运行信息,在此种情况下,则可以通过检测系统服务的启动情况来获取智能终端当前的使用场景,即,若无法获取智能终端当前运行的应用程序的运行信息,则可以检测系统服务的启动情况。Optionally, if the currently running application program of the smart terminal is a third-party application, the smart terminal cannot obtain the running information of the currently running application program. In this case, the smart terminal can be obtained by detecting the activation of the system service The current usage scenario, that is, if the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status can be detected.
步骤S330,根据所述启动情况获取智能终端的使用场景。Step S330: Acquire the usage scenario of the smart terminal according to the startup situation.
在检测到系统服务的启动情况后,可以根据系统服务的启动服务获取智能终端当前的使用场景,例如,当检测到系统服务中的播放服务启动了时,可以确定出智能终端当前的使用场景为视频播放场景。After detecting the activation of the system service, the current usage scenario of the smart terminal can be obtained according to the activation service of the system service. For example, when it is detected that the playback service in the system service is activated, the current usage scenario of the intelligent terminal can be determined as Video playback scene.
此外,请参照图4,图4为本申请另一种实施例中若当前网络热点连接正常,则获取智能终端当前的使用场景的步骤的流程细化示意图,基于上述实施例,步骤S300还包括:In addition, please refer to FIG. 4, which is a detailed flowchart of the step of acquiring the current usage scenario of the smart terminal in another embodiment of the present application if the current network hotspot connection is normal. Based on the above embodiment, step S300 further includes :
步骤S340,若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;Step S340, if the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
可选地,如果智能终端当前正在连接网址时,可以在当前的网络热点连接正常的情况下,获取智能终端当前需要连接的网址的域名,通过网址的域名可以对终端的当前的使用场景进行判断。Optionally, if the smart terminal is currently connecting to the web address, the domain name of the web address that the smart terminal currently needs to connect to can be obtained when the current network hotspot connection is normal, and the current usage scenario of the terminal can be judged by the domain name of the web address .
步骤S350,根据所述域名获取对应的关键字;Step S350, obtaining corresponding keywords according to the domain name;
可选地,可以在终端中存储与域名相关的关键字,例如,“video”“MP4”等代表视频的关键字,“iqiyi”“youku”等代表视频播放应用的关键字;“MP3”“music”等代表着音频的关键字,“kugou”等代表着音频播放应用的关键字;“image”等代表着图片的关键字等。Optionally, keywords related to the domain name may be stored in the terminal, for example, keywords such as "video" and "MP4" representing videos, and keywords such as "iqiyi" and "youku" representing video playback applications; "MP3" "Music" represents keywords for audio, "kugou" represents keywords for audio playback applications; "image" represents keywords for pictures, etc.
步骤S360,根据所述关键字确定智能终端的使用场景。Step S360: Determine the usage scenario of the smart terminal according to the keyword.
在获取到域名中的关键字后,可以根据该关键字获得智能终端当前的使用场景,例如,当获取到的关键字代表着图片时,说明智能终端当前的使用场景是浏览图片;当获取到的关键字代表着音频或音频播放应用时,说明智能终端当前的使用场景是播放音乐;当获取到的关键字代表着视频或视频播放应用时,说明智能终端当前的使用场景是播放视频等。需要说明的是,当域名中无法获取到与图片、音频、视频等相关的关键字时,可以确定智能终端当前的使用场景是浏览网页。After the keyword in the domain name is obtained, the current usage scenario of the smart terminal can be obtained according to the keyword. For example, when the acquired keyword represents a picture, it means that the current usage scenario of the smart terminal is to browse the picture; When the keyword represents audio or audio playback application, it indicates that the current usage scenario of the smart terminal is to play music; when the acquired keyword represents a video or video playback application, it indicates that the current usage scenario of the smart terminal is to play video, etc. It should be noted that when keywords related to pictures, audio, video, etc. cannot be obtained from the domain name, it can be determined that the current usage scenario of the smart terminal is to browse the webpage.
步骤S400,根据所述使用场景查找对应的网络热点,并连接。Step S400: Find a corresponding network hotspot according to the usage scenario and connect.
在获得智能终端当前的使用场景后,根据智能终端当前的使用场景查找对应的网络进行连接,以解决网点连接异常的问题。After obtaining the current usage scenario of the smart terminal, the corresponding network is searched and connected according to the current usage scenario of the smart terminal, so as to solve the problem of abnormal connection of the outlets.
可选地,请参照图5,图5为本申请实施例中根据所述使用场景查找对应的网络热点,并连接的步骤的流程细化示意图,基于上述实施例,步骤S400包括:Optionally, please refer to FIG. 5, which is a detailed flowchart of a step of searching for a corresponding network hotspot according to the usage scenario and connecting in an embodiment of the present application. Based on the above embodiment, step S400 includes:
步骤S410,根据所述使用场景在网络热点的连接策略记录中进行查找;Step S410, searching in the connection strategy record of the network hotspot according to the usage scenario;
在获得智能终端当前的使用场景后,根据当前的使用场景在之前的网络热点的连接策略记录中进行查找。需要说明的是,连接策略记录是指将之前智能终端已经成功连接过的网络热点记录起来,记载为连接策略记录。After obtaining the current usage scenario of the smart terminal, search in the connection strategy record of the previous network hotspot according to the current usage scenario. It should be noted that the connection strategy record refers to recording the network hotspot that the intelligent terminal has successfully connected to before, and is recorded as the connection strategy record.
步骤S420,若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;Step S420, if a connection strategy matching the usage scenario can be found, switch to a network hotspot corresponding to the matching connection strategy to connect;
如果在连接策略记录中能够查找与智能终端的当前使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接,实现网络热点的智能切换。可选地,根据查找到的连接策略确定对应的网络热点,将智能终端当前的网络热点切换为连接策略对应的网络热点,即,以查找到的连接策略确定对应的网络热点作为当前的使用场景的使用热点。If the connection strategy that matches the current usage scenario of the smart terminal can be found in the connection strategy record, the network hotspot corresponding to the matched connection strategy is switched to connect to achieve intelligent switching of the network hotspot. Optionally, the corresponding network hotspot is determined according to the found connection strategy, and the current network hotspot of the smart terminal is switched to the network hotspot corresponding to the connection strategy, that is, the corresponding network hotspot is determined using the found connection strategy as the current usage scenario Use hotspots.
步骤S430,若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。Step S430: If a connection strategy matching the usage scenario cannot be found, dynamically switch connections to network hotspots in the current environment.
如果在连接策略记录中查找不到与智能终端当前的使用场景匹配的连接策略,则可以对当前环境中的网络热点进行动态切换,以进行连接尝试,寻找可以解决网络通讯状态异常的网络热点。需要说明的是,在连接策略记录中查找不到与当前使用场景匹配的连接策略是指之前的连接策略记录中没有对应的连接策略,或者之前的连接策略记录中对应的连接策略无法解决网络通讯状态的异常问题。If the connection strategy that does not match the current usage scenario of the smart terminal cannot be found in the connection strategy record, you can dynamically switch the network hotspots in the current environment to make connection attempts and find network hotspots that can solve the abnormal network communication status. It should be noted that the failure to find a connection strategy that matches the current usage scenario in the connection strategy record means that there is no corresponding connection strategy in the previous connection strategy record, or the corresponding connection strategy in the previous connection strategy record cannot resolve network communication Abnormal status.
进一步地,请参照图6,图6为本申请实施例中若不能查找到与所述当前使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤的流程细化示意图,基于上述实施例,步骤S430包括:Further, please refer to FIG. 6, which is a detailed flowchart of the step of dynamically switching the connection to the current network hotspot if a connection strategy matching the current usage scenario cannot be found in the embodiment of the present application, based on In the above embodiment, step S430 includes:
步骤S431,若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;Step S431: If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
可选地,如果不能查找到与当前使用场景匹配的连接策略,则可以对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点。需要说明的是,可以连接的网络热点包括保存有密码的网络热点、公共的wifi热点等。Optionally, if a connection strategy that matches the current usage scenario cannot be found, the network hotspot in the current environment can be tried to connect to obtain a network hotspot that can be connected normally. It should be noted that the network hotspots that can be connected include network hotspots with passwords saved, public wifi hotspots, and so on.
步骤S432,在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Step S432, obtaining a network hotspot with a normal network communication state from network hotspots that can be normally connected in the usage scenario;
可选地,在获得到可以正常连接的网络热点后,在当前的使用情况下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点。此外,在另一种实施例中,在当前的使用场景下,当从可以正常连接的网络热点中无法获得网络通讯状态正常的网络热点时,则可以在智能终端的显示界面发出无法正常使用的提示,并且将智能终端与初始的网络热点进行连接。Optionally, after obtaining a network hotspot that can be normally connected, a network hotspot with a normal network communication state is obtained from the network hotspot that can be normally connected in the current usage situation. In addition, in another embodiment, in the current usage scenario, when a network hotspot with a normal network communication status cannot be obtained from a network hotspot that can be normally connected, an unusable function can be issued on the display interface of the smart terminal Prompt, and connect the smart terminal with the initial network hotspot.
步骤S433,与网络通讯状态正常的网络热点进行连接。Step S433: Connect to a network hotspot with normal network communication status.
在当前的使用情况下从可以正常连接的网络热点中获取的网络通讯状态正常的网络热点后,可以与网络通讯状态正常的网络热点进行连接,解决智能终端网络通讯状态异常的问题。After the network hotspot with normal network communication status obtained from the network hotspots that can be connected normally under current usage conditions, it can be connected to the network hotspot with normal network communication status to solve the problem of abnormal network communication status of the intelligent terminal.
进一步地,请参照图7,图7为本申请实施例中与网络通讯状态正常的网络热点进行连接的步骤的流程细化示意图,基于上述实施例,步骤S433包括:Further, please refer to FIG. 7, which is a detailed flowchart of the steps of connecting to a network hotspot with a normal network communication status in an embodiment of the present application. Based on the above embodiment, step S433 includes:
步骤S4331,若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;Step S4331, if there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
步骤S4332,若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。Step S4332: If there are two or more network hotspots with normal network communication status, then select a network hotspot with the best network speed from the network hotspots with normal network communication status to connect.
可选地,在当前的使用情况下从可以正常连接的网络热点中获取的网络通讯状态正常的网络热点只有一个时,可以直接连接该网络热点,以便于用户的使用;当在当前的使用情况下从可以正常连接的网络热点中获取的网络通讯状态正常的网络热点有两个及以上时,可以从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。其中,在另一种实施例中,还可以从网络通讯状态正常的网络热点中选择最安全的网络热点进行连接。此外,在与网速最优的网络热点进行连接后,可以判断智能终端的场景是否使用完成(即,视频是否播放完、图片与网页是否浏览完)或者智能终端的网址是否连接完成,当使用完成时,可以将智能终端连接的网络切换回初始连接的网络热点。Optionally, when there is only one network hotspot with normal network communication status obtained from a network hotspot that can be normally connected in the current usage situation, the network hotspot can be directly connected to facilitate the user's use; when in the current usage situation If there are two or more network hotspots with normal network communication status obtained from network hotspots that can be connected normally, you can select the network hotspot with the best network speed to connect from the network hotspots with normal network communication status. In another embodiment, the most secure network hotspot can also be selected from network hotspots with normal network communication status to connect. In addition, after connecting to the network hotspot with the best network speed, you can determine whether the scene of the smart terminal is completed (that is, whether the video has been played, whether the pictures and web pages have been browsed) or whether the URL of the smart terminal has been connected. When used When completed, the network connected to the smart terminal can be switched back to the initially connected network hotspot.
本申请技术方案中,监测智能终端当前的网络通讯状态;若网络通讯状态存在异常,则判断当前的网络热点是否连接正常;若当前的网络热点连接正常,则获取智能终端当前的使用场景;根据所述使用场景查找对应的网络热点,并连接。本申请提出的技术方案能够在网络通讯状态出现异常时,自动根据智能终端当前的使用场景选择对应的网络热点进行连接,从而在智能终端存在网络通讯状态异常时,实现对网络热点的自动切换连接,较为方便的解决网络通讯状态异常的问题,便于用户的使用。In the technical solution of the present application, the current network communication status of the smart terminal is monitored; if the network communication status is abnormal, it is determined whether the current network hotspot is connected normally; if the current network hotspot connection is normal, the current usage scenario of the smart terminal is obtained; according to The usage scenario finds the corresponding network hotspot and connects. The technical solution proposed in this application can automatically select the corresponding network hotspot to connect according to the current usage scenario of the smart terminal when the network communication status is abnormal, so that when the network communication status of the smart terminal is abnormal, the automatic switching of the network hotspot connection is realized , It is more convenient to solve the problem of abnormal network communication status, which is convenient for users.
进一步地,请参照图8,图8为本申请网络热点的切换方法第二实施例的流程示意图,基于上述实施例,步骤S433之后,还包括:Further, please refer to FIG. 8, which is a schematic flowchart of a second embodiment of a method for switching network hotspots according to the present application. Based on the foregoing embodiment, after step S433, the method further includes:
步骤S434,将连接的网络热点更新至连接策略记录中进行保存。Step S434: Update the connected network hotspot to the connection strategy record and save it.
在与网络通讯状态正常的网络热点中网速最优的网络热点进行连接后,将连接的网速最优的网络热点更新至连接策略记录中进行保存,从而增加连接策略记录中保存的连接策略的种类,使得用户下次遇到相类似的网络通讯状态异常问题时,可以在连接策略记录中查找到对应的连接策略。其中,在优选的实施例中,还可以对连接策略记录中记录的连接策略应的网络热点进行优化使用排序,当用户是通过手动添加某一网络热点时,将该网络热点保存为连接策略记录中的最优的网络。After connecting with the network hotspot with the best network speed among the network hotspots with normal network communication status, update the connected network hotspot with the best network speed to the connection strategy record and save it, thereby increasing the connection strategy saved in the connection strategy record The type allows users to find the corresponding connection strategy in the connection strategy record when they encounter similar network communication status abnormal problems next time. Among them, in a preferred embodiment, the network hotspots to which the connection strategy recorded in the connection strategy record should be optimized for use, when the user manually adds a network hotspot, the network hotspot is saved as a connection strategy record The best network in the world.
进一步地,请参照图9,图9为本申请网络热点的切换方法第三实施例的流程示意图,基于上述实施例,步骤S420之后还包括:Further, please refer to FIG. 9, which is a schematic flowchart of a third embodiment of a method for switching a network hotspot according to this application. Based on the foregoing embodiment, after step S420, the method further includes:
步骤S421,判断在所述使用场景下网络通讯状态是否存在异常;Step S421, judging whether there is an abnormality in the network communication status under the usage scenario;
若在所述使用场景下网络通讯状态不存在异常,则执行步骤S100:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status in the usage scenario, step S100 is performed: monitoring the current network communication status of the smart terminal;
若在所述使用场景下网络通讯状态存在异常,则执行步骤S430:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If the network communication status is abnormal in the usage scenario, step S430 is executed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
可选地,在与连接策略对应的网络热点进行连接后,判断在当前的使用场景下网络通讯状态是否存在异常,如果在当前的使用场景下网络通讯状态不存在异常,则返回步骤S100:监测智能终端当前的网络通讯状态;如果在当前的使用场景下网络通讯状态存在异常,说明连接策略对应的网络热点解决不了用户当前需要的网络通讯异常的问题,需要对当前环境中的其他热点进行尝试连接,则进入步骤S430:若不能查找到与所述当前使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。Optionally, after connecting to the network hotspot corresponding to the connection strategy, it is determined whether the network communication status is abnormal in the current usage scenario, and if the network communication status is not abnormal in the current usage scenario, return to step S100: monitoring The current network communication status of the smart terminal; if the network communication status is abnormal in the current usage scenario, it means that the network hotspot corresponding to the connection strategy cannot solve the problem of abnormal network communication that the user currently needs, and it is necessary to try other hotspots in the current environment To connect, proceed to step S430: if a connection strategy that matches the current usage scenario cannot be found, dynamically switch connections to network hotspots in the current environment.
此外,在对连接策略进行保存时,可以将连接的网络热点对应的使用场景保存在智能终端中,可选地,可以从使用场景中获得关键字段,例如,关键字段可以为网页、图片、音频、视频等,再将关键字段与网络热点对应保存。在获得智能终端当前的使用场景后,可以获取使用场景对应的关键字段,再根据该关键字段在网络热点的连接策略记录中进行查找。其中,如果在保存的关键字段与网络热点的对应关系中找到了获取到的关键字段,则说明能够查找到匹配的连接策略;如果在保存的关键字段与网络热点的对应关系中无法找到获取到的关键字,则说明不能够查找到匹配的连接策略。In addition, when saving the connection strategy, the usage scenarios corresponding to the connected network hotspots can be saved in the smart terminal. Optionally, key fields can be obtained from the usage scenarios, for example, the key fields can be web pages, pictures , Audio, video, etc., and then save key fields corresponding to network hotspots. After obtaining the current usage scenario of the smart terminal, the key field corresponding to the usage scenario can be obtained, and then searched in the connection strategy record of the network hotspot according to the key field. Among them, if the obtained key field is found in the correspondence between the saved key field and the network hotspot, it means that a matching connection strategy can be found; if the correspondence between the saved key field and the network hotspot cannot be found If you find the obtained keyword, it means that you cannot find a matching connection strategy.
此外,在另一种实施例中,当在连接策略记录中查找不到与智能终端当前的使用场景对应的网络热点时,还可以新增场景或关键字段,再对当前环境中的网络热点进行尝试连接,将网络通讯正常的网络热点添加至连接策略记录中,并将网络热点与场景或关键字段的对应关系保存至智能终端。In addition, in another embodiment, when a network hotspot corresponding to the current usage scenario of the smart terminal cannot be found in the connection strategy record, a scene or key field may also be added, and then the network hotspot in the current environment Perform an attempt to connect, add the network hotspot with normal network communication to the connection strategy record, and save the correspondence between the network hotspot and the scene or key field to the smart terminal.
此外,本申请还提供一种计算机可读存储介质。In addition, the present application also provides a computer-readable storage medium.
本申请计算机可读存储介质上存储有网络热点的切换程序,其中,网络热点的切换程序被处理器执行时,实现如上述的网络热点的切换方法的步骤。The computer readable storage medium of the present application stores a network hotspot switching program, wherein, when the network hotspot switching program is executed by the processor, the steps of the network hotspot switching method as described above are implemented.
其中,网络热点的切换程序被执行时所实现的方法可参照本申请网络热点的切换方法的各个实施例,此处不再赘述。For the method implemented when the network hotspot switching procedure is executed, reference may be made to various embodiments of the network hotspot switching method of the present application, and details are not described herein again.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

Claims (20)

  1. 一种网络热点的切换方法,其中,所述网络热点的切换方法包括:A method for switching network hotspots, wherein the method for switching network hotspots includes:
    监测智能终端当前的网络通讯状态;Monitor the current network communication status of smart terminals;
    若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;If there is an abnormality in the network communication status, determine whether the current network hotspot is connected normally;
    若当前的网络热点连接正常,则获取智能终端当前的使用场景;If the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
    根据所述使用场景查找对应的网络热点,并连接。Find the corresponding network hotspot according to the usage scenario and connect.
  2. 如权利要求1所述的网络热点的切换方法,其中,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:The method for switching network hotspots according to claim 1, wherein the step of acquiring the current usage scenario of the smart terminal if the current network hotspot connection is normal includes:
    若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,并根据所述应用程序的运行信息确定智能终端的使用场景;If the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
    若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;If the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
    根据所述启动情况获取智能终端的使用场景。Acquire the usage scenario of the smart terminal according to the startup situation.
  3. 如权利要求1所述的网络热点的切换方法,其中,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤还包括:The method for switching network hotspots according to claim 1, wherein the step of acquiring the current usage scenario of the smart terminal if the current network hotspot connection is normal further comprises:
    若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;If the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
    根据域名获取对应的关键字;Obtain the corresponding keywords according to the domain name;
    根据所述关键字确定智能终端的使用场景。The usage scenario of the smart terminal is determined according to the keyword.
  4. 如权利要求1所述的网络热点的切换方法,其中,所述根据所述使用场景查找对应的网络热点,并连接的步骤包括:The method for switching network hotspots according to claim 1, wherein the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
    根据所述使用场景在网络热点的连接策略记录中进行查找;Search in the connection strategy record of the network hotspot according to the usage scenario;
    若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。If a connection strategy that matches the usage scenario cannot be found, the network hotspot in the current environment is dynamically switched to connect.
  5. 如权利要求4所述的网络热点的切换方法,其中,所述若不能查找到与所述使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤包括:The method for switching network hotspots according to claim 4, wherein if the connection strategy that matches the usage scenario cannot be found, the step of dynamically switching connections to the current network hotspot includes:
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
    在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Obtaining network hotspots with normal network communication status from network hotspots that can be normally connected in the usage scenario;
    与网络通讯状态正常的网络热点进行连接。Connect to a network hotspot with normal network communication status.
  6. 如权利要求5所述的网络热点的切换方法,其中,所述与网络通讯状态正常的网络热点进行连接的步骤包括:The method for switching network hotspots according to claim 5, wherein the step of connecting to a network hotspot with normal network communication status includes:
    若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;If there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
    若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。If there are two or more network hotspots with normal network communication status, the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
  7. 如权利要求5所述的网络热点的切换方法,其中,所述与网络通讯状态正常的网络热点进行连接的步骤之后,还包括:The method for switching network hotspots according to claim 5, wherein after the step of connecting to a network hotspot with normal network communication status, the method further comprises:
    将连接的网络热点更新至连接策略记录中进行保存。Update the connected network hotspot to the connection strategy record and save it.
  8. 如权利要求4所述的网络热点的切换方法,其中,所述若能够查找到匹配的连接策略,则通过匹配的连接策略切换到对应的网络热点进行连接的步骤之后,还包括:The method for switching network hotspots according to claim 4, wherein if the matching connection strategy can be found, after the step of switching to the corresponding network hotspot to connect via the matching connection strategy, the method further comprises:
    判断在所述使用场景下网络通讯状态是否存在异常;Determine whether there is an abnormality in the network communication status under the usage scenario;
    若在所述使用场景下网络通讯状态不存在异常,则执行步骤:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status under the usage scenario, then the step is: monitoring the current network communication status of the smart terminal;
    若在所述使用场景下网络通讯状态存在异常,则执行步骤:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If there is an abnormality in the network communication status under the usage scenario, the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
  9. 一种智能终端,其中,包括处理器、存储器、以及存储在所述存储器上的可被所述处理器执行的网络热点的切换程序,其中,所述网络热点的切换程序被所述处理器执行时,实现如下步骤:An intelligent terminal, including a processor, a memory, and a network hotspot switching program stored on the memory and executable by the processor, wherein the network hotspot switching program is executed by the processor , The following steps are implemented:
    监测智能终端当前的网络通讯状态;Monitor the current network communication status of smart terminals;
    若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;If there is an abnormality in the network communication status, determine whether the current network hotspot is connected normally;
    若当前的网络热点连接正常,则获取智能终端当前的使用场景;If the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
    根据所述使用场景查找对应的网络热点,并连接。Find the corresponding network hotspot according to the usage scenario and connect.
  10. 如权利要求9所述的智能终端,其中,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:The intelligent terminal according to claim 9, wherein the step of acquiring the current usage scenario of the intelligent terminal if the current network hotspot connection is normal includes:
    若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,并根据所述应用程序的运行信息确定智能终端的使用场景;If the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
    若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;If the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
    根据所述启动情况获取智能终端的使用场景;Acquiring the usage scenario of the intelligent terminal according to the startup situation;
    或所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:Or, if the current network hotspot connection is normal, the step of acquiring the current usage scenario of the smart terminal includes:
    若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;If the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
    根据域名获取对应的关键字;Obtain the corresponding keywords according to the domain name;
    根据所述关键字确定智能终端的使用场景。The usage scenario of the smart terminal is determined according to the keyword.
  11. 如权利要求9所述的智能终端,其中,所述根据所述使用场景查找对应的网络热点,并连接的步骤包括:The intelligent terminal according to claim 9, wherein the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
    根据所述使用场景在网络热点的连接策略记录中进行查找;Search in the connection strategy record of the network hotspot according to the usage scenario;
    若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。If a connection strategy that matches the usage scenario cannot be found, the network hotspot in the current environment is dynamically switched to connect.
  12. 如权利要求11所述的智能终端,其中,所述若不能查找到与所述使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤包括:The intelligent terminal according to claim 11, wherein the step of dynamically switching the connection to the current network hotspot if the connection strategy matching the usage scenario cannot be found includes:
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
    在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Obtaining network hotspots with normal network communication status from network hotspots that can be normally connected in the usage scenario;
    与网络通讯状态正常的网络热点进行连接。Connect to a network hotspot with normal network communication status.
  13. 如权利要求12所述的智能终端,其中,所述与网络通讯状态正常的网络热点进行连接的步骤包括:The intelligent terminal according to claim 12, wherein the step of connecting to a network hotspot with a normal network communication state includes:
    若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;If there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
    若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。If there are two or more network hotspots with normal network communication status, the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
  14. 如权利要求11所述的智能终端,其中,所述若能够查找到匹配的连接策略,则通过匹配的连接策略切换到对应的网络热点进行连接的步骤之后,还包括:The intelligent terminal according to claim 11, wherein if the matching connection strategy can be found, after the step of switching to the corresponding network hotspot to connect through the matching connection strategy, the method further comprises:
    判断在所述使用场景下网络通讯状态是否存在异常;Determine whether there is an abnormality in the network communication status under the usage scenario;
    若在所述使用场景下网络通讯状态不存在异常,则执行步骤:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status under the usage scenario, then the step is: monitoring the current network communication status of the smart terminal;
    若在所述使用场景下网络通讯状态存在异常,则执行步骤:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If there is an abnormality in the network communication status under the usage scenario, the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有网络热点的切换程序,其中,所述网络热点的切换程序被处理器执行时,实现如下步骤: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 following steps are implemented:
    监测智能终端当前的网络通讯状态;Monitor the current network communication status of smart terminals;
    若所述网络通讯状态存在异常,则判断当前的网络热点是否连接正常;If there is an abnormality in the network communication status, determine whether the current network hotspot is connected normally;
    若当前的网络热点连接正常,则获取智能终端当前的使用场景;If the current network hotspot connection is normal, obtain the current usage scenario of the smart terminal;
    根据所述使用场景查找对应的网络热点,并连接。Find the corresponding network hotspot according to the usage scenario and connect.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:The computer-readable storage medium of claim 15, wherein the step of acquiring the current usage scenario of the smart terminal if the current network hotspot connection is normal includes:
    若当前的网络热点连接正常,则获取智能终端当前运行的应用程序的运行信息,并根据所述应用程序的运行信息确定智能终端的使用场景;If the current network hotspot connection is normal, obtain the running information of the application currently running on the smart terminal, and determine the usage scenario of the smart terminal according to the running information of the application;
    若无法获取智能终端当前运行的应用程序的运行信息,则检测系统服务的启动情况;If the running information of the application currently running on the smart terminal cannot be obtained, the system service startup status is detected;
    根据所述启动情况获取智能终端的使用场景;Acquiring the usage scenario of the intelligent terminal according to the startup situation;
    或所述若当前的网络热点连接正常,则获取智能终端当前的使用场景的步骤包括:Or, if the current network hotspot connection is normal, the step of acquiring the current usage scenario of the smart terminal includes:
    若当前的网络热点连接正常,则获取智能终端当前需要连接的网址的域名;If the current network hotspot connection is normal, obtain the domain name of the web address that the smart terminal currently needs to connect to;
    根据域名获取对应的关键字;Obtain the corresponding keywords according to the domain name;
    根据所述关键字确定智能终端的使用场景。The usage scenario of the smart terminal is determined according to the keyword.
  17. 如权利要求15所述的计算机可读存储介质,其中,所述根据所述使用场景查找对应的网络热点,并连接的步骤包括:The computer-readable storage medium of claim 15, wherein the step of searching for a corresponding network hotspot according to the usage scenario and connecting includes:
    根据所述使用场景在网络热点的连接策略记录中进行查找;Search in the connection strategy record of the network hotspot according to the usage scenario;
    若能够查找到与所述使用场景匹配的连接策略,则切换到匹配的连接策略对应的网络热点进行连接;If a connection strategy matching the usage scenario can be found, switch to the network hotspot corresponding to the matching connection strategy to connect;
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行动态切换连接。If a connection strategy that matches the usage scenario cannot be found, the network hotspot in the current environment is dynamically switched to connect.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述若不能查找到与所述使用场景匹配的连接策略,则对当前的网络热点进行动态切换连接的步骤包括:The computer-readable storage medium according to claim 17, wherein if the connection strategy that matches the usage scenario cannot be found, the step of dynamically switching connections to the current network hotspot includes:
    若不能查找到与所述使用场景匹配的连接策略,则对当前环境中的网络热点进行尝试连接,获得可以正常连接的网络热点;If a connection strategy that matches the usage scenario cannot be found, try to connect to a network hotspot in the current environment to obtain a network hotspot that can be connected normally;
    在所述使用场景下从可以正常连接的网络热点中获得网络通讯状态正常的网络热点;Obtaining network hotspots with normal network communication status from network hotspots that can be normally connected in the usage scenario;
    与网络通讯状态正常的网络热点进行连接。Connect to a network hotspot with normal network communication status.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述与网络通讯状态正常的网络热点进行连接的步骤包括:The computer-readable storage medium of claim 18, wherein the step of connecting to a network hotspot with normal network communication status includes:
    若网络通讯状态正常的网络热点只有一个,则直接与所述网络通讯状态正常的网络热点进行连接;If there is only one network hotspot with normal network communication status, directly connect to the network hotspot with normal network communication status;
    若网络通讯状态正常的网络热点有两个或两个以上,则从网络通讯状态正常的网络热点中选择网速最优的网络热点进行连接。If there are two or more network hotspots with normal network communication status, the network hotspot with the best network speed is selected from the network hotspots with normal network communication status to connect.
  20. 如权利要求17所述的计算机可读存储介质,其中,所述若能够查找到匹配的连接策略,则通过匹配的连接策略切换到对应的网络热点进行连接的步骤之后,还包括:The computer-readable storage medium according to claim 17, wherein if the matching connection strategy can be found, after the step of switching to the corresponding network hotspot to connect through the matching connection strategy, the method further includes:
    判断在所述使用场景下网络通讯状态是否存在异常;Determine whether there is an abnormality in the network communication status under the usage scenario;
    若在所述使用场景下网络通讯状态不存在异常,则执行步骤:监测智能终端当前的网络通讯状态;If there is no abnormality in the network communication status under the usage scenario, then the step is: monitoring the current network communication status of the smart terminal;
    若在所述使用场景下网络通讯状态存在异常,则执行步骤:若不能查找到匹配的连接策略,则对当前网络热点进行动态切换连接。If there is an abnormality in the network communication status under the usage scenario, the step is performed: if a matching connection strategy cannot be found, the current network hotspot is dynamically switched to connect.
PCT/CN2019/125723 2018-12-27 2019-12-16 Network hotspot switching method, intelligent terminal and computer-readable storage medium WO2020135131A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2020135131A1 true WO2020135131A1 (en) 2020-07-02

Family

ID=65754912

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/125723 WO2020135131A1 (en) 2018-12-27 2019-12-16 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535263A (en) * 2016-11-22 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method and device for managing hotspot connection and mobile terminal
US20170180433A1 (en) * 2015-12-18 2017-06-22 Samsung Electronics Co., Ltd. Methods and systems for transferring hotspot session
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
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
CN109511145A (en) * 2018-12-27 2019-03-22 深圳Tcl新技术有限公司 Switching method, intelligent terminal and the computer readable storage medium of network hotspot

Family Cites Families (3)

* 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
CN103298142B (en) * 2012-02-24 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of wireless network connecting method, system and terminal unit
CN108932140A (en) * 2018-07-13 2018-12-04 重庆邮电大学 The method of cleaning background application based on Android user behavior habit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170180433A1 (en) * 2015-12-18 2017-06-22 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
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
CN109511145A (en) * 2018-12-27 2019-03-22 深圳Tcl新技术有限公司 Switching method, intelligent terminal and the computer readable storage medium of network hotspot

Also Published As

Publication number Publication date
CN109511145A (en) 2019-03-22
CN109511145B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
WO2020135131A1 (en) Network hotspot switching method, intelligent terminal and computer-readable storage medium
CN105893459B (en) Media content playback system and method
CN107168905B (en) File display method and device, storage medium and mobile terminal
US10187474B2 (en) Method and device for resource sharing between devices
JP3888532B2 (en) Content playback device, server connection method, server connection program, and recording medium
US20240192986A1 (en) Application handoff method and apparatus
EP3079330B1 (en) Method for wireless access of memory device, and mobile hotspot device
JP2010205111A (en) System, and method for reproducing context, first terminal device, second terminal device, context obtaining device or storage device, program thereof
WO2021027610A1 (en) Communication protocol switching method, apparatus and system
US8738094B2 (en) Automatically enabling wireless communication
US20110295972A1 (en) Information processing device, information processing method, and information processing system
CN105893458B (en) Media content playback system and method
KR20210130225A (en) Service request processing method and related device
KR100452581B1 (en) Computer readable medium recording auto synchronization program that autosynchronize Internet contents with personal information processor and method for data synchronization
WO2015081697A1 (en) Terminal and audio recording method of the terminal
KR20140100909A (en) Systems and methods for providing safe confluence modality
JP5789225B2 (en) Remote device driver providing system and remote device driver providing method
CN108170585A (en) log processing method, device, terminal device and storage medium
US20100040212A1 (en) Information processing apparatus, information processing method and information processing system
WO2004003765A1 (en) Seamless system, recording medium, computer system processing continuation method
US20120331099A1 (en) Information processing apparatus, information processing system, and program
WO2018201993A1 (en) Image drawing method, terminal and storage medium
JP5729823B2 (en) Backup apparatus, backup method, and backup program
JP2015005183A (en) Display device, display system, and display program
KR102072003B1 (en) Method and device for resource sharing between devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19905491

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19905491

Country of ref document: EP

Kind code of ref document: A1