Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for judging Internet connectivity based on Linux system equipment

A technology of system equipment and judging device, applied in the field of communication, can solve the problems of network congestion, increase the operating cost of network operators, and reduce the user experience of using the network.

Active Publication Date: 2020-11-10
深圳市友华软件科技有限公司
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will lead to a large amount of detection data in the network, which will easily cause network congestion, affect network quality, and increase the burden on network servers or gateway devices, thereby increasing the operating costs of network operators and reducing users' network experience

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 judging Internet connectivity based on Linux system equipment
  • Method and device for judging Internet connectivity based on Linux system equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Further description will be made below in conjunction with the accompanying drawings and specific embodiments.

[0050] Such as figure 1 As shown, this embodiment firstly provides a method for judging the Internet connectivity of a Linux-based system device. The Linux-based system device refers to network providing devices such as network servers or gateway devices, rather than mobile phones, computers and other Internet access devices. The judgment method mainly includes the following steps,

[0051] S10: traverse all UDP sessions or TCP sessions in / proc / net / nf_conntrack;

[0052] S20: Determine whether there is a UDP session or a TCP session, satisfying the conditions:

[0053] UMax-ULeft(n)<10; or

[0054] TMax-TLeft(n)<10;

[0055] Among them, UMax is the maximum timeout time of UDP session, ULeft(n) is the remaining timeout time of the nth UDP session in / proc / net / nf_conntrack; TMax is the maximum timeout time of TCP session, TLeft(n) is / proc / net / The remain...

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 relates to a method and device for judging Internet connectivity based on Linux system equipment, and the method comprises the steps: traversing all UDP sessions or TCP sessions in / proc / net / nf_conntrack; judging whether a UDP session or a TCP session exists or not, and meeting the timeout time requirement; if so, judging whether a source address or a destination address of the UDP session or the TCP session belongs to a network connected with the current equipment or not; if so, sending an Internet connectivity detection message. According to the invention, the network connectivity is further judged through the receiving and sending history record of the effective data of the user, whether the network is connected is judged, and if the result cannot be judged, the Internet connectivity detection message is sent. According to the invention, the sending amount of detection data can be greatly reduced, the network environment is effectively purified, and the burden of a network server or gateway equipment is reduced, so that the operation cost of a network operator is reduced, and the internet surfing experience of a user is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for judging Internet connectivity of Linux system equipment. Background technique [0002] A network device is an electronic device that can connect to the Internet and access network resources. At present, almost all network devices can determine whether the Internet is connected, which can be expressed in the following ways: [0003] 1. The gateway device will prompt the user on the management page according to the Internet connectivity, whether the network dial-up is completed; [0004] 2. Smart terminals such as mobile phones will prompt the user whether to switch networks according to the Internet connectivity. [0005] If all network devices frequently detect Internet connectivity, the current common method for detecting Internet connectivity is to send detection data to network servers or gateway devices, and determine whether they are connecte...

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/26H04L29/06
CPCH04L43/0811H04L69/16H04L43/12
Inventor 王通源
Owner 深圳市友华软件科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products