Method and apparatus setting flow control mode

A mode and consistent technology, applied in the field of communication, can solve the problems of disordered flow control status of switch ports, unable to detect the transition process of optical port connection status, and inability of switching chips to adjust flow control mode in time.

Active Publication Date: 2009-02-04
RUIJIE NETWORKS CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] However, under the existing technology, the above-mentioned link detection task is only suitable for use on ports (referred to as electrical ports) that use dielectric as the transmission medium, because the link connection speed between electrical ports is relatively slow, and the link detection task can be accurately performed. Timely detection of changes in the link connection status between electrical ports, but for ports that use optical media as the transmission medium (referred to as optical ports), the above link detection task is not applicable, because the link between optical ports The connection speed of the link is extremely fast, exceeding the execution interval of the link detection task. For example, the link detection task is executed every 500ms, and the conn

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 apparatus setting flow control mode
  • Method and apparatus setting flow control mode
  • Method and apparatus setting flow control mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031]When the switch performs self-negotiation of the flow control mode with the communication peer through the optical port, in order to maintain the consistency of the flow control functions of the switch and the communication peer, in the embodiment of the present invention, the switch obtains the current state of the local physical layer (Physical Layer, PHY) chip Saved auto-negotiation result, the self-negotiation result is used to define the flow control mode executed by the local switch chip, and determine the current flow control mode executed by the local switch chip; then, the switch uses the flow control mode defined by the self-negotiation result Compared with the flow control mode currently executed by the local switch chip, and when it is determined that the two are inconsistent, reset the flow control mode executed by the local switch chip according to the flow control mode defined by the self-negotiation result.

[0032] Preferred embodiments of the present inv...

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 discloses a method of setting the flow control model. The method is as follows: a switch obtains an auto-negotiation result currently saved by a local PHY chip, and the auto-negotiation result is used to define a flow control model executed by a local switch chip and determine a flow control model currently executed by the local switch chip; and then the switch compares the flow control model defined by the auto-negotiation result with the flow control model currently executed by the local switch chip, and when the switch determines the two are inconsistent, the switch resets the flow control model executed by the local switch chip according to the flow control model defined by the auto-negotiation result. In this way, the flow control states of the local terminal and the communication remote terminal are assured to be consistent, and the packet loss situation is avoided happening due to the disorder of the flow control state in the communication process between the local terminal and the communication remote terminal, thereby improving the work quality of the switch to a great degree and the stability of the system. The invention discloses a switch at the same time.

Description

technical field [0001] The invention relates to the fields of communication and computer, in particular to a method and device for setting a flow control mode. Background technique [0002] At present, in the communication system, the switchboard has been more and more widely used as a basic communication device, see figure 1 As shown, the switch contains multiple ports, which are slots on the switch panel to connect with other devices. In the prior art, switch ports are generally divided into two types according to their media types: dielectric ports and optical media ports; dielectric ports refer to ports that use cables as transmission media to communicate with other devices, while optical media ports refer to ports that use optical fibers as transmission media. Transmission medium, port for communication connection with other devices. [0003] In practical applications, the working mode of a switch port includes three parameters: duplex mode, rate mode and flow control...

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
IPC IPC(8): H04L12/56H04L12/937
Inventor 林峻
Owner RUIJIE NETWORKS CO LTD
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