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

Method, device and equipment for acquiring interface state

A technology of interface status and acquisition method, applied in the field of communication, can solve the problems of unable to switch interfaces, easily interrupted or switched, unable to obtain interfaces in time, etc., to achieve the effect of improving reliability

Active Publication Date: 2020-11-20
NEW H3C SECURITY TECH CO LTD
View PDF24 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But for a thread, due to its callable property, it is easy to be interrupted or switched
If the kernel-level thread is interrupted or switched during the polling process of the interface status, the status of the interface cannot be obtained in time, and the interface cannot be switched in time, which reduces the reliability of the network.

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, device and equipment for acquiring interface state
  • Method, device and equipment for acquiring interface state
  • Method, device and equipment for acquiring interface state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] In order to solve the above-mentioned technical problems, embodiments of the present invention provide a method, device, and equipment for acquiring an interface state. The method and device are applied to network equipment, and the network equipment may be a gateway, a router, a switch, a computer, etc., which are not specifically limited. The network device is provided with an interface status engine.

[0048] The method for acquiring the interface s...

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 embodiment of the invention provides an interface state acquisition method, device and equipment. The method comprises the following steps: setting an interface state engine in network equipment,monitoring, by the interface state engine, whether an interface state is changed or not, and if the interface state is changed, sending state information of a changed interface to a kernel of the network equipment. The interface state engine is not as easily interrupted or switched as threads, so that in the scheme, the interface state engine monitors the interface state; and compared with a scheme of polling the interface state by using a thread, the scheme can acquire the interface state more immediately, so that the reliability of a network is improved.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a method, device and equipment for acquiring an interface state. Background technique [0002] A computer network generally includes various network devices such as computers, gateway devices, and routers, and each network device includes one or more interfaces. Interfaces generally have two states: connected state (UP) and disconnected state (DOWN). It is usually necessary to obtain the state of the interface in order to switch the interface in time when the interface is in the disconnected state and improve the reliability of the network. [0003] At present, the solution for obtaining the state of an interface generally includes: starting a kernel-level thread, and the thread queries the state of each interface in turn. But for a thread, due to its callable property, it is easy to be interrupted or switched. If the kernel-level thread is interrupted or switc...

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/26
CPCH04L43/0811H04L43/50
Inventor 王春磊
Owner NEW H3C SECURITY TECH CO LTD