Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting network availability

A detection method and detection device technology, applied in the field of mobile Internet, can solve problems such as difficulty in ensuring network connectivity, and achieve the effect of enhancing reliability and stability

Inactive Publication Date: 2017-06-13
SHENZHEN IBOX INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the embodiments of the present invention is to provide a method for detecting network availability, aiming at solving the problem that the existing user equipment is connected to WLAN and it is difficult to ensure network connectivity

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting network availability
  • Method and device for detecting network availability
  • Method and device for detecting network availability

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is an implementation flowchart of the network availability detection method provided by the embodiment of the present invention, and is described in detail as follows:

[0032] In step S101, detect whether the connected WLAN can access the external network;

[0033] The user equipment connects to the WLAN and sends a data exchange request to the external network through the WLAN network. If the data returned by the external network is received, it means that the connected WLAN can access the external network. If the data returned by the external network is not received, it means that the connected WLAN cannot access external networks.

[0034] In step S102, if the connected WLAN can access the external network, then set the available network type as WLAN;

[0035] If the connected WLAN can access the external network, obtain the delay of accessing the external network;

[0036] If the delay is within the preset delay range, set the available network type ...

Embodiment 2

[0045] The embodiment of the present invention describes the implementation flow of the network type being WLAN, which is described in detail as follows:

[0046] If the connected WLAN cannot access external networks, and mobile data cannot be used, keep the available network type as WLAN.

Embodiment 3

[0048] figure 2 It is a flow chart of processing after the network type is changed provided by the embodiment of the present invention, and is described in detail as follows:

[0049] If the connected WLAN can access the external network, after setting the available network type as WLAN, or after detecting that the mobile data is available, then setting the available network type as mobile data, the network availability detection method further includes :

[0050] In step S201, obtain the callback function registered by the application program;

[0051] In step S202, if the available network type changes, the callback function is called to notify the application program to use the network corresponding to the changed available network type.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the field of mobile internet, and provides a method and device for detecting network availability. The method for detecting the network availability comprises the following steps: detecting whether a connected WLAN (Wireless Local Area Network) can access an external network; if the connected WLAN can access the external network, then setting the available network type to be WLAN; and if the connected WLAN cannot access the external network, and mobile data are available, then setting the available network type to be the mobile data, wherein the mobile data comprise at least one of 2G data, 3G data, 4G data and 5G data. The method for detecting the network availability provided by the invention solves the problem that when the existing user equipment is connected with the WLAN, the network connectivity is difficult to guarantee; and has the following beneficial effects of enhancing the reliability and stability of the network connectivity and ensuring that the user equipment can access the external network.

Description

technical field [0001] The invention belongs to the field of mobile Internet, and in particular relates to a network availability detection method and device. Background technique [0002] With the development of technology and network technology, the mobile Internet has penetrated into all aspects of life, and network connectivity has become the most basic requirement of the mobile Internet. [0003] The current wireless mobile network is divided into two categories: wireless local area network (WLAN) and mobile network data (MobileData). [0004] The wireless local area network is free, but the mobility is poor, and the mobile network data coverage is wide, but the operator will charge the traffic fee. In order to ensure network connectivity, it is often necessary to switch back and forth between mobile network data and wireless local area network, and mobile smart devices themselves have basically realized this function. However, the current switching method has the fol...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26
Inventor 尹莉军
Owner SHENZHEN IBOX INFORMATION TECH CO LTD