A method for automatically configuring forward feedback equalization parameters of switching equipment

By switching the board and the virtual LAN port of the opposite device, the forward feedback equalization parameters are automatically calculated and configured, which solves the problem of parameter differences caused by inconsistent optical port trace length, reduces the probability of configuration errors and waste of time, and improves the Configuration efficiency of switching equipment.

CN118200130BActive Publication Date: 2024-12-13HUNAN TIANGUAN ELECTRONICS INFORMATION TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410540574.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-12-13
Estimated Expiration
2044-04-30

AI Technical Summary

Technical Problem

In special projects, due to inconsistent optical port trace lengths, the differences in forward feedback equalization parameters are caused. The existing technology requires manual adjustment, resulting in high probability of time waste and errors, especially in the absence of testers and eye charts. .

Method used

By establishing a connection with the virtual LAN port of the counterpart device through the exchange board, the forward feedback equalization parameters are automatically configured, and the time difference between sending and receiving messages is calculated for each round of messages through multiple rounds of messages, and the parameters corresponding to the minimum time difference are obtained for configuration.

Benefits of technology

Under the premise of saving time, the error probability of forward feedback equalization parameter configuration is significantly reduced, the configuration efficiency is improved, and it is suitable for switching devices with different trace lengths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118200130B_ABST
    Figure CN118200130B_ABST
Patent Text Reader

Abstract

The invention provides a method for automatically configuring forward feedback equalization parameters of a switching device, wherein a switching board is connected to a computing board of a peer device through a plurality of virtual local area network ports of the switching board; an Internet protocol address identical to the network segment of the peer device is configured for each virtual local area network port; a forward feedback equalization parameter automatic calibration process is started according to preset conditions, and multiple rounds of message interaction are performed with the computing board of the peer device through the virtual local area network port, and the time difference of sending and receiving messages in each round is calculated; the switching board obtains the minimum time difference by comparing the time difference of sending and receiving messages in each round, and uses the forward feedback equalization parameter corresponding to the minimum time difference as the forward feedback equalization parameter configured for each virtual local area network port, thereby obtaining the forward feedback equalization parameter configuration result of each virtual local area network port; and the error probability of forward feedback equalization parameter configuration of the switching device is reduced while saving time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of switch communication, and in particular to a method for automatically configuring forward feedback equalization parameters of a switching device. Background Art

[0002] In switch communication systems, the transmission distance of signals is usually long, so it is necessary to consider the propagation characteristics of signals in the far field. By using the forward feedback equalization parameters, the amplitude and phase changes of the signal during transmission can be predicted, thereby optimizing the performance of the communication system. The forward feedback equalization (FFE) parameter is an equivalent parameter used to describe the propagation characteristics of the signal in the far field. It includes two parameters: equivalent amplitude and equivalent phase. The equivalent amplitude refers to the ratio of the signal strength at the receiving point to the strength of the transmitting source when the signal is transmitted in the far field; the equivalent phase refers to the difference between the signal phase at the receiving point and the phase of the transmitting source when the signal is transmitted in the far field.

[0003] There are two main methods for calculating forward feedback equalization parameters in the prior art:

[0004] The first method is to obtain the forward feedback equalization parameters by fitting or calculating the experimental measurement data. Specifically, the forward feedback equalization parameters are obtained by measuring in the far field area, recording the signal amplitude and phase data of the receiving points in different directions, and then fitting or calculating these data. This method requires precise measurement equipment and a large amount of data, but the results are relatively accurate.

[0005] The second method is to use theoretical models and numerical methods for calculations. Specifically, it uses the basic theory and mathematical model of electromagnetic wave transmission to convert the problem into a numerical calculation problem in multiple rounds. By setting the parameters of the transmitting source, propagation medium and receiving point, the propagation characteristics of the signal in the far field are calculated, thereby obtaining the forward feedback equalization parameters. This method requires a deeper background in mathematics and physics, but has a higher computational efficiency.

[0006] In some special projects, due to the different lengths of optical port routing, the forward feedback equalization parameters are different. It is necessary to select the optimal set of forward feedback equalization parameters according to the specific routing length. However, since these special projects are not assisted by testers and eye diagrammers, other switches pre-set a set of forward feedback equalization parameters, and then manually adjust the FFE front label C0 / main label C1 / rear label C2 parameters one by one on site, and then verify the link status, which is very time-consuming and has a particularly high probability of error. Summary of the invention

[0007] The invention provides a method for automatically configuring forward feedback equalization parameters of a switching device, the purpose of which is to reduce the error probability of configuring the forward feedback equalization parameters of the switching device under the premise of saving time.

[0008] In order to achieve the above object, the present invention provides a method for automatically configuring forward feedback equalization parameters of a switching device, comprising:

[0009] Step 1: The switch card establishes a connection with the computing card of the peer device through its own multiple virtual LAN ports, where the virtual LAN ports are optical ports with Internet Protocol addresses.

[0010] Step 2, the switch card configures an Internet Protocol address for each virtual LAN port that is the same as the Internet Protocol address network segment of the peer device;

[0011] Step 3: For each virtual LAN port, the switch card starts the automatic calibration process of the forward feedback equalization parameters according to the preset conditions to poll the virtual LAN port to configure the forward feedback equalization parameters, and performs multiple rounds of message interaction with the computing card of the opposite device through the virtual LAN port, and calculates the time difference of sending and receiving messages in each round;

[0012] Step 4: The switch board obtains the minimum time difference by comparing the time difference of sending and receiving messages in each round, and uses the forward feedback equalization parameter corresponding to the minimum time difference as the forward feedback equalization parameter configured for each virtual LAN port, thereby obtaining the forward feedback equalization parameter configuration result of each virtual LAN port.

[0013] Specifically, the preconditions are:

[0014]

[0015] Among them, C0 represents the front mark, C1 represents the main mark, C2 represents the rear mark, and C0, C1, and C2 are all forward feedback equalization parameters.

[0016] Specifically, multiple rounds of message interaction are performed with the computing board of the peer device through the virtual LAN port, including:

[0017] Establishing a mapping table for reflecting the mapping relationship between the virtual local area network port, the port Internet Protocol address of the switch board, and the port Internet Protocol address of the computing board, and constructing a network control protocol request message according to the mapping table;

[0018] For each virtual LAN port, the network control protocol request message is sent to the computing card of the opposite device through the virtual LAN port in multiple rounds and the packet sending time of each virtual LAN port in each round is recorded;

[0019] For each virtual LAN port, the peer device sends a constructed network control protocol response message through the virtual LAN port according to the received network control protocol request message. The calibration switch receives the network control protocol response message and records the packet receiving time of each virtual LAN port in each round.

[0020] Further, the source Internet Protocol address of the network control protocol request message is the Internet Protocol address of the switching board, the destination Internet Protocol address of the network control protocol request message is the Internet Protocol address of the computing board, the source physical address of the network control protocol request message is the physical address of the switching board, and the destination physical address of the network control protocol request message is the physical address of the corresponding interface on the computing board.

[0021] Specifically, the switch board includes:

[0022] Central processing unit, switching chip, physical layer interface chip, multiple optical ports, multiple network ports;

[0023] The first data transmission end of the central processing unit is connected to the first data transmission end of the switching chip, the second data transmission end of the central processing unit is connected to the first data transmission end of the physical layer interface chip, the third data transmission end of the central processing unit is connected to the data transmission end of the computing board in the opposite device through multiple network ports, the second data transmission end of the switching chip is connected to the second data transmission end of the physical layer interface chip, and the third data transmission end of the switching chip is connected to the data transmission end of the computing board in the opposite device through multiple optical ports.

[0024] Furthermore, the switch board also includes Nor flash memory chips, NAND flash memory chips, and multiple DDR3 memory chips;

[0025] The data transmission end of the Nor flash storage chip is connected to the fourth data transmission end of the central processing unit;

[0026] The data transmission end of the NAND flash storage chip is connected to the fifth data transmission end of the central processing unit;

[0027] The data transmission end of each DDR3 memory chip is connected to the sixth data transmission end of the central processing unit.

[0028] Furthermore, the switch card also includes a power management unit;

[0029] The input end of the power management unit is connected to the mains end, and the output end of the power management unit is respectively connected to the power end of the central processor, the power end of the switching chip, and the power end of the physical layer interface chip.

[0030] Further, the number of optical ports is 6;

[0031] The optical port is integrated into the virtual LAN port, and the optical port corresponds to the virtual LAN port one by one;

[0032] Each optical port is connected to the data transmission end of the computing board of the opposite device through a VPX connector.

[0033] The above scheme of the present invention has the following beneficial effects:

[0034] The present invention establishes a connection between a switching board and a computing board of a peer device through multiple virtual local area network ports of the switching board; configures an Internet Protocol address that is the same as the Internet Protocol address network segment of the peer device for each virtual local area network port; for each virtual local area network port, starts a forward feedback equalization parameter automatic calibration process according to preset conditions to poll and configure forward feedback equalization parameters for the virtual local area network port, and performs multiple rounds of message interaction with the computing board of the peer device through the virtual local area network port, and calculates the time difference of sending and receiving messages in each round; the switching board obtains the time difference of sending and receiving messages in each round by comparing the time difference of sending and receiving messages in each round. The minimum time difference is calculated, and the forward feedback equalization parameter corresponding to the minimum time difference is used as the forward feedback equalization parameter configured for each virtual LAN port, so as to obtain the forward feedback equalization parameter configuration result of each virtual LAN port; compared with the prior art, the present invention automatically calculates the time difference of sending and receiving messages in each round through the switching board, compares the time difference of sending and receiving messages in each round, and uses the forward feedback equalization parameter corresponding to the minimum time difference as the forward feedback equalization parameter configured for each virtual LAN port, thereby reducing the error probability of the forward feedback equalization parameter configuration of the switching equipment under the premise of saving time.

[0035] Other beneficial effects of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a flow chart of an embodiment of the present invention;

[0037] Figure 2 This is a schematic diagram of module connection of a switch board in an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a scenario in which a test base plate is used in an embodiment of the present invention;

[0039] Figure 4 The diagram is a schematic diagram of a scenario in which an on-site machine frame is used in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0042] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a locking connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0043] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0044] The invention aims at the existing problems and provides a method for automatically configuring forward feedback equalization parameters of a switching device.

[0045] like Figure 1 As shown, an embodiment of the present invention provides a method for automatically configuring forward feedback equalization parameters of a switching device, comprising:

[0046] Step 1: The switch card establishes a connection with the computing card of the peer device through its own multiple virtual LAN ports, where the virtual LAN ports are optical ports with Internet Protocol addresses.

[0047] Step 2, the switch card configures an Internet Protocol address for each virtual LAN port that is the same as the Internet Protocol address network segment of the peer device;

[0048] Step 3: For each virtual LAN port, the switch card starts the automatic calibration process of the forward feedback equalization parameters according to the preset conditions to poll the virtual LAN port to configure the forward feedback equalization parameters, and performs multiple rounds of message interaction with the computing card of the opposite device through the virtual LAN port, and calculates the time difference of sending and receiving messages in each round;

[0049] Step 4: The switch board obtains the minimum time difference by comparing the time difference of sending and receiving messages in each round, and uses the forward feedback equalization parameter corresponding to the minimum time difference as the forward feedback equalization parameter configured for each virtual LAN port, thereby obtaining the forward feedback equalization parameter configuration result of each virtual LAN port.

[0050] Most preferably, Figure 2 As shown, the switch board includes:

[0051] Central processing unit, switching chip, physical layer interface chip, multiple optical ports, multiple network ports;

[0052] The first data transmission end of the central processing unit is connected to the first data transmission end of the switching chip, the second data transmission end of the central processing unit is connected to the first data transmission end of the physical layer interface chip, the third data transmission end of the central processing unit is connected to the data transmission end of the computing board in the opposite device through multiple network ports, the second data transmission end of the switching chip is connected to the second data transmission end of the physical layer interface chip, and the third data transmission end of the switching chip is connected to the data transmission end of the computing board in the opposite device through multiple optical ports.

[0053] In the embodiment of the present invention, the working principle of the switch board is as follows:

[0054] The computing board of the opposite device transmits the data of the opposite device to the physical layer interface chip through the network port, and the physical layer interface chip transmits the data to the central processing unit for processing. The central processing unit configures an Internet Protocol address with the same network segment as the Internet Protocol address of the opposite device for each optical port (virtual LAN port), and starts the automatic calibration process of the forward feedback equalization parameters according to the preset conditions and constructs a network control protocol request message, and sends the network control protocol request message to the computing board of the opposite device through the virtual LAN port for multiple rounds and records the packet sending time of each virtual LAN port in each round. The opposite device sends the constructed network control protocol response message through the virtual LAN port according to the received network control protocol request message, and the calibration switch receives the network control protocol response message and records the packet receiving time of each virtual LAN port in each round, and polls the multiple optical ports to configure the forward feedback equalization parameters of the virtual LAN port according to the time difference of sending and receiving packets.

[0055] It should be noted that the central processing unit can adopt a system-on-a-Chip (SOC) integrated inside the switching chip, or it can exist independently as an external central processing unit (CPU); in the embodiment of the present invention, the central processing unit uses the Loongson 2K1000 dual-core processor chip for the field of network security and mobile intelligent terminals, which integrates two GS264 processor cores, and the chip peripheral interfaces include two PCIE2.0, one SATA2.0, 4 USB2.0, two DVO, 64-bit DDR2 / 3 and other interfaces, which can meet the needs of mid- and low-end network security application fields and provide corresponding interfaces for its extended applications. The central processing unit has an external serial port for debugging and configuration and a management interface for management, and the central processing unit is connected to the switching chip through PCIE.

[0056] The embodiment of the present invention takes the debugging of the serial backplane copper wire BASE-KR of the Centec CTC5160 switching chip as an example, based on some characteristics of the FFE parameter configuration of the Centec CTC5160 chip:

[0057] The parallel bus interface SerDes TX direction of Centec CTC5160 integrates a 3rd-order FFE forward filter, which can pre-configure the parameters of the three taps of the filter according to the channel attenuation to compensate for the channel attenuation in advance. The three parameters are the front mark C0, the main mark C1, and the rear mark C2.

[0058] The FFE parameters of Centec CTC5160, C0 / C1 / C2 need to satisfy certain relationships when used. The specific relationships are as follows:

[0059]

[0060] Among them, C0 represents the front mark, C1 represents the main mark, C2 represents the rear mark, and C0, C1, and C2 are all forward feedback equalization parameters; the above relationship is used as a preset condition for starting the automatic calibration process of the forward feedback equalization parameters.

[0061] The most preferred embodiment is that the switching chip configures 12 parallel bus interfaces (serdes) into a quad serial gigabit media independent interface (QSGMII) mode, and hangs 6 physical layer interface chips (PHY, Physical Layer), referred to as PHY chips. The model of the physical layer interface chip is CTC1108, and the uplink port of the physical layer interface chip is configured into QSGMII mode, so one port can lead to four network ports. Therefore, the switching board can lead to 48 BASE-T network ports, and each network port is connected to the computing board of the opposite device through a VPX connector.

[0062] Most preferably, the number of optical ports is 6;

[0063] The optical ports correspond one to one with the virtual LAN ports;

[0064] Each optical port is connected to the data transmission end of the computing board of the opposite device through a VPX connector.

[0065] In the embodiment of the present invention, six XFI mode 10G-KR optical ports are directly brought out from the switching chip CTC5160 through a parallel bus interface, and the six optical ports are connected to the computing board of the opposite device through a VPX connector.

[0066] It should be noted that XFI is a 10 Gigabit per second chip-to-chip electrical interface specification. Its main applications are 10Gigabit Ethernet, 10 Gigabit per second Fibre Channel, SONETOC-192, SDHSTM-64, 10 Gigabit per second OTNOTU-2, and parallel fiber links.

[0067] Most preferably, the switch board also includes a Nor flash memory chip for system startup, a NAND flash memory chip for storing system files, and a plurality of DDR3 memory chips for storing sent and received messages;

[0068] The data transmission end of the Nor flash storage chip is connected to the fourth data transmission end of the central processing unit;

[0069] The data transmission end of the NAND flash storage chip is connected to the fifth data transmission end of the central processing unit;

[0070] The data transmission end of each DDR3 memory chip is connected to the sixth data transmission end of the central processing unit.

[0071] In the embodiment of the present invention, the data transmission end of the Nor flash storage chip is connected to the fourth data transmission end of the central processing unit through a serial peripheral interface (SPI, Serial Peripheral Interface).

[0072] Most preferably, the switch board also includes a power management unit for providing a stable power supply to each functional chip in the switch board;

[0073] The input end of the power management unit is connected to the mains end, and the output end of the power management unit is respectively connected to the power end of the central processor, the power end of the switching chip, and the power end of the physical layer interface chip.

[0074] In an embodiment of the present invention, the switching board also includes an indicator light, which is an indicator light of 6 10G optical ports, whose power supply end is connected to the output end of the power management unit, and whose control end is output from the serial port of the switching chip through the shift register 74HC164.

[0075] In the embodiment of the present invention, since the difference in FFE parameters is mainly caused by the inconsistency of the wiring length, the forward feedback equalization parameter configuration is performed by using the test baseboard and the field machine frame to establish a connection between the virtual LAN port of the switching board and the computing board of the opposite device, as follows:

[0076] like Figure 3 As shown, if a test baseboard is used to bring out the 10G-KR port in XFI mode through the parallel bus interface of Centec CTC5160, the wiring length on the switch board is the wiring length from the parallel bus interface of CTC5160 to the VPX connector, which is recorded as L1. Then the total wiring length of each 10G port is L1 plus the length L2 on the test baseboard. L2 refers to the distance from the VPX connector to the optical port, so the total wiring length of each virtual LAN port is L=L1+L2.

[0077] like Figure 4 As shown, if a field frame is used, the switch board is inserted into the VPX connector of the backplane frame, and multiple computing boards are also inserted into the backplane through the VPX connector. The wiring length from the VPX connector at the switch board end to the VPX connector at the computing board end is recorded as L3, and the wiring length from the VPX connector at the computing board end to the optical interface of the processing chip in the computing board is recorded as L4. The total wiring length of each virtual LAN port in the field frame is L=L1+L2+L3+L4.

[0078] Specifically, take the on-site chassis as an example. In the on-site chassis, the switch board and computing board are plugged in through the VPX connector, and the entire chassis is powered on to ensure that each board starts normally and enters the configuration system. The IP address of the peer device is also configured and saved to the switch board.

[0079] Specifically, multiple rounds of message interaction are performed with the computing board of the peer device through the virtual LAN port, including:

[0080] Establishing a mapping table for reflecting the mapping relationship between the virtual local area network port, the port Internet Protocol address of the switch board, and the port Internet Protocol address of the computing board, and constructing a network control protocol request message according to the mapping table;

[0081] For each virtual LAN port, the network control protocol request message is sent to the computing card of the opposite device through the virtual LAN port in multiple rounds and the packet sending time of each virtual LAN port in each round is recorded;

[0082] For each virtual LAN port, the peer device sends a constructed network control protocol response message through the virtual LAN port according to the received network control protocol request message. The calibration switch receives the network control protocol response message and records the packet receiving time of each virtual LAN port in each round.

[0083] Specifically, the source Internet Protocol address of the network control protocol request message is the Internet Protocol address of the switching board, the destination Internet Protocol address of the network control protocol request message is the Internet Protocol address of the computing board, the source physical address of the network control protocol request message is the physical address of the switching board, and the destination physical address of the network control protocol request message is the physical address of the corresponding interface on the computing board.

[0084] In the embodiment of the present invention, the mapping table is shown in Table 1 below:

[0085] Table 1

[0086] Switch board IP address The computing board IP address of the peer device Port 1 10.1.1.1 10.1.1.2 Port 2 10.2.1.1 10.2.1.2 Port 3 10.3.1.1 10.3.1.2 Port 4 10.4.1.1 10.4.1.2 Port 5 10.5.1.1 10.5.1.2 Port 6 10.6.1.1 10.6.1.2

[0087] The switch card starts the FFE parameter automatic calibration process, referred to as the Z process. At this time, the Z process polls and configures the six 10G KR optical ports.

[0088] Taking port 1 as an example, port 1 configures FFE parameters according to preset conditions in a loop, and then process Z queries the IP mapping relationship of port 1 according to the mapping table, and obtains the IP address of the switch board as 10.1.1.1, and the IP address of the computing board of the peer device as 10.1.1.2; constructs a network control protocol (ICMP, Internet Control Message The source IP of the message is the IP of the switch board, that is, 10.1.1.1, the destination IP is the IP of the computing board, that is, 10.1.1.2, the source MAC address is the MAC address of the switch board itself, and the destination MAC address is the MAC address of the interface in computing board 1 with the IP address of 10.1.1.2. The time of sending the network control protocol request message is recorded as the sending time T1. If the interface corresponding to the IP address of 10.1.1.2 in computing board 1 receives the network control protocol request message, it will respond with a network control protocol response message. The Z process in the switch board receives the device of the opposite end. The network control protocol response message sent by the standby device is recorded as the time of receiving the network control protocol response message as the message receiving time T2. The Z process will time out if it waits for a maximum of 1 second. If it times out, it is considered that the link is completely disconnected. If it times out, T2 will be recorded as T1+1. The time difference between each message sending and receiving is calculated using the formula T=T2-T1, and the minimum time difference is obtained and saved in DDR3. At the same time, the specific parameter values ​​of C0 / C1 / C2 in the FFE parameters are saved; until the specific parameter values ​​of C0 / C1 / C2 meet the preset conditions, the FFE parameter configuration is completed, that is, the minimum time difference can be obtained, and the FFE parameters corresponding to the minimum time difference are used as the optimal and most reasonable FFE parameters; and this set of FFE parameters is saved to the NAND of the switch board. The automatic configuration parameters are saved in flash as startup configuration parameters so that they can continue to be used after the switch board is powered off and started up; similarly, the parameters of other ports are configured in the same way as port 1 to obtain the configuration results of the FFE parameters of each virtual LAN port; this operation eliminates manual configuration and human errors, and can also save a lot of time. You only need to set up the environment, start automatic configuration, and wait for completion. In addition, the same device can be automatically configured and used in customer A's frame and in customer B's frame, and the software version does not need to be changed.

[0089] The Z process in the embodiment of the present invention can simultaneously start the multi-threaded mode, and multiple ports can simultaneously perform FFE parameter configuration without affecting each other, which can speed up the automatic verification time of the entire switch board.

[0090] The embodiment of the present invention establishes a connection between a switch board and a computing board of a peer device through its own virtual local area network port; configures an Internet Protocol address that is the same as the Internet Protocol address network segment of the peer device for each virtual local area network port; for each virtual local area network port, starts a forward feedback equalization parameter automatic calibration process according to preset conditions to poll and configure forward feedback equalization parameters for the virtual local area network port, and performs multiple rounds of message interaction with the computing board of the peer device through the virtual local area network port, and calculates the time difference of sending and receiving messages in each round; the switch board obtains the most accurate information by comparing the time difference of sending and receiving messages in each round. The invention provides a method for calculating the time difference between two virtual LAN ports and a forward feedback equalization parameter configured for each virtual LAN port. The method calculates the time difference between two virtual LAN ports and the ... reduces the error probability of the forward feedback equalization parameter configuration of the switching device while saving time.

[0091] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for automatically configuring forward feedback equalization parameters of a switch card, characterized in that: include: Step 1: The switch card establishes a connection with the computing card of the opposite device through its own multiple virtual LAN ports, wherein the virtual LAN ports are optical ports with Internet Protocol addresses; Step 2, the switch card configures an Internet Protocol address for each virtual LAN port that is the same as the Internet Protocol address segment of the peer device; Step 3, for each of the virtual LAN ports, the switching board starts the automatic calibration process of the forward feedback equalization parameters according to the preset conditions to poll the virtual LAN port to configure the forward feedback equalization parameters, and performs multiple rounds of message interaction with the computing board of the opposite device through the virtual LAN port, and calculates the time difference of sending and receiving messages in each round; The preset conditions are: Among them, C0, C1, and C2 are parameters of the three taps of the filter in the switch chip in the switch board. C0 represents the front mark, C1 represents the main mark, and C2 represents the rear mark. They are all forward feedback equalization parameters. The performing multiple rounds of message interaction with the computing board of the opposite device through the virtual local area network port includes: Establishing a mapping table for reflecting the mapping relationship between the virtual local area network port, the port Internet Protocol address of the switch board, and the port Internet Protocol address of the computing board, and constructing a network control protocol request message according to the mapping table; For each of the virtual local area network ports, the network control protocol request message is sent to the computing board of the opposite device through the virtual local area network port in multiple rounds and the packet sending time of each of the virtual local area network ports is recorded; For each of the virtual LAN ports, the peer device sends a constructed network control protocol response message through the virtual LAN port according to the received network control protocol request message, and the calibration switch receives the network control protocol response message and records the packet receiving time of each of the virtual LAN ports; Step 4, the switching board obtains the minimum time difference by comparing the time difference of sending and receiving messages in each round, and uses the forward feedback equalization parameter corresponding to the minimum time difference as the forward feedback equalization parameter configured for each virtual LAN port, to obtain the forward feedback equalization parameter configuration result of each virtual LAN port.

2. The method for automatically configuring forward feedback equalization parameters of a switch board according to claim 1, characterized in that: The source Internet Protocol address of the network control protocol request message is the Internet Protocol address of the switching board, the destination Internet Protocol address of the network control protocol request message is the Internet Protocol address of the computing board, the source physical address of the network control protocol request message is the physical address of the switching board, and the destination physical address of the network control protocol request message is the physical address of the corresponding interface on the computing board.

3. The method for automatically configuring forward feedback equalization parameters of a switch board according to claim 2, characterized in that: The switch board includes: Central processing unit, switching chip, physical layer interface chip, multiple optical ports, multiple network ports; The first data transmission end of the central processing unit is connected to the first data transmission end of the switching chip, the second data transmission end of the central processing unit is connected to the first data transmission end of the physical layer interface chip, the third data transmission end of the central processing unit is connected to the data transmission end of the computing board in the opposite device through multiple network ports, the second data transmission end of the switching chip is connected to the second data transmission end of the physical layer interface chip, and the third data transmission end of the switching chip is connected to the data transmission end of the computing board in the opposite device through multiple optical ports.

4. The method for automatically configuring forward feedback equalization parameters of a switch board according to claim 3, characterized in that: The switch board also includes a Nor flash memory chip, a NAND flash memory chip, and a plurality of DDR3 memory chips; The data transmission end of the Nor flash storage chip is connected to the fourth data transmission end of the central processing unit; The data transmission end of the NAND flash storage chip is connected to the fifth data transmission end of the central processing unit; The data transmission end of each of the DDR3 memory chips is connected to the sixth data transmission end of the central processing unit.

5. The method for automatically configuring forward feedback equalization parameters of a switch board according to claim 4, characterized in that: The switch board also includes a power management unit; The input end of the power management unit is connected to the mains power end, and the output end of the power management unit is respectively connected to the power end of the central processing unit, the power end of the switching chip, and the power end of the physical layer interface chip.

6. The method for automatically configuring forward feedback equalization parameters of a switch board according to claim 5, characterized in that: The number of optical ports is 6; The optical ports correspond one-to-one to the virtual LAN ports; Each of the optical ports is connected to the data transmission end of the computing board of the opposite device through a VPX connector.

Citation Information

Patent Citations

  • Optical interconnection communication method and system

    CN113132014A

  • HDMI signal adjustment method and device, and storage medium

    CN113132792A

  • Switch port test method, system and device and storage medium

    CN115150303A

  • Transmitter equalization optimization for ethernet chip-to-module (C2M) compliance

    US20240022458A1