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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com