Link parameter processing method, optical interconnection system, equipment, medium and product

By splitting the link of the optical interconnection system into three locations and establishing a mapping relationship between the preset identifier and the index level, the problem of artificially rematching the optical module parameters when configuring parameters of the conventional optical interconnection system is solved, automatic detection and matching is achieved, and configuration speed is improved and equipment costs are saved.

CN120128833APending Publication Date: 2025-06-10LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510344187.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

When configuring parameters for conventional optical interconnect systems, they need to manually rematch the respective optical module parameters of the host and device terminals on the entire link, resulting in a reduced configuration speed.

Method used

By splitting the entire link into three link positions (the host side and its own optical module location, link transmission channel, and the device side and its own optical module location), and establishing a mapping relationship between the preset identifier and the index level, it automatically detects the specific link locations that need to be matched, reducing unnecessary optical module matching operation steps.

Benefits of technology

It realizes automatic detection of specific link positions that need to be matched, reduces unnecessary optical module matching operation steps, improves configuration speed, and saves equipment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128833A_ABST
    Figure CN120128833A_ABST
Patent Text Reader

Abstract

The invention discloses a link parameter processing method, an optical interconnection system, equipment, a medium and a product, relates to the technical field of data processing, and establishes a mapping relationship between preset identifiers of respective optical modules of a host end and an equipment end and a plurality of link positions of a whole link to realize index levels corresponding to different preset identifier parameters. And judging a target index level stored in the host side according to the configuration parameters stored in the host side and the index level corresponding to the mapping relationship. And refining link parameters required to be configured subsequently based on the link position. Therefore, the technical problem that the parameters of the optical module of the whole link are reconfigured when a conventional optical interconnection system configures the parameters is solved, the whole link is split into the link positions during matching each time, the specific link positions needing to be adapted are determined, and the matching efficiency is improved. And subsequent matching is carried out according to the link position needing to be adapted, so that unnecessary optical module matching operation steps are reduced, and the configuration rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and in particular, to a method for processing link parameters, an optical interconnection system, a device, a medium, and a product. Background Art

[0002] In a conventional optical interconnection system, the number of optical modules corresponding to the host side and the device side is relatively large, and different links are set with different configuration parameters to ensure that communication meets normal communication requirements. Once the configuration parameters of the link change, it is necessary to manually re-match the parameters of the optical modules corresponding to the host side and the device side on the entire link. Here, it includes the positions of the optical modules on the entire link where the configuration parameters have not been modified, and the parameters also need to be re-matched, which undoubtedly increases the matching operation steps of the optical modules, thereby reducing the configuration speed.

[0003] Therefore, how to reduce unnecessary optical module matching operation steps during the configuration process to improve the configuration speed is a technical problem that those skilled in the art urgently need to solve. Summary of the Invention

[0004] This application provides a method for processing link parameters, an optical interconnection system, a device, a medium, and a product, so as to solve the technical problem that in the related art, the conventional optical interconnection system will match the parameters of the optical modules on the entire link when configuring parameters, thereby reducing the configuration speed.

[0005] This application provides a method for processing link parameters, including:

[0006] Obtain the preset identifier parameters corresponding to the optical modules of the host side and the device side respectively;

[0007] Determine the index level corresponding to the link position according to the preset identifier parameters; wherein, the link position includes the position of the optical module of the host side with itself, the link transmission channel, and the position of the optical module of the device side with itself;

[0008] Match according to the index level and the configuration parameters stored in the host side to determine the stored target index level;

[0009] Determine the configuration strategy of the target link position according to the target index level to process the link parameters.

[0010] This application also provides an optical interconnection system, which includes a control unit, a host side, and a device side; the control unit is connected to the host side and the device side;

[0011] The optical modules of the host side and the device side are connected by optical fibers;

[0012] The link parameters supported by the host-side and the device-side are exchanged between the control platform of the host-side and the control platform of the device-side through a network switching unit;

[0013] The control unit is configured to execute the steps of the link parameter processing method described above.

[0014] This application also provides an electronic device, including:

[0015] A memory for storing a computer program;

[0016] A processor for implementing the steps of any of the above link parameter processing methods when executing the computer program.

[0017] This application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above link parameter processing methods are implemented.

[0018] This application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of any of the above link parameter processing methods are implemented.

[0019] With this application, since in a conventional optical interconnection system when configuring parameters, for the optical modules corresponding to the host side and the device side respectively on the entire link, parameter matching problems will occur in the optical module adapted to the host side itself, the optical module adapted to the device side itself, or the link transmission channels of the optical modules at both ends. This application splits the entire link into three positions based on the link position: the position of the optical module of the host side and itself, the link transmission channel, and the position of the optical module of the device side and itself. It establishes a mapping relationship between the preset identifiers of the optical modules of the host side and the device side respectively and the link position, so as to realize the index level corresponding to different preset identifier parameters. Determine the target index level stored on the host side according to the configuration parameters actually stored on the host side and the index level corresponding to the mapping relationship. Based on the target index level, it can be determined which positions of the current link are already matched, that is, it is clear which link positions have adaptation problems. It realizes the refinement of the link parameters to be configured subsequently based on the link position, avoiding the situation of low configuration speed where, in a test scenario, once the configuration parameters of the link change, during the manual re-matching of the parameters of the optical modules of the host side and the device side respectively, the parameters corresponding to the configuration parameters that have not changed are re-matched. It realizes the automatic detection of the specific link positions that need to be matched, reduces unnecessary optical module matching operation steps, and improves the configuration rate. At the same time, it also avoids the complex operation of replacing the entire link position of the entire link every time during adaptation in actual applications and the increase in the equipment cost of optical modules, realizes the simplification of link parameter matching, and saves equipment costs. Therefore, it can solve the technical problem that in a conventional optical interconnection system, when configuring parameters, the parameters of the optical modules of the entire link need to be reconfigured, and no matter which link position has a problem, the parameters of the optical modules corresponding to the entire link need to be reconfigured, and achieves the technical effect of splitting the entire link into each link position during each matching to clarify the specific link positions that need to be adapted, and performing subsequent matching according to the link positions that need to be adapted to reduce unnecessary optical module matching operation steps and improve the configuration rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0021] Figure 1 FIG. [X] is a schematic structural diagram of an optical interconnection system provided by an embodiment of the present application;

[0022] Figure 2 FIG. [Y] is a flowchart of a method for processing link parameters provided by an embodiment of the present application;

[0023] Figure 3A schematic diagram of link adaptation between the host side and the device side provided by an embodiment of the present application;

[0024] Figure 4 A flowchart of another link parameter processing method provided by an embodiment of the present application;

[0025] Figure 5 A schematic structural diagram of a link parameter processing device provided by an embodiment of the present application. Detailed implementation manners

[0026] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0027] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0028] In order to enable those skilled in the art of the present technology to better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific implementation manners.

[0029] Combined with the specific application environment architecture or specific hardware architecture on which the execution of the link parameter processing method depends, the specific application environment architecture or specific hardware architecture will be described herein.

[0030] In an optical interconnection system composed of optical modules, the communication method of data transmission between the host side and the device side is realized through an optical transmission medium. By using the high-speed transmission characteristics of optical signals to replace the traditional electrical signal transmission, it meets the growing data transmission requirements.

[0031] In an optical interconnection system, an optical module is an optoelectronic conversion device that can convert externally input electrical signals into optical signals and transmit them via an optical fiber cable, or convert optical signals received in the optical fiber cable into electrical signals and transmit them to relevant processors. Based on the interface type, installation, and function of the optical module, standard specifications are defined for the form factor, electrical interface, and optical interface of the optical module. Due to different communication rates and data volumes, the form factor interfaces of optical modules are constantly changing, and the light-emitting devices, light-receiving devices, and built-in signal processing methods inside the optical modules are also different. Different interface forms, optical module types, and manufacturers are adopted according to different design, cost, business, etc. requirements, resulting in differences in the communication link in the configuration parameters. Figure 1 The following is a schematic structural diagram of an optical interconnection system provided by an embodiment of the present application, as Figure 1 shown. In a conventional optical interconnection system, the host end and the device end may include different optical modules, and different configuration parameters need to be set for the links composed of corresponding optical modules to ensure that the communication link meets normal communication requirements. The conventional method is to obtain the best link result based on continuous testing by testers. As long as there is a mismatch, different form factor and different type optical modules used in the entire link need to be replaced. However, what is not known is that the host end needs to be adapted to its own optical module, the device end needs to be adapted to its own optical module, and the optical module of the host end needs to be adapted to the optical module of the device end. These three adaptation links increase the system design complexity and link debugging difficulty according to the current conventional testing scheme to adapt to different link requirements.

[0032] In the above optical interconnection system, the corresponding protocol can be the Peripheral Component Interconnect express (PCIe) protocol, or other optical fiber protocols, which are not limited here and can be set according to the actual situation. In the PCIe protocol, it is a data standard for high-speed serial high-bandwidth transmission, used for data transmission between expansion cards and computer motherboards. As the PCIe rate continues to increase, the protocol's requirements for PCIe signal quality also continue to increase, and the transmission distance of PCIe signals on traditional printed circuit boards (PCBs) or copper cables also continues to shorten. In some applications of long-distance PCIe transmission, designers need to additionally increase drive circuits to improve signal quality, which increases the design difficulty and also raises the design cost. Compared with traditional PCIe copper cable transmission, using optical signals to transmit PCIe signals has advantages such as low loss, low latency, high bandwidth, and long distance. However, there is no requirement to use optical signals to transmit PCIe signals in the PCIe protocol, resulting in some differences between PCIe optical transmission applications and traditional PCIe applications.

[0033] Figure 2The flowchart of a link parameter processing method provided by an embodiment of this application is as follows Figure 2 As shown, the method includes:

[0034] S11: Obtain the preset identifier parameters corresponding to the optical modules at the host end and the device end respectively;

[0035] S12: Determine the index level corresponding to the link position according to the preset identifier parameters; wherein, the link position includes the optical module position of the host end and itself, the link transmission channel, and the optical module position of the device end and itself;

[0036] S13: Match according to the index level and the configuration parameters stored at the host end to determine the stored target index level;

[0037] S14: Determine the configuration policy of the target link position according to the target index level to process the link parameters.

[0038] Specifically, the preset identifier parameters in step S11 are based on the corresponding identifier parameters in the adapted link. There is at least one type of specific identifier parameter, and there can also be multiple types of identifier parameters. The identifier parameter does not refer to the specific value or specific model under this parameter, but is a general term corresponding to various types, such as model, size, etc. The obtaining process can be through reading the preset identifier parameters of the host end itself and the device end itself stored at the host end, or obtaining the preset identifier parameters stored at the host end itself and the preset identifier parameters stored at the device end itself. This is not limited here. The number of device components of the device end is not limited, and there is at least one. The number of optical modules inside the host end and the device end is not limited and can be set according to the actual situation.

[0039] Determine the index level corresponding to the link position according to the preset identifier in step S12. Here, the parameters of each preset identifier are refined to obtain the identifier for the mapping relationship corresponding to each link position, so as to match the index subsequently. The link position divides the entire link into three parts: the optical module position of the host and itself, the link transmission channel, and the optical module position of the device and itself. The optical module of the host is located at the core node of the sending end or receiving end of the optical link. The function of the optical module of the host is to convert the electrical signal generated by the host into an optical signal and send it into the link, or convert the optical signal received from the link into an electrical signal for the host to process. There is an adaptation situation between the host and its own optical module. The optical module of the device is located at the subordinate node of the optical link, that is, the end or branch position of the link. The function of the optical module of the device is to convert the electrical signal generated by the device into an optical signal and send it to the host, or convert the optical signal received from the host into an electrical signal for the device to process. There is an adaptation situation between the device and its own optical module. The link transmission channel refers to the physical transmission path connecting the optical module of the host end and the optical module of the device end, ensuring that the optical signal can be transmitted efficiently and reliably between the host end and the device end.

[0040] Map the preset identifier parameters corresponding to the three positions of the link position to the corresponding index levels, so as to characterize the matching situation of the corresponding link position based on different index levels, so as to facilitate viewing the actual identifier parameters subsequently to map to the actual target index level, so as to characterize the link positions that have been adapted, and which link positions are not adapted or have failed to be adapted, and subsequent link parameter configuration is required. Compared with the conventional test adaptation situation, the optical modules of the entire link are replaced, but there will be problems with the two optical modules that are not the link transmission channel, but the configuration problems of the two optical modules and the corresponding host-side devices or device-side devices, resulting in the tester constantly replacing the optical modules of the entire link, thereby prolonging the debugging time.

[0041] Match according to the index level and the configuration parameters stored in the host in step S13. The configuration parameters stored in the host include actual identifier parameters and real-time communication information on the link, such as the transmission rate and bit error rate used to characterize the signal quality, the configuration information of the input and output ports of the optical module, etc., which are not limited here. The matching process here can be to first screen out the identifier parameters corresponding to the optical module of the host itself and the identifier parameters corresponding to the optical module of the device itself from the configuration parameters stored in the host, and then match according to the index level and each identifier parameter. If the index level corresponding to different link positions is matched in the identifier parameters stored in the host, it means that the link position has been matched and is applicable, and no debugging is required. Only the link positions corresponding to the unmatched index levels need to be configured subsequently, saving configuration operations.

[0042] In step S14, the configuration policy of the target link position determined according to the target index level is for which link positions need to be configured, and the configuration can be completed by corresponding to the debugging of the actual configuration parameters.

[0043] Through the embodiments of the present application, since in the conventional optical interconnection system when configuring parameters, for the optical modules corresponding to the host end and the device end on the entire link, parameter matching problems will occur in the optical module adapted by the host end itself, the optical module adapted by the device end itself, or the link transmission channels of the optical modules at both ends. The present application splits the entire link into three positions based on the link position, namely, the position of the optical module of the host end and itself, the link transmission channel, and the position of the optical module of the device end and itself. A mapping relationship is established between the preset identifier of the optical module of the host end and the device end and the link position to realize different index levels corresponding to the parameter representation of the preset identifier. Determine the target index level stored by the host end according to the configuration parameters actually stored by the host end and the index level corresponding to the mapping relationship. Based on the target index level, it can be determined which positions of the current link position are already matched, that is, it is clear which link positions have adaptation problems. It realizes the refinement of the link parameters that need to be configured subsequently based on the link position, avoids the situation of low configuration speed in the parameter matching process of the optical modules of the host end and the device end respectively when the configuration parameters of the link change artificially in the test scenario, and also includes the re-matching of the configuration parameters corresponding to the unchanged configuration parameters. It realizes the automatic detection of the specific link positions that need to be matched, reduces unnecessary optical module matching operation steps, and improves the configuration rate. At the same time, it also avoids the complex operation of replacing the entire link position of the entire link every time during adaptation in practical applications and the increase in the device cost of the optical module, realizes the simplification of the link parameter matching, and saves the device cost. Therefore, it can solve the technical problem that the conventional optical interconnection system will reconfigure the parameters of the optical modules of the entire link when configuring parameters, and no matter which link position has a problem, it is necessary to reconfigure the parameters of the optical modules corresponding to the entire link, and achieve the technical effect of splitting the entire link into each link position during each matching to clarify the specific link positions that need to be adapted, and performing subsequent matching according to the link positions that need to be adapted to reduce unnecessary optical module matching operation steps and improve the configuration rate.

[0044] In some embodiments, determining the index level corresponding to the link position according to the preset identifier parameters includes:

[0045] Obtain the preset optical module type identifier corresponding to the optical module of the host end itself, the preset optical module manufacturer identifier corresponding to the optical modules of the host end and the device end respectively, and the preset device end device identifier corresponding to the optical module of the device end itself;

[0046] Establish a first mapping relationship between the preset optical module type identifier and the position of the optical module of the host end and itself as the first index level;

[0047] Establish a second mapping relationship between the preset optical module manufacturer identifier and the link transmission channel as the second index level;

[0048] Establish a third mapping relationship between the preset device-side device identifier, the device side, and the optical module position of itself as the third index level;

[0049] Among them, the first index level represents the matching index of the host-side optical module corresponding to the optical module position of the host side itself; the second index level represents the matching index of the host-side optical module and the device-side optical module corresponding to the link transmission channel; the third index level represents the matching index of the device-side optical module corresponding to the optical module position of the device side itself; the index levels of the first index level, the second index level, and the third index level decrease in sequence.

[0050] Considering that for manual configuration, as the number and types of optical modules used increase, the time invested in manual debugging will also increase proportionally. In addition, the same type of optical module may be used in combination with different types and manufacturers of optical modules. Therefore, in this embodiment, the preset identifier parameters at least include a preset optical module type identifier, a preset optical module manufacturer identifier, and a preset device component identifier. It should be noted here that the preset optical module type identifier and the preset optical module manufacturer identifier are identifiers corresponding to the optical module settings, and the preset device component identifier is an identifier corresponding to the device-side component settings. The device-side components include the optical modules connected to itself.

[0051] Regarding the matching index of the embodiment of the present application, it is the index corresponding to the established mapping relationship between different types and manufacturers of optical modules paired with the same type of optical module, which is only a general term and includes the mapping relationship of the specific values of the respective identifier parameters corresponding to the actual test.

[0052] Obtain the preset optical module type identifier corresponding to the host's own optical module, the preset optical module manufacturer identifier corresponding to the optical modules of the host and the device respectively, and the preset device-side device identifier corresponding to the device's own optical module. Establish a first mapping relationship between the preset optical module type identifier corresponding to the host's own optical module and the optical module position of the host itself as the first index level. That is, if the preset optical module type identifier exists in the configuration parameters stored on the host, it indicates that the optical module position of the host and itself is matched, and no subsequent matching is required. Establish a second mapping relationship between the preset optical module manufacturer identifiers corresponding to the optical modules of the host and the device respectively and the link transmission channel as the second index level. Here, it should be noted that there are two preset optical module manufacturer identifiers, one is the host-side optical module and the other is the device-side optical module. If both of them are matched and exist in the configuration parameters stored on the host, it indicates that the link transmission channel is matched and no subsequent matching is required. Establish a third mapping relationship between the preset device-side device identifier and the optical module position of the device itself as the third index level. If the preset device-side device identifier exists in the configuration parameters stored on the host, it indicates that the optical module position of the device and itself is matched.

[0053] The first index level is used to represent the host's own optical module matching index corresponding to the link position of the host's own optical module position. If the host can match the first index level, it is determined that the host's own optical module is adapted, and the corresponding device's own optical module, the host-side optical module and the device-side optical module of the link transmission channel are not adapted. The second index level is used to represent the host-side optical module and device-side optical module matching index corresponding to the link position of the host-side optical module and device-side optical module of the link transmission channel. If the host can match the first index level and the second index level, it is determined that the host's own optical module, the host-side optical module and the device-side optical module of the link transmission channel are adapted, and only the device's own optical module is not adapted. The third index level is used to represent the device's own optical module matching index corresponding to the link position of the device's own optical module position. If the host can match the first index level, the second index level and the third index level, it is determined that the entire link does not need to be adapted.

[0054] In this embodiment, the index levels of the first index level, the second index level, and the third index level decrease in sequence. This is considered in terms of which level of index to match preferentially. When the first index level is matched, the second index level is continued to be matched. When the second index level is matched, the third index level is continued to be matched. If the first index level is not matched, the subsequent index level matching is meaningless. This is because the optical module of the host end and its own are not matched. Even if the second index level and the third index level are matched subsequently, for the matching of the optical module at the device end and the optical module at the host end in the case where the optical module at the host end here is not matched, when the optical module at the host end is replaced subsequently, the link of the optical module at the device end still needs to be rematched. When the first index level is not matched currently, no subsequent matching operation will be performed to save the matching time.

[0055] For the determination of the mapping relationship between the preset identifier provided in this embodiment and the index levels corresponding to each link position, compared with the matching in the case of a large number of optical module types and manufacturers configured manually, the mapping relationship between the index levels corresponding to each link position is established in advance, avoiding the operational complexity of rematching all the optical modules of the entire link in subsequent matching, improving the subsequent matching rate, and saving labor costs.

[0056] In some embodiments, matching is performed according to the index level and the configuration parameters stored at the host end to determine the target index level to be stored, including:

[0057] Obtain the configuration parameters stored at the host end; among them, the configuration parameters include the optical module type identifier corresponding to the optical module of the host end currently stored at the host end, the manufacturer identifier corresponding to the optical modules of the host end and the device end respectively, and the device end device identifier corresponding to the optical module of the device end itself;

[0058] Perform matching processing on multiple identifier parameters according to multiple index levels;

[0059] If the identifiers corresponding to the first index level, the second index level, and the third index level are matched among multiple identifiers, it is determined that the link between the host end and the device end has been adapted, and the target index levels are determined to be the first index level, the second index level, and the third index level.

[0060] If the identifiers corresponding to the first index level and the second index level are matched among multiple identifiers, it is determined that the optical module of the host end and itself, and the optical modules of the host end itself and the device end itself have been adapted, and the target index levels are determined to be the first index level and the second index level;

[0061] If the identifier corresponding to the first index level is matched among multiple identifiers, it is determined that the optical module of the host end and itself has been adapted, and the target index level is determined to be the first index level;

[0062] If the identifiers corresponding to the first index level, the second index level, and the third index level are not matched among the multiple identifiers, it is determined that the link between the host end and the device end is not adapted.

[0063] Specifically, multiple identifier parameters of the above-mentioned configuration parameters are matched and processed according to multiple index levels. If the identifiers corresponding to the first index level, the second index level and the third index level mentioned above are matched in the host side, it is determined that the link has been fully adapted and there is no need to perform subsequent configuration of link parameters. If the first index level and the second index level are matched, it is determined that the optical module of the host side and itself, the optical module of the host side and the optical module of the device side have been adapted, and the optical module of the device side and itself have not been adapted. If the identifier corresponding to the first index level is matched, it is determined that the optical module of the host side and itself have been adapted, and the optical module of the host side and the optical module of the device side and the optical module of the device side have not been adapted. If no index level is matched, it is determined that the entire link of the host side and the device side is not adapted, and the subsequent configuration needs to be configured corresponding to the entire link. The specific configuration operation can be the same as the conventional entire link configuration, or the host side and its own optical module, the device side and its own optical module can be configured first, and then the configuration parameters of the optical module of the host side and the optical module of the device side can be configured.

[0064] In the process of matching according to the index level and the configuration parameters stored on the host side and determining the stored target index level provided in this embodiment, subsequent targeted matching operations are facilitated for each link position, thereby simplifying the matching process.

[0065] In some embodiments, the configuration strategy for determining the target link location according to the target index level includes:

[0066] When the target index level is the first index level and the second index level, the target link position is determined to be the position of the optical module of the device end and itself, and the device end device is replaced and configured according to the position of the optical module of the device end and itself;

[0067] When the target index level is the first index level, the target link position is determined to be the optical module position of the device end and itself, and the link transmission channel corresponds to the optical module of the device end. Then, the optical module of the device end is adapted according to the optical module position of the device end and itself, and the link transmission channel corresponds to the optical module of the device end.

[0068] Specifically, when the target index level is the first index level and the second index level, the target link position corresponds to the link position that needs to be configured, that is, the position of the optical module between the device end and itself. It is considered that compared with the link that has been successfully adapted, the current link only replaces the device-side device.

[0069] When the target index level is the first index level, the target link position is that the optical module positions of the device side and itself are not adapted, and the optical modules of the device side corresponding to the link transmission channels are not adapted.

[0070] In this embodiment, the corresponding target link positions are different under different target index levels, so the corresponding adaptation operation objects are also different here. It is necessary to configure according to the configuration strategies corresponding to different target link positions at different target index levels, which improves the flexibility of configuration processing and simplifies the configuration operation.

[0071] In some embodiments, in combination with the above embodiments, when the target index levels are the first index level and the second index level, the replacement configuration of the device-side devices is performed according to the optical module positions of the device side and itself, including:

[0072] Match the type identifier of the optical module of the device side itself with the device-side device identifiers of multiple device-side devices to determine the initial target device-side devices that match;

[0073] Match the device-side device identifier of the initial target device-side device with the host-side device identifier;

[0074] If a match is found, use the initial target device-side device that matches as the final device-side device;

[0075] Replace the final device-side device and configure the link parameters of the final device-side device to the host side to complete the configuration.

[0076] Specifically, during the replacement process, the optical module of the device side itself can correctly receive and convert the optical signal sent by the optical module of the host side, and determine that the configuration parameters of the current device-side device are not applicable to the current link. The controller of the host side, such as the Baseboard Management Controller (BMC), synchronizes its judgment result to the controller of the device side, such as BMC, to inform the device-side device to adjust the link parameters to meet the requirements of the current link operation.

[0077] Match the type identifier of the optical module of the device side itself with the device-side device identifiers of the device-side devices to be replaced to initially select the initial target device-side devices, and then match based on the device-side device identifier and the host-side device identifier among the initial target device-side devices to determine the final device-side device after matching with the host-side device identifier of the link, replace the final device-side device, and configure the corresponding link parameters to the host side to complete the configuration operation.

[0078] In the case where the target index levels are the first index level and the second index level, the configuration strategy of the device side and the optical module positions of itself provided in this embodiment achieves the technical effect of targeted matching, without the need to perform all-matching tests on the optical modules of the entire link, improving the matching efficiency and accuracy.

[0079] In some embodiments, in the case where the target index level is the first index level, the optical module of the device side is adapted according to the optical module positions of the device side and itself and the optical module of the device corresponding to the link transmission channel, including:

[0080] Obtain the first electrical signal amplitudes of the output ports of the optical modules of multiple device sides themselves;

[0081] Adjust the multiple first electrical signal amplitudes to obtain the adjusted first electrical signal amplitudes to adapt the device side and the optical module of itself;

[0082] Obtain the first target parameters for characterizing the electrical signal quality of the output ports of the optical modules of multiple device sides themselves;

[0083] Determine the first bit error rate of the input ports of the optical modules of the device side itself according to the multiple first target parameters;

[0084] Compare the multiple first bit error rates to screen out the target first bit error rate;

[0085] Apply the first target parameter corresponding to the target first bit error rate to the optical module of the device side itself for adaptation to complete the configuration.

[0086] Specifically, if only the first-level index is matched currently, it means that the device side and the optical module of itself are not adapted. The controller of the host side, such as BMC, notifies the BMC of the device side that the parameters of the optical module of the device side need to be adjusted to meet the link requirements. Therefore, it is necessary to obtain the first electrical signal amplitudes of the output ports of the optical modules of multiple device sides themselves. The signal processing module of the device side detects whether the input signal amplitude meets the requirements and feeds back the judgment results of larger amplitude, smaller amplitude or appropriate amplitude to the baseboard manager of the device side. If it does not meet the requirements here, it is necessary to adjust the multiple first electrical signal amplitudes to obtain the adjusted first electrical signal amplitudes to adapt the device side and the optical module of itself, that is, the baseboard manager of the device side adjusts the parameters of the optical module output port according to the results fed back by the signal processing unit of the device side until the baseboard manager of the device side detects that the amplitude result fed back by the signal processing unit of the device side is appropriate. Then, obtain the first target parameters for characterizing the electrical signal quality of the output ports of the optical modules of multiple device sides themselves. The target parameters here are not limited, as long as they can be used to characterize the electrical signal quality, determine parameters such as bit error rate or transmission rate.

[0087] Apply the first target parameter to the output port of the optical module at the device end in sequence. During this process, the signal processing module determines the signal quality of the electrical signal output by the optical module and calculates the first bit error rate of the input signal. In addition to calculating the first bit error rate, parameters such as the transmission rate can also be calculated, and the first bit error rate is fed back to the BMC. The baseboard management controller (BMC) at the device end records the signal quality configuration parameters of the output port of the optical module at the device end and the bit error rate results fed back by the signal processing module; compare multiple first bit error rates to select the best target first bit error rate, and apply the first target parameter corresponding to the first target bit error rate to the optical module that adapts to the device end itself to complete the configuration. That is, after traversing all the adjustable parameter values of the signal quality of the output port of the optical module at the device end, the baseboard management controller (BMC) at the device end generates the corresponding relationship between the optical module signal quality parameters and the link signal bit error rate, and extracts a set of optical module output port signal quality parameter values with the best signal bit error rate and applies them to the optical module at the device end; at this point, it is considered that the parameters at the output end of the optical module at the device end have been configured.

[0088] In the process of adapting the optical module at the device end provided in this embodiment, the technical effect of adapting the device end to the replaced optical module is achieved by adjusting the amplitude of the electrical signal at the output port of the optical module. On this basis, the bit error rate of the input port of the optical module is screened to determine the first target parameter with higher electrical signal quality and adapt it to the optical module at the device end, achieving the effect of adapting the optical module at the device end to the optical module at the host end.

[0089] In some embodiments, after the adaptation is completed, it further includes:

[0090] Obtain the second electrical signal amplitudes of the input ports of multiple optical modules of the device end itself;

[0091] Adjust multiple second electrical signal amplitudes to obtain the adjusted second electrical signal amplitudes to adapt the device end to its own optical module;

[0092] Obtain the second target parameters for characterizing the electrical signal quality of the input ports of multiple optical modules of the device end itself;

[0093] Determine the second bit error rate of the input port of the optical module of the device end itself according to multiple second target parameters;

[0094] Compare multiple second bit error rates to screen and obtain the target second bit error rate;

[0095] Obtain the third electrical signal amplitude of the output port of the optical module at the host end and the third target parameter for characterizing the electrical signal quality stored at the host end;

[0096] Determine the third bit error rate of the input port of the optical module of the device end itself according to the third target parameter;

[0097] Determine the parameter consistency between the host end and the device end according to the amplitude of the second electrical signal, the amplitude of the third electrical signal, the target second bit error rate, and the third bit error rate.

[0098] Specifically, the BMC at the device end also adjusts the amplitude of the second electrical signal at the input port of its own optical module and the second target parameter characterizing the electrical signal quality. The determination process of the second bit error rate corresponding to the amplitude of the second electrical signal and the second target parameter here is the same as that in the above embodiment and will not be elaborated here. It should be noted that different from modifying the output port in the above embodiment, when adjusting these parameters of the input port, the host end needs to detect the amplitude of the signal and the parameters corresponding to the signal quality. The BMC at the host end feeds back the detected results to the BMC at the device end for subsequent adjustment until the amplitudes of the second electrical signal and the third electrical signal at the host end and the device end are similar, and the target second bit error rate and the third bit error rate are similar, then it is determined that the host end and the device end are similar. The similarity determined by comparing these data can be that the corresponding difference is small, and a comparison method using a preset range or a difference not exceeding a threshold is used for comparison, which is not limited here.

[0099] In this embodiment, in addition to the modified configuration corresponding to the output port of the optical module at the device end in the above embodiment, by adjusting the configuration parameters of the input port of the optical module at the device end itself and the feedback detection at the host end, the accuracy of configuring link parameters is improved.

[0100] In some embodiments, if the first index level is not matched among multiple identifier parameters, it further includes:

[0101] Match according to the index level and the configuration parameters stored at the device end to determine the target index level at the device end; where the configuration parameters stored at the device end include the manufacturer identifier of the optical module currently stored at the device end and the device identifier at the device end.

[0102] Determine the configuration strategy for the target link position according to the target index level at the device end.

[0103] Specifically, when the host end fails to match the identifier of the first index level, it checks whether the device end can match the index level. It should be noted that the storage device at the device end only stores the identifier parameters corresponding to the second index level and the third index level, that is, the manufacturer identifier of the optical module currently stored at the device end and the device identifier at the device end. In this case, this situation is regarded as the optical module at the host end not being adapted to the host end. Therefore, the determination process of the configuration strategy for the currently determined target link position is the same as that in the above embodiment and will not be elaborated here. It can refer to the configuration strategy similar to the case where the host end fails to match the second index level, that is, only matches the first index level.

[0104] In the case of not matching the first index level, the present embodiment provides index configuration for the device side to determine that the link position between the host side and its own optical module is not adapted, improving the comprehensiveness and diversity of the adaptation detection.

[0105] In some embodiments, matching is performed according to the index level and the configuration parameters stored in the device side to determine the target index level of the device side, including:

[0106] Obtain the configuration parameters stored in the device side;

[0107] Perform matching processing on the manufacturer identifier of the device-side optical module and the device-side device identifier according to each index level;

[0108] If the identifiers corresponding to the second index level and the third index level are matched, it is determined that the position of the optical module between the host side and itself is not adapted, and the target index level of the device side is determined to be the second index level and the third index level.

[0109] Specifically, it is the same as the matching situation when only the first index level is matched by the host side in the above-mentioned embodiment. Here, matching processing is performed on the manufacturer identifier of the device-side optical module and the device-side device identifier according to each index level; if a match is found, it means that the device side is adapted to the link transmission channels of its own optical module, the host-side optical module, and the device-side optical module, and the position of the optical module between the host side and itself is not adapted.

[0110] The determination process of the non-adapted position of the optical module between the host side and itself provided by the present embodiment improves the accuracy of the matching judgment through the matching process of the opposite end of the device side compared with only detecting the host side itself.

[0111] In some embodiments, determining the configuration strategy of the target link position according to the target index level of the device side includes:

[0112] Obtain the fifth electrical signal amplitude of the optical module output ports of multiple host sides;

[0113] Adjust the multiple fifth electrical signal amplitudes to obtain the adjusted fifth electrical signal amplitude to adapt to the optical module between the host side and itself;

[0114] Obtain the fifth target parameter for characterizing the electrical signal quality of the optical module output ports of multiple host sides;

[0115] Determine the fifth bit error rate of the optical module input ports of the host side according to the multiple fifth target parameters;

[0116] Compare the multiple fifth bit error rates to screen out the target fifth bit error rate;

[0117] Obtain the sixth electrical signal amplitude of the host-side optical module input port stored on the host side and the sixth target parameter for characterizing the electrical signal quality;

[0118] Determine the sixth bit error rate of the optical module input port on the host side according to the sixth target parameter;

[0119] Determine the parameter consistency between the host side and the device side according to the adjusted fifth electrical signal amplitude, the fifth electrical signal amplitude, the target fifth bit error rate, and the sixth bit error rate.

[0120] Specifically, a controller on the host side, such as BMC, adjusts the input and output amplitudes and signal quality parameters of the host-side optical module. The determination processes of the adjusted fifth electrical signal amplitude, the fifth electrical signal amplitude, the target fifth bit error rate, and the sixth bit error rate are the same as those of the device-side optical module input and output signals in the above embodiments, and will not be elaborated here. The main difference is that the host side participates in this adjustment process as the execution entity. After adapting to its own optical module, it is then adapted to the device side.

[0121] After the adaptation of the optical module on the host side provided in this embodiment is completed, for the configuration adjustment of the entire link, on this basis, the parameter configuration between the host side and the device side is added to improve the accuracy of the link configuration parameters.

[0122] In some embodiments, after determining that the link between the host side and the device side is not adapted, it further includes:

[0123] Respectively control the host side and the device side to adjust the fourth signal amplitude of the corresponding optical module output port;

[0124] Adjust the respective multiple fourth electrical signal amplitudes to obtain the adjusted fourth electrical signal amplitudes to respectively adapt the host side to its own optical module and the device side to its own optical module;

[0125] Respectively obtain the fourth target parameters for characterizing the electrical signal quality of the optical module output ports of the host side and the device side;

[0126] Determine the fourth bit error rates of the optical module input ports of the host side and the device side respectively according to the respective multiple fourth target parameters;

[0127] Determine the parameter consistency between the host side and the device side based on the respective adjusted fourth electrical signal amplitudes and the respective fourth bit error rates.

[0128] Specifically, after the link between the host side and the device side is not adapted, the entire link needs to be configured here, and it needs to be configured in an orderly manner. For example, the host side baseboard manager and the device side baseboard manager respectively adjust the relevant parameters of the connected optical modules in the order of first adjusting the amplitude of the optical module output signal and then adjusting the signal quality. After the adjustment of the optical module parameters is completed, the adjustment method of the device side device link parameters is added to achieve the adjustment and optimization process of the optical module interconnection link parameters. Different from the above content is that the adjustment of the host side optical module and the adjustment of the device side optical module are carried out simultaneously. Figure 3 A schematic diagram of the link adaptation between the host side and the device side provided by the embodiment of the present application is shown in Figure 3 As shown, first detect the components of the link position. Based on the component configuration information, one is to match the parameters of the link position of the current link transmission channel, and the other is to modify and match the parameters of the link position of the current link transmission channel. Finally, adjust the parameters of the optical modules on the host side and the device side respectively, and then store the configured link parameters after the adjustment.

[0129] In this embodiment, the fourth signal amplitude, the fourth target parameter of the optical module output port, and the fourth bit error rate of the corresponding optical module input port are only general terms. Here, it is necessary to represent the parameters of the host side and the device side respectively to achieve the adaptation between the host side and its own optical module, and between the device side and its own optical module. Regarding the corresponding link adaptation between the host side and the device side, its consistency is determined by comparing the fourth electrical signal amplitude and the fourth bit error rate after their respective adjustments.

[0130] In this embodiment, after the host side and the device side respectively adapt to whether they are adapted to the optical module inside themselves, and then based on the adaptation of the parameter adjustment link, the adaptation process is made orderly, improving the adaptation efficiency.

[0131] In some embodiments, when the identifiers corresponding to the first index level, the second index level, and the third index level are matched among multiple identifier parameters, it further includes:

[0132] Obtain the configuration parameters of the input and output ports of the optical modules of the host side and the device side stored on the host side;

[0133] Match multiple optical modules on the host side according to the configuration parameters to determine the matching result;

[0134] Synchronize the matching result to the device side to control the initialization process of the optical modules on the host side and the device side to obtain updated configuration parameters;

[0135] Judge whether the current port status of the input and output ports of the optical modules on the host side and the device side is modified;

[0136] If there is a modification, determine whether the link transmission channel between the host side and the device side meets the preset requirements;

[0137] If it meets the requirements, determine that the configuration parameters between the host side and the device side have been updated.

[0138] Specifically, considering that after all the host sides are matched to the index level, it can be regarded that the current link has been adapted. During its actual use, it is necessary to verify whether the configuration parameters have changed and been updated. Therefore, it is necessary to obtain the configuration parameters of the input and output ports of the respective optical modules of the host side and the device side stored, perform matching to determine the matching result, and synchronize the device side for initialization and update. In addition, it is also necessary to determine whether the port status of the input and output ports has been modified. If it has been modified, continue to determine whether the transmission parameters of the link transmission channel meet the preset requirements. If it meets the requirements, determine that the configuration parameters have been updated.

[0139] For example, in the baseboard manager of the host side, it can read the storage area pointed to by the three-level index in the storage device, and extract the configuration parameter information of the input and output ports of the host-side optical module and the device-side optical module; the baseboard manager of the host side synchronizes the result of the optical module information matching to the baseboard manager of the device side. The two baseboard managers respectively control the connected optical modules to enter the initialization process, and update the input and output port configuration parameter information to the internal active control storage area of the optical module during the optical module initialization process. The optical module reads and applies the parameter information read from the active control storage area to configure the corresponding parameters of the input and output ports. After all the optical modules are configured, the two baseboard managers read the current status of the input and output ports of the connected optical modules again to determine whether the optical module parameters have been correctly modified. At the same time, the two baseboard managers read the processing results of the two signal processing modules to determine whether the current optical interconnection link meets the system working requirements.

[0140] In the case of all matching to the index level provided by this embodiment, a verification process is added during actual use to improve the accuracy of data transmission.

[0141] Figure 4 It is a flowchart of another link parameter processing method provided by an embodiment of the present application. As Figure 4 shown, it includes:

[0142] S21: Determine whether the first index level is matched; if so, go to step S22, if not, go to step S23;

[0143] S22: Determine whether the second index level is matched; if so, go to step S24, if not, go to step S25;

[0144] S23: Optimize the configuration parameters of the host-side optical module link and go to step S22;

[0145] S24: Determine whether the third index level is matched; if so, proceed to step S26; if not, proceed to step S27;

[0146] S25: Optimize the configuration parameters of the optical module link at the device end and proceed to step S24;

[0147] S27: Optimize the configuration parameters of the device link at the device end and proceed to step S26;

[0148] S26: Directly apply the link parameters to the optical modules at the host end and the device end respectively.

[0149] It should be noted that the situation where none of the three index levels are matched is not considered in this embodiment. One can refer to the above embodiment and details are not elaborated here.

[0150] Furthermore, an optical interconnection system provided in an embodiment of the present application includes a control unit, a host end, and a device end; the control unit is connected to the host end and the device end;

[0151] The optical modules at the host end and the device end are connected through optical fibers;

[0152] The control platforms at the host end and the device end exchange the link parameters supported by the host end and the device end through a network switching unit;

[0153] The control unit is configured to execute the steps of the above link parameter processing method.

[0154] In this embodiment, it is different from the structure of the optical interconnection system in Figure 1 , and a control unit is additionally added, and the rest of the devices are Figure 1 the same.

[0155] In Figure 1 , the link parameter processing method of the present application can also be applied. As shown in Figure 1 , under a network switching unit, a host server including a unique processor and multiple device servers each including at least one device are connected; the servers in the host server are externally connected to multiple groups of electrical signal data links, which respectively pass through a host end signal processing module and N optical modules of Type-A at the host end. The optical modules convert the input electrical signals into optical signals and are connected to the device end optical modules in multiple device servers through the optical fibers connected to the optical modules; the models and quantities of the device end optical modules in the device servers are different; after the device end optical modules convert the optical signals into electrical signals, they are respectively connected to different device components through the device end signal processing module. In addition to the above optical interconnection links, a baseboard manager and a storage device are also included in the host processor and the device servers; the baseboard managers in all servers are connected to the same network unit through a network.

[0156] The storage devices in the host server and the device server are used to record the number of optical modules supported in the server, the types of optical modules, the corresponding configuration parameters when different optical modules work properly, the configuration parameters when the host works properly with different optical modules, and the configuration parameters when the device works properly with different optical modules; there is only one host server with only one storage device storing relevant information; the number of device servers is more than one, and the information stored in each storage device in its servers is also different. The baseboard management controller can communicate with the storage device and can be used to read or edit the information stored in the corresponding storage device;

[0157] The signal processing module is used to process the electrical signals after being converted by the optical module, determine whether the electrical signals after being converted by the optical module meet the requirements of the processor or the device for operation, and then determine the current operating state of the processor or the device. The baseboard management controller can read the operating state judged by the signal processing module and adjust the optical module parameters based on this.

[0158] The baseboard management controller is also connected to the host or device components inside the server and is used for adjusting and storing the optical interconnection link parameters:

[0159] 1. Before the optical interconnection link is established: The device components in the device end actively send the parameter information supported by the device applicable to the general link to the baseboard management controller therein; the host in the host server also actively sends the parameter information supported by the host applicable to the general link to the baseboard management controller therein; the baseboard management controllers in the device servers and the baseboard management controller in the host server exchange the parameter information supported by the host and the device with each other through the network switching unit;

[0160] 2. When the optical interconnection link is established and normal communication is carried out: The device components in the host server actively send the parameter information when the device works properly applicable to the current link to the baseboard management controller therein, and the baseboard management controller therein updates the optical module type, quantity and device parameter information in this link to the corresponding storage device; the host in the host server and the baseboard management controller therein, similarly, also update the relevant information to the corresponding storage device.

[0161] The baseboard management controller inside the server is connected to all the optical modules therein. After the optical modules are powered on, the baseboard management controller reads the type identifier, manufacturer identifier, device-end device identifier inside the optical modules, as well as the signal configuration parameter information of the transmitting end and the receiving end. When the present link is in a normal communication state, the baseboard management controller stores the correspondence between the above configuration parameter information and the optical module type identifier and manufacturer identifier in the host-side storage device, where the storage format is that the optical module type identifier is the first-level index, the manufacturer identifier is the second-level index, and the device-end device identifier is the third-level index. Different from the host-side storage device storing three index information, the device-end storage device only stores two index identifiers of the device-end optical module and the device device, that is, only the second-level index and the third-level index. Different third-level indexes point to different storage areas inside the memory device, and respectively store the corresponding optical module signal configuration parameter information. When it is subsequently detected that an optical interconnection link composed of optical modules using the same or similar parameters, the baseboard management controller can call the previous configuration parameter information to configure the optical module.

[0162] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner.

[0163] The embodiments of the present application further provide a link parameter processing device. Figure 5 As shown in the structural schematic diagram of a link parameter processing device provided by an embodiment of the present application, Figure 5 shown, it includes:

[0164] An acquisition module 11, configured to acquire the preset identifier parameters corresponding to the optical modules of the host side and the device side respectively;

[0165] A first determination module 12, configured to determine the index level corresponding to the link position according to the preset identifier parameters; wherein, the link position includes the optical module position of the host side and itself, the link transmission channel, and the optical module position of the device side and itself;

[0166] A second determination module 13, configured to match according to the index level and the configuration parameters stored in the host side to determine the target index level to be stored;

[0167] A third determination module 14, configured to determine the configuration strategy of the target link position according to the target index level so as to process the link parameters.

[0168] For the description of the features in the embodiments corresponding to the link parameter processing device, reference can be made to the relevant descriptions in the embodiments corresponding to the link parameter processing method, which will not be elaborated here one by one.

[0169] An embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above-described embodiments of the link parameter processing method.

[0170] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps in any of the above-described embodiments of the link parameter processing method when running.

[0171] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as a USB flash drive, a read-only memory (ROM for short), a random access memory (RAM for short), a mobile hard disk, a magnetic disk, or an optical disc that can store a computer program.

[0172] An embodiment of the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above-described embodiments of the link parameter processing method.

[0173] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above-described embodiments of the link parameter processing method.

[0174] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0175] The above has introduced in detail a link parameter processing method, an optical interconnection system, a device, a medium, and a product provided by the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the present application.

Claims

1. A link parameter processing method, characterized in that: include: Obtain preset identifier parameters corresponding to the optical modules on the host side and the device side respectively; Determine the index level corresponding to the link position according to the preset identifier parameter; wherein the link position includes the optical module position between the host end and itself, the link transmission channel and the optical module position between the device end and itself; The target index level of the storage is determined by matching the index level with the configuration parameters of the host-side storage; A configuration strategy for the target link location is determined according to the target index level to process link parameters.

2. The link parameter processing method according to claim 1, characterized in that: Determining an index level corresponding to the link position according to a preset identifier parameter includes: Obtaining a preset optical module type identifier corresponding to the optical module of the host end, a preset optical module manufacturer identifier corresponding to the optical modules of the host end and the device end, and a preset device-end component identifier corresponding to the optical module of the device end; Establishing a first mapping relationship between the preset optical module type identifier, the host end and the optical module position of the host end as a first index level; Establishing a second mapping relationship between the preset optical module manufacturer identifier and the link transmission channel as a second index level; Establishing a third mapping relationship between the preset device-end device identifier, the device-end and its own optical module position as a third index level; Among them, the first index level represents the matching index between the host end and its own optical module corresponding to the position of the optical module of the host end and its own optical module; the second index level represents the matching index between the host end optical module and the device end optical module corresponding to the link transmission channel; the third index level represents the matching index between the device end and its own optical module corresponding to the position of the device end and its own optical module; the index levels of the first index level, the second index level and the third index level decrease in sequence.

3. The link parameter processing method according to claim 2, characterized in that: The target index level of the storage is determined by matching the index level with the configuration parameters of the host storage, including: Acquire configuration parameters stored on the host side; wherein the configuration parameters include an optical module type identifier corresponding to the host side's own optical module currently stored on the host side, a manufacturer identifier corresponding to each of the optical modules on the host side and the device side, and a device-side component identifier corresponding to the device side's own optical module; Matching multiple identifier parameters according to multiple index levels; If identifiers corresponding to the first index level, the second index level and the third index level are matched among the multiple identifiers, it is determined that the link between the host end and the device end has been adapted, and the target index level is determined to be the first index level, the second index level and the third index level.

4. If the identifiers corresponding to the first index level and the second index level are matched among the multiple identifiers, it is determined that the optical module of the host end and the optical module of the device end, and the optical module of the host end and the optical module of the device end are adapted, and the target index level is determined to be the first index level and the second index level; If an identifier corresponding to the first index level is matched among the multiple identifiers, it is determined that the optical module of the host end and itself are adapted, and the target index level is determined to be the first index level; If the identifiers corresponding to the first index level, the second index level, and the third index level are not matched among the multiple identifiers, it is determined that the link between the host end and the device end is not adapted.

5. The link parameter processing method according to claim 3, characterized in that: The configuration strategy for determining the target link location according to the target index level includes: When the target index level is the first index level and the second index level, the target link position is determined to be the position of the optical module of the device end and itself, and the device end device is replaced and configured according to the position of the optical module of the device end and itself; When the target index level is the first index level, the target link position is determined to be the optical module position of the device end and itself, and the optical module of the device end corresponding to the link transmission channel. Then, the optical module of the device end is adapted according to the optical module position of the device end and itself, and the optical module of the device end corresponding to the link transmission channel.

6. The link parameter processing method according to claim 4, characterized in that: Replace and configure the device-side components according to the position of the device-side and its own optical modules, including: Matching the type identifier of the optical module of the device end with the device end device identifiers of the plurality of device end devices to determine the matching initial target device end device; matching the device-side device identifier of the initial target device-side device with the host-side device identifier; If a match is found, the matched initial target device-side device is used as the final device-side device; The final device-side component is replaced, and the link parameters of the final device-side component are configured to the host side to complete the configuration.

7. The link parameter processing method according to claim 4, characterized in that: Adapt the optical module on the device side according to the position of the optical module on the device side and itself, and the optical module on the device side corresponding to the link transmission channel, including: Acquire the amplitude of the first electrical signal at the output port of the optical module of the multiple device ends; Adjusting the amplitudes of the plurality of first electrical signals to obtain an adjusted amplitude of the first electrical signal to adapt the device end to its own optical module; Acquire a first target parameter of the optical module output ports of the multiple device ends for characterizing the quality of the electrical signal; Determine a first bit error rate of an optical module input port of the device end according to a plurality of first target parameters; Comparing a plurality of first bit error rates to screen out a target first bit error rate; Apply the first target parameter corresponding to the target first bit error rate to the optical module of the adapter device itself to complete the configuration.

8. The link parameter processing method according to claim 6, characterized in that: After the adaptation is completed, it also includes: Acquire the second electrical signal amplitudes of the optical module input ports of the multiple device ends themselves; Adjusting the amplitudes of the plurality of second electrical signals to obtain an adjusted amplitude of the second electrical signal to adapt the device end to its own optical module; Acquire a second target parameter of the optical module input ports of the multiple device ends for characterizing the quality of the electrical signal; Determine a second bit error rate of an optical module input port of the device end according to a plurality of second target parameters; Comparing the plurality of second bit error rates to screen out a target second bit error rate; Acquire a third electrical signal amplitude of an output port of the host-side optical module stored on the host-side and a third target parameter for characterizing the quality of the electrical signal; Determine a third bit error rate of the optical module input port of the device end according to the third target parameter; The parameter consistency of the host end and the device end is determined according to the second electrical signal amplitude, the third electrical signal amplitude, the target second bit error rate and the third bit error rate.

9. The link parameter processing method according to claim 3, characterized in that: If the identifier corresponding to the first index level is not matched among the multiple identifier parameters, the method further includes: According to the index level and the configuration parameters stored on the device side, a match is performed to determine the target index level of the device side; wherein the configuration parameters stored on the device side include the manufacturer identifier of the optical module currently stored on the device side and the device side component identifier; A configuration strategy that determines the target link location based on the device-side target index level.

10. The link parameter processing method according to claim 8, characterized in that: The target index level on the device is determined by matching the index level with the configuration parameters stored on the device, including: Get the configuration parameters stored on the device; Matching the manufacturer identifier of the optical module on the device side and the device identifier on the device side according to each index level; If the identifiers corresponding to the second index level and the third index level are matched, it is determined that the optical module positions of the host end and itself are not adapted, and the target index levels of the device end are determined to be the second index level and the third index level.

11. The link parameter processing method according to claim 3, characterized in that: After determining that the link between the host and the device is not adapted, the following is also included: Controlling the host end and the device end to adjust the fourth signal amplitude of the corresponding optical module output port respectively; Adjusting the amplitudes of the respective fourth electrical signals to obtain adjusted amplitudes of the fourth electrical signals to respectively adapt to the optical module between the host end and itself, and the optical module between the device end and itself; Obtaining fourth target parameters for characterizing the quality of electrical signals at the output ports of the optical modules at the host end and the device end respectively; Determine fourth bit error rates of respective optical module input ports of the host end and the device end according to respective multiple fourth target parameters; The parameter consistency of the host end and the device end is determined by using the respective adjusted fourth electrical signal amplitudes and respective fourth bit error rates.

12. The link parameter processing method according to claim 3, characterized in that: When the identifiers corresponding to the first index level, the second index level, and the third index level are matched in the multiple identifier parameters, the method further includes: Obtain the configuration parameters of the input and output ports of the optical modules of the host side and the device side respectively stored in the host side; Matching multiple optical modules on the host end according to the configuration parameters to determine a matching result; Synchronize the matching result to the device end to control the initialization processing of the optical modules of the host end and the device end to obtain updated configuration parameters; Determine whether the current port status of the input and output ports of the optical modules on the host side and the device side are modified; If modified, determine whether the link transmission channel between the host end and the device end meets the preset requirements; If satisfied, it is determined that the configuration parameters between the host and the device are updated.

13. An optical interconnection system, characterized in that: The optical interconnection system comprises a control unit, a host end and a device end; the control unit connects the host end and the device end; The optical modules of the host end and the device end are connected via optical fibers; The control platform of the host end and the control platform of the device end exchange link parameters supported by the host end and the device end through a network switching unit; The control unit is used to execute the steps of the link parameter processing method described in any one of claims 1 to 11 above.

14. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the link parameter processing method according to any one of claims 1 to 11 when executing the computer program.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the link parameter processing method according to any one of claims 1 to 11.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the link parameter processing method according to any one of claims 1 to 11 are implemented.

Citation Information

Cited By

  • Method for determining routing path, computer readable storage medium and product

    CN120416706A

  • Method for determining routing path, computer readable storage medium and product

    CN120416706B