A network detection method, network detection device and intelligent terminal

A network detection device and intelligent terminal technology, applied in the field of network applications, can solve the problems that users cannot know the status of hotspots and waste user time

Inactive Publication Date: 2019-03-01
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This has resulted in many cases, because the user cannot know the status of the hotspot, and does not know that the smart terminal still cannot access the Internet after accessing the hotspot, wasting the user's time

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
  • A network detection method, network detection device and intelligent terminal
  • A network detection method, network detection device and intelligent terminal
  • A network detection method, network detection device and intelligent terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] A network detection method provided by an embodiment of the present invention is described below, please refer to figure 1 , the network detection method in the embodiment of the present invention includes:

[0028] In step 101, after the smart terminal accesses the wireless local area network, periodically obtain the parameter information of all sockets Socket in the kernel of the current smart terminal;

[0029] In the embodiment of the present invention, when the above-mentioned smart terminal accesses the wireless local area network, it may be that the smart terminal receives the connection instruction input by the user, and based on the above-mentioned connection instruction, accesses the wireless local area network determined by the above-mentioned connection instruction; In the Wi-Fi mode of the terminal, the smart terminal actively scans the wireless local area network that can be accessed in the current environment, and the smart terminal actively accesses any ...

Embodiment 2

[0056] On the basis of Embodiment 1, another network detection method provided by the embodiment of the present invention is described below, please refer to figure 2 , the network detection method in the embodiment of the present invention includes:

[0057] In step 201, after the smart terminal accesses the wireless local area network, detect whether there is a Socket in the kernel of the current smart terminal, if so, execute step 203, if not, execute step 202;

[0058] In the embodiment of the present invention, once the smart terminal accesses the wireless local area network, it can be detected whether there is a Socket in the kernel of the current smart terminal. Because when the smart terminal is in the state of being able to access the Internet, the system background of most smart terminals will actively create a Socket for TCP connection. Therefore, it can be preliminarily determined whether there is a TCP connection through the number of Sockets in the kernel.

[0...

Embodiment 3

[0069] On the basis of Embodiment 1, the third network detection method provided by the embodiment of the present invention is described below, please refer to image 3 , the network detection method in the embodiment of the present invention includes:

[0070] In step 301, after the smart terminal accesses the wireless local area network, periodically obtain the parameter information of all Sockets in the kernel of the current smart terminal;

[0071]In step 302, based on the parameter information of each Socket, judge the type of the link corresponding to each Socket respectively;

[0072] In step 303, determine the TCP status of the current network connection according to the quantitative relationship between different types of links;

[0073] In step 304, based on the TCP state of the current network connection, it is determined that the wireless local area network currently accessed by the above-mentioned smart terminal is a network that can access the Internet or a netw...

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 discloses a network detection method, a network detection device, a smart terminal and a computer readable memory medium. The network detection method comprises the steps of periodically obtaining parameter information of all sockets in a kernel of the current smart terminal after the smart terminal access a wireless local area network; judging a type of a link corresponding to each socket based on the parameter information of each socket; determining a transfer control protocol TCP state of current network connection according to a number relationship among the links of different types; and determining whether the wireless local area network currently accessed by the smart terminal is an Internet surfing available network or an Internet surfing unavailable network based on the TCP state of the current network connection. According to the scheme provided by the invention, the network state of the currently accessed wireless local area network can be known timely and the network detection speed and efficiency of the currently accessed wireless local area network can be improved.

Description

technical field [0001] The invention belongs to the field of network application technology, and in particular relates to a network detection method, a network detection device, an intelligent terminal and a computer-readable storage medium. Background technique [0002] With the rapid development of communication technologies, wireless networks, especially wireless local area networks (Wireless Local AreaNet, WLAN) have been widely used in all aspects of life. Since the wireless local area network does not need wiring and has a fast transmission speed, it can well make up for the shortcomings of the limited local area network. Currently, almost all smart terminals support access to a hot spot (Hotspot) of a wireless local area network through Wireless Fidelity (Wi-Fi) to realize an Internet access function. [0003] However, the hotspots provided in many public places are Web authentication hotspots, and users need to enter authentication information to access the Internet...

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 Patents(China)
IPC IPC(8): H04L12/26H04L29/06H04W84/12
CPCH04L43/50H04L69/162H04L69/24H04W84/12
Inventor 胡亚东刘铭宋永耀候祥
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products