Method, device and system for configuring pre-emphasis for interconnection equipment and network device

A technology for interconnecting equipment and configuration devices, applied in the field of network communication, can solve problems such as inability to cover products, reduce the versatility of pre-emphasis configuration methods, and product testing that cannot be modeled, and achieve the effect of improving versatility

Active Publication Date: 2014-12-03
RUIJIE NETWORKS CO LTD
4 Cites 29 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Its advantage is that it can quantify the signal quality of the sending end, which is more intuitive. The disadvantage is that it is impossible to test each model of product. For products of the same design, due to PCB (Printed Circuit Board, printed circuit board) differences, chip differences or case (shielding cover) , the container used to insert optical modules or copper cable modules) differences will lead to indivi...
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

Method used

In the embodiment of the present invention, two independent network equipments of interconnection are configured as VSU, and two ports of interconnection are configured as VSL, and CPU constructs pseudo-random code binary generator and carries out pseudo-random code binary sequence test, and opposite end configuration Become a pseudo-random code binary checker for verification, so as to filter out the optimal pre-emphasis configuration parameters and notify the local CPU to make it pre-emphasize configuration for the local end. And real-time monitoring of key environmental parameters that affect signal quality enables adaptive configuration, improves signa...
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

Abstract

The invention discloses a method, a device and a system for configuring pre-emphasis for interconnection equipment and a network device so as to be used for improving the universality of the pre-emphasis configuring method. The method for configuring the pre-emphasis for the interconnection equipment comprises the steps that a local terminal port and an opposite terminal port negotiate to establish a virtual switch unit (VSU) after connection between the local terminal port and the opposite terminal port is detected to be established, and the local terminal port is configured to be a port of a virtual switch link (VSL); a local terminal sequentially selects a group of pre-emphasis parameters from a pre-emphasis configuration table to configure a chip connected with the local terminal port, and continuously sends test messages to the opposite terminal within a preset length of time by using each group of the configured pre-emphasis parameters; and the chip is configured according to the effective pre-emphasis parameters selected by the opposite terminal port, and the effective pre-emphasis parameters are selected by the opposite terminal port according to a test result of the received test messages.

Application Domain

Technology Topic

Image

  • Method, device and system for configuring pre-emphasis for interconnection equipment and network device
  • Method, device and system for configuring pre-emphasis for interconnection equipment and network device
  • Method, device and system for configuring pre-emphasis for interconnection equipment and network device

Examples

  • Experimental program(1)

Example Embodiment

[0037] In order to realize the object of the present invention, in the scheme of the embodiment of the present invention, after detecting that the local port establishes a connection with the opposite port, the local end negotiates with the opposite end to set up a VSU (virtual switching unit), so that the local end and the opposite end Control messages can be exchanged between them. After the VSU is established, configure the local port as a VSL (Virtual Switching Link) port. The local end sends test packets to the peer end within a preset time period for each set of pre-emphasis parameters. Select a set of pre-emphasis parameters based on the test results in the text and notify the local end, and the local end uses the pre-emphasis parameters selected by the peer end for configuration.
[0038] The solutions in the embodiments of the present invention can be applied to the pre-emphasis configuration of interconnected devices, wherein two devices can be interconnected through a copper cable module or an optical module, but because the signal quality of the optical module is relatively stable, therefore, The embodiment of the present invention is especially applicable to two network devices interconnected through copper cable modules.
[0039] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention, and in the absence of conflict, the present invention The embodiments and the features in the embodiments can be combined with each other.
[0040] like figure 2 Shown is a schematic diagram of an application scenario of an embodiment of the present invention. Network device 1 is configured with a service card 1 , and network device 2 is configured with a service card 2 . Wherein, service card 1 includes ports XE0, XE1, and CPLD (complex programmable logic device), CPU (central processing unit) 1 and MAC (media access control) 1, and service card 2 includes ports XE0', XE1', And CPLD, CPU2 and MAC2. In each service card, the connection relationship between each device is described as follows:
[0041]The CPU and MAC are interconnected through the PCIE (Peripheral Component Interconnect Express) bus to realize the management and configuration of the MAC chip, and the CPU is responsible for processing part of the three-layer protocol message. CPU and CPLD are interconnected through local bus (LBUS, asynchronous parallel bus, often used to interface with FLASH\CPLD\UART controllers, and also commonly used for initial configuration of IO interface controllers, and even for data channels). CPLD realizes interface conversion, It is equivalent to a bridge to realize the management data communication of CPU and the management function of CPLD and other devices.
[0042] The CPU and the module (optical module/copper cable module) are interconnected through the II2 interface. The CPU is the master device, and the module is the slaver device. To realize module management, such as obtaining module type, speed and other information, it needs to pass through the II2 channel of the CPU.
[0043] The module and the mac chip are directly interconnected through high-speed serders signals. If it is a 10G optical module, the interface protocol mode is configured as an SFI (SerDes (SERializer/DESerializer) serial interface, which is a protocol defined by broadcom. It is configured when using an optical module. For this protocol mode) mode, if it is a copper cable module, configure it as CR (SerDes (SERializer/DESerializer) serial interface, which is another protocol defined by broadcom, when using a copper cable module, configure it as this protocol mode) mode.
[0044] The module and CPLD are also interconnected through the local bus, mainly to realize the signal acquisition and control of the module, such as prsent signal acquisition, rate control and so on.
[0045] In the device initialization phase, the MAC and the module are configured as the default configuration, that is, configured as SFI mode, and the pre-emphasis configuration of the PHY inside the MAC is configured as the default configuration, that is, configured as determined using the method provided in the background technology Pre-emphasis parameters.
[0046] After power-on, you can check whether the module is in place through the present signal of the CPLD and the module’s local bus interface; if the module is not in place, no operation configuration is performed; if it is in place, the CPU will identify the module type through the II2C interface and judge whether it is an optical module or a Copper module. The copper cable module is used as an example for illustration below. If it is an optical module, its pre-emphasis configuration method is the same as the pre-emphasis configuration of the network equipment connected through the copper cable module, and will not be repeated here.
[0047] During specific implementation, if it is determined to be a copper cable module, the corresponding port is configured as a CR interface type, and the CPU reads the link (connection) status register bit of the MAC through the PCIE interface. And determine whether the port is connected to the opposite port, if not connected, no operation is performed, if a connection with the opposite port is detected, the MAC chip is pre-emphasized configured according to the method provided by the embodiment of the present invention.
[0048] It should be noted that the port involved in the embodiment of the present invention refers to the entire physical port in a broad sense. For example, each port form involved in a switch is a unique port; a module refers to an optical module or a copper cable module. are hot-swappable. When you need to use the corresponding port, just insert the optical module/copper cable module into the corresponding port. Therefore, the module is a device that must exist when the port is used.
[0049] like image 3 As shown, it is a schematic diagram of the implementation flow of the interconnected device pre-emphasis configuration method in Embodiment 1 of the present invention, including the following steps:
[0050] S31. After detecting that the connection between the local port and the peer port is established, the local port negotiates with the peer port to form a VSU, and configures the local port as a virtual switching link VSL port.
[0051] During specific implementation, after the establishment of the local port and the peer port is detected, the local CPU and the peer CPU are configured to form a VSU relationship. by figure 2 Take port XE0 of service card 1 and port XE0' of service card 2 as an example. After the relationship between the two is established, CPU1 negotiates with CPU2 to form a VSU. After the VSU is established, CPU1 configures port XE0 as a VSL port, and CPU2 configures port XE0' as a VSL port. CPU1 carries the identifier of the VSU domain to which service card 1 belongs, and sends a probe message to port XE0' of service card 2 through port XE0, and at the same time, CPU2 carries the identifier of the VSU domain to which service card 2 belongs, and sends a probe message to XE0 through XE0' , two independent devices are built into a VSU system, and the master-slave hot standby relationship is determined. Assuming that CPU1 is determined to be the master, port XE0 is preferentially configured for pre-emphasis in this embodiment of the present invention.
[0052] It should be noted that, in the embodiment of the present invention, pre-emphasis configuration of port XE0 refers to the configuration of chips related to port XE0, usually the configuration of chips connected to port XE0. The MAC chip is configured.
[0053] S32. After the local end sequentially selects a set of pre-emphasis parameters from the pre-emphasis configuration table to configure the chip connected to the local end port, use each set of pre-emphasis parameters configured to continue to send to the opposite end port within a preset time period. Send a test packet.
[0054] During specific implementation, CPU1 first uses the first set of pre-emphasis parameters in the preset pre-emphasis configuration table to configure the MAC chip, and continues to send test messages to the peer port XE0' within the preset duration, and the peer port XE0' analyzes Received test message, MAC2 judges whether there is an error message in each test message, and calculates the bit error rate (in the preset time length, the number of received error messages and the received test message The ratio of the total quantity), and so on, CPU1 uses the second group, the third group...pre-emphasis parameters in the preset pre-emphasis configuration table to configure the MAC chip, and continues to XE0 to the peer port within the preset time. 'Send a test message, and MAC2 calculates the bit error rate corresponding to each set of pre-emphasis parameters in turn, until each set of pre-emphasis parameters in the pre-emphasis configuration table is traversed.
[0055] Preferably, during specific implementation, the test message can be PRBS (Pseudo-Random Binary Sequence, Pseudo-Random Binary Sequence), and CPU1 constructs the PRBS code stream, realizes a pseudo-random code binary generator, produces (0,1) between The pseudo-random binary sequence of , and continuously send the constructed PRBS code stream to the peer port XE0' through the local port XE0 within the preset time period. PRBS can be used to test the bit error rate of high-speed serial channel transmission, usually by sending PRBS codes for testing. The bit error rate obtained by using PRBS is more accurate than that obtained by using ordinary test packets.
[0056] The peer CPU verifies when it receives the PRBS code stream. PRBS verification is the reverse process of PRBS generation. The specific method is to first register the received data for one shot (parallel data), and perform PRBS encoding on the registered data. After encoding, Compare the received data with the received data. If they are consistent, it means that the PRBS check is correct and the PBRS test is passed. Otherwise, the PBRS test is not passed.
[0057] S33. Configure the chip connected to the local port according to the effective pre-emphasis parameters selected by the peer port.
[0058] During specific implementation, the peer port can judge whether an error message is received within the preset time period for each set of pre-emphasis parameters, and calculate the bit error rate according to the received error message. Take the test message as PBRS as an example ,As shown in Table 1:
[0059] Table 1
[0060] Pre-emphasis parameter identification
[0061] During specific implementation, as long as an erroneous message is received, the PBRS test result is judged to be fail (not passed), and only if all received messages do not contain an erroneous message, the PBRS test result is determined to be Pass (passed). When selecting effective pre-emphasis parameters, CPU2 first excludes the pre-emphasis parameter combinations whose test results are fail, and selects the pre-emphasis parameters whose test results are successful (that is, the number of error messages received is zero) and the bit error rate is zero Select any set of pre-emphasis parameters as effective pre-emphasis parameters and notify CPU1 through the VSL link established between XE0 and XE0', and CPU1 uses the effective pre-emphasis parameters to configure the MAC chip.
[0062] Preferably, during specific implementation, CPU2 can select the middle as an effective pre-emphasis parameter from the pre-emphasis parameters passed by the continuous test result, as shown in Table 1. The pre-emphasis parameter is identified as "N+2" and its next item The service card 1 is notified as a valid pre-emphasis parameter.
[0063] During specific implementation, after the local end (that is, the service card 1) is configured, a flip test is performed, that is, the above steps are repeated to configure the pre-emphasis parameters of the service card 2. That is, CPU2 sends a test message to CPU1, and CPU1 notifies CPU2 of the selected effective pre-emphasis parameters after parsing and analyzing, and CPU2 completes the pre-emphasis configuration of the corresponding port XE0'.
[0064] After CPU1 and CPU2 configure the local port according to the effective pre-emphasis parameters selected by the peer end, they release the established VSU and configure the local port as a common switch port respectively.
[0065] During the specific implementation, due to the change of signal quality caused by environmental changes, and the change of signal quality caused by the aging of equipment caused by the copper cable module and switch equipment, the quality of the signal transmitted between the interconnection ports of the copper cable module will change with the change of environmental parameters. decline.
[0066] In order to solve the above problems, in the embodiment of the present invention, after the pre-emphasis configuration is performed on the local port, the environmental parameters for configuring the pre-emphasis parameters can also be recorded. The chip connected to the local port configures pre-emphasis parameters. Taking the environmental parameters as time and temperature as an example, in the embodiment of the present invention, after pre-emphasis configuration is performed on the local port, the configuration time and configuration temperature are recorded (in the embodiment of the present invention, the temperature of the configured chip is used as the configuration temperature). The local CPU monitors the current time and the temperature of the current MAC chip in real time. When the time interval between the current time and the configured time is greater than the preset time interval or the current temperature and the configured temperature are greater than the preset temperature interval, it will reconnect to the local port. Chip configuration pre-emphasis parameters.
[0067] In addition, in the embodiment of the present invention, the counter register of the peer MAC chip monitors in real time whether the received message contains an error message. Once an error message is found to be received, an interrupt signal will be sent to the local CPU. After receiving the interrupt signal, reconfigure the pre-emphasis parameters for the chip connected to the local port, that is, re-execute the above steps S31 to S33.
[0068] It should be noted that, since pre-emphasis parameter configuration needs to occupy certain bandwidth resources, in order to avoid network congestion due to pre-emphasis parameter configuration occupying bandwidth resources, in the embodiment of the present invention, when it is determined that there is currently a network bandwidth margin, use Configure the pre-emphasis parameters according to the network bandwidth margin. Specifically, before re-configuring the pre-emphasis parameters, count the bandwidth occupied by the current forwarded message. If the sum of the bandwidth occupied by the pre-emphasis parameter configuration exceeds the current maximum bandwidth of the network, the pre-emphasis parameter configuration will not be re-configured. If If the sum of it and the bandwidth occupied by pre-emphasis parameter configuration does not exceed the current maximum bandwidth of the network, re-configure the pre-emphasis parameter. Thus, the dynamic configuration of the pre-emphasis parameters is realized, so that it can be dynamically adjusted with changes in environmental parameters (such as time, temperature, etc.), so as to ensure that the pre-emphasis parameters configured at any time are the current optimal configurations.
[0069]In the embodiment of the present invention, two interconnected independent network devices are configured as a VSU, and two interconnected ports are configured as a VSL. The CPU constructs a pseudo-random code binary generator to perform a pseudo-random code binary sequence test, and the opposite end is configured as a pseudo-random code binary sequence test. The code binary checker performs verification to filter out the optimal pre-emphasis configuration parameters and notify the local CPU to configure pre-emphasis on the local end. And real-time monitoring of key environmental parameters that affect signal quality enables adaptive configuration, improves signal quality stability, and enhances application robustness.
[0070] The embodiment of the present invention can be applied to any port type and adaptive configuration in any virtual switch implementation mode.
[0071] Based on the same inventive concept, the embodiment of the present invention also provides a peer-to-peer interconnection device pre-emphasis configuration method and the corresponding interconnection device pre-emphasis configuration device, network device and system, because the above method, device, device and system solve the problem The principle of the method is similar to the above-mentioned interconnected device pre-emphasis configuration method, so the implementation of the above-mentioned method, device, equipment and system can refer to the implementation of the method, and the repetition will not be repeated.
[0072] like Figure 4 As shown in , it is a schematic diagram of the implementation flow of the receiving end implementing the pre-emphasis configuration method for interconnected devices, including the following steps:
[0073] S41. After detecting that the connection between the local port and the peer port is established, the local port negotiates with the peer port to form a virtual switching unit VSU, and configures the local port as a virtual switching link VSL port.
[0074] S42. Receive the test packet sent by the peer port.
[0075] Wherein, the test message is that after the opposite end sequentially selects a set of pre-emphasis parameters from the pre-emphasis configuration table to configure the chip connected to the port of the local end, each set of pre-emphasis parameters configured is used to last for a preset period of time. sent to the local port.
[0076] S43. For each group of pre-emphasis parameters, respectively determine the test results corresponding to the group of pre-emphasis parameters.
[0077] S44. Select any set of pre-emphasis parameters whose test result satisfies the preset condition and notify the peer port.
[0078] Wherein, step S43 can respectively determine whether to receive the number of error messages and the bit error rate corresponding to the group of pre-emphasis parameters within the preset time length for each group of pre-emphasis parameters; select a set of pre-emphasis parameters from a set of pre-emphasis parameters whose number of texts and the corresponding bit error rate of the group are both zero, and notify the peer port.
[0079] like Figure 5 As shown in , it is a schematic structural diagram of the first interconnected device pre-emphasis configuration device provided by the embodiment of the present invention, including:
[0080] The VSU management unit 51 is configured to negotiate with the opposite end to form a virtual switching unit VSU after detecting that the local port establishes a connection with the opposite port, and configure the local port as a virtual switching link VSL port;
[0081] The test unit 52 is configured to sequentially select a set of pre-emphasis parameters from the pre-emphasis configuration table to configure the chip connected to the port of the local end, and use each set of pre-emphasis parameters configured to continuously report to the pair within a preset time period. The end port sends a test message;
[0082] The configuration unit 53 is configured to configure the chip according to the effective pre-emphasis parameters selected by the peer port, and the effective pre-emphasis parameters are selected by the peer port according to the test results of the received test packets.
[0083] Preferably, the test message includes a pseudo-binary sequence PRBS. The testing unit 52 can be used to construct a PRBS code stream, and continuously send the constructed PRBS code stream to the peer port within a preset time period.
[0084] During specific implementation, the above-mentioned first interconnected device pre-emphasis configuration device may also include a recording unit, wherein:
[0085] The recording unit is configured to record the environmental parameters when configuring the pre-emphasis parameters after the configuration unit configures the chip according to the effective pre-emphasis parameters selected by the peer port;
[0086] The configuration unit is further configured to reconfigure the pre-emphasis parameters for the chip when the environmental parameters change and meet the pre-emphasis parameter reconfiguration conditions.
[0087] During specific implementation, the VSU management unit 51 is also configured to release the formed VSU after configuring the chip according to the effective pre-emphasis parameters selected by the peer port, and configure the local port as a switch port; the configuration The unit 53 is further configured to reconfigure the pre-emphasis parameters for the chip when receiving an interrupt signal sent by the opposite end, wherein the interrupt signal is sent by the opposite end when the received message contains an error message.
[0088] During specific implementation, the above-mentioned first interconnection device pre-emphasis configuration device may also include a recording unit, which is used to determine whether to configure the pre-emphasis parameter element for the chip before the configuration unit 53 re-configures the pre-emphasis parameter for the chip. The sum of the occupied bandwidth and the bandwidth occupied by the current message forwarding does not exceed the maximum bandwidth of the network.
[0089] like Image 6 As shown, the second interconnected device pre-emphasis configuration device provided by the embodiment of the present invention includes:
[0090] The VSU management unit 61 is configured to negotiate with the opposite end to form a virtual switching unit VSU after detecting that the local port establishes a connection with the opposite port, and configure the local port as a virtual switching link VSL port;
[0091] The receiving unit 62 is used to receive the test message sent by the port of the opposite end. The test message is that the opposite end sequentially selects a set of pre-emphasis parameters from the pre-emphasis configuration table to configure the chip connected to the port of the local end. Each group of pre-emphasis parameters is continuously sent to the local port within the preset time period;
[0092] The determining unit 63 is configured to, for each group of pre-emphasis parameters, respectively determine the test results corresponding to the group of pre-emphasis parameters;
[0093] The selection unit 64 is configured to select any set of pre-emphasis parameters whose test results meet the preset conditions and notify the peer port.
[0094] During specific implementation, the determination unit 63 is specifically configured to determine whether the number of error messages and the bit error rate corresponding to the group of pre-emphasis parameters are received within the preset time length for each set of pre-emphasis parameters; The selection unit 64 is specifically configured to select a set of pre-emphasis parameters from a set of pre-emphasis parameters in which both the number of received error messages and the corresponding BER of the set are zero, and notify the peer port.
[0095] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Certainly, when implementing the present invention, the functions of each module (or unit) can be implemented in one or more pieces of software or hardware. For example, the above-mentioned first kind of interconnection device pre-emphasis configuration device and the above-mentioned second interconnection device pre-emphasis configuration device can be respectively set in network devices such as switches, and can also be set in network devices such as switches at the same time, and the present invention does not do this limited.
[0096] like Figure 7 As shown, it is a schematic structural diagram of an interconnected device pre-emphasis configuration system provided by an embodiment of the present invention, including a first device 71 and a second device 72, wherein the first device 71 includes the above-mentioned first interconnected device pre-emphasis configuration device, The equipment in the second network equipment has the above-mentioned second interconnection equipment pre-emphasis configuration device.
[0097] Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
[0098] The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a in real process Figure 1 process or multiple processes and/or boxes Figure 1 means for the function specified in one or more boxes.
[0099] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device is implemented in the process Figure 1 process or multiple processes and/or boxes Figure 1 function specified in one or more boxes.
[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby instructions are provided for implementing the flow in Figure 1 process or multiple processes and/or boxes Figure 1 steps of the function specified in the box or boxes.
[0101] While preferred embodiments of the present invention have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
[0102] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
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

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
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

Similar technology patents

Classification and recommendation of technical efficacy words

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