Link state update method and device of communication port

A communication port and link status technology, applied in the field of communication, can solve problems such as business interruption and poor device working stability, and achieve the effects of improving reliability, ensuring stable work, and avoiding business error updates

Active Publication Date: 2017-12-26
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
  • Link state update method and device of communication port
  • Link state update method and device of communication port
  • Link state update method and device of 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

[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 scanning the link status of the communication port PORT2;

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

Embodiment 2

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

[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, and wait for the next cycle to continue scanning the link status of the communication port PORT2;

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

Embodiment 3

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

[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 business 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 status of the port PORT2 remains LINK DOWN and reaches the specified threshold time, report the current LINK DOWN status to the business module; otherwise, the default link status of the communication port PORT2 is LINK UP, do not report to the business module, and scan in 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 invention provides a link state update method and device of a communication port. The update method comprises the following steps: detecting communication quality of the communication port to obtain a detection result; and determining a strategy for updating the state of the communication port according to the detection result. Through the technical scheme provided by the invention, the link state of the communication port can be updated in real time or the link state of the communication port can be updated in delay according to the communication quality of the communication port. The fast convergence and the anti-interference performance of the communication equipment are both taken into consideration in the link state update method disclosed by the invention, and the stable work of the communication equipment is guaranteed.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method and device for updating the link state of a communication port. Background technique [0002] At present, the communication port link status update generally adopts a synchronization mechanism. By reading the actual link status of the communication port, the status is updated to the software table synchronously, and the business module is notified. The business module passes the configuration of the current device and the communication port. Link status to perform related business actions. Usually, the faster the update speed is, the more sensitive the device response speed will be, and the anti-interference and robustness of the device will be correspondingly worse. [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 se...

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/24H04L12/26
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