Method and system for establishing server transport protocol optical interconnection link

Through the interaction between the control unit and the photoelectric conversion component and the transmission protocol chip, the bandwidth and distance limitation and compatibility problems of traditional electrical interconnection transmission methods are solved, and a stable PCIe and CXL optical interconnection chain is realized. improves transmission performance and distance.

CN119030615APending Publication Date: 2024-11-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410963480.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

When traditional electrical interconnection transmission methods face the data transmission requirements of high-performance PCIe and CXL interconnection systems, the transmission bandwidth and distance are limited, and conventional optical modules cannot be compatible with PCIe and CXL protocols, resulting in code errors and link interruptions, and cannot Establish a stable optical interconnection link.

Method used

Through the interaction between the control unit and the photoelectric conversion component and the transmission protocol chip, the link training status and working status are monitored, and the register information is adjusted to ensure that the optical interconnection link is established stably in the link ready state, avoiding blindly skipping incompatibility Misjudgment of link status caused by the process.

Benefits of technology

实现了服务器传输协议光互连链路的稳定建立,提高了信号传播距离和降低了跨协议转换的延迟和成本,构建了高性能的大规模互连网络。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030615A_ABST
    Figure CN119030615A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a server transport protocol optical interconnection link establishment method and system, and relates to the technical field of computer systems and information interaction, a control unit interacts with a photoelectric conversion assembly through a first control signal, and the control unit is interactively connected with a transport protocol chip through a second control signal. The photoelectric conversion assembly is connected with the transmission protocol chip to form an optical interconnection link, and the method comprises the steps of determining that the optical interconnection link enters a link training state in response to the received second control signal; in the link training state, identifying a second control signal, and determining the current state of the link; acquiring a first control signal in response to the current state of the link being a reset initial state; determining the working state of the photoelectric conversion assembly according to the first control signal; and adjusting the first register information of the transport protocol chip according to the working state until the current state of the link is in the link preparation state. According to the embodiment of the invention, the server can stably establish the transmission protocol optical interconnection link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer systems and information interaction, and in particular to a method for establishing a server transmission protocol optical interconnection link, a system for establishing a server transmission protocol optical interconnection link, a server and a storage medium. Background Art

[0002] PCIe (Peripheral Component Interconnect Express) and CXL (Computer Express) protocols are high-speed serial computer expansion bus standards, mainly used to expand the data throughput of computer system buses and improve the communication speed of devices. Currently, PCIe data signals are mainly constructed through electrical interconnection, including PCB (printed circuit board) board-level copper wires and copper cables. Although the traditional electrical interconnection transmission method is mature and widely used, in the face of the growing demand for data transmission, its transmission bandwidth and transmission distance limitations have gradually become prominent, and it can no longer meet the needs of high-performance PCIe and CXL interconnection system construction. Optical interconnection technology can achieve longer distances, higher bandwidths and lower latency, but the PCIe protocol and CXL protocol require link training to establish a connection link during the link establishment process. Conventional optical modules are not compatible with them, which will cause bit errors or link interruptions, and it is impossible to establish a stable PCIe or CXL optical interconnection link. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a method for establishing a server transmission protocol optical interconnection link, a system for establishing a server transmission protocol optical interconnection link, a server and a storage medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problems, in a first aspect of the present invention, an embodiment of the present invention discloses a method for establishing a server transmission protocol optical interconnection link, which is applied to a control unit, wherein the control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit is interactively connected with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the method includes:

[0005] In response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0006] In the link training state, identifying the second control signal and determining the current state of the link;

[0007] In response to the current state of the link being a reset initial state, acquiring the first control signal;

[0008] determining the working state of the photoelectric conversion component according to the first control signal;

[0009] The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

[0010] Optionally, after entering the link preparation state, the optical interconnection link enters a full-power active state based on a preset transmission rate; the method further includes:

[0011] In response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state;

[0012] In response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal;

[0013] In response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip;

[0014] In response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal;

[0015] In response to the current state of the link not being in the low power consumption state, the step of determining that the optical interconnection link enters a link training state is performed.

[0016] Optionally, the second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0017] In response to the working state being in place and working normally, reading error information of a bit error rate register of the transmission protocol chip;

[0018] Clear the error information of the bit error rate register of the transmission protocol chip.

[0019] Optionally, the second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0020] In response to the working state being in place and working normally, reading error information of an advanced error reporting register of the transmission protocol chip;

[0021] Clear the error information of the advanced error reporting register of the transmission protocol chip.

[0022] Optionally, the step of identifying the second control signal and determining the current state of the link includes:

[0023] In response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

[0024] Optionally, the step of determining the working state of the photoelectric conversion component according to the first control signal includes:

[0025] The first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

[0026] Optionally, the step of adjusting the first register information of the transmission protocol chip according to the working state includes:

[0027] In response to the in-position information of the photoelectric conversion component being in-position and the working information being normal, reading a reset initial flag of a reset initial register;

[0028] The reset initialization flag is set so that the optical interconnection link skips the reset initialization state corresponding to the reset initialization flag.

[0029] In a second aspect of the present invention, an embodiment of the present invention discloses a server transmission protocol optical interconnection link establishment system, comprising: a control unit interacts with an optoelectronic conversion component through a first control signal, the control unit is interactively connected with a transmission protocol chip through a second control signal, the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the control unit is configured to perform the following steps:

[0030] In response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0031] In the link training state, identifying the second control signal and determining the current state of the link;

[0032] In response to the current state of the link being a reset initial state, acquiring the first control signal;

[0033] determining the working state of the photoelectric conversion component according to the first control signal;

[0034] The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

[0035] In the third aspect of the present invention, an embodiment of the present invention discloses a server, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the server transmission protocol optical interconnection link establishment method as described above.

[0036] In a fourth aspect of the present invention, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the server transmission protocol optical interconnection link establishment method as described above are implemented.

[0037] The embodiments of the present invention include the following advantages:

[0038] In the embodiment of the present invention, a control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit interacts with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link; the control unit determines that the optical interconnection link enters a link training state in response to receiving the second control signal; in the link training state, the second control signal is identified to determine the current state of the link; in response to the current state of the link being a reset initial state, the first control signal is acquired; the working state of the optoelectronic conversion component is determined according to the first control signal; the first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link preparation state. The control unit monitors the working state of the optoelectronic conversion component and the information of the transmission protocol chip on the link training state, and processes the link state according to the working state of the optoelectronic conversion component, so as to avoid misjudgment of the link state caused by blindly skipping incompatible processes, thereby realizing the stable establishment of a server transmission protocol optical interconnection link by the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a flow chart of steps for establishing an optical interconnection link of a server transmission protocol according to an embodiment of the present invention;

[0040] Figure 2 It is an application schematic diagram of an embodiment of establishing an optical interconnection link of a server transmission protocol of the present invention;

[0041] Figure 3 is a flowchart of another embodiment of establishing a server transmission protocol optical interconnection link of the present invention;

[0042] Figure 4 Another embodiment of the server transmission protocol optical interconnection link establishment embodiment of the present invention is a schematic diagram of a device Figure 1 ;

[0043] Figure 5Another embodiment of the server transmission protocol optical interconnection link establishment embodiment of the present invention is a schematic diagram of a device Figure 2 ;

[0044] Figure 6 Another embodiment of the server transmission protocol optical interconnection link establishment embodiment of the present invention is a schematic diagram of a device Figure 3 ;

[0045] Figure 7 is a flow chart of steps for establishing an example of a server transmission protocol optical interconnection link of the present invention;

[0046] Figure 8 is a structural block diagram of a server provided by an embodiment of the present invention;

[0047] Fig. 9 It is a structural block diagram of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] Reference Figure 1 , showing a flow chart of the steps of an embodiment of a method for establishing a server transmission protocol optical interconnection link of the present invention, the method for establishing a server transmission protocol optical interconnection link is applied to a control unit, the control unit interacts with the optoelectronic conversion component through a first control signal, the control unit interacts with the transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected to the transmission protocol chip to form an optical interconnection link. Among them, the transmission protocol chip refers to a chip that supports the PCIe / CXL protocol, including but not limited to CPU (central processing unit), GPU (graphics processing unit), PCIeRetimer (PCIe driver), CXL Retimer (CXL driver), etc. The control unit can be an independent chip, such as a CPLD (Complex Programmable Logic Device) in a server, or it can be an internal module that supports a PCIe / CXL protocol chip. Figure 2 As shown, it may include a PCIe / CXL protocol chip 11, an optoelectronic conversion component 12, and a control unit 13. A first electrical signal 101 exchanged between the PCIe / CXL protocol chip and the optoelectronic conversion component, a first optical signal 102 externally received and sent by the optoelectronic conversion component, a first control signal 201 detected by the control unit in the working state of the optoelectronic conversion component, and a second control signal 202 communicated between the control unit and the PCIe / CXL protocol chip.

[0050] The server transmission protocol optical interconnection link establishment method may specifically include the following steps:

[0051] Step 101, in response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0052] The control unit may monitor register information in the transmission protocol chip, and upon receiving the second control signal for the first time, may determine that the optical interconnection link enters a link training state.

[0053] Step 102, in the link training state, identifying the second control signal and determining the current state of the link;

[0054] When the optical interconnection link is in the link training state, the control unit will continue to identify the second control signal in the transmission protocol chip, and determine the current link state of the optical interconnection link through the information in the second control signal.

[0055] Step 103, in response to the current state of the link being a reset initial state, acquiring the first control signal;

[0056] When it is detected that the current state of the link is a reset initial state, that is, no receiving end that can receive signals can be detected at present, the optical interconnection link is in a reset initial state after reset. In response to the current state of the link being a reset initial state, a first control signal of the optoelectronic conversion component can be obtained to identify whether an error currently occurs.

[0057] Step 104, determining the working state of the photoelectric conversion component according to the first control signal;

[0058] The working state of the optoelectronic conversion component is determined according to the first control signal, thereby judging whether an error occurs in the current optical interconnection link.

[0059] Step 105: adjust the first register information of the transmission protocol chip according to the working state until the current state of the link is in a link ready state.

[0060] According to the working status detected, the first register information corresponding to the relevant register of the transmission protocol chip is adjusted until the current link state of the optical interconnection link is in the link preparation state and enters the ready-to-use state, thereby completing the overall establishment.

[0061] In the embodiment of the present invention, a control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit interacts with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link; the control unit determines that the optical interconnection link enters a link training state in response to receiving the second control signal; in the link training state, the second control signal is identified to determine the current state of the link; in response to the current state of the link being a reset initial state, the first control signal is acquired; the working state of the optoelectronic conversion component is determined according to the first control signal; the first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link preparation state. The control unit monitors the working state of the optoelectronic conversion component and the information of the transmission protocol chip on the link training state, and processes the link state according to the working state of the optoelectronic conversion component, so as to avoid misjudgment of the link state caused by blindly skipping incompatible processes, thereby realizing the stable establishment of a server transmission protocol optical interconnection link by the server.

[0062] Reference Figure 3 , showing a flow chart of the steps of an embodiment of a method for establishing a server transmission protocol optical interconnection link of the present invention, the method for establishing a server transmission protocol optical interconnection link is applied to a control unit, the control unit interacts with the optoelectronic conversion component through a first control signal, the control unit interacts with the transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected to the transmission protocol chip to form an optical interconnection link. The structure of the server transmission protocol optical interconnection link includes various forms, such as an optical interconnection link between two devices; it can be as follows Figure 4As shown, device 1 is a general computing node, the main chip is 21CPU, 22 is a PCIe / CXL Retimer chip used to perform intermediate compensation on the PCIe / CXL signal sent by the CPU and then transmit it to the photoelectric conversion component 23 to convert it into an optical signal and then transmit it to device 2 through the optical fiber 303. Device 2 is a resource node, the main component 27 is a GPU, SSD or DRAM, the optical signal transmitted from 23 enters the photoelectric conversion component 25 and then converts it into an electrical signal and transmits it to 26PCIe / CXL Retimer chip to perform intermediate compensation on the signal and then transmit it to 27. The programmable logic controller 24 in device 1 is connected to the PCIe / CXL Retimer through the link 401, monitors the link training status between 22PCIe / CXL Retimer and 23photoelectric conversion component and controls the process; it is connected to the photoelectric conversion component through the link 402 to monitor the presence and working status of the optical module. The programmable logic controller 28 in the device 2 is connected to the PCIe / CXL Retimer 26 and the photoelectric conversion component 25 through the link 404 and the link 403 respectively, and also monitors the presence and working status of the local optical module and the link training status and controls the process. Figure 5 As shown, the CPU 21 in the device 1 is directly connected to the photoelectric conversion component 23, and the programmable logic controller 24 is connected to the CPU 21 and the photoelectric conversion component 23 through the links 401 and 402 respectively, and also monitors the presence and working status of the local optical module, as well as the link training status and controls the process. It can also be used for large-scale computing server clusters, such as Figure 6 As shown, device 3 is a general computing node, which does not directly establish a PCIe / CXL optical interconnection link with the resource node of device 5, but establishes the link through the switch node of device 4. The main chip in device 4 is a 42PCIe / CXL Switch chip. The switch node of device 4 can connect multiple computing nodes of device 3 and resource nodes of device 5 through PCIe / CXL optical interconnection links.

[0063] The server transmission protocol optical interconnection link establishment method may specifically include the following steps:

[0064] Step 301, in response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0065] The control unit may determine, in response to receiving the second control signal, that the transmission protocol chip has started training, and determine that the optical interconnection link enters a link training state.

[0066] Step 302, in the link training state, identifying the second control signal and determining the current state of the link;

[0067] When the optical interconnection link is in the link training state, the second control signal is continuously received, the second control signal is identified, and the current link state of the optical interconnection link is determined.

[0068] Specifically, the step of identifying the second control signal and determining the current state of the link includes: in response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

[0069] When the transmission protocol chip cannot detect a receiving end that can receive signals, it will enter a reset state. The second control signal will include a no receiving end identifier. When the received second control signal includes a no receiving end identifier, the current state of the link can be determined to be a reset initial state.

[0070] Step 303, in response to the current state of the link being a reset initial state, acquiring the first control signal;

[0071] In response to the current state of the link being a reset initial state, a first control signal may be obtained from the optoelectronic conversion component.

[0072] Step 304, determining the working state of the photoelectric conversion component according to the first control signal;

[0073] The working state of the photoelectric conversion component is determined according to the information in the first control signal.

[0074] Specifically, the first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

[0075] The information in the first control signal can be identified to determine the presence information and working information of the photoelectric conversion component as the working state of the photoelectric conversion component, that is, whether the photoelectric conversion component is in place and whether it is working normally is determined as the working state.

[0076] Step 305, adjusting the first register information of the transmission protocol chip according to the working state until the current state of the link is in a link preparation state; after the optical interconnection link enters the link preparation state, the optical interconnection link enters a full power active state based on a preset transmission rate;

[0077] According to the working state of the photoelectric conversion component, the first register information in the transmission protocol chip is adjusted until the current state of the link is in the link preparation state, the link training is completed, and the state of preparation for use can be entered. After the optical interconnection link enters the link preparation state, it confirms the maximum supportable transmission rate of the link, that is, the preset transmission rate, and then enters the full power active state based on the preset transmission rate.

[0078] Specifically, the step of adjusting the first register information of the transmission protocol chip according to the working state includes: in response to the in-place information of the optoelectronic conversion component being in-place and the working information being working normally, reading the reset initial identifier of the reset initial register; setting the reset initial identifier so that the optical interconnection link skips the reset initial state corresponding to the reset initial identifier.

[0079] When the in-place information of the optoelectronic conversion component is in-place and the working information is working normally, the reset initial flag of the reset initial register is read; the reset initial flag is set, so that the optical interconnection link skips the reset initial state corresponding to the reset initial flag and continues training; and when the in-place information is not in-place or the working information is working abnormally, the optical interconnection link can be controlled to enter the reset initial state.

[0080] Step 306, in response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state;

[0081] In response to detecting that the current state of the link switches from a full-power active state to an idle state, the control unit can read the second control signal of the transmission protocol chip to determine whether the current state of the link enters a low-power state, thereby determining to switch the optical interconnection link to a corresponding state.

[0082] Step 307, in response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal;

[0083] When the current state of the link is in a low power consumption state, the first control signal may be read again to determine the working state of the optoelectronic conversion component.

[0084] Step 308, in response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip;

[0085] When the working state is in place and working normally, the second register information of the transmission protocol chip is adjusted so that the error information in the transmission protocol chip is cleared and data transmission continues.

[0086] In one example of the present invention, the second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and the step of adjusting the second register information of the transmission protocol chip in response to the working status being in place and working normally includes: in response to the working status being in place and working normally, reading the error information of the bit error rate register of the transmission protocol chip; and clearing the error information of the bit error rate register of the transmission protocol chip.

[0087] When the working state of the photoelectric conversion component is in place and working normally, the error information of the bit error rate register of the transmission protocol chip is read; the error information of the bit error rate register of the transmission protocol chip is cleared, so that the error information in the transmission protocol chip is cleared and data transmission continues.

[0088] In one example of the present invention, the second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and the step of adjusting the second register information of the transmission protocol chip in response to the working status being in place and working normally includes: in response to the working status being in place and working normally, reading the error information of the advanced error reporting register of the transmission protocol chip; clearing the error information of the advanced error reporting register of the transmission protocol chip.

[0089] When the working state of the photoelectric conversion component is in place and working normally, the error information of the advanced error reporting register of the transmission protocol chip is read; the error information of the advanced error reporting register of the transmission protocol chip is cleared, so that the error information in the transmission protocol chip is cleared and data transmission continues.

[0090] Step 309, in response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal;

[0091] In response to the working state of the optoelectronic conversion component being absent or abnormal, that is, the current optical interconnection link is unavailable, a reset signal may be sent to the transmission protocol chip, and the transmission protocol chip controls the optical interconnection link to reset based on the reset signal.

[0092] Step 310: In response to the current state of the link not being in the low power consumption state, executing the step of determining that the optical interconnection link enters a link training state.

[0093] In response to the current state of the link not being in a low power consumption state, ie, requiring training, the step of determining that the optical interconnection link enters a link training state is performed to perform training of the optical interconnection link.

[0094] In addition, in order to ensure that the optical interconnection link can avoid misjudgment of erroneous information in the link training state, which leads to excessive training time and affects efficiency. The control unit can also classify the link training state; when the type of the link training state is an abnormal state, determine the register associated with the abnormal state, and isolate the data of the register so that training can continue when an abnormality exists. After isolating the data, the control unit can perform asynchronous analysis on the isolated data to improve the efficiency of training.

[0095] The embodiment of the present invention aims at the link state misjudgment and bit error generation often caused by the receiving end detection and electrical idle state during the optical interconnection link training process, and at the same time adds the detection of the working state of the optoelectronic conversion component to avoid the link state misjudgment caused by blindly skipping the incompatible process, thereby realizing the stable establishment of CXL and PCIe optical interconnection links by the server. In addition, building a stable PCIe / CXL optical interconnection link between different server nodes can effectively increase the propagation distance of the signal and reduce the transmission delay and cost of cross-protocol conversion. It is conducive to building a high-performance, large-scale interconnection network.

[0096] In order to make the implementation process of the embodiment of the present invention clear to those skilled in the art, an example is given below for illustration. Figure 7 , shows a flow chart of steps of an example of a method for establishing a server transmission protocol optical interconnection link of the present invention. The method for establishing a server transmission protocol optical interconnection link comprises:

[0097] Step S101: starting link training between the PCIe protocol chip and the optoelectronic conversion component;

[0098] Step S102: the control unit recognizes through the second control signal that link training has started between the PCIe protocol chip and the optoelectronic conversion component;

[0099] Step S103: Link training enters the Detect.Active state and starts sending the Receiver Detect detection sequence;

[0100] Step S104: after no compliant receiving end is detected, the link training enters the Detect.Quiet state, and the control unit recognizes through the second control signal that the link training enters the Detect.Quiet state;

[0101] Step S105: The control unit detects through the second control signal that the PCIe / CXL protocol chip Detect register control unit recognizes through the first control signal that the photoelectric conversion component is in place and in normal working state. Then enter S106, otherwise return to S104 link training to maintain Detect.Quiet state;

[0102] Step S106: the control unit modifies the Detect register of the PCIe / CXL protocol chip through the second control signal to make it skip the Detect state and clear the error information of the error identification register;

[0103] Step S107: Link training enters the Polling state, confirms the maximum link-supported transmission rate, and then enters the Configuration state to confirm link status information, and then enters the L0 normal working state;

[0104] Step S108: Link training enters L0 normal working state;

[0105] Step S109: Link training jumps out of the L0 normal working state and enters the "idle" state, and then returns from the "idle" state to the L0 (full power active) state;

[0106] Step S110: The control unit reads the current "idle" state through the second control signal to confirm whether it is in the L0s (low power operation) state. If it is in the L0s state, enter S111, otherwise enter S103;

[0107] Step S111: The control unit recognizes through the first control signal that the photoelectric conversion component is in place and in a normal working state. If it is in place and in a normal working state, it proceeds to S112, otherwise it proceeds to S104;

[0108] Step S112: The control unit modifies the BER and AER registers of the PCIe / CXL protocol chip through the second control signal, and clears the error information indicating the bit error.

[0109] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0110] The embodiment of the present invention further discloses a server transmission protocol optical interconnection link establishment system, comprising: a control unit interacts with an optoelectronic conversion component through a first control signal, the control unit is interactively connected with a transmission protocol chip through a second control signal, the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the control unit is configured to perform the following steps:

[0111] In response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0112] In the link training state, identifying the second control signal and determining the current state of the link;

[0113] In response to the current state of the link being a reset initial state, acquiring the first control signal;

[0114] determining the working state of the photoelectric conversion component according to the first control signal;

[0115] The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

[0116] Optionally, after entering the link preparation state, the optical interconnection link enters a full-power active state based on a preset transmission rate; the method further includes:

[0117] In response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state;

[0118] In response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal;

[0119] In response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip;

[0120] In response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal;

[0121] In response to the current state of the link not being in the low power consumption state, the step of determining that the optical interconnection link enters a link training state is performed.

[0122] Optionally, the second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0123] In response to the working state being in place and working normally, reading error information of a bit error rate register of the transmission protocol chip;

[0124] Clear the error information of the bit error rate register of the transmission protocol chip.

[0125] Optionally, the second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0126] In response to the working state being in place and working normally, reading error information of an advanced error reporting register of the transmission protocol chip;

[0127] Clear the error information of the advanced error reporting register of the transmission protocol chip.

[0128] Optionally, the step of identifying the second control signal and determining the current state of the link includes:

[0129] In response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

[0130] Optionally, the step of determining the working state of the photoelectric conversion component according to the first control signal includes:

[0131] The first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

[0132] Optionally, the step of adjusting the first register information of the transmission protocol chip according to the working state includes:

[0133] In response to the in-position information of the photoelectric conversion component being in-position and the working information being normal, reading a reset initial flag of a reset initial register;

[0134] The reset initialization flag is set so that the optical interconnection link skips the reset initialization state corresponding to the reset initialization flag.

[0135] In the embodiment of the present invention, a control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit interacts with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link; the control unit determines that the optical interconnection link enters a link training state in response to receiving the second control signal; in the link training state, the second control signal is identified to determine the current state of the link; in response to the current state of the link being a reset initial state, the first control signal is acquired; the working state of the optoelectronic conversion component is determined according to the first control signal; the first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link preparation state. The control unit monitors the working state of the optoelectronic conversion component and the information of the transmission protocol chip on the link training state, and processes the link state according to the working state of the optoelectronic conversion component, so as to avoid misjudgment of the link state caused by blindly skipping incompatible processes, thereby realizing the stable establishment of a server transmission protocol optical interconnection link by the server.

[0136] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0137] Reference Figure 8 , an embodiment of the present invention further provides a server, comprising:

[0138] A processor 801 and a storage medium 802, wherein the storage medium 802 stores a computer program executable by the processor 801, and when the server is running, the processor 801 executes the computer program to execute the server transmission protocol optical interconnection link establishment method as described in any one of the embodiments of the present invention.

[0139] The server transmission protocol optical interconnection link establishment method is applied to a control unit, the control unit interacts with the photoelectric conversion component through a first control signal, the control unit is interactively connected with the transmission protocol chip through a second control signal, the photoelectric conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the method includes:

[0140] In response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0141] In the link training state, identifying the second control signal and determining the current state of the link;

[0142] In response to the current state of the link being a reset initial state, acquiring the first control signal;

[0143] determining the working state of the photoelectric conversion component according to the first control signal;

[0144] The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

[0145] Optionally, after entering the link preparation state, the optical interconnection link enters a full-power active state based on a preset transmission rate; the method further includes:

[0146] In response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state;

[0147] In response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal;

[0148] In response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip;

[0149] In response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal;

[0150] In response to the current state of the link not being in the low power consumption state, the step of determining that the optical interconnection link enters a link training state is performed.

[0151] Optionally, the second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0152] In response to the working state being in place and working normally, reading error information of a bit error rate register of the transmission protocol chip;

[0153] Clear the error information of the bit error rate register of the transmission protocol chip.

[0154] Optionally, the second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0155] In response to the working state being in place and working normally, reading error information of an advanced error reporting register of the transmission protocol chip;

[0156] Clear the error information of the advanced error reporting register of the transmission protocol chip.

[0157] Optionally, the step of identifying the second control signal and determining the current state of the link includes:

[0158] In response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

[0159] Optionally, the step of determining the working state of the photoelectric conversion component according to the first control signal includes:

[0160] The first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

[0161] Optionally, the step of adjusting the first register information of the transmission protocol chip according to the working state includes:

[0162] In response to the in-position information of the photoelectric conversion component being in-position and the working information being normal, reading a reset initial flag of a reset initial register;

[0163] The reset initialization flag is set so that the optical interconnection link skips the reset initialization state corresponding to the reset initialization flag.

[0164] In the embodiment of the present invention, a control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit interacts with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link; the control unit determines that the optical interconnection link enters a link training state in response to receiving the second control signal; in the link training state, the second control signal is identified to determine the current state of the link; in response to the current state of the link being a reset initial state, the first control signal is acquired; the working state of the optoelectronic conversion component is determined according to the first control signal; the first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link preparation state. The control unit monitors the working state of the optoelectronic conversion component and the information of the transmission protocol chip on the link training state, and processes the link state according to the working state of the optoelectronic conversion component, so as to avoid misjudgment of the link state caused by blindly skipping incompatible processes, thereby realizing the stable establishment of a server transmission protocol optical interconnection link by the server.

[0165] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the processor.

[0166] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0167] Reference Fig. 9 The embodiment of the present invention further provides a computer-readable storage medium 901, on which a computer program is stored. When the computer program is executed by a processor, the server transmission protocol optical interconnection link establishment method as described in any one of the embodiments of the present invention is executed.

[0168] The server transmission protocol optical interconnection link establishment method is applied to a control unit, the control unit interacts with the photoelectric conversion component through a first control signal, the control unit is interactively connected with the transmission protocol chip through a second control signal, the photoelectric conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the method includes:

[0169] In response to receiving the second control signal, determining that the optical interconnection link enters a link training state;

[0170] In the link training state, identifying the second control signal and determining the current state of the link;

[0171] In response to the current state of the link being a reset initial state, acquiring the first control signal;

[0172] determining the working state of the photoelectric conversion component according to the first control signal;

[0173] The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

[0174] Optionally, after entering the link preparation state, the optical interconnection link enters a full-power active state based on a preset transmission rate; the method further includes:

[0175] In response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state;

[0176] In response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal;

[0177] In response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip;

[0178] In response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal;

[0179] In response to the current state of the link not being in the low power consumption state, the step of determining that the optical interconnection link enters a link training state is performed.

[0180] Optionally, the second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0181] In response to the working state being in place and working normally, reading error information of a bit error rate register of the transmission protocol chip;

[0182] Clear the error information of the bit error rate register of the transmission protocol chip.

[0183] Optionally, the second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes:

[0184] In response to the working state being in place and working normally, reading error information of an advanced error reporting register of the transmission protocol chip;

[0185] Clear the error information of the advanced error reporting register of the transmission protocol chip.

[0186] Optionally, the step of identifying the second control signal and determining the current state of the link includes:

[0187] In response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

[0188] Optionally, the step of determining the working state of the photoelectric conversion component according to the first control signal includes:

[0189] The first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

[0190] Optionally, the step of adjusting the first register information of the transmission protocol chip according to the working state includes:

[0191] In response to the in-position information of the photoelectric conversion component being in-position and the working information being normal, reading a reset initial flag of a reset initial register;

[0192] The reset initialization flag is set so that the optical interconnection link skips the reset initialization state corresponding to the reset initialization flag.

[0193] In the embodiment of the present invention, a control unit interacts with an optoelectronic conversion component through a first control signal, and the control unit interacts with a transmission protocol chip through a second control signal, and the optoelectronic conversion component is connected with the transmission protocol chip to form an optical interconnection link; the control unit determines that the optical interconnection link enters a link training state in response to receiving the second control signal; in the link training state, the second control signal is identified to determine the current state of the link; in response to the current state of the link being a reset initial state, the first control signal is acquired; the working state of the optoelectronic conversion component is determined according to the first control signal; the first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link preparation state. The control unit monitors the working state of the optoelectronic conversion component and the information of the transmission protocol chip on the link training state, and processes the link state according to the working state of the optoelectronic conversion component, so as to avoid misjudgment of the link state caused by blindly skipping incompatible processes, thereby realizing the stable establishment of a server transmission protocol optical interconnection link by the server.

[0194] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0195] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0196] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0197] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0198] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0199] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0200] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0201] The above is a detailed introduction to a server transmission protocol optical interconnection link establishment method, a server transmission protocol optical interconnection link establishment system, a server and a storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for establishing a server transmission protocol optical interconnection link, characterized in that: Applied to a control unit, the control unit interacts with the photoelectric conversion component through a first control signal, the control unit is interactively connected with a transmission protocol chip through a second control signal, the photoelectric conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the method includes: In response to receiving the second control signal, determining that the optical interconnection link enters a link training state; In the link training state, identifying the second control signal and determining the current state of the link; In response to the current state of the link being a reset initial state, acquiring the first control signal; determining the working state of the photoelectric conversion component according to the first control signal; The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

2. The method according to claim 1, characterized in that: After entering the link preparation state, the optical interconnection link enters a full power active state based on a preset transmission rate; the method further includes: In response to detecting that the current state of the link switches from the full-power active state to the idle state, reading the second control signal to determine whether the current state of the link enters a low power consumption state; In response to the current state of the link being in the low power consumption state, executing the step of determining the working state of the photoelectric conversion component according to the first control signal; In response to the working state being in place and working normally, adjusting the second register information of the transmission protocol chip; In response to the working state being not in place or working abnormally, sending a reset signal to the transmission protocol chip, and the transmission protocol chip controlling the optical interconnection link to reset based on the reset signal; In response to the current state of the link not being in the low power consumption state, the step of determining that the optical interconnection link enters a link training state is performed.

3. The method according to claim 2, characterized in that The second register information of the transmission protocol chip includes error information of a bit error rate register of the transmission protocol chip, and the step of adjusting the second register information of the transmission protocol chip in response to the working state being in place and working normally includes: In response to the working state being in place and working normally, reading error information of a bit error rate register of the transmission protocol chip; Clear the error information of the bit error rate register of the transmission protocol chip.

4. The method according to claim 2, characterized in that: The second register information of the transmission protocol chip includes error information of an advanced error reporting register of the transmission protocol chip, and in response to the working state being in place and working normally, the step of adjusting the second register information of the transmission protocol chip includes: In response to the working state being in place and working normally, reading error information of an advanced error reporting register of the transmission protocol chip; Clear the error information of the advanced error reporting register of the transmission protocol chip.

5. The method according to claim 1, characterized in that The step of identifying the second control signal and determining the current state of the link comprises: In response to identifying that the second control signal includes no receiving end identifier, determining that the current state of the link is the reset initial state.

6. The method according to claim 1, characterized in that The step of determining the working state of the photoelectric conversion component according to the first control signal comprises: The first control signal is identified, and the in-situ information and working information of the photoelectric conversion component are determined as the working state of the photoelectric conversion component.

7. The method according to claim 6, characterized in that The step of adjusting the first register information of the transmission protocol chip according to the working state comprises: In response to the in-position information of the photoelectric conversion component being in-position and the working information being normal, reading a reset initial flag of a reset initial register; The reset initialization flag is set so that the optical interconnection link skips the reset initialization state corresponding to the reset initialization flag.

8. A server transmission protocol optical interconnection link establishment system, characterized in that: include: The control unit interacts with the photoelectric conversion component through a first control signal, the control unit is interactively connected with the transmission protocol chip through a second control signal, the photoelectric conversion component is connected with the transmission protocol chip to form an optical interconnection link, and the control unit is configured to perform the following steps: In response to receiving the second control signal, determining that the optical interconnection link enters a link training state; In the link training state, identifying the second control signal and determining the current state of the link; In response to the current state of the link being a reset initial state, acquiring the first control signal; determining the working state of the photoelectric conversion component according to the first control signal; The first register information of the transmission protocol chip is adjusted according to the working state until the current state of the link is in a link ready state.

9. A server, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the method for establishing a server transmission protocol optical interconnection link as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for establishing a server transmission protocol optical interconnection link according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Optical interconnection system, optical communication control method, device and equipment, medium and product

    CN119402784A

  • Optical Interconnection System, Optical Communication Control Method, Device, Equipment, Medium and Product

    CN119402784B

  • Optical interconnection link assembly, training method of optical interconnection link and acceleration cluster system

    CN120416707A

  • Optical interconnection system, optical communication control method and apparatus, device, medium, and product

    WO2026144701A1