Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 connection speed of the optical port reaches 50ms, then the link detection task cannot detect the optical port. The connection state transition process from disconnected to connected, so that it is impossible to detect that the PHY chip has re-executed the auto-negotiation process. Then, when the auto-negotiation result obtained by the PHY chip changes from the previous time, the link detection task cannot be updated in time. The latest self-negotiation result is notified to the switch chip at the local end, so that the switch chip cannot adjust the flow control mode of the local end in time, which causes the flow control state of the switch port to be disordered, and then the communication with the communication peer is prone to packet loss. , affecting the working quality of the switch

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products