CN106131906A - Processing method, device and mobile terminal for WiFi wireless roaming online - Google Patents
Processing method, device and mobile terminal for WiFi wireless roaming online Download PDFInfo
- Publication number
- CN106131906A CN106131906A CN201610440216.9A CN201610440216A CN106131906A CN 106131906 A CN106131906 A CN 106131906A CN 201610440216 A CN201610440216 A CN 201610440216A CN 106131906 A CN106131906 A CN 106131906A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- wireless hotspot
- wireless
- designated server
- roaming
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/10—Reselecting an access point controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及一种WiFi无线漫游上网的处理方法、装置和移动终端。The present invention relates to the technical field of mobile terminals, in particular to a processing method, device and mobile terminal for WiFi wireless roaming online.
背景技术Background technique
随着移动通信的发展和人们生活水平的不断提高,各种移动终端如手机的使用越来越普及,手机已经成为人们生活中不可缺少的通信工具,手机方便了用户随时随地接入网络,并从网络中获取信息。With the development of mobile communications and the continuous improvement of people's living standards, the use of various mobile terminals such as mobile phones has become more and more popular. Mobile phones have become an indispensable communication tool in people's lives. Mobile phones facilitate users to access the network anytime and anywhere, and Get information from the web.
目前,在一些大型场所(例如超市、购物中心、广场)都会提供商业WiFi供人们连接,这些WiFi通常由连接在同一个局域网内的多个AP(Access Point,接入点)组成一个ESS((Extended Service Set,扩展服务集合)网络。其中,ESS网络中的接入点使用的都是相同的SSID(Service Set Identifier,服务集标识)和密码。At present, commercial WiFi is provided for people to connect in some large places (such as supermarkets, shopping malls, and squares). These WiFis are usually composed of multiple APs (Access Points) connected in the same LAN to form an ESS (( Extended Service Set, extended service set) network. Wherein, all the access points in the ESS network use the same SSID (Service Set Identifier, service set identifier) and password.
通常,当移动终端例如手机使用WiFi连接到一个ESS网络后,移动终端在ESS网络覆盖区移动时,会自动漫游到信号比当前连接AP更好的AP。为了保证不间断的网络连接,在移动终端从一个AP漫游到另一个AP时,移动终端无需重连,移动终端通过相同的IP地址进行上网,也就是说,在移动终端漫游后不需要重新获取新的IP地址。Usually, after a mobile terminal such as a mobile phone is connected to an ESS network using WiFi, when the mobile terminal moves in the coverage area of the ESS network, it will automatically roam to an AP with a better signal than the currently connected AP. In order to ensure uninterrupted network connection, when the mobile terminal roams from one AP to another AP, the mobile terminal does not need to reconnect, and the mobile terminal accesses the Internet through the same IP address, that is, it does not need to re-acquire the IP address after the mobile terminal roams. new IP address.
然而,在实现本发明的过程中发明人发现在ESS网络负载过大或配置不当,导致移动终端发生漫游时,AP后台处理失败,后台记录的移动终端的状态是离线状态,而移动终端中的网关处于网络连接状态,此时,移动终端却不能进行正常上网,容易出现用户在ESS网络而不能正常上网的情况。However, in the process of implementing the present invention, the inventor found that when the ESS network load is too large or the configuration is improper, causing the mobile terminal to roam, the AP background processing fails, and the status of the mobile terminal recorded in the background is offline, while the mobile terminal in the The gateway is in the network connection state, but at this time, the mobile terminal cannot access the Internet normally, and it is easy for the user to be in the ESS network but cannot access the Internet normally.
发明内容Contents of the invention
本发明的目的旨在至少在一定程度上解决上述的技术问题之一。The object of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.
为此,本发明的第一个目的在于提出一种WiFi无线漫游上网的处理方法,该方法在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。For this reason, the first object of the present invention is to propose a processing method for WiFi wireless roaming online, which automatically reconnects to the ESS network when it detects that it can access the Internet normally before roaming and cannot access the Internet after roaming, so that the mobile terminal can Normal Internet access, improve user experience.
本发明的第二个目的在于提出一种WiFi无线漫游上网的处理装置。The second object of the present invention is to provide a processing device for roaming the Internet through WiFi.
本发明的第三个目的在于提出一种移动终端。The third object of the present invention is to provide a mobile terminal.
本发明的第四个目的在于提出一种移动终端。A fourth object of the present invention is to provide a mobile terminal.
为了实现上述目的,本发明第一方面实施例的WiFi无线漫游上网的处理方法,包括:检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点;若检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点,则检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功;若检测到所述移动终端通过所述第二无线热点与指定服务器通信失败,则进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网;若判断出在漫游之前所述移动终端通过所述第一无线热点能够正常上网,则重新连接ESS网络中的所述第二无线热点。In order to achieve the above object, the processing method of WiFi wireless roaming in the embodiment of the first aspect of the present invention includes: detecting whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot; If the first wireless hotspot in the network roams to the second wireless hotspot, it is detected whether the communication between the mobile terminal and the designated server through the second wireless hotspot is successful; if it is detected that the mobile terminal communicates with the designated server through the second wireless hotspot If the server communication fails, it is further judged whether the mobile terminal can access the Internet normally through the first wireless hotspot before roaming to the second wireless hotspot; Internet access, then reconnect to the second wireless hotspot in the ESS network.
根据本发明实施例的WiFi无线漫游上网的处理方法,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the processing method of WiFi wireless roaming online in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, the detected Whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further determined that the mobile terminal roams to the second wireless hotspot Reconnecting to the second wireless hotspot in the ESS network according to whether the first wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
根据本发明的一个实施例,所述检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,包括:According to an embodiment of the present invention, the detecting whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot includes:
获取所述移动终端中预先保存的统一资源定位符URL地址信息,其中,所述统一资源定位符URL地址信息用于访问所述指定服务器;Obtaining URL address information of the Uniform Resource Locator pre-saved in the mobile terminal, wherein the URL address information of the Uniform Resource Locator is used to access the specified server;
通过所述第二无线热点向所述指定服务器发送访问所述统一资源定位符URL地址信息的访问请求;Sending an access request for accessing the Uniform Resource Locator URL address information to the designated server through the second wireless hotspot;
判断所述移动终端是否接收到与所述统一资源定位符URL地址信息对应的网页;Judging whether the mobile terminal has received the webpage corresponding to the URL address information of the uniform resource locator;
若判断出所述移动终端未接收到与所述统一资源定位符URL地址信息对应的网页,则判定所述移动终端通过所述第二无线热点与所述指定服务器通信失败。If it is determined that the mobile terminal has not received the web page corresponding to the URL address information of the uniform resource locator, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
根据本发明的一个实施例,所述检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,包括:According to an embodiment of the present invention, the detecting whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot includes:
通过所述第二无线热点向所述指定服务器发送检测指令;sending a detection instruction to the designated server through the second wireless hotspot;
判断所述移动终端通过所述第二无线热点是否接收到所述指定服务器返回与所述检测指令对应的响应指令;judging whether the mobile terminal receives a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot;
若所述移动终端通过所述第二无线热点未接收到所述指定服务器返回与所述检测指令对应的响应指令,则判定所述移动终端通过所述第二无线热点与所述指定服务器通信失败。If the mobile terminal does not receive a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot .
根据本发明的一个实施例,所述判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,包括:According to an embodiment of the present invention, the judging whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot includes:
判断所述移动终端中是否保存有与所述指定服务器通信成功的历史记录;Judging whether there is a historical record of successful communication with the designated server in the mobile terminal;
若所述移动终端中保存有与所述指定服务器通信成功的历史记录,则判定在漫游到第二无线热点之前所述移动终端通过所述第一无线热点能够正常上网。If the mobile terminal has a historical record of successful communication with the designated server, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
根据本发明的一个实施例,所述判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,包括:According to an embodiment of the present invention, the judging whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot includes:
判断在所述移动终端接入所述第一无线热点到漫游到所述第二无线热点之间的时间段中,所述移动终端是否保存成功访问网络的网络历史数据;judging whether the mobile terminal saves the network history data of successfully accessing the network during the time period between the mobile terminal accessing the first wireless hotspot and roaming to the second wireless hotspot;
若是,则判定在漫游到所述第二无线热点之前所述移动终端通过所述第一无线热点能够正常上网。If yes, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
为了实现上述目的,本发明第二方面实施例的WiFi无线漫游上网的处理装置,包括:第一检测模块,用于检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点;第二检测模块,用于在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功;判断模块,用于在检测到所述移动终端通过所述第二无线热点与指定服务器通信失败时,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网;重连模块,用于在判断出在漫游之前所述移动终端通过所述第一无线热点能够正常上网,重新连接ESS网络中的所述第二无线热点。In order to achieve the above object, the processing device for WiFi wireless roaming in the embodiment of the second aspect of the present invention includes: a first detection module, configured to detect whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot; The second detection module is used to detect whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot when detecting that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot; judging module , for further judging whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot when it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot; A reconnection module, configured to reconnect to the second wireless hotspot in the ESS network before judging that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming.
根据本发明实施例的WiFi无线漫游上网的处理装置,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the processing device for WiFi wireless roaming online in the embodiment of the present invention, it detects whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it detects that the mobile terminal roams to the second wireless hotspot, detects the Whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further determined that the mobile terminal roams to the second wireless hotspot Reconnecting to the second wireless hotspot in the ESS network according to whether the first wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
根据本发明的一个实施例,所述第二检测模块,具体用于:According to an embodiment of the present invention, the second detection module is specifically used for:
获取所述移动终端中预先保存的统一资源定位符URL地址信息,并通过所述第二无线热点向所述指定服务器发送访问所述统一资源定位符URL地址信息的访问请求,以及判断所述移动终端是否接收到与所述统一资源定位符URL地址信息对应的网页,若判断出所述移动终端未接收到与所述统一资源定位符URL地址信息对应的网页,则判定所述移动终端通过所述第二无线热点与所述指定服务器通信失败,其中,所述统一资源定位符URL地址信息用于访问所述指定服务器。Obtaining the URL address information of the Uniform Resource Locator pre-stored in the mobile terminal, and sending an access request to the designated server to access the URL address information of the Uniform Resource Locator through the second wireless hotspot, and judging whether the mobile terminal Whether the terminal has received the webpage corresponding to the URL address information of the uniform resource locator, if it is determined that the mobile terminal has not received the webpage corresponding to the URL address information of the uniform resource locator, then it is determined that the mobile terminal passes The second wireless hotspot fails to communicate with the designated server, wherein the uniform resource locator URL address information is used to access the designated server.
根据本发明的一个实施例,所述第二检测模块,具体用于:According to an embodiment of the present invention, the second detection module is specifically used for:
通过所述第二无线热点向所述指定服务器发送检测指令,并判断所述移动终端通过所述第二无线热点是否接收到所述指定服务器返回与所述检测指令对应的响应指令,若所述移动终端通过所述第二无线热点未接收到所述指定服务器返回与所述检测指令对应的响应指令,则判定所述移动终端通过所述第二无线热点与所述指定服务器通信失败。Send a detection instruction to the designated server through the second wireless hotspot, and determine whether the mobile terminal receives a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, if the If the mobile terminal does not receive a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
根据本发明的一个实施例,所述判断模块,具体用于:According to an embodiment of the present invention, the judging module is specifically used for:
判断所述移动终端中是否保存有与所述指定服务器通信成功的历史记录,若所述移动终端中保存有与所述指定服务器通信成功的历史记录,则判定在漫游到第二无线热点之前所述移动终端通过所述第一无线热点能够正常上网。Judging whether there is a historical record of successful communication with the designated server in the mobile terminal, if the historical record of successful communication with the designated server is saved in the mobile terminal, then determine the The mobile terminal can normally access the Internet through the first wireless hotspot.
根据本发明的一个实施例,所述判断模块,具体用于:According to an embodiment of the present invention, the judging module is specifically used for:
判断在所述移动终端接入所述第一无线热点到漫游到所述第二无线热点之间的时间段中,所述移动终端是否保存成功访问网络的网络历史数据,若是,则判定在漫游到所述第二无线热点之前所述移动终端通过所述第一无线热点能够正常上网。Judging whether the mobile terminal saves the network history data of successfully accessing the network during the time period between when the mobile terminal accesses the first wireless hotspot and roams to the second wireless hotspot, and if so, determines whether the mobile terminal is roaming Before arriving at the second wireless hotspot, the mobile terminal can normally access the Internet through the first wireless hotspot.
为了实现上述目的,本发明第三方面实施例的移动终端,包括本发明第二方面实施例的WiFi无线漫游上网的处理装置。In order to achieve the above object, the mobile terminal according to the embodiment of the third aspect of the present invention includes the processing device for surfing the Internet through WiFi wireless roaming according to the embodiment of the second aspect of the present invention.
根据本发明实施例的移动终端,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the mobile terminal in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, it is detected that the mobile terminal passes through the wireless hotspot. Whether the communication between the second wireless hotspot and the designated server is successful, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further judged that the mobile terminal has passed the first wireless hotspot before roaming to the second wireless hotspot. Whether the wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming, reconnect to the second wireless hotspot in the ESS network. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
为了实现上述目的,本发明第四方面实施例的移动终端,所述移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点;若检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点,则检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功;若检测到所述移动终端通过所述第二无线热点与指定服务器通信失败,则进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网;若判断出在漫游之前所述移动终端通过所述第一无线热点能够正常上网,则重新连接ESS网络中的所述第二无线热点。In order to achieve the above object, the mobile terminal according to the fourth aspect of the present invention includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is placed in the enclosure surrounded by the housing. Inside the space, the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the mobile terminal; the memory is used to store executable program codes; The processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to perform the following steps: detecting whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot; if it is detected that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, then it is detected whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot; if it is detected If the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further judged whether the mobile terminal can access the Internet normally through the first wireless hotspot before roaming to the second wireless hotspot; If the mobile terminal can access the Internet normally through the first wireless hotspot, it reconnects to the second wireless hotspot in the ESS network.
根据本发明实施例的移动终端,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the mobile terminal in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, it is detected that the mobile terminal passes through the wireless hotspot. Whether the communication between the second wireless hotspot and the designated server is successful, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further judged that the mobile terminal has passed the first wireless hotspot before roaming to the second wireless hotspot. Whether the wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming, reconnect to the second wireless hotspot in the ESS network. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein,
图1是根据本发明一个实施例的WiFi无线漫游上网的处理方法的流程图。Fig. 1 is a flow chart of a processing method of WiFi wireless roaming surfing the Internet according to an embodiment of the present invention.
图2是根据本发明一个具体实施例的WiFi无线漫游上网的处理方法的流程图。Fig. 2 is a flow chart of a processing method of WiFi wireless roaming surfing the Internet according to a specific embodiment of the present invention.
图3是根据本发明一个实施例的WiFi无线漫游上网的处理装置的结构示意图。Fig. 3 is a schematic structural diagram of a processing device for WiFi wireless roaming online according to an embodiment of the present invention.
附图标记:Reference signs:
第一检测模块110、第二检测模块120、判断模块130和重连模块140。The first detection module 110 , the second detection module 120 , the judgment module 130 and the reconnection module 140 .
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
下面参考附图描述本发明实施例的WiFi无线漫游上网的处理方法、装置和移动终端。The following describes the processing method, device and mobile terminal for WiFi wireless roaming surfing the Internet according to the embodiments of the present invention with reference to the accompanying drawings.
图1是根据本发明一个实施例的WiFi无线漫游上网的处理方法的流程图。Fig. 1 is a flow chart of a processing method of WiFi wireless roaming surfing the Internet according to an embodiment of the present invention.
如图1所示,该WiFi无线漫游上网的处理方法包括以下步骤:As shown in Figure 1, the processing method for the WiFi wireless roaming online includes the following steps:
S11,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点。S11. Detect whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot.
其中,移动终端可以例如是智能手机、平板电脑等具有各种操作系统的硬件设备。Wherein, the mobile terminal may be, for example, a smart phone, a tablet computer, and other hardware devices with various operating systems.
具体地,在移动终端通过WiFi接入ESS网络的第一无线热点(第一无线接入点)后,在使用移动终端使用ESS网络的过程中,移动终端在监控到第二无线热点的信号强度比第一无线热点强时,移动终端将自动连接第二无线热点。Specifically, after the mobile terminal accesses the first wireless hotspot (first wireless access point) of the ESS network through WiFi, in the process of using the mobile terminal to use the ESS network, the mobile terminal monitors the signal strength of the second wireless hotspot When it is stronger than the first wireless hotspot, the mobile terminal will automatically connect to the second wireless hotspot.
其中,需要说明的是,第一无线热点与第二无线热点是ESS网络中两个不同的无线热点。Wherein, it should be noted that the first wireless hotspot and the second wireless hotspot are two different wireless hotspots in the ESS network.
S12,若检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点,则检测移动终端通过第二无线热点与指定服务器是否通信成功。S12. If it is detected that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network, then detect whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可通过多种方式检测移动终端通过第二无线热点与指定服务器是否通信成功。When it is detected that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network, it may be detected in various ways whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
作为一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可获取移动终端中预先保存的统一资源定位符URL地址信息,然后通过第二无线热点向指定服务器发送访问统一资源定位符URL地址信息的访问请求,并判断移动终端是否接收到与统一资源定位符URL地址信息对应的网页,以及若判断出移动终端未接收到与统一资源定位符URL地址信息对应的网页,则判定移动终端通过第二无线热点与指定服务器通信失败。As an example, when it is detected that the mobile terminal is roaming from the first wireless hotspot in the ESS network to the second wireless hotspot, the pre-saved Uniform Resource Locator URL address information in the mobile terminal can be obtained, and then the mobile terminal can be sent to the The designated server sends an access request for accessing the URL address information of the Uniform Resource Locator, and judges whether the mobile terminal has received the webpage corresponding to the URL address information of the Uniform Resource Locator, and if it is determined that the mobile terminal has not received the web page corresponding to the URL address information of the Uniform Resource Locator information corresponding to the webpage, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,需要理解的是,移动终端与指定服务器通信失败表示移动终端不能正常上网,为了充分验证移动终端是否能够正常上网,可预先设定多个指定服务器,如果移动终端中均不能与这些指定服务器进行通信,则说明移动终端不能正常上网。Among them, it should be understood that the failure of the mobile terminal to communicate with the designated server means that the mobile terminal cannot access the Internet normally. In order to fully verify whether the mobile terminal can access the Internet normally, multiple designated servers can be pre-set. communication, it means that the mobile terminal cannot access the Internet normally.
其中,统一资源定位符URL地址信息用于访问指定服务器,该URL地址信息是移动终端中预先保存的。Wherein, the URL address information of the Uniform Resource Locator is used to access the designated server, and the URL address information is pre-stored in the mobile terminal.
例如,URL地址信息为www.baidu.com,在检测到智能手机检测从第一无线热点漫游到第二无线热点时,智能手机后台程序可访问www.baidu.com,若检测到智能手机不能接收到该URL地址信息对应的网页,则确定智能手机不能与指定服务器通信,即,智能手机不能正常上网。For example, if the URL address information is www.baidu.com, when it is detected that the smart phone is roaming from the first wireless hotspot to the second wireless hotspot, the background program of the smart phone can access www.baidu.com, if it is detected that the smart phone cannot receive When the web page corresponding to the URL address information is reached, it is determined that the smart phone cannot communicate with the designated server, that is, the smart phone cannot access the Internet normally.
作为另一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,通过第二无线热点向指定服务器发送检测指令,并判断移动终端通过第二无线热点是否接收到指定服务器返回与检测指令对应的响应指令,若移动终端通过第二无线热点未接收到指定服务器返回与检测指令对应的响应指令,则判定移动终端通过第二无线热点与指定服务器通信失败。As another example, when it is detected that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, a detection instruction is sent to the designated server through the second wireless hotspot, and it is determined whether the mobile terminal passes through the second wireless hotspot. After receiving a response instruction corresponding to the detection instruction returned by the designated server, if the mobile terminal does not receive a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,检测指令与检测指令对应的响应指令是移动终端中预先保存的。Wherein, the detection instruction and the response instruction corresponding to the detection instruction are pre-stored in the mobile terminal.
S13,若检测到移动终端通过第二无线热点与指定服务器通信失败,则进一步判断在漫游到第二无线热点之前移动终端通过第一无线热点是否能够正常上网。S13. If it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, further determine whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
在检测到移动终端通过第二无线热点与指定服务器通信失败时,可通过多种方式判断在漫游到第二无线热点之前移动终端通过第一无线热点是否能够正常上网,举例说明如下:When it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it can be judged in various ways whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot. Examples are as follows:
作为一种示例,在检测到移动终端通过第二无线热点与指定服务器通信失败时,判断移动终端中是否保存有与指定服务器通信成功的历史记录,若移动终端中保存有与指定服务器通信成功的历史记录,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。As an example, when it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is determined whether the mobile terminal has a history record of successful communication with the designated server. history records, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
具体地,在移动终端接入ESS网络的第一无线热点时,可检测与指定服务器是否通信成功,如果通信成功,则保存移动终端通过第一无线热点与指定服务器通信成功的历史记录,若通信失败,则保存移动终端通过第一无线热点与指定服务器通信失败的历史记录,以方便后续验证漫游前移动终端通过第一无线热点是否能够正常上网。Specifically, when the mobile terminal accesses the first wireless hotspot of the ESS network, it can detect whether the communication with the specified server is successful, and if the communication is successful, then save the history record of the mobile terminal successfully communicating with the specified server through the first wireless If the mobile terminal fails to communicate with the designated server through the first wireless hotspot, the historical record of the failed communication between the mobile terminal and the designated server is saved, so as to facilitate subsequent verification whether the mobile terminal can access the Internet normally through the first wireless hotspot before roaming.
作为另一种示例,在检测到移动终端通过第二无线热点与指定服务器通信失败时,判断在移动终端接入第一无线热点到漫游到第二无线热点之间的时间段中,移动终端是否保存成功访问网络的网络历史数据,若移动终端中保存成功访问网络的网络历史数据,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。As another example, when it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is determined whether the mobile terminal The network history data of successfully accessing the network is saved, and if the network history data of successfully accessing the network is saved in the mobile terminal, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
通常,在移动终端在接入第一无线热点至漫游到第二无线热点之间的时间段,移动终端会存储有在这段时间内的访问网络的历史数据,通过这些访问网络的历史数据可以确定出移动终端是否能够正常上网。Usually, during the time period between when the mobile terminal accesses the first wireless hotspot and roams to the second wireless hotspot, the mobile terminal will store the historical data of accessing the network during this period, through which the historical data of accessing the network can be Determine whether the mobile terminal can access the Internet normally.
其中,需要说明的是,在检测到移动终端在漫游后能够与指定服务器正常通信,则说明移动终端通过第二无线热点能够正常上网,此时,无需对移动终端进行控制。Wherein, it should be noted that if it is detected that the mobile terminal can normally communicate with the designated server after roaming, it means that the mobile terminal can normally access the Internet through the second wireless hotspot, and at this time, there is no need to control the mobile terminal.
S14,若判断出在漫游之前移动终端通过第一无线热点能够正常上网,则重新连接ESS网络中的第二无线热点。S14. If it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming, reconnect to the second wireless hotspot in the ESS network.
也就是说,在检测到漫游前移动终端通过第一无线热点能正常上网而在漫游后移动终端通过第二无线热点不能正常上网时,可控制移动终端通过连接ESS网络的SSID和密码重新连接网络,此时,ESS网络会重新给用户分配新的IP地址,移动终端可通过新的IP地址进行上网。That is to say, when it is detected that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming and the mobile terminal cannot access the Internet normally through the second wireless hotspot after roaming, the mobile terminal can be controlled to reconnect to the network through the SSID and password connected to the ESS network , at this time, the ESS network will re-allocate a new IP address to the user, and the mobile terminal can access the Internet through the new IP address.
其中,需要理解的是,如果漫游前移动终端能够正常上网,而漫游后移动终端不能正常上网,则说明无线热点后台处理失败,后台记录的移动终端的连接状态为离线状态,而移动终端的网关却处于已连接状态,从而使得移动终端不能正常访问网络,为了使得漫游之后能正常上网,在重新连接ESS网络时,ESS网络中的无线热点会为移动终端重新分配新的IP地址,并将移动终端的连接状态更新为在线状态,此时,用户通过漫游后的无线热点可进行正常上网。Among them, what needs to be understood is that if the mobile terminal can access the Internet normally before roaming, but the mobile terminal cannot access the Internet normally after roaming, it means that the background processing of the wireless hotspot has failed, and the connection status of the mobile terminal recorded in the background is offline, while the gateway of the mobile terminal However, it is in the connected state, so that the mobile terminal cannot access the network normally. In order to enable normal Internet access after roaming, when reconnecting to the ESS network, the wireless hotspot in the ESS network will re-allocate a new IP address for the mobile terminal and send the mobile The connection status of the terminal is updated to the online status, and at this time, the user can surf the Internet normally through the wireless hotspot after roaming.
根据本发明实施例的WiFi无线漫游上网的处理方法,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the processing method of WiFi wireless roaming online in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, the detected Whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further determined that the mobile terminal roams to the second wireless hotspot Reconnecting to the second wireless hotspot in the ESS network according to whether the first wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
图2是根据本发明一个具体实施例的WiFi无线漫游上网的处理方法的流程图。如图2所示,该WiFi无线漫游上网的处理方法包括以下步骤:Fig. 2 is a flow chart of a processing method of WiFi wireless roaming surfing the Internet according to a specific embodiment of the present invention. As shown in Figure 2, the processing method for the WiFi wireless roaming online includes the following steps:
S21,在检测到移动终端接入ESS网络的第一无线热点时,判断移动终端通过第一无线热点是否能够正常上网。S21. When it is detected that the mobile terminal accesses the first wireless hotspot of the ESS network, determine whether the mobile terminal can normally access the Internet through the first wireless hotspot.
其中,移动终端可以例如是智能手机、平板电脑等具有各种操作系统的硬件设备。Wherein, the mobile terminal may be, for example, a smart phone, a tablet computer, and other hardware devices with various operating systems.
S22,若能够正常上网,则在移动终端中保存移动终端通过第一无线热点能够正常上网的历史记录。S22. If the mobile terminal can access the Internet normally, store a history record of the mobile terminal being able to access the Internet normally through the first wireless hotspot in the mobile terminal.
例如,URL地址信息为www.baidu.com,在检测到智能手机检测从第一无线热点漫游到第一无线热点时,智能手机后台程序可访问www.baidu.com,若检测到智能手机不能接收到该URL地址信息对应的网页,则确定智能手机不能与指定服务器通信,即,智能手机不能正常上网。For example, if the URL address information is www.baidu.com, when it is detected that the smart phone is roaming from the first wireless hotspot to the first wireless hotspot, the background program of the smart phone can access www.baidu.com, if it is detected that the smart phone cannot receive When the web page corresponding to the URL address information is reached, it is determined that the smart phone cannot communicate with the designated server, that is, the smart phone cannot access the Internet normally.
S23,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点。S23. Detect whether the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network.
在移动终端通过WiFi接入ESS网络的第一无线热点(第一无线接入点)后,在移动终端移动过程中,移动终端在监控到第二无线热点的信号强度比第一无线热点好时,移动终端将自动连接第二无线热点。After the mobile terminal accesses the first wireless hotspot (first wireless access point) of the ESS network through WiFi, when the mobile terminal is moving, when the mobile terminal monitors that the signal strength of the second wireless hotspot is better than that of the first wireless hotspot , the mobile terminal will automatically connect to the second wireless hotspot.
S24,若检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点,则检测移动终端通过第二无线热点与指定服务器是否通信成功。S24. If it is detected that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network, then detect whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可通过多种方式检测移动终端通过第二无线热点与指定服务器是否通信成功。When it is detected that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network, it may be detected in various ways whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
作为一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可获取移动终端中预先保存的统一资源定位符URL地址信息,然后通过第二无线热点向指定服务器发送访问统一资源定位符URL地址信息的访问请求,并判断移动终端是否接收到与统一资源定位符URL地址信息对应的网页,以及若判断出移动终端未接收到与统一资源定位符URL地址信息对应的网页,则判定移动终端通过第二无线热点与指定服务器通信失败。As an example, when it is detected that the mobile terminal is roaming from the first wireless hotspot in the ESS network to the second wireless hotspot, the pre-saved Uniform Resource Locator URL address information in the mobile terminal can be obtained, and then the mobile terminal can be sent to the The designated server sends an access request for accessing the URL address information of the Uniform Resource Locator, and judges whether the mobile terminal has received the webpage corresponding to the URL address information of the Uniform Resource Locator, and if it is determined that the mobile terminal has not received the web page corresponding to the URL address information of the Uniform Resource Locator information corresponding to the webpage, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,需要理解的是,移动终端与指定服务器通信失败表示移动终端不能正常上网,为了充分验证移动终端是否能够正常上网,可预先设定多个指定服务器。Wherein, it should be understood that the failure of communication between the mobile terminal and the designated server means that the mobile terminal cannot access the Internet normally. In order to fully verify whether the mobile terminal can access the Internet normally, multiple designated servers can be preset.
其中,统一资源定位符URL地址信息用于访问指定服务器,该URL地址信息是移动终端中预先保存的。Wherein, the URL address information of the Uniform Resource Locator is used to access the designated server, and the URL address information is pre-stored in the mobile terminal.
例如,URL地址信息为www.baidu.com,在检测到智能手机检测从第一无线热点漫游到第二无线热点时,智能手机后台程序可访问www.baidu.com,若检测到智能手机不能接收到该URL地址信息对应的网页,则确定智能手机不能与指定服务器通信,即,智能手机不能正常上网。For example, if the URL address information is www.baidu.com, when it is detected that the smart phone is roaming from the first wireless hotspot to the second wireless hotspot, the background program of the smart phone can access www.baidu.com, if it is detected that the smart phone cannot receive When the web page corresponding to the URL address information is reached, it is determined that the smart phone cannot communicate with the designated server, that is, the smart phone cannot access the Internet normally.
作为另一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,通过第二无线热点向指定服务器发送检测指令,并判断移动终端通过第二无线热点是否接收到指定服务器返回与检测指令对应的响应指令,若移动终端通过第二无线热点未接收到指定服务器返回与检测指令对应的响应指令,则判定移动终端通过第二无线热点与指定服务器通信失败。As another example, when it is detected that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, a detection instruction is sent to the designated server through the second wireless hotspot, and it is determined whether the mobile terminal passes through the second wireless hotspot. After receiving a response instruction corresponding to the detection instruction returned by the designated server, if the mobile terminal does not receive a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,检测指令与检测指令对应的响应指令是移动终端中预先保存的。Wherein, the detection instruction and the response instruction corresponding to the detection instruction are pre-stored in the mobile terminal.
S25,若检测到移动终端通过第二无线热点与指定服务器通信失败,则通过移动终端中保存的历史记录判断在漫游之前移动终端通过第一无线热点能够正常上网,则执行步骤S26。S25, if it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, then judge through the historical records saved in the mobile terminal that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming, and then execute step S26.
即,移动终端中保存有移动终端通过第一无线热点是否能够正常上网的历史记录。That is, the mobile terminal stores a historical record of whether the mobile terminal can normally access the Internet through the first wireless hotspot.
S26,重新连接ESS网络中的第二无线热点。S26. Reconnect to the second wireless hotspot in the ESS network.
也就是说,在检测到漫游前移动终端通过第一无线热点能正常上网而在漫游后移动终端通过第二无线热点不能正常上网时,可控制移动终端通过连接ESS网络的SSID和密码重新连接网络,此时,ESS网络会重新给用户分配新的IP地址,移动终端可通过新的IP地址进行上网。That is to say, when it is detected that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming and the mobile terminal cannot access the Internet normally through the second wireless hotspot after roaming, the mobile terminal can be controlled to reconnect to the network through the SSID and password connected to the ESS network , at this time, the ESS network will re-allocate a new IP address to the user, and the mobile terminal can access the Internet through the new IP address.
根据本发明实施例的WiFi无线漫游上网的处理方法,在检测移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,检测到漫游后移动终端通过第二无线热点不能正常上网,而移动终端保存有移动终端正常上网的历史记录,即,判断出漫游前移动终端可以正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the processing method of WiFi wireless roaming online in the embodiment of the present invention, when detecting that the mobile terminal is roaming from the first wireless hotspot to the second wireless hotspot in the ESS network, it is detected that the mobile terminal cannot access the Internet normally through the second wireless hotspot after roaming, The mobile terminal saves the historical records of the mobile terminal's normal Internet access, that is, when it is determined that the mobile terminal can normally access the Internet before roaming, it will automatically reconnect to the ESS network, so that the mobile terminal can normally access the Internet and improve user experience.
为了实现上述实施例,本发明还提出了一种本发明实施例的WiFi无线漫游上网的处理装置。In order to realize the above-mentioned embodiment, the present invention also proposes a processing device for surfing the Internet through WiFi wireless roaming according to the embodiment of the present invention.
图3是根据本发明一个实施例的本发明实施例的WiFi无线漫游上网的处理装置的结构示意图。Fig. 3 is a schematic structural diagram of a processing device for WiFi wireless roaming surfing the Internet according to an embodiment of the present invention.
如图3所示,该本发明实施例的WiFi无线漫游上网的处理装置可以包括第一检测模块110、第二检测模块120、判断模块130和重连模块140,其中:As shown in FIG. 3 , the processing device for WiFi wireless roaming in this embodiment of the present invention may include a first detection module 110, a second detection module 120, a judgment module 130 and a reconnection module 140, wherein:
第一检测模块110用于检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点。The first detection module 110 is configured to detect whether the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network.
第二检测模块120用于在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,检测移动终端通过第二无线热点与指定服务器是否通信成功。The second detection module 120 is configured to detect whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot when detecting that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network.
判断模块130用于在检测到移动终端通过第二无线热点与指定服务器通信失败时,进一步判断在漫游到第二无线热点之前移动终端通过第一无线热点是否能够正常上网。The judging module 130 is used for further judging whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot when detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
重连模块140用于在判断出在漫游之前移动终端通过第一无线热点能够正常上网,重新连接ESS网络中的第二无线热点。The reconnection module 140 is configured to reconnect to the second wireless hotspot in the ESS network before judging that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming.
在本发明的一个实施例中,第二检测模块120具体用于:In an embodiment of the present invention, the second detection module 120 is specifically used for:
获取移动终端中预先保存的统一资源定位符URL地址信息并通过第二无线热点向指定服务器发送访问统一资源定位符URL地址信息的访问请求,以及判断移动终端是否接收到与统一资源定位符URL地址信息对应的网页,若判断出移动终端未接收到与统一资源定位符URL地址信息对应的网页,则判定移动终端通过第二无线热点与指定服务器通信失败。Obtaining the URL address information of the uniform resource locator stored in advance in the mobile terminal and sending an access request for accessing the URL address information of the uniform resource locator to the designated server through the second wireless hotspot, and judging whether the mobile terminal receives the URL address information related to the URL of the uniform resource locator If it is determined that the mobile terminal has not received the webpage corresponding to the URL address information, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,统一资源定位符URL地址信息用于访问指定服务器,且该URL地址信息是移动终端中预先保存的。Wherein, the URL address information of the Uniform Resource Locator is used to access the specified server, and the URL address information is pre-stored in the mobile terminal.
在本发明的另一个实施例中,第二检测模块120具体用于:In another embodiment of the present invention, the second detection module 120 is specifically used for:
通过第二无线热点向指定服务器发送检测指令,并判断移动终端通过第二无线热点是否接收到指定服务器返回与检测指令对应的响应指令,若移动终端通过第二无线热点未接收到指定服务器返回与检测指令对应的响应指令,则判定移动终端通过第二无线热点与指定服务器通信失败。Send a detection instruction to the designated server through the second wireless hotspot, and determine whether the mobile terminal receives the response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, if the mobile terminal does not receive the response instruction returned by the designated server through the second wireless hotspot If the response command corresponding to the detection command is detected, it is determined that the mobile terminal fails to communicate with the specified server through the second wireless hotspot.
在本本发明的一个实施例中,判断模块130具体用于:In one embodiment of the present invention, the judging module 130 is specifically used for:
判断移动终端中是否保存有与指定服务器通信成功的历史记录,若移动终端中保存有与指定服务器通信成功的历史记录,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。Judging whether there is a historical record of successful communication with the designated server in the mobile terminal, if there is a historical record of successful communication with the designated server in the mobile terminal, it is determined that the mobile terminal can pass through the first wireless hotspot before roaming to the second wireless hotspot. go online.
在本发明的另一个实施例中,判断模块130具体用于:In another embodiment of the present invention, the judging module 130 is specifically used for:
判断在移动终端接入第一无线热点到漫游到第二无线热点之间的时间段中,移动终端是否保存成功访问网络的网络历史数据,若移动终端中保存成功访问网络的网络历史数据,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。Judging whether the mobile terminal saves the network history data of successfully accessing the network during the time period between the mobile terminal accessing the first wireless hotspot and roaming to the second wireless hotspot, if the mobile terminal saves the network history data of successfully accessing the network, then It is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
需要说明的是,前述对WiFi无线漫游上网的处理方法实施例的解释说明也适用于该实施例的WiFi无线漫游上网的处理装置,其实现原理类似,此处不再赘述。It should be noted that the foregoing explanations of the embodiment of the method for processing WiFi roaming online are also applicable to the device for processing WiFi wireless roaming online in this embodiment, and its implementation principles are similar, so details are not repeated here.
根据本发明实施例的WiFi无线漫游上网的处理装置,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the processing device for WiFi wireless roaming online in the embodiment of the present invention, it detects whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it detects that the mobile terminal roams to the second wireless hotspot, detects the Whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further determined that the mobile terminal roams to the second wireless hotspot Reconnecting to the second wireless hotspot in the ESS network according to whether the first wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
为了实现上述实施例,本发明还提出一种移动终端。In order to realize the above embodiments, the present invention also proposes a mobile terminal.
一种移动终端,包括本发明第二方面实施例的WiFi无线漫游上网的处理装置。A mobile terminal includes the processing device for WiFi wireless roaming surfing the Internet according to the embodiment of the second aspect of the present invention.
根据本发明实施例的移动终端,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the mobile terminal in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, it is detected that the mobile terminal passes through the wireless hotspot. Whether the communication between the second wireless hotspot and the designated server is successful, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further judged that the mobile terminal has passed the first wireless hotspot before roaming to the second wireless hotspot. Whether the wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming, reconnect to the second wireless hotspot in the ESS network. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
为了实现上述实施例,本发明还提出一种移动终端,该移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为移动终端的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行以下步骤:In order to realize the above embodiments, the present invention also proposes a mobile terminal, which includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and The memory is set on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the mobile terminal; the memory is used to store executable program code; the processor runs and executes the program by reading the executable program code stored in the memory A program corresponding to the code to perform the following steps:
S11',检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点。S11'. Detect whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot.
其中,移动终端可以例如是智能手机、平板电脑等具有各种操作系统的硬件设备。Wherein, the mobile terminal may be, for example, a smart phone, a tablet computer, and other hardware devices with various operating systems.
具体地,在移动终端通过WiFi接入ESS网络的第一无线热点(第一无线接入点)后,在使用移动终端使用ESS网络的过程中,移动终端在监控到第二无线热点的信号强度比第一无线热点强时,移动终端将自动连接第二无线热点。Specifically, after the mobile terminal accesses the first wireless hotspot (first wireless access point) of the ESS network through WiFi, in the process of using the mobile terminal to use the ESS network, the mobile terminal monitors the signal strength of the second wireless hotspot When it is stronger than the first wireless hotspot, the mobile terminal will automatically connect to the second wireless hotspot.
其中,需要说明的是,第一无线热点与第二无线热点是ESS网络中两个不同的无线热点。Wherein, it should be noted that the first wireless hotspot and the second wireless hotspot are two different wireless hotspots in the ESS network.
S12',若检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点,则检测移动终端通过第二无线热点与指定服务器是否通信成功。S12', if it is detected that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, then detect whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可通过多种方式检测移动终端通过第二无线热点与指定服务器是否通信成功。When it is detected that the mobile terminal roams from the first wireless hotspot to the second wireless hotspot in the ESS network, it may be detected in various ways whether the mobile terminal successfully communicates with the designated server through the second wireless hotspot.
作为一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,可获取移动终端中预先保存的统一资源定位符URL地址信息,然后通过第二无线热点向指定服务器发送访问统一资源定位符URL地址信息的访问请求,并判断移动终端是否接收到与统一资源定位符URL地址信息对应的网页,以及若判断出移动终端未接收到与统一资源定位符URL地址信息对应的网页,则判定移动终端通过第二无线热点与指定服务器通信失败。As an example, when it is detected that the mobile terminal is roaming from the first wireless hotspot in the ESS network to the second wireless hotspot, the pre-saved Uniform Resource Locator URL address information in the mobile terminal can be obtained, and then the mobile terminal can be sent to the The designated server sends an access request for accessing the URL address information of the Uniform Resource Locator, and judges whether the mobile terminal has received the webpage corresponding to the URL address information of the Uniform Resource Locator, and if it is determined that the mobile terminal has not received the web page corresponding to the URL address information of the Uniform Resource Locator information corresponding to the webpage, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,需要理解的是,移动终端与指定服务器通信失败表示移动终端不能正常上网,为了充分验证移动终端是否能够正常上网,可预先设定多个指定服务器,如果移动终端中均不能与这些指定服务器进行通信,则说明移动终端不能正常上网。Among them, it should be understood that the failure of the mobile terminal to communicate with the designated server means that the mobile terminal cannot access the Internet normally. In order to fully verify whether the mobile terminal can access the Internet normally, multiple designated servers can be pre-set. communication, it means that the mobile terminal cannot access the Internet normally.
其中,统一资源定位符URL地址信息用于访问指定服务器,该URL地址信息是移动终端中预先保存的。Wherein, the URL address information of the Uniform Resource Locator is used to access the designated server, and the URL address information is pre-stored in the mobile terminal.
例如,URL地址信息为www.baidu.com,在检测到智能手机检测从第一无线热点漫游到第二无线热点时,智能手机后台程序可访问www.baidu.com,若检测到智能手机不能接收到该URL地址信息对应的网页,则确定智能手机不能与指定服务器通信,即,智能手机不能正常上网。For example, if the URL address information is www.baidu.com, when it is detected that the smart phone is roaming from the first wireless hotspot to the second wireless hotspot, the background program of the smart phone can access www.baidu.com, if it is detected that the smart phone cannot receive When the web page corresponding to the URL address information is reached, it is determined that the smart phone cannot communicate with the designated server, that is, the smart phone cannot access the Internet normally.
作为另一种示例,在检测到移动终端从ESS网络中的第一无线热点漫游到第二无线热点时,通过第二无线热点向指定服务器发送检测指令,并判断移动终端通过第二无线热点是否接收到指定服务器返回与检测指令对应的响应指令,若移动终端通过第二无线热点未接收到指定服务器返回与检测指令对应的响应指令,则判定移动终端通过第二无线热点与指定服务器通信失败。As another example, when it is detected that the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, a detection instruction is sent to the designated server through the second wireless hotspot, and it is determined whether the mobile terminal passes through the second wireless hotspot. After receiving a response instruction corresponding to the detection instruction returned by the designated server, if the mobile terminal does not receive a response instruction corresponding to the detection instruction returned by the designated server through the second wireless hotspot, it is determined that the mobile terminal fails to communicate with the designated server through the second wireless hotspot.
其中,检测指令与检测指令对应的响应指令是移动终端中预先保存的。Wherein, the detection instruction and the response instruction corresponding to the detection instruction are pre-stored in the mobile terminal.
S13',若检测到移动终端通过第二无线热点与指定服务器通信失败,则进一步判断在漫游到第二无线热点之前移动终端通过第一无线热点是否能够正常上网。S13', if it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, further determine whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
在检测到移动终端通过第二无线热点与指定服务器通信失败时,可通过多种方式判断在漫游到第二无线热点之前移动终端通过第一无线热点是否能够正常上网,举例说明如下:When it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it can be judged in various ways whether the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot. Examples are as follows:
作为一种示例,在检测到移动终端通过第二无线热点与指定服务器通信失败时,判断移动终端中是否保存有与指定服务器通信成功的历史记录,若移动终端中保存有与指定服务器通信成功的历史记录,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。As an example, when it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is determined whether the mobile terminal has a history record of successful communication with the designated server. history records, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
具体地,在移动终端接入ESS网络的第一无线热点时,可检测与指定服务器是否通信成功,如果通信成功,则保存移动终端通过第一无线热点与指定服务器通信成功的历史记录,若通信失败,则保存移动终端通过第一无线热点与指定服务器通信失败的历史记录,以方便后续验证漫游前移动终端通过第一无线热点是否能够正常上网。Specifically, when the mobile terminal accesses the first wireless hotspot of the ESS network, it can detect whether the communication with the specified server is successful, and if the communication is successful, then save the history record of the mobile terminal successfully communicating with the specified server through the first wireless If the mobile terminal fails to communicate with the designated server through the first wireless hotspot, the historical record of the failed communication between the mobile terminal and the designated server is saved, so as to facilitate subsequent verification whether the mobile terminal can access the Internet normally through the first wireless hotspot before roaming.
作为另一种示例,在检测到移动终端通过第二无线热点与指定服务器通信失败时,判断在移动终端接入第一无线热点到漫游到第二无线热点之间的时间段中,移动终端是否保存成功访问网络的网络历史数据,若移动终端中保存成功访问网络的网络历史数据,则判定在漫游到第二无线热点之前移动终端通过第一无线热点能够正常上网。As another example, when it is detected that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is determined whether the mobile terminal The network history data of successfully accessing the network is saved, and if the network history data of successfully accessing the network is saved in the mobile terminal, it is determined that the mobile terminal can normally access the Internet through the first wireless hotspot before roaming to the second wireless hotspot.
通常,在移动终端在接入第一无线热点至漫游到第二无线热点之间的时间段,移动终端会存储有在这段时间内的访问网络的历史数据,通过这些访问网络的历史数据可以确定出移动终端是否能够正常上网。Usually, during the time period between when the mobile terminal accesses the first wireless hotspot and roams to the second wireless hotspot, the mobile terminal will store the historical data of accessing the network during this period, through which the historical data of accessing the network can be Determine whether the mobile terminal can access the Internet normally.
其中,需要说明的是,在检测到移动终端在漫游后能够与指定服务器正常通信,则说明移动终端通过第二无线热点能够正常上网,此时,无需对移动终端进行控制。Wherein, it should be noted that if it is detected that the mobile terminal can normally communicate with the designated server after roaming, it means that the mobile terminal can normally access the Internet through the second wireless hotspot, and at this time, there is no need to control the mobile terminal.
S14',若判断出在漫游之前移动终端通过第一无线热点能够正常上网,则重新连接ESS网络中的第二无线热点。S14', if it is determined that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming, reconnect to the second wireless hotspot in the ESS network.
也就是说,在检测到漫游前移动终端通过第一无线热点能正常上网而在漫游后移动终端通过第二无线热点不能正常上网时,可控制移动终端通过连接ESS网络的SSID和密码重新连接网络,此时,ESS网络会重新给用户分配新的IP地址,移动终端可通过新的IP地址进行上网。That is to say, when it is detected that the mobile terminal can access the Internet normally through the first wireless hotspot before roaming and the mobile terminal cannot access the Internet normally through the second wireless hotspot after roaming, the mobile terminal can be controlled to reconnect to the network through the SSID and password connected to the ESS network , at this time, the ESS network will re-allocate a new IP address to the user, and the mobile terminal can access the Internet through the new IP address.
其中,需要理解的是,如果漫游前移动终端能够正常上网,而漫游后移动终端不能正常上网,则说明无线热点后台处理失败,后台记录的移动终端的连接状态为离线状态,而移动终端的网关却处于已连接状态,从而使得移动终端不能正常访问网络,为了使得漫游之后能正常上网,在重新连接ESS网络时,ESS网络中的无线热点会为移动终端重新分配新的IP地址,并将移动终端的连接状态更新为在线状态,此时,用户通过漫游后的无线热点可进行正常上网。Among them, what needs to be understood is that if the mobile terminal can access the Internet normally before roaming, but the mobile terminal cannot access the Internet normally after roaming, it means that the background processing of the wireless hotspot has failed, and the connection status of the mobile terminal recorded in the background is offline, while the gateway of the mobile terminal However, it is in the connected state, so that the mobile terminal cannot access the network normally. In order to enable normal Internet access after roaming, when reconnecting to the ESS network, the wireless hotspot in the ESS network will re-allocate a new IP address for the mobile terminal and send the mobile The connection status of the terminal is updated to the online status, and at this time, the user can surf the Internet normally through the wireless hotspot after roaming.
根据本发明实施例的移动终端,检测移动终端是否从ESS网络中的第一无线热点漫游到第二无线热点,并在检测到移动终端漫游到第二无线热点时,检测所述移动终端通过所述第二无线热点与指定服务器是否通信成功,并在检测到移动终端通过所述第二无线热点与指定服务器通信失败,进一步判断在漫游到第二无线热点之前所述移动终端通过所述第一无线热点是否能够正常上网,并在判断出漫游前移动终端可以正常上网时,重新连接ESS网络中的所述第二无线热点。由此,在检测到漫游前能正常上网而漫游后不能正常上网时,自动重新连接ESS网络,使得移动终端能够正常上网,提升用户体验。According to the mobile terminal in the embodiment of the present invention, it is detected whether the mobile terminal roams from the first wireless hotspot in the ESS network to the second wireless hotspot, and when it is detected that the mobile terminal roams to the second wireless hotspot, it is detected that the mobile terminal passes through the wireless hotspot. Whether the communication between the second wireless hotspot and the designated server is successful, and after detecting that the mobile terminal fails to communicate with the designated server through the second wireless hotspot, it is further judged that the mobile terminal has passed the first wireless hotspot before roaming to the second wireless hotspot. Whether the wireless hotspot can access the Internet normally, and when it is determined that the mobile terminal can access the Internet normally before roaming, reconnect to the second wireless hotspot in the ESS network. Therefore, when it is detected that the mobile terminal can access the Internet normally but cannot access the Internet after roaming, the ESS network is automatically reconnected, so that the mobile terminal can access the Internet normally and user experience is improved.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. processing to obtain the program electronically and store it in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610440216.9A CN106131906B (en) | 2016-06-16 | 2016-06-16 | Processing method and device for WiFi wireless roaming internet surfing and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610440216.9A CN106131906B (en) | 2016-06-16 | 2016-06-16 | Processing method and device for WiFi wireless roaming internet surfing and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106131906A true CN106131906A (en) | 2016-11-16 |
| CN106131906B CN106131906B (en) | 2018-02-27 |
Family
ID=57469989
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610440216.9A Active CN106131906B (en) | 2016-06-16 | 2016-06-16 | Processing method and device for WiFi wireless roaming internet surfing and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106131906B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107734528A (en) * | 2017-11-03 | 2018-02-23 | 广东欧珀移动通信有限公司 | Wireless network detection method, device, storage medium and terminal |
| CN111565477A (en) * | 2020-05-15 | 2020-08-21 | 展讯半导体(成都)有限公司 | Network connection method, wireless station, and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040203781A1 (en) * | 2002-03-14 | 2004-10-14 | Martin Lefkowitz | Context block leasing for fast handoffs |
| CN104902537A (en) * | 2014-03-07 | 2015-09-09 | 中国移动通信集团公司 | Wireless access point AP determining method, device and system |
| CN105188047A (en) * | 2015-08-26 | 2015-12-23 | 广东欧珀移动通信有限公司 | Wifi wireless roaming Internet access method and mobile terminal |
-
2016
- 2016-06-16 CN CN201610440216.9A patent/CN106131906B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040203781A1 (en) * | 2002-03-14 | 2004-10-14 | Martin Lefkowitz | Context block leasing for fast handoffs |
| CN104902537A (en) * | 2014-03-07 | 2015-09-09 | 中国移动通信集团公司 | Wireless access point AP determining method, device and system |
| CN105188047A (en) * | 2015-08-26 | 2015-12-23 | 广东欧珀移动通信有限公司 | Wifi wireless roaming Internet access method and mobile terminal |
Non-Patent Citations (1)
| Title |
|---|
| 徐茜亮等: "基于wifi的漫游切换无缝接入技术研究", 《工矿自动化》 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107734528A (en) * | 2017-11-03 | 2018-02-23 | 广东欧珀移动通信有限公司 | Wireless network detection method, device, storage medium and terminal |
| CN111565477A (en) * | 2020-05-15 | 2020-08-21 | 展讯半导体(成都)有限公司 | Network connection method, wireless station, and storage medium |
| CN111565477B (en) * | 2020-05-15 | 2022-07-05 | 展讯半导体(成都)有限公司 | Network connection method, wireless station, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106131906B (en) | 2018-02-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12177454B2 (en) | Battery efficient wireless network connection and registration for a low-power device | |
| US10171997B2 (en) | Method and apparatus for interconnection between terminal device and gateway device | |
| JP6941689B2 (en) | Smart broadcast processing method and equipment | |
| US9801120B2 (en) | Client-initiated tethering for electronic devices | |
| CN108337707B (en) | A wireless network switching method, mobile terminal and storage medium | |
| KR101889848B1 (en) | Communication system and communication method, communication apparatus and control method for the same, and storage medium | |
| CN112738745B (en) | Method for controlling network connection and related product | |
| CN104170460A (en) | Network switching method and terminal | |
| US8879531B2 (en) | Mobile router capable of automatically detecting network connection mode and performing network connection setting, and method thereof | |
| KR20200100738A (en) | Device bootstrap method, terminal, and server | |
| CN105636237A (en) | Network connection method, wireless device and system | |
| CN104469665A (en) | Data processing method and user terminals | |
| CN104378795A (en) | Automatic switching method and corresponding electronic device | |
| CN106507501B (en) | Bluetooth connection method and device | |
| CN105120458A (en) | Wireless connection method, device and system | |
| WO2025061111A1 (en) | Control method executed by internet-of-things device, and control apparatus | |
| CN106131906B (en) | Processing method and device for WiFi wireless roaming internet surfing and mobile terminal | |
| CN103973468A (en) | Processing method and processing device for automatically setting Internet surfing mode | |
| CN104837216A (en) | Method and device for reconnecting intelligent terminal with wireless intelligent equipment | |
| KR102421759B1 (en) | Apparatus and Method for Detecting Failure of Network | |
| CN105703965A (en) | Detection method and detection device for access network, and terminal | |
| KR102213325B1 (en) | Method and Apparatus for connecting Wi-Fi IoT Device to new AP | |
| CN114501495A (en) | A network quality detection method, device and storage medium | |
| CN112188593A (en) | Wireless configuration method and device, storage medium and electronic device | |
| JP7791415B2 (en) | Wireless communication system, wireless access point device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP03 | Change of name, title or address |