A method and device for updating link state of a communication port

A technology of communication port and link status, applied in the field of communication, can solve problems such as equipment work stability deterioration and service interruption, and achieve the effect of ensuring stable work, improving reliability, and taking into account sensitivity and anti-interference.

Active Publication Date: 2022-08-02
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In a network environment with poor link quality, a normal flash disconnection of the communication port, if the link status of the communication port is reported in real time, for some services, the service may be interrupted for several minutes, and the stability of the device will deteriorate

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 method and device for updating link state of a communication port
  • A method and device for updating link state of a communication port
  • A method and device for updating link state of a communication port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] The link status of communication port PORT1 and communication port PORT2 remains LINK UP unchanged

[0096] 1. The adaptive selection of communication port PORT1 is real-time update, and the adaptive selection of communication port PORT2 is delayed update;

[0097] 2. The communication port PORT1 waits for the next cycle to continue scanning the link status of the communication port PORT1;

[0098] 3. Read the LINK DOWN timer of the communication port PORT2, if the timer is not zero, clear it, and wait for the next cycle to continue to scan the link status of the communication port PORT2;

[0099] 4. The LINK UP status update of the communication port is completed.

Embodiment 2

[0101] The link status of communication port PORT1 and communication port PORT2 remains LINK UP unchanged

[0102] 1. The adaptive selection of communication port PORT1 is real-time update, and the adaptive selection of communication port PORT2 is delayed update;

[0103] 2. The communication port PORT1 waits for the next cycle to continue scanning the link status of the communication port PORT1;

[0104]3. Accumulate the LINK DOWN timer of the communication port PORT2, wait for the next cycle to continue to scan the link status of the communication port PORT2;

[0105] 4. The LINK UP status update of the communication port is completed.

Embodiment 3

[0107] The link status of communication port PORT1 and communication port PORT2 changes from LINK UP to LINK DOWN

[0108] 1. The adaptive selection of communication port PORT1 is real-time update, and the adaptive selection of communication port PORT2 is delayed update;

[0109] 2. Report the link status of the communication port PORT1 to the service module, and wait for the next cycle to continue scanning the link status of the communication port PORT1;

[0110] 3. Accumulate the LINK DOWN timer of the communication port PORT2. If the link state of the port PORT2 continues to maintain the LINK DOWN for the specified threshold time, the current LINK DOWN state will be reported to the service module; otherwise, the default link state of the communication port PORT2 is LINK UP, do not report to the service module, and scan for the next cycle.

[0111] 4. The status update of the communication port from LINK UP to LINK DOWN is completed.

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 present invention provides a method and device for updating a link state of a communication port. The updating method includes: detecting the communication quality of the communication port to obtain a detection result; and determining the status of the communication port according to the detection result. into the updated strategy. Through the technical scheme of the present invention, the link status of the communication port can be updated in real time or the link status of the communication port can be updated in a delayed manner according to the communication quality of the communication port. The invention can take into account the rapid convergence and anti-interference of the communication equipment, and ensure the stable operation of the communication equipment.

Description

technical field [0001] The present invention relates to the field of communications, in particular to a method and device for updating a link state of a communication port. Background technique [0002] At present, a synchronization mechanism is generally used to update the link status of the communication port. By reading the actual link status of the communication port, the status is updated to the software table synchronously, and the service module is notified. The service module passes the current device configuration and communication port. The link state to carry out related business actions. In general, the faster the update speed, the more sensitive the device is to react, and the anti-interference and robustness of the device are correspondingly worse. [0003] In a network environment with poor link quality, if a communication port flashes normally, if the link status of the communication port is reported in real time, for some services, the service may be interr...

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): H04L41/0813H04L43/08
CPCH04L41/0813H04L43/08
Inventor 仇兵
Owner ZTE CORP
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