A parameter configuration method and apparatus

By acquiring optical module parameter information and configuring appropriate serializer parameters, the compatibility issues of optical modules from different manufacturers in existing technologies are resolved, thereby improving communication quality and stability.

CN115996434BActive Publication Date: 2025-11-28DATANG MOBILE COMM EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111207664.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2025-11-28
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

In existing technologies, pre-configured SERDES parameters cannot simultaneously meet the application requirements of optical modules from multiple manufacturers, leading to communication errors and communication failures.

Method used

The first processor obtains the parameter information of the optical module, determines the serializer parameters that match the optical module, and sends them to the second processor for storage, thereby enabling the configuration of appropriate serializer parameters for optical modules from different manufacturers.

Benefits of technology

It improves communication quality and the reliability and stability of optical port applications, and solves the compatibility problem of optical modules from different manufacturers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115996434B_ABST
    Figure CN115996434B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a parameter configuration method and device, which are applied to a parameter configuration circuit, the parameter configuration circuit comprises a first processor, a second processor and at least one first optical module, the first processor is connected with the first optical module, a serializer interface of the second processor is connected with the first optical module, and the first processor is connected with the second processor; the first processor acquires parameter information of the first optical module; according to the parameter information of the first optical module, a serializer parameter matched with the first optical module is determined; the serializer parameter matched with the first optical module is sent to the second processor; after the second processor receives the serializer parameter matched with the first optical module, the serializer parameter matched with the first optical module is stored. Therefore, the embodiment of the present application can configure the serializer parameter matched with the optical module for the processor connected with the optical module through the serializer interface according to the optical module of different manufacturers, so that the communication quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, and in particular to a parameter configuration method and device. BACKGROUND

[0002] An optical port is a key component of a high-speed communication device. The performance of the optical port determines whether the high-speed communication device can work normally. Inappropriate optical port parameters can cause excessive communication errors, leading to data errors received by the opposite end, and in serious cases, can cause communication failure between two high-speed communication modules, and further cause service interruption. Therefore, it is necessary to configure accurate and appropriate serdes (serializer) parameters of the optical port.

[0003] Currently, a set of optical port serdes parameters are pre-configured to adapt to optical modules of different manufacturers. However, when the board design margin is insufficient (such as the link insertion loss is slightly large, the stub is slightly large, etc.), the compatibility problem of different manufacturers' optical modules and the board will be particularly prominent, that is, the pre-configured set of optical port serdes parameters may not be able to meet the application requirements of optical modules of multiple manufacturers at the same time.

[0004] Therefore, it can be seen that the pre-configured serdes parameters in the prior art cannot meet the application requirements of optical modules of multiple manufacturers at the same time. SUMMARY

[0005] Embodiments of the present application provide a parameter configuration method and device to solve the problem that the pre-configured serdes parameters in the prior art cannot meet the application requirements of optical modules of multiple manufacturers at the same time.

[0006] In a first aspect, embodiments of the present application provide a parameter configuration method applied to a parameter configuration circuit, the parameter configuration circuit comprising a first processor, a second processor and at least one first optical module, the first processor being connected with the first optical module, a serializer interface of the second processor being connected with the first optical module, and the first processor being connected with the second processor.

[0007] The method comprises:

[0008] The first processor acquires parameter information of the first optical module.

[0009] The first processor determines a serializer parameter matched with the first optical module according to the parameter information of the first optical module.

[0010] The first processor sends the serializer parameter matched with the first optical module to the second processor.

[0011] The second processor stores the parameters of the serializer matched with the first optical module after receiving the parameters of the serializer matched with the first optical module.

[0012] Optionally, the first processor acquires the parameter information of the first optical module, including:

[0013] The first processor receives a target electrical signal sent when the first optical module is inserted into the board card.

[0014] The first processor acquires the parameter information of the first optical module in response to the target electrical signal.

[0015] Optionally, the first processor includes an interrupt interface, and the first processor is connected with the first optical module through the interrupt interface.

[0016] The first processor receives a target electrical signal sent when the first optical module is inserted into the board card, including:

[0017] The first processor receives the target electrical signal sent when the first optical module is inserted into the board card through the interrupt interface.

[0018] Optionally, the first processor acquires the parameter information of the first optical module, including:

[0019] In a predetermined first correspondence relationship, the parameters of the serializer corresponding to the parameter information of the first optical module are acquired.

[0020] The parameters of the serializer corresponding to the parameter information of the first optical module in the first correspondence relationship are determined as the parameters of the serializer matched with the first optical module.

[0021] The first correspondence relationship includes the correspondence relationship between the parameter information of the optical module and the parameters of the serializer, and the optical module includes the first optical module.

[0022] Optionally, before the first processor determines the parameters of the serializer matched with the first optical module according to the parameter information of the first optical module, the method further includes:

[0023] Acquiring interface information, wherein the interface information includes the information of the interface of the second processor connected with the first optical module.

[0024] The first processor determines the parameters of the serializer matched with the first optical module according to the parameter information of the first optical module, including:

[0025] In a predetermined second correspondence relationship, the parameters of the serializer corresponding to the parameter information of the first optical module and the interface information are acquired.

[0026] determining, as the serializer parameter matched with the first optical module, a serializer parameter corresponding to the parameter information of the first optical module and the interface information in the second correspondence relationship;

[0027] The second correspondence relationship includes a correspondence relationship among parameter information of an optical module, interface information of the second processor, and a serializer parameter.

[0028] Optionally, the first processor includes an integrated circuit bus interface, and the first processor is connected with the first optical module through the integrated circuit bus interface.

[0029] The parameter information of the first optical module includes:

[0030] The first processor reads the parameter information of the first optical module stored in the first optical module through the integrated circuit bus interface.

[0031] Optionally, the first processor includes a serial peripheral interface, and the first processor is connected with the second processor through the serial peripheral interface.

[0032] The first processor sends the serializer parameter matched with the first optical module to the second processor, including:

[0033] The first processor sends the serializer parameter matched with the first optical module to the second processor through the serial peripheral interface.

[0034] Optionally, the parameter information includes manufacturer information and / or optical module temperature information.

[0035] Optionally, the parameter configuration circuit further includes at least one third processor and a second optical module connected with the third processor, and the second optical module is connected with the first optical module.

[0036] The second processor communicates with the third processor through the first optical module and the second optical module based on the serializer parameter matched with the first optical module.

[0037] The optical module further includes the second optical module.

[0038] In a second aspect, the embodiments of the present application further provide a parameter configuration device, which is applied to a parameter configuration circuit, the parameter configuration circuit comprising a first processor, a second processor and at least one first optical module, the first processor being connected with the first optical module, a serializer interface of the second processor being connected with the first optical module, and the first processor being connected with the second processor.

[0039] The device comprises a first information acquisition module, a parameter determination module and a sending module arranged in the first processor.

[0040] The first information acquisition module is configured to acquire parameter information of the first optical module.

[0041] The parameter determination module is configured to determine a serializer parameter matched with the first optical module according to the parameter information of the first optical module.

[0042] The sending module is configured to send the serializer parameter matched with the first optical module to the second processor.

[0043] After the second processor receives the serializer parameter matched with the first optical module, the second processor stores the serializer parameter matched with the first optical module.

[0044] In a third aspect, the embodiments of the present application further provide a processor readable storage medium, which stores a computer program, the computer program being configured to make the processor execute the method of the first aspect.

[0045] In the embodiments of the present application, in the parameter configuration circuit, the first processor is connected with the at least one first optical module, the serializer interface of the second processor is connected with the first optical module, the first processor is connected with the second processor, the parameter information of the first optical module can be acquired through the first processor, the serializer parameter matched with the first optical module is determined according to the parameter information of the first optical module, the serializer parameter matched with the first optical module is sent to the second processor, and the second processor stores the serializer parameter matched with the first optical module. Therefore, the embodiments of the present application can configure the serializer parameter matched with the optical module for the processor connected with the optical module through the serializer interface according to the optical module of different manufacturers, so as to improve the communication quality. BRIEF DESCRIPTION OF DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative labor.

[0047] Figure 1 A circuit connection diagram of a parameter configuration circuit in the embodiment of the present application is shown in FIG. 1.

[0048] Figure 2 A flowchart of a parameter configuration method in the embodiment of the present application is shown in FIG. 2.

[0049] Figure 3 A structure block diagram of a parameter configuration apparatus in the embodiment of the present application is shown in FIG. 3. DETAILED DESCRIPTION

[0050] In the embodiment of the present application, the term "and / or" is used to describe the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.

[0051] In the embodiment of the present application, the term "a plurality of" means two or more, and other quantifiers are similar.

[0052] The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0053] The embodiment of the present application provides a parameter configuration method and apparatus to solve the problem that the pre-configured serdes parameters in the prior art cannot simultaneously meet the application requirements of optical modules of multiple manufacturers.

[0054] In addition, the technical solutions provided by the embodiments of the present application can be applied to various systems, especially 5G systems. For example, the applicable systems can be global system of mobile communication (GSM) systems, code division multiple access (CDMA) systems, Wideband Code Division Multiple Access (WCDMA) general packet radio service (GPRS) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, long term evolution advanced (LTE-A) systems, universal mobile systems (UMTS), worldwide interoperability for microwave access (WiMAX) systems, 5G new radio (NR) systems, and the like. Among these various systems, there are terminal devices and network devices. The system can also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), and the like.

[0055] The terminal device to which the embodiments of the present application relate can refer to a device that provides voice and / or data connectivity to a user, a handheld device having a wireless connection function, or other processing devices connected to a wireless modem, etc. In different systems, the name of the terminal device can also be different, for example, in the 5G system, the terminal device can be called user equipment (User Equipment, UE). The wireless terminal device can communicate with one or more core networks (Core Network, CN) through a radio access network (Radio Access Network, RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (also known as a "cellular" phone) and a computer with a mobile terminal device, for example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a radio access network. For example, personal communication service (Personal Communication Service, PCS) phones, cordless phones, session initiation protocol (Session Initiated Protocol, SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (Personal Digital Assistant, PDA) and the like. The wireless terminal device can also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent, a user device, which is not limited in the embodiments of the present application.

[0056] The network device related to the embodiments of the present application can be a base station, which can include multiple cells serving terminals. According to different application scenarios, the base station can also be referred to as an access point, or can be a device in an access network that communicates with wireless terminal devices through one or more sectors over an air interface, or other names. The network device can be used to exchange received air frames and Internet Protocol (IP) packets as a router between wireless terminal devices and the rest of the access network, which can include an Internet Protocol (IP) communication network. The network device can also coordinate the management of the properties of the air interface. For example, the network device related to the embodiments of the present application can be a network device (BTS) in the Global System for Mobile Communications (GSM) or Code Division Multiple Access (CDMA), and can also be a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), and can also be an evolved network device (eNB or e-NodeB) in a long term evolution (LTE) system, a 5G base station (gNB) in a next generation system, and can also be a home evolved Node B (HeNB), a relay node, a femto, a pico, etc., which are not limited in the embodiments of the present application. In some network structures, the network device can include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit can also be geographically separated.

[0057] The network device and the terminal device can each use one or more antennas for multi-input multi-output (MIMO) transmission, which can be single-user MIMO (SU-MIMO) or multiple-user MIMO (MU-MIMO). According to the form and number of root antenna combinations, the MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or can be diversity transmission or precoding transmission or beamforming transmission, etc.

[0058] In a first aspect, embodiments of the present application provide a parameter configuration method applied to a parameter configuration circuit. As shown in the figure, the parameter configuration circuit includes a first processor, a second processor and at least one first optical module, the first processor is connected with the first optical module, the serializer interface of the second processor is connected with the first optical module, and the first processor is connected with the second processor. Figure 1

[0059] It should be understood that the parameter configuration circuit can be a circuit arranged on a terminal device or a circuit arranged on a network device.

[0060] In addition, the second processor can be a field programmable gate array (FPGA). It should be understood that the second processor can also be other processors other than the FPGA.

[0061] In addition, in the parameter configuration circuit, the serializer interface of the second processor is connected with the first optical module, and therefore, the serializer parameters of the second processor need to be configured for the first optical module, so that the communication quality between the first optical module, the second processor and other processors can meet the predetermined requirements. In the embodiments of the present application, the serializer parameters of the second processor are configured through steps 201 to 203 as shown in the figure. Figure 2

[0062] In step 201, the first processor obtains the parameter information of the first optical module.

[0063] The parameter information includes manufacturer information and / or optical module temperature information. The optical module temperature is the normal working temperature of the optical module.

[0064] That is, in the embodiments of the present application, according to the manufacturer information and / or working temperature requirements of the first optical module, the serializer parameters matched with the first optical module are configured for the second processor connected with the first optical module through the serializer interface, so as to improve the communication quality. ​​

[0065] Optionally, the first processor acquires the parameter information of the first optical module, including:

[0066] The first processor receives a target electrical signal sent by the first optical module when the first optical module is inserted into the board card.

[0067] The first processor acquires the parameter information of the first optical module in response to the target electrical signal.

[0068] The target electrical signal can be a signal jumping from a high level to a low level. The high level is a voltage greater than or equal to a first preset threshold, and the low level is a voltage less than or equal to a second preset threshold. The first preset threshold is greater than the second preset threshold.

[0069] Therefore, when the first optical module is inserted into the board card, the first optical module will send a target electrical signal to the first processor to inform the first processor that the first optical module is in place.

[0070] In addition, the in-place signal of the first optical module is taken as a trigger interrupt source, and the interrupt mode system has higher responsiveness and timeliness than the Inter-Integrated Circuit (I2C) interface polling mode.

[0071] Optionally, the first processor includes an interrupt interface, and the first processor is connected with the first optical module through the interrupt interface.

[0072] The first processor receives a target electrical signal sent by the first optical module when the first optical module is inserted into the board card, including:

[0073] The first processor receives the target electrical signal sent by the first optical module when the first optical module is inserted into the board card through the interrupt interface.

[0074] That is, in the embodiment of the application, when the first optical module is inserted into the board card, the in-place signal (Optical_absent_signal) of the first optical module will generate an interrupt, so as to report the target electrical signal to the first processor through the interrupt interface.

[0075] Optionally, the first processor includes an Inter-Integrated Circuit (I2C) interface, and the first processor is connected with the first optical module through the I2C interface.

[0076] The first processor acquires the parameter information of the first optical module, including:

[0077] The first processor reads the parameter information of the first optical module stored in the first optical module through the I2C interface.

[0078] That is, the first processor can be connected with the first optical module through an Inter-Integrated Circuit (I2C) interface, so that when the first processor receives the target electrical signal sent by the first optical module when being inserted into the board card, the parameter information of the first optical module stored in the first optical module can be read through the I2C interface.

[0079] In the embodiment of the application, the I2C of the optical port is directly connected to the first processor, and the software implementation is simple and the stability is better.

[0080] In step 202, the first processor determines the serializer parameter matched with the first optical module according to the parameter information of the first optical module.

[0081] In the embodiment of the application, the serializer parameter matched with the first optical module is the serializer parameter that makes the communication quality between the second processor and other processors meet the predetermined requirement when the second processor is connected with the first optical module. It can be seen that, in the embodiment of the application, the serializer parameter matched with the optical module can be configured for the processor connected with the optical module through the serializer interface, so as to improve the communication quality.

[0082] Optionally, the determination of the serializer parameter matched with the first optical module according to the parameter information of the first optical module comprises:

[0083] In the predetermined first correspondence relationship, the serializer parameter corresponding to the parameter information of the first optical module is obtained;

[0084] The serializer parameter corresponding to the parameter information of the first optical module in the first correspondence relationship is determined as the serializer parameter matched with the first optical module;

[0085] The first correspondence relationship comprises the correspondence relationship between the parameter information of the optical module and the serializer parameter, and the optical module comprises the first optical module.

[0086] That is, in the embodiment of the application, the serializer parameter that makes the communication quality between the second processor and other processors meet the predetermined requirement when the second processor is connected with different optical modules through the serializer interface can be determined in advance, and the first correspondence relationship between the parameter information of the optical module and the serializer parameter is established, so that when the first optical module is connected with the second processor and is inserted into the board card, the serializer parameter corresponding to the parameter information of the first optical module can be obtained from the first correspondence relationship and is configured to the second processor.

[0087] It can be seen that, in the embodiment of the application, the serializer parameter matched with the optical module can be configured for the processor connected with the optical module through the serializer interface, so as to improve the communication quality.

[0088] Optionally, before the determining the serializer parameter matched with the first optical module according to the parameter information of the first optical module, the method further comprises:

[0089] obtaining interface information, wherein the interface information comprises information of an interface of the second processor to which the first optical module is connected;

[0090] The determining the serializer parameter matched with the first optical module according to the parameter information of the first optical module comprises:

[0091] obtaining, in a predetermined second correspondence relationship, the serializer parameter corresponding to the parameter information of the first optical module and the interface information;

[0092] determining, as the serializer parameter matched with the first optical module, the serializer parameter corresponding to the parameter information of the first optical module and the interface information in the second correspondence relationship;

[0093] The second correspondence relationship comprises a correspondence relationship among parameter information of an optical module, interface information of the second processor and a serializer parameter, and the optical module comprises the first optical module.

[0094] That is, in the embodiment of the present application, the serializer parameter can be predetermined when the second processor is connected with different optical modules through different serializer interfaces, and the communication quality between the second processor and other processors meets the predetermined requirement, and a second correspondence relationship among parameter information of an optical module, interface information of different serializer interfaces and a serializer parameter is established, so that when the first optical module is connected with the second processor and inserted into a board card, the serializer parameter corresponding to the parameter information of the first optical module and the interface information of the serializer interface of the second processor to which the first optical module is connected can be obtained from the second correspondence relationship, and configured to the second processor.

[0095] Therefore, the embodiment of the present application can not only configure appropriate serializer parameters for the second processor according to different optical modules, but also distinguish the serializer interfaces connected with different optical modules, that is, configure the serializer parameter matched with the optical module connected with the interface to the serializer interface of the second processor, so as to further improve the communication quality.

[0096] In step 203, the first processor sends the serializer parameter matched with the first optical module to the second processor.

[0097] After the second processor receives the serializer parameter matched with the first optical module, the second processor stores the serializer parameter matched with the first optical module.

[0098] Optionally, the first processor comprises a serial peripheral interface, and the first processor is connected with the second processor through the serial peripheral interface.

[0099] The first processor sends the serializer parameters matched with the first optical module to the second processor, comprising:

[0100] The first processor sends the serializer parameters matched with the first optical module to the second processor through the serial peripheral interface.

[0101] That is, the first processor can be connected with the second processor through a serial peripheral interface (SPI), and therefore, the first processor can send the serializer parameters matched with the first optical module to the second processor through the SPI interface.

[0102] Optionally, the parameter configuration circuit further comprises at least one third processor and a second optical module connected with the third processor, and the second optical module is connected with the first optical module; after the second processor stores the serializer parameters matched with the first optical module, the method further comprises:

[0103] The second processor communicates with the third processor through the first optical module and the second optical module based on the serializer parameters matched with the first optical module.

[0104] The optical module further comprises the second optical module. That is, the optical module in the first correspondence and the second correspondence comprises the first optical module and the second optical module.

[0105] Therefore, after the second processor stores the serializer parameters matched with the first optical module, the second processor can communicate with the third processor through the first optical module and the second optical module based on the serializer parameters matched with the first optical module. That is, the second processor can transmit data to the third processor through the first optical module and the second optical module based on the serializer parameters matched with the first optical module, so as to realize normal communication among the second processor, the first optical module, the second optical module and the third processor.

[0106] It can be understood that the parameter configuration method of the embodiments of the present application can also be used to configure the third processor with the serializer parameters matched with the second optical module, so as to further improve the communication quality.

[0107] As described above, in this embodiment, in the parameter configuration circuit, the first processor is connected to at least one first optical module, the serializer interface of the second processor is connected to the first optical module, and the first processor is connected to the second processor. The first processor can obtain parameter information of the first optical module, thereby determining the serializer parameters matching the first optical module based on the parameter information, and sending the matching serializer parameters to the second processor, allowing the second processor to store the matching serializer parameters. Therefore, this embodiment can configure serializer parameters matching the optical module for processors connected to the optical module via the serializer interface, thereby improving communication quality and increasing the reliability and stability of optical port applications.

[0108] In summary, the specific implementation method of the parameter configuration method in this application can be described as follows:

[0109] The parameter configuration method of this application embodiment is applied to a parameter configuration circuit, which can be mounted on a circuit board. For example... Figure 1 As shown, the parameter configuration circuit includes a first processor, a second processor (e.g., an FPGA), and a first optical module.

[0110] The first processor is a key component of the board, and its external interfaces include I2C, interrupt, and SPI interfaces. The main functions of these interfaces are as follows:

[0111] The main function of the I2C interface is to obtain parameter information of the first optical module, such as manufacturer information and optical module temperature.

[0112] The main functions of the interrupt interface are: to quickly and accurately obtain the location information of the first optical module and to configure appropriate serializer parameters in a timely manner to ensure good communication;

[0113] The main functions of the SPI interface are: to send the serializer parameters to the second processor and to read whether the serializer parameter registers of the second processor are configured successfully.

[0114] In addition, the second processor is responsible for interconnecting with the first optical module and processing the received data. Its main external communication interfaces include the SPI interface and the high-speed serializer interface. The SPI interface functions as described above. The high-speed serializer interface mainly provides a high-speed data communication link and is mainly used for data interaction with the first optical module.

[0115] In addition, the first optical module is the device's external communication component, whose main function is to interconnect and communicate with the other end device.

[0116] based on Figure 1 The parameter configuration circuit shown in this application, and the parameter configuration method of this embodiment, are described as follows:

[0117] When the first optical module is inserted into the board card, the in-place signal of the first optical module generates an interrupt, and reports to the first processor through the interrupt interface, to inform the first processor that the first optical module is in place;

[0118] When the first processor detects the interrupt, the first processor reads the corresponding register of the first optical module through the I2C bus interface, obtains the parameter information of the first optical module, and determines the serializer parameters matched with the first optical module according to the parameter information of the first optical module;

[0119] When the first processor obtains the parameter information, the first processor writes the serializer parameters matched with the first optical module to the register related to the optical port serializer in the second processor through the SPI interface for communication between the first processor and the second processor, and the serializer parameters matched with the first optical module take effect immediately.

[0120] Therefore, the embodiment of the application takes the in-place signal of the first optical module as a trigger interrupt source, and the interrupt mode system has higher responsiveness and timeliness; the I2C of the optical port is directly connected to the processor, the software implementation is simple and stable; in addition, different optical modules can be configured with matched serializer parameters, which increases the reliability and stability of the optical port application, and the implementation method is simple and has strong operability.

[0121] In addition, the second processor is mainly used for distributing and processing the data transmitted by the first optical module, and in the embodiment of the application, the first processor determines the serializer parameters matched with the first optical module and then sends them to the second processor, rather than directly determining the serializer parameters matched with the first optical module by the second processor itself, so that the software implementation of the second processor does not need to be changed too much, thereby making the parameter configuration method of the embodiment of the application more easy to implement.

[0122] In a second aspect, the embodiment of the application further provides a parameter configuration device applied to a parameter configuration circuit, the parameter configuration circuit comprising a first processor, a second processor and at least one first optical module, the first processor being connected with the first optical module, a serializer interface of the second processor being connected with the first optical module, and the first processor being connected with the second processor;

[0123] As shown in Figure 3 The device comprises a first information acquisition module 301, a parameter determination module 302 and a sending module 303 arranged in the first processor;

[0124] The first information acquisition module 301 is used for acquiring the parameter information of the first optical module;

[0125] The parameter determination module 302 is configured to determine the serializer parameter matched with the first optical module according to the parameter information of the first optical module.

[0126] The sending module 303 is configured to send the serializer parameter matched with the first optical module to the second processor.

[0127] After the second processor receives the serializer parameter matched with the first optical module, the second processor stores the serializer parameter matched with the first optical module.

[0128] Optionally, the first information obtaining module 301 comprises:

[0129] The receiving submodule is configured to receive a target electrical signal sent when the first optical module is inserted into the board card.

[0130] The information obtaining submodule is configured to obtain the parameter information of the first optical module in response to the target electrical signal.

[0131] Optionally, the first processor comprises an interrupt interface, and the first processor is connected with the first optical module through the interrupt interface; the receiving submodule is connected with the interrupt interface.

[0132] The receiving submodule is specifically configured to:

[0133] The target electrical signal sent when the first optical module is inserted into the board card is received through the interrupt interface.

[0134] Optionally, the parameter determination module 302 is specifically configured to:

[0135] In a predetermined first correspondence relationship, the serializer parameter corresponding to the parameter information of the first optical module is obtained;

[0136] The serializer parameter corresponding to the parameter information of the first optical module in the first correspondence relationship is determined as the serializer parameter matched with the first optical module.

[0137] The first correspondence relationship comprises a correspondence relationship between the parameter information of an optical module and a serializer parameter, and the optical module comprises the first optical module.

[0138] Optionally, the apparatus further comprises:

[0139] A second information obtaining module arranged in the first processor is configured to obtain interface information, wherein the interface information comprises information of an interface of the second processor connected with the first optical module.

[0140] The parameter determination module 302 is specifically configured to:

[0141] In the predetermined second correspondence relationship, a serializer parameter corresponding to the parameter information of the first optical module and the interface information is acquired;

[0142] The serializer parameter corresponding to the parameter information of the first optical module and the interface information in the second correspondence relationship is determined as the serializer parameter matched with the first optical module;

[0143] The second correspondence relationship includes a correspondence relationship among parameter information of an optical module, interface information of the second processor, and a serializer parameter, and the optical module includes the first optical module.

[0144] Optionally, the first processor includes an integrated circuit bus interface, the first processor is connected with the first optical module through the integrated circuit bus interface, and the first information acquisition module 301 is connected with the integrated circuit bus interface.

[0145] The first information acquisition module 301 is specifically configured to:

[0146] The parameter information of the first optical module stored in the first optical module is read through the integrated circuit bus interface.

[0147] Optionally, the first processor includes a serial peripheral interface, the first processor is connected with the second processor through the serial peripheral interface, and the sending module 303 is connected with the serial peripheral interface.

[0148] The sending module 303 is specifically configured to:

[0149] The serializer parameter matched with the first optical module is sent to the second processor through the serial peripheral interface.

[0150] Optionally, the parameter information includes manufacturer information and / or optical module temperature information.

[0151] Optionally, the parameter configuration circuit further includes at least one third processor and a second optical module connected with the third processor, and the second optical module is connected with the first optical module.

[0152] The apparatus further includes:

[0153] A control module arranged in the second processor, the control module being configured to perform communication with the third processor through the first optical module and the second optical module based on the serializer parameter matched with the first optical module.

[0154] The optical module further includes the second optical module.

[0155] From the above, in the embodiment of the present application, in the parameter configuration circuit, the first processor is connected with the at least one first optical module, the serializer interface of the second processor is connected with the first optical module, the first processor is connected with the second processor, and the parameter information of the first optical module can be acquired through the first processor, so that the serializer parameter matched with the first optical module is determined according to the parameter information of the first optical module, and the serializer parameter matched with the first optical module is sent to the second processor, so that the second processor stores the serializer parameter matched with the first optical module. As can be seen, the embodiment of the present application can configure the serializer parameter matched with the optical module for the processor connected with the optical module through the serializer interface according to the optical module of different manufacturers, so as to improve the communication quality.

[0156] The embodiment of the present application further provides a processor readable storage medium, the processor readable storage medium stores a computer program, and the computer program is used for enabling the processor to execute the parameter configuration method.

[0157] The processor readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to a magnetic memory (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO) and the like), an optical memory (such as a CD, a DVD, a BD, a HVD and the like), and a semiconductor memory (such as a ROM, an EPROM, an EEPROM, a non-volatile memory (NAND FLASH), a solid state disk (SSD)) and the like.

[0158] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can adopt a completely hardware embodiment, a completely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can adopt a computer program product implemented on one or more computer usable storage media (including but not limited to a magnetic disk memory and an optical memory and the like) containing computer usable program codes.

[0159] The present application is described with reference to flowcharts and / or block diagrams according to the method, device (system) and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer executable instructions. These computer executable instructions can be provided to the processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in one flow or multiple flows and / or blocks Figure 1 The functions specified in one flow or multiple flows and / or blocks

[0160] These processor-executable instructions can also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart Figure 1 one or more flows and / or blocks Figure 1 one or more blocks or multiple blocks.

[0161] These processor-executable instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions that are executed on the computer or other programmable apparatus provide steps for implementing the function specified in the flowchart Figure 1 one or more flows and / or blocks Figure 1 one or more blocks or multiple blocks.

[0162] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the claims and their equivalents, the application can be practiced otherwise than as specifically described.

Claims

1. A parameter configuration method, characterized in that, The parameter configuration circuit includes a first processor, a second processor, and at least one first optical module. The first processor is connected to the first optical module, the serializer interface of the second processor is connected to the first optical module, and the first processor is connected to the second processor. The method includes: The first processor acquires the parameter information of the first optical module; The first processor determines the serializer parameters that match the first optical module based on the parameter information of the first optical module; The first processor sends the serializer parameters that match the first optical module to the second processor; Wherein, after receiving the serializer parameters that match the first optical module, the second processor stores the serializer parameters that match the first optical module. The first processor acquires parameter information of the first optical module, including: The first processor receives the target electrical signal sent when the first optical module is inserted into the board; The first processor responds to the target electrical signal and acquires parameter information of the first optical module; wherein, the first processor includes an interrupt interface, and the first processor is connected to the first optical module through the interrupt interface; The first processor receives the target electrical signal sent when the first optical module is inserted into the board, including: The first processor receives the target electrical signal sent when the first optical module is inserted into the board via the interrupt interface.

2. The method according to claim 1, characterized in that, The step of determining the serializer parameters matching the first optical module based on the parameter information of the first optical module includes: In a predetermined first correspondence, the serializer parameters corresponding to the parameter information of the first optical module are obtained; The serializer parameters that correspond to the parameter information of the first optical module in the first correspondence are determined as the serializer parameters that match the first optical module. The first correspondence includes the correspondence between the parameter information of the optical module and the serializer parameters, and the optical module includes the first optical module.

3. The method according to claim 1, characterized in that, Before determining the serializer parameters matching the first optical module based on the parameter information of the first optical module, the method further includes: Obtain interface information, wherein the interface information includes information about the interface of the second processor to which the first optical module is connected; The step of determining the serializer parameters matching the first optical module based on the parameter information of the first optical module includes: In the predetermined second correspondence, the serializer parameters corresponding to the parameter information of the first optical module and the interface information are obtained; The serializer parameters corresponding to the parameter information and interface information of the first optical module in the second correspondence are determined as the serializer parameters that match the first optical module. The second correspondence includes the correspondence between the optical module's parameter information, the second processor's interface information, and the serializer's parameters, and the optical module includes the first optical module.

4. The method according to any one of claims 1 to 3, characterized in that, The first processor includes an integrated circuit bus interface, and the first processor is connected to the first optical module through the integrated circuit bus interface; The step of obtaining the parameter information of the first optical module includes: The first processor reads the parameter information of the first optical module stored in the first optical module through the integrated circuit bus interface.

5. The method according to any one of claims 1 to 3, characterized in that, The first processor includes a serial peripheral interface, and the first processor is connected to the second processor through the serial peripheral interface; The first processor sends the serializer parameters matched with the first optical module to the second processor, including: The first processor sends the serializer parameters that match the first optical module to the second processor through the serial peripheral interface.

6. The method according to any one of claims 1 to 3, characterized in that, The parameter information includes manufacturer information and / or optical module temperature information.

7. The method according to any one of claims 1 to 3, characterized in that, The parameter configuration circuit further includes at least one third processor and a second optical module connected to the third processor, wherein the second optical module is connected to the first optical module. After the second processor stores the serializer parameters that match the first optical module, the method further includes: The second processor communicates with the third processor through the first optical module and the second optical module based on serializer parameters that match the first optical module; The optical module further includes the second optical module.

8. A parameter configuration device, characterized in that, The parameter configuration circuit includes a first processor, a second processor, and at least one first optical module. The first processor is connected to the first optical module, the serializer interface of the second processor is connected to the first optical module, and the first processor is connected to the second processor. The device includes a first information acquisition module, a parameter determination module, and a transmission module disposed in the first processor; The first information acquisition module is used to acquire parameter information of the first optical module; The parameter determination module is used to determine the serializer parameters that match the first optical module based on the parameter information of the first optical module. The transmitting module is used to send the serializer parameters that match the first optical module to the second processor; After receiving the serializer parameters that match the first optical module, the second processor stores the serializer parameters that match the first optical module. The first processor acquires parameter information of the first optical module, including: The first processor receives the target electrical signal sent when the first optical module is inserted into the board; The first processor responds to the target electrical signal and acquires the parameter information of the first optical module; The first processor includes an interrupt interface, and the first processor is connected to the first optical module through the interrupt interface; The first processor receives the target electrical signal sent when the first optical module is inserted into the board, including: The first processor receives the target electrical signal sent when the first optical module is inserted into the board via the interrupt interface.

9. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a computer program for causing the processor to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Switch configuration method, device and equipment and computer readable storage medium

    CN111541568A

  • Mode self-adaption method, device and equipment and computer readable storage medium

    CN111541629A