CN113726425B - Wired communication method, device, equipment and readable storage medium - Google Patents
Wired communication method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN113726425B CN113726425B CN202110876866.9A CN202110876866A CN113726425B CN 113726425 B CN113726425 B CN 113726425B CN 202110876866 A CN202110876866 A CN 202110876866A CN 113726425 B CN113726425 B CN 113726425B
- Authority
- CN
- China
- Prior art keywords
- link
- communication parameters
- parameters
- transceiver
- power consumption
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 255
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 24
- 230000003287 optical effect Effects 0.000 claims abstract description 19
- 239000013307 optical fiber Substances 0.000 claims abstract description 18
- 238000012549 training Methods 0.000 claims description 20
- 239000000872 buffer Substances 0.000 claims description 16
- 238000012544 monitoring process Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 9
- 230000007547 defect Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 3
- 229910052802 copper Inorganic materials 0.000 description 3
- 239000010949 copper Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000004883 computer application Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07953—Monitoring or measuring OSNR, BER or Q
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07955—Monitoring or measuring power
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0799—Monitoring line transmitter or line receiver equipment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/40—Transceivers
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
The application discloses a wired communication method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: acquiring connection information of a link corresponding to a transceiver newly inserted into the system, and configuring corresponding preset communication parameters for the link according to the connection information; after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored; under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters; selecting target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature; target communication parameters are configured for the link and communication is performed with the transceiver based on the target communication parameters. In the present application, detecting signals and adapting communication parameters of the optimized link at the moment of link establishment can adapt different communication parameters at different ambient temperatures to increase stability of channel data transmission and reduce system power consumption.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wired communication method, apparatus, device, and readable storage medium.
Background
On the link of the high-speed communication chip of the multi-node server, communication data transmission is often performed by means of interconnection of high-speed transmission interfaces. Before the two ends can normally communicate, protocol synchronization of the two ends is established. Each channel has different channel characteristics, for example, a common network card main chip is connected to another end PCB through a PCB (printed Circuit Board) Board and a pluggable DAC (direct attached cable or direct connected copper cable) or an optical module through a copper cable or an optical fiber transmission line, or is in communication with the other end PCB through one or two connectors, and each connection mode has different physical channel characteristics and a linked signal frequency and temperature difference, and before both sides perform normal communication, the channel stability is increased by configuring appropriate parameters.
In order to compensate impedance discontinuity and interference between signals caused by different physical characteristics on a physical channel, a chip needs to configure equalization parameters of a transmitting end and a receiving end to compensate signal attenuation and interference of the channel, so as to reduce the problem of signal distortion.
The physical positions of high-speed transmission chips in a multi-node operation system are different from the number of nodes, the characteristics of channels connected with each other by each node are different, some nodes are connected in a back plane mode, some nodes are connected in a chip-to-chip mode and are also connected through an optical fiber network, and different connection modes and connection numbers are difficult to completely cover under the condition of using fixed parameters of the chips.
In summary, how to effectively solve the problems of configuring suitable communication parameters for links, etc., is a technical problem that those skilled in the art are urgently in need of solving.
Disclosure of Invention
The present application provides a wired communication method, device, apparatus and readable storage medium, which detect signals and adapt communication parameters of an optimized link when the link is established, so as to adapt different communication parameters at different environmental temperatures to increase stability of channel data transmission and reduce system power consumption.
In order to solve the technical problem, the application provides the following technical scheme:
a method of communication, comprising:
acquiring connection information of a link corresponding to a transceiver newly inserted into a system, and configuring corresponding preset communication parameters for the link according to the connection information;
after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored;
under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters;
selecting target communication parameters from the different communication parameters by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature;
and configuring the target communication parameters for the link, and communicating by using the transceiver based on the target communication parameters.
Preferably, the acquiring system newly inserts connection information of a link corresponding to the transceiver, including:
acquiring the connection state, the signal type and the connection medium of the link after detecting the transceiver newly inserted into the system;
determining the connection state, the signal type, and the connection medium as the connection information.
Preferably, under the condition of continuously adjusting communication parameters, performing pseudo-random code detection on the link to obtain error rates under different communication parameters, including:
configuring a channel buffer of the transceiver to close an internal loopback;
and setting a search interval of each communication parameter under the reference of a preset parameter of link training and carrying out pseudo-random detection on the link to obtain the error rates under different communication parameters.
Preferably, before configuring the channel buffer of the transceiver to close the internal loopback, the method further comprises:
configuring a channel buffer of the transceiver as an internal loopback;
carrying out pseudo-random code detection on the transceiver to obtain an internal loopback error rate;
and detecting the transceiver by using the internal loopback error rate.
Preferably, the method further comprises the following steps:
if the configuration parameters are detected to be wrong, reconfiguring corresponding preset communication parameters for the link;
and if the physical defect of the transceiver is detected, outputting corresponding defect information.
Preferably, the setting a search interval of each communication parameter under the reference of a preset parameter of link training and performing pseudo-random detection on the link to obtain the error rates under different communication parameters includes:
and setting a search interval of equalization parameters and/or pre-emphasis parameters under the reference of the link tuning preset parameters, and performing pseudo-random detection on the link to obtain error rates under different equalization parameters and/or pre-emphasis parameters.
Preferably, selecting a target communication parameter from the different communication parameters by combining the bit error rates under the different communication parameters and the correspondingly monitored power consumption and temperature, includes:
acquiring communication requirements of an application scene;
and selecting target communication parameters meeting the communication requirements from the different communication parameters by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature.
A wired communication device, comprising:
the parameter pre-configuration module is used for acquiring the connection information of a link corresponding to a transceiver newly inserted into the system and configuring corresponding preset communication parameters for the link according to the connection information;
the monitoring module is used for monitoring the temperature and the power consumption of the link after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured;
the training module is used for carrying out pseudo-random code detection on the link under the condition of continuously adjusting communication parameters to obtain error rates under different communication parameters;
the parameter selection module is used for selecting target communication parameters from the different communication parameters by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature;
and the parameter adjusting and communication module is used for configuring the target communication parameters for the link and carrying out communication based on the target communication parameters by using the transceiver.
An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the above wired communication method when executing the computer program.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described wired communication method.
By applying the method provided by the embodiment of the application, the connection information of the link corresponding to the transceiver newly inserted into the system is obtained, and the corresponding preset communication parameters are configured for the link according to the connection information; after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored; under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters; selecting target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature; target communication parameters are configured for the link and communication is performed with the transceiver based on the target communication parameters.
In the application, when a new transceiver is inserted into the system, the connection information of the corresponding link is firstly acquired, and then the corresponding preset communication parameters are configured for the link according to the link information. In order to facilitate selection of appropriate communication parameters, after corresponding preset communication parameters are configured for the link, transmission power consumption of the corresponding optical module and the corresponding optical fiber jumper is configured for the link, and temperature and power consumption are monitored. And then, continuously adjusting communication parameters, and monitoring pseudo-random codes of the link, thereby obtaining the error rates under different communication parameters. And selecting required target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature, configuring the target communication parameters for the link, and finally carrying out communication based on the target communication parameters by using the transceiver. It can be seen that in the present application, detecting the signal and adapting the communication parameters of the optimized link at the moment of link establishment can adapt different communication parameters at different ambient temperatures to increase the stability of channel data transmission and reduce the system power consumption.
Accordingly, embodiments of the present application further provide a wired communication apparatus, a device and a readable storage medium corresponding to the wired communication method, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a wired communication method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a topology of wired communication according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another topology of wired communication in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a wired communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For ease of understanding, the following description focuses on the relevant terms referred to herein:
chip-to-chip: the chip and the chip are mutually connected on the same PCB board through PCB wiring;
backplane: the two chips are respectively arranged on the two PCB boards and are connected through a third PCB backboard linker;
chip to module: the two chips are respectively arranged on the two PCB boards and are connected through the linker on the two PCB boards;
DAC Cable: the Direct Attach Cable is directly connected with the connecting wire of the copper Cable;
fiber Cable: an optical fiber connection line;
PRBS (Pseudo-Random Binary Sequence), a Random code, a Binary pseudorandom number;
BER (bit error rate): the bit error rate, or bit error rate, refers to the number of error bits per unit time.
Referring to fig. 1, fig. 1 is a flowchart of a wired communication method according to an embodiment of the present invention, where the method can be applied to a management center in a system shown in fig. 2 or fig. 3. The method comprises the following steps:
s101, acquiring connection information of a link corresponding to a transceiver newly inserted into the system, and configuring corresponding preset communication parameters for the link according to the connection information.
Referring to fig. 2 and 3, the transceiver can be inserted into the system via the IC card, wherein the communication interface is an interface circuit for the microcomputer system to directly perform digital communication with other systems. Each transceiver includes a transmitter (tx in fig. 2) and a receiver (rx in fig. 2).
Specifically, as shown in fig. 2, the system has N expandable ICs, each IC also has N high-speed transceivers (corresponding to links), and the communication interface between each IC and the management center may be a socket PCIe interface. That is, the transceiver can be plugged into or unplugged from the system by plugging it into or out of the IC card.
As shown in fig. 3, the IC card may be a pluggable card, and a corresponding transceiver is fixed on the IC card, so that the transceiver on the IC card is also plugged into the system by plugging the IC card.
Each transceiver may be connected to another transceiver through a connection medium, which may be a chip-to-chip, backplane, chip-to-module, chip card, or fiber card. I.e. transceiver + connection medium + physical structure of the transceiver, i.e. the corresponding link.
Specifically, the nth IC card in the system detects that the nth transceiver is inserted into the system, and the IC card informs the management center of the establishment of the new link through PCIe MSI interrupt (PCIe interrupt). Of course, the management center may also find a new transceiver inserted into the system by polling to read the IC information.
After finding out the newly inserted transceiver, the connection information of the link corresponding to the newly inserted transceiver of the system can be obtained, and the corresponding preset communication parameters are configured for the link according to the connection information.
Specifically, in an embodiment of the present application, the step S101 of obtaining connection information of a link corresponding to a transceiver newly inserted into the system includes:
step one, acquiring a connection state, a signal type and a connection medium of a link after detecting a transceiver newly inserted into a system;
and step two, determining the connection state, the signal type and the connection medium as connection information.
For convenience of description, the above two steps will be described in combination.
The nth IC can access (e.g., PCIe access) the nth IC to confirm the status of the new link (whether connection is successful, whether plug-in is locked) and the type of signal (what type of signal is transmitted, e.g., NRZ (Not Return to Zero) or PAM4 (Phase Amplitude Modulation4, i.e., 4-state signal)), connect to the medium, configure the corresponding preset equalization parameters stored in the non-volatile memory of the nth IC by default, establish the link, confirm the status of the transceiver of the other party through the new link via the network auto-negotiation protocol, confirm whether the link is established, and confirm the speed of the current link as single duplex information.
How to obtain the connection information and how to configure the corresponding preset communication parameters according to the connection information may be performed by referring to the existing manner of configuring fixed parameters for the link, which is not described in detail herein.
S102, after transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored.
After the link is established, the system can configure the transmission power consumption of an AOC (Active Optical Cable, i.e., an Active Optical Cable Optical module and an Optical fiber jumper) specifically according to the application scenario of the link, and perform temperature and power consumption monitoring.
Specifically, after the newly given relevant parameter setting is configured, the temperature and the power consumption are monitored.
S103, under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain the error rates under different communication parameters.
In order to select the most suitable communication parameter considering that the pre-configured communication parameter may not be the best parameter of the current link, in the present application, the communication parameter is continuously adjusted based on the pre-configured communication parameter, and the pseudo random code detection is performed on the link, so as to obtain the error rates under different communication parameters.
In an embodiment of the present application, the performing, in step S103, pseudo random code detection on the link under the condition of continuously adjusting the communication parameters to obtain the error rates under different communication parameters includes:
step one, configuring a channel buffer of a transceiver to close an internal loop;
and secondly, setting a search interval of each communication parameter under the reference of the preset parameters of link training and performing pseudo-random detection on the link to obtain the error rates under different communication parameters.
Specifically, under the reference of preset parameters of link tuning, a search interval of equalization parameters and/or pre-emphasis parameters is set, and pseudo-random detection is performed on the link to obtain error rates under different equalization parameters and/or pre-emphasis parameters.
For convenience of description, the above two steps will be described in combination.
The transceiver channel buffer corresponding to the nth IC is set to close the internal loop and perform external link training, as shown in fig. 2, the transceiver 1 performs receiving end and transmitting end interconnection with the transceiver 2 through a connection medium. The link tuning default parameter may be embodied as the default parameter in step S101. Each communication parameter search interval is set under the reference of the parameter and PRBS detection (pseudo random code detection) is carried out, and the error rate calculated under each group of parameter group can be stored in the buffer space in the IC in the detection process.
Preferably, in order to shorten the training range and reduce the training duration, before the above steps are performed, the following steps may be further performed before the pair of channel buffers of the transceiver is configured to close the internal loop:
step 2, carrying out pseudo-random code detection on the transceiver to obtain an internal loopback error rate;
and 3, detecting the transceiver by utilizing the internal loopback error rate.
That is, a transceiver channel buffer linked to the nth IC may be configured as an internal loopback (e.g., tx is connected to rx inside the transceiver as shown in the transceiver N of fig. 2) for link training. The link training method is to set the PRBS pseudo random code generator and checker of the Nth IC, select the appropriate pseudo random code (such as PRBS7, PRBS9, PRBS11, PRBS13, PRBS15, PRBS23, PRBS31 …) and perform PRBS detection. The PRBS detection aims to enable a sending end to send irregular and random signals of 0 and 1, enable a receiving end to recover the clock frequency of the receiving end according to the data of 0 and 1 which are constantly changed when the receiving end receives the signals, and configure a PRBS checker at the receiving end to confirm whether the data of the sending end is correct or not and calculate the error rate in an Nth IC.
Specifically, if the configuration parameters are detected to be wrong, the corresponding preset communication parameters are reconfigured for the link; and if the physical defect of the transceiver is detected, outputting corresponding defect information. It can detect the configuration problem of single transceiver (missing or failed parameter configuration, or wrong parameter configuration, etc.) or the inherent physical defect (such as unable to send signal, unable to receive signal, etc.) in advance.
And S104, selecting target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature.
And the most suitable target communication parameter can be selected from different communication parameters by combining the error rate, the power consumption and the temperature under different communication parameters. For example, selecting a communication parameter corresponding to the lowest power consumption as a target image parameter with the error rate within a reasonable range; or selecting the communication parameter corresponding to the lowest power consumption as the target image parameter when the temperature is in a reasonable range; or selecting the communication parameters corresponding to the conditions that the error rate is in a reasonable range and the temperature and the power consumption meet the minimum requirements as the target communication parameters.
And S105, configuring target communication parameters for the link, and carrying out communication based on the target communication parameters by using the transceiver.
After the target communication parameters are selected, the target image parameters are configured into the link such that the transceiver communicates based on the target communication parameters.
The communication parameters may specifically include at least one of equalization parameters and pre-emphasis parameters.
By applying the method provided by the embodiment of the application, the connection information of the link corresponding to the transceiver newly inserted into the system is obtained, and the corresponding preset communication parameters are configured for the link according to the connection information; after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored; under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters; selecting target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature; target communication parameters are configured for the link and communication is performed with the transceiver based on the target communication parameters.
In the application, after a new transceiver is inserted into the system, the connection information of the corresponding link is firstly acquired, and then the corresponding preset communication parameters are configured for the link according to the link information. In order to facilitate selection of appropriate communication parameters, after corresponding preset communication parameters are configured for the link, transmission power consumption of the corresponding optical module and the optical fiber jumper is configured for the link, and temperature and power consumption are monitored. And then, continuously adjusting communication parameters, and monitoring pseudo-random codes of the link, thereby obtaining the error rates under different communication parameters. And selecting required target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature, configuring the target communication parameters for the link, and finally carrying out communication based on the target communication parameters by using the transceiver. It can be seen that in the present application, detecting the signal and adapting the communication parameters of the optimized link at the moment of link establishment can adapt different communication parameters at different ambient temperatures to increase the stability of channel data transmission and reduce the system power consumption.
It should be noted that, based on the above embodiments, the embodiments of the present application also provide corresponding improvements. In the preferred/improved embodiment, the same steps as those in the above embodiment or corresponding steps may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the preferred/improved embodiment herein.
In a specific embodiment of the present application, the step S105, in combination with the bit error rates under different communication parameters and the correspondingly monitored power consumption and temperature, selects a target communication parameter from the different communication parameters, including:
step one, acquiring communication requirements of an application scene;
and step two, selecting target communication parameters meeting communication requirements from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature.
The communication requirement may specifically be at least one of a temperature requirement, a power consumption requirement, and a bit error rate requirement. Based on the communication requirement, target communication parameters meeting the communication requirement can be selected from different communication parameters according to the error rates under different communication parameters and correspondingly monitored power consumption and temperature.
For example, the following steps are carried out: the equalization parameters of the receiving end and the pre-emphasis parameters of the transmitting end can be continuously adjusted to find out a parameter list lower than the error rate, parameters such as the temperature of a transceiver and the temperature and the power of an optical module and an optical fiber jumper are calculated and recorded at present, the parameters and the parameters of each group of the receiving end and the transmitting end lower than the error rate are stored in a buffer memory space of an Nth IC, and the recording format is as follows (after the training, the parameter list conforms to the parameter example that the BER value is less than 5.6x10 < -10 >) -10):
communication parameters | Link rate | Bit Error Rate (BER) | Temperature of transceiver | IC power |
A | 25G | 6.2x10^-11 | 40 | 35w |
B | 25G | 2.4x10^-11 | 42 | 32w |
C | 25G | 4.8x10^-10 | 41 | 30w |
The communication parameters may include a receiving end equalization parameter and a pre-emphasis parameter of the transmitting end. That is, parameters, temperature and power parameters, of the receiving end and the sending end of the cache can be transmitted back to the management center through PCIe or other transmission protocols, so that the system can select an appropriate parameter value according to the requirements of different application scenarios, and under the parameter meeting the requirement of the bit error rate of the link, the lowest power consumption parameter value is selected according to the current environment temperature and the power consumption of different parameters generated in the nth IC.
As shown in fig. 2 and fig. 3, the management center may be specifically a management center other than the respective IC cards, so that the management center can obtain the record table corresponding to all links in the system as shown in the above table, and in practical applications, the communication parameters may also be selected in combination with the global situation.
Corresponding to the above method embodiments, the present application further provides a wired communication device, and the wired communication device described below and the wired communication method described above may be referred to in correspondence with each other.
Referring to fig. 4, the apparatus includes the following modules:
the parameter pre-configuration module 101 is configured to obtain connection information of a link corresponding to a transceiver newly inserted into the system, and configure a corresponding preset communication parameter for the link according to the connection information;
the monitoring module 102 is used for monitoring the temperature and the power consumption of the link after the transmission power consumption of the corresponding optical module and the optical fiber jumper is configured and linked;
the training module 103 is configured to perform pseudo-random code detection on the link under the condition that the communication parameters are continuously adjusted, so as to obtain error rates under different communication parameters;
a parameter selection module 104, configured to select a target communication parameter from different communication parameters in combination with bit error rates under different communication parameters and correspondingly monitored power consumption and temperature;
the parameter adjusting and communicating module 105 is configured to configure target communication parameters for the link and communicate with the transceiver based on the target communication parameters.
By applying the device provided by the embodiment of the application, the connection information of the link corresponding to the transceiver newly inserted into the system is obtained, and the corresponding preset communication parameters are configured for the link according to the connection information; after the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link is configured, the temperature and the power consumption of the link are monitored; under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters; selecting target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature; target communication parameters are configured for the link and communication is performed with the transceiver based on the target communication parameters.
In the application, after a new transceiver is inserted into the system, the connection information of the corresponding link is firstly acquired, and then the corresponding preset communication parameters are configured for the link according to the link information. In order to facilitate selection of appropriate communication parameters, after corresponding preset communication parameters are configured for the link, transmission power consumption of the corresponding optical module and the optical fiber jumper is configured for the link, and temperature and power consumption are monitored. And then, continuously adjusting communication parameters, and monitoring pseudo-random codes of the link, thereby obtaining the error rates under different communication parameters. And selecting required target communication parameters from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature, configuring the target communication parameters for the link, and finally carrying out communication based on the target communication parameters by using the transceiver. It can be seen that in the present application, detecting the signal and adapting the communication parameters of the optimized link at the moment of link establishment can adapt different communication parameters at different ambient temperatures to increase the stability of channel data transmission and reduce the system power consumption.
In an embodiment of the present application, the parameter provisioning configuration module 101 is specifically configured to obtain a connection state, a signal type and a connection medium of a link after detecting a transceiver newly inserted into a system; the connection state, the signal type and the connection medium are determined as connection information.
In an embodiment of the present application, the training module 103 is specifically configured to configure a channel buffer of the transceiver to close an internal loop; and setting a search interval of each communication parameter under the reference of link training preset parameters, and performing pseudo-random detection on the link to obtain the error rates under different communication parameters.
In an embodiment of the present application, the training module 103 is further configured to configure the channel buffer of the transceiver as an internal loopback before configuring the channel buffer of the transceiver as a closed internal loopback; carrying out pseudo-random code detection on the transceiver to obtain an internal loopback error rate; and detecting the transceiver by using the internal loopback error rate.
In a specific embodiment of the present application, the training module 103 is further configured to reconfigure the corresponding preset communication parameters for the link if it is detected that the configuration parameters are incorrect; and if the physical defect of the transceiver is detected, outputting corresponding defect information.
In a specific embodiment of the present application, the tuning and training module 103 is specifically configured to set a search interval of an equalization parameter and/or a pre-emphasis parameter and perform pseudo-random detection on a link under a reference of a link tuning and training preset parameter, so as to obtain error rates under different equalization parameters and/or pre-emphasis parameters.
In an embodiment of the present application, the parameter adjusting and communicating module 105 is specifically configured to obtain a communication requirement of an application scenario; and selecting target communication parameters meeting communication requirements from different communication parameters by combining the error rates under different communication parameters and correspondingly monitored power consumption and temperature.
Corresponding to the above method embodiment, the present application further provides an electronic device, and a wired communication method described above and an electronic device described below may be referred to in correspondence with each other.
Referring to fig. 5, the electronic device includes:
a memory 332 for storing a computer program;
a processor 322 for implementing the steps of the wired communication method of the above method embodiments when executing the computer program.
Specifically, referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device provided in this embodiment, which may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the electronic device 301.
The electronic device 301 may also include one or more power sources 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.
The steps in the wired communication method described above may be implemented by the structure of an electronic device.
Corresponding to the above method embodiment, the present application further provides a readable storage medium, and a readable storage medium described below and a wired communication method described above may be correspondingly referred to with each other.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the wired communication method of the above-described method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Claims (10)
1. A method of wired communication, comprising:
acquiring connection information of a link corresponding to a transceiver newly inserted into a system, and configuring corresponding preset communication parameters for the link according to the connection information; wherein the transceiver is inserted into the system via an IC card; the communication parameters are equalization parameters of a receiving end and/or pre-emphasis parameters of a transmitting end;
according to the application scene of the link, configuring the transmission power consumption of an optical module and an optical fiber jumper corresponding to the link, and monitoring the temperature and the power consumption of the link; the monitoring of the temperature and the power consumption of the link is monitoring of the temperature of a transceiver of the link and the power consumption of an IC card;
under the condition of continuously adjusting communication parameters, carrying out pseudo-random code detection on the link to obtain error rates under different communication parameters, and recording correspondingly monitored temperature and power consumption;
selecting target communication parameters meeting the communication requirements from the different communication parameters according to the communication requirements of the application scene by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature;
and configuring the target communication parameters for the link, and communicating by using the transceiver based on the target communication parameters.
2. The method of claim 1, wherein the obtaining the connection information of the link corresponding to the transceiver newly inserted by the system comprises:
acquiring the connection state, the signal type and the connection medium of the link after detecting the transceiver newly inserted into the system;
determining the connection state, the signal type and the connection medium as the connection information.
3. The wired communication method according to claim 1, wherein performing pseudo-random code detection on the link while continuously adjusting communication parameters to obtain bit error rates at different communication parameters comprises:
configuring a channel buffer of the transceiver to close an internal loopback;
and setting a search interval of each communication parameter under the reference of link training preset parameters, and performing pseudo-random detection on the link to obtain the error rates under different communication parameters.
4. The wired communication method of claim 3, further comprising, prior to configuring the channel buffer of the transceiver to close the internal loopback:
configuring a channel buffer of the transceiver as an internal loopback;
carrying out pseudo-random code detection on the transceiver to obtain an internal loopback error rate;
and detecting the transceiver by using the internal loopback error rate.
5. The wired communication method according to claim 4, further comprising:
if the configuration parameters are detected to be wrong, reconfiguring corresponding preset communication parameters for the link;
and if the physical defect of the transceiver is detected, outputting corresponding defect information.
6. The wired communication method according to claim 4, wherein the setting of the search interval of each of the communication parameters under the reference of a link training preset parameter and the pseudo-random detection of the link to obtain the error rates under different communication parameters comprises:
and setting a search interval of equalization parameters and/or pre-emphasis parameters under the reference of the link tuning preset parameters, and performing pseudo-random detection on the link to obtain error rates under different equalization parameters and/or pre-emphasis parameters.
7. The wired communication method according to any one of claims 1 to 6, wherein a communication requirement of an application scenario is acquired;
and selecting target communication parameters meeting the communication requirements from the different communication parameters by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature.
8. A wired communication device, comprising:
the system comprises a parameter pre-configuration module, a parameter pre-configuration module and a parameter configuration module, wherein the parameter pre-configuration module is used for acquiring the connection information of a link corresponding to a newly-inserted transceiver of the system and configuring corresponding preset communication parameters for the link according to the connection information; wherein the transceiver is inserted into the system via an IC card; the communication parameters are equalization parameters of a receiving end and/or pre-emphasis parameters of a transmitting end;
the monitoring module is used for configuring the transmission power consumption of the optical module and the optical fiber jumper corresponding to the link according to the application scene of the link, and monitoring the temperature and the power consumption of the link; the monitoring of the temperature and the power consumption of the link is monitoring of the temperature of a transceiver of the link and the power consumption of an IC card;
the training module is used for carrying out pseudo-random code detection on the link under the condition of continuously adjusting communication parameters to obtain error rates under different communication parameters and recording correspondingly monitored temperature and power consumption;
the parameter selection module is used for selecting target communication parameters meeting communication requirements from the different communication parameters according to the communication requirements of an application scene by combining the error rates under the different communication parameters and the correspondingly monitored power consumption and temperature;
and the parameter adjusting and communication module is used for configuring the target communication parameters for the link and carrying out communication based on the target communication parameters by using the transceiver.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the wired communication method according to any of claims 1 to 7 when executing the computer program.
10. A readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the wired communication method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110876866.9A CN113726425B (en) | 2021-07-31 | 2021-07-31 | Wired communication method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110876866.9A CN113726425B (en) | 2021-07-31 | 2021-07-31 | Wired communication method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113726425A CN113726425A (en) | 2021-11-30 |
CN113726425B true CN113726425B (en) | 2023-02-24 |
Family
ID=78674487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110876866.9A Active CN113726425B (en) | 2021-07-31 | 2021-07-31 | Wired communication method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113726425B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118169541A (en) * | 2024-03-29 | 2024-06-11 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Method, device, equipment, medium and product for testing serializer universal board card |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2124474A1 (en) * | 2008-05-20 | 2009-11-25 | ADVA AG Optical Networking | A data transport system with an embedded communication channel |
CN104618054A (en) * | 2013-11-04 | 2015-05-13 | 华为技术有限公司 | Parameter adjusting method and device |
CN105930225A (en) * | 2016-04-25 | 2016-09-07 | 浪潮电子信息产业股份有限公司 | Self-adaptive link quality optimization method |
CN108900251A (en) * | 2018-06-21 | 2018-11-27 | 青岛海信宽带多媒体技术有限公司 | A kind of optimization method, device and the optical module of optical module balance parameters |
CN111030778A (en) * | 2019-11-30 | 2020-04-17 | 苏州浪潮智能科技有限公司 | Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium |
CN111538539A (en) * | 2020-04-23 | 2020-08-14 | 苏州浪潮智能科技有限公司 | Storage system starting method and device and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110020006A1 (en) * | 2009-07-27 | 2011-01-27 | Iptronics A/S | Self configurable optical link |
CN105450433B (en) * | 2014-08-18 | 2018-07-31 | 华为技术有限公司 | Configuration method, the device and system of high-speed serial bus parameter |
-
2021
- 2021-07-31 CN CN202110876866.9A patent/CN113726425B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2124474A1 (en) * | 2008-05-20 | 2009-11-25 | ADVA AG Optical Networking | A data transport system with an embedded communication channel |
CN104618054A (en) * | 2013-11-04 | 2015-05-13 | 华为技术有限公司 | Parameter adjusting method and device |
CN105930225A (en) * | 2016-04-25 | 2016-09-07 | 浪潮电子信息产业股份有限公司 | Self-adaptive link quality optimization method |
CN108900251A (en) * | 2018-06-21 | 2018-11-27 | 青岛海信宽带多媒体技术有限公司 | A kind of optimization method, device and the optical module of optical module balance parameters |
CN111030778A (en) * | 2019-11-30 | 2020-04-17 | 苏州浪潮智能科技有限公司 | Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium |
CN111538539A (en) * | 2020-04-23 | 2020-08-14 | 苏州浪潮智能科技有限公司 | Storage system starting method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113726425A (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101039172B1 (en) | Apparatus and Method for Detecting Cable Length in Storage Subsystems with Wide Ports | |
US9960899B2 (en) | Full duplex transmission method for high speed backplane system | |
US10931368B2 (en) | Method and apparatus for testing using a transceiver module | |
CN103797732B (en) | Communication means, peripheral component interconnection PCIE chip and PCIE device | |
EP2544378A2 (en) | Method and system for 60 GHz chipset RF control interface (RF module control interface) | |
CN110784259B (en) | PAM 4-based integrated optical module error code tester | |
CN113726425B (en) | Wired communication method, device, equipment and readable storage medium | |
CN113259205B (en) | Method and system for testing internal interconnection interface of multi-board system | |
CN113114357B (en) | Passive wavelength division equipment fault detection method, device, server and storage medium | |
CN105812064B (en) | A kind of optical module control method, optical module and optical communication terminal | |
CN101667991B (en) | Method and device for setting pre-emphasis and/or equalization parameters | |
CN102664674A (en) | Test device of communication equipment and use method of test device | |
CN109510750B (en) | Circuit board, server and server network | |
US12117955B2 (en) | Spread spectrum clock negotiation method, and peripheral component interconnect express device and system | |
CN112019376A (en) | Pre-emphasis parameter configuration method, device and storage medium of SERDES (serial enhanced data encryption standard) transmitter | |
US20070258478A1 (en) | Methods and/or apparatus for link optimization | |
CN116599788A (en) | Communication circuit, method, apparatus, and storage medium | |
CN112350785B (en) | Method and system for checking SERDES communication link performance | |
EP3618317A1 (en) | Message sending method and message receiving method and apparatus | |
CN114050838A (en) | 100Gbps bandwidth RapidIO signal source | |
CN113868176A (en) | Information encoding method, information transmission method, device, equipment and storage medium | |
US7184395B2 (en) | Providing reconditioned signals at a plurality of ports | |
CN108809719B (en) | Gigabit Ethernet interface interconnection method, communication device and storage medium | |
CN110912611A (en) | SFP transmission system based on distributed synchronous time service technology | |
CN115694740B (en) | UVM verification platform system and verification method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |