WO2017000916A1 - Pre-emphasis parameter configuration method and apparatus - Google Patents

Pre-emphasis parameter configuration method and apparatus Download PDF

Info

Publication number
WO2017000916A1
WO2017000916A1 PCT/CN2016/088200 CN2016088200W WO2017000916A1 WO 2017000916 A1 WO2017000916 A1 WO 2017000916A1 CN 2016088200 W CN2016088200 W CN 2016088200W WO 2017000916 A1 WO2017000916 A1 WO 2017000916A1
Authority
WO
WIPO (PCT)
Prior art keywords
emphasis
path
error detection
preset
code stream
Prior art date
Application number
PCT/CN2016/088200
Other languages
French (fr)
Chinese (zh)
Inventor
王隽生
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017000916A1 publication Critical patent/WO2017000916A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and an apparatus for configuring pre-emphasis parameters.
  • FIG. 1 is a typical MAC---PHY connection diagram.
  • the message passes through the INT_PHY (physical layer device integrated into the MAC) and EXT_PHY (the physical layer not integrated into the MAC) in the TX direction.
  • the device and the small form-factor pluggables (SFP) for receiving packets, the packets pass through the optical module, EXT_PHY and INT_PHY in the RX direction.
  • the signal will be distorted, resulting in high signal-to-noise ratio in the low-frequency band at the receiving end and insufficient signal-to-noise ratio in the high-frequency band.
  • the related technology usually uses pre-emphasis technology to solve this problem.
  • pre-emphasis The basic principle of pre-emphasis is to increase the high-frequency component of the input signal and then transmit it.
  • a set of pre-emphasis parameters has two values: main/post and drive current (idriver), and setting the pre-emphasis parameter is essentially the combination of finding the best (main/post, idriver).
  • the main purpose of the present application is to provide a method and a device for configuring pre-emphasis parameters, which aim to solve the technical problem that the optimal parameters cannot be selected in the pre-emphasis debugging and the debugging generality is poor.
  • the present application provides a method for configuring a pre-emphasis parameter, and the method for configuring the pre-emphasis parameter includes the following steps:
  • a specific code stream is passed through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for error detection.
  • Each group of pre-emphasis parameters that do not have an error occurs, and the specific code stream flows through a path that uses the INT integrated transceiver as a transmitting end or a path that uses the EXT integrated transceiver as a transmitting end to perform error detection until all of the pre- Error detection is performed in the ambient temperature;
  • the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path.
  • the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or the EXT integrated transceiver as the transmitting end.
  • the steps of error detection include:
  • the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or the EXT integrated transceiver as the transmitting end.
  • the path to the error detection step includes:
  • the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or EXT
  • the integrated transceiver acts as a path for the transmitter for error detection.
  • the specific code stream is a pseudo-random binary sequence code stream.
  • the step of using the pre-emphasis parameter that does not generate an error at all preset ambient temperatures as the pre-emphasis configuration value of the corresponding path includes: :
  • the configured plurality of initial pre-emphasis parameters are arranged in a matrix
  • the pre-emphasis parameter located at the center of the geometric region is taken as the pre-emphasis configuration value of the corresponding path.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the present application further provides a configuration device for pre-emphasis parameters, where the pre-emphasis parameter configuration device includes:
  • the configuration module is configured to configure a plurality of initial pre-emphasis parameters and a plurality of preset ambient temperatures
  • the detecting module is configured to, at a preset first ambient temperature, flow a specific code stream through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for each set of initial pre-emphasis parameters , performing error detection;
  • a first obtaining module configured to determine the specific code stream after traversing the pre-emphasis parameter a pre-emphasis parameter that does not have an error when flowing through the path within a predetermined time;
  • a loop detection module configured to, at a preset ambient temperature of the preset ambient temperatures in which error detection is not performed, for all of the preset ambient temperatures in which error detection has been performed
  • the second obtaining module is configured to use the pre-emphasis parameter that does not generate an error at all preset ambient temperatures as the pre-emphasis configuration value of the corresponding path after the error detection is performed at all preset ambient temperatures.
  • the detecting module includes:
  • An enabling unit configured to enable, at each of the initial set of pre-emphasis parameters for each set of initial pre-emphasis parameters, a generator and detector of the particular code stream of the INT integrated transceiver, enabling the EXT a generator and detector that integrates a particular code stream of the transceiver;
  • a first detecting unit configured to flow the specific code stream through a path of a generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and corresponding detection at the end of the path
  • the device performs error detection.
  • the detecting module includes:
  • a preset unit configured to preset a step value of the pre-emphasis parameter
  • a second detecting unit configured to, at a preset first ambient temperature, at an interval of the step value, and to input a specific code stream through the INT integrated transceiver for each group of initial pre-emphasis parameters after the interval As the path of the sender or the path of the EXT integrated transceiver as the sender, error detection is performed.
  • the specific code stream is a pseudo-random binary sequence code stream.
  • the second obtaining module includes:
  • Arranging units arranged to arrange a plurality of sets of initial pre-emphasis parameters in a matrix form after error detection is performed at all preset ambient temperatures
  • an obtaining unit configured to determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
  • the present application provides a method and apparatus for configuring pre-emphasis parameters, the method comprising: flowing a specific code stream through an INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature For the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end, error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection.
  • the initial pre-emphasis parameter at the preset ambient temperature is used for error detection, and the pre-emphasis parameter without error occurs is further selected.
  • all the pre- The pre-emphasis parameter that does not have an error at the ambient temperature is a parameter that can adapt to all the detected ambient temperature, and the configuration method and device of the pre-emphasis parameter can realize better transmission of the signal at the transmitting end, and the detection process Automated, faster to determine better pre-emphasis parameters, and without the need for other equipment, is versatile.
  • FIG. 1 is a schematic diagram of a connection of a MAC-PHY in the related art
  • FIG. 2 is a flow chart of a method for configuring a pre-emphasis parameter of the present application in an embodiment thereof;
  • FIG. 3 is a schematic diagram of a path through which a particular code stream flows in FIG. 2;
  • FIG. 4 is a schematic diagram of a matrix of results of error detection performed in a normal temperature environment of FIG. 2;
  • FIG. 5 is a schematic diagram of a matrix of results of error detection in a normal temperature environment of FIG. 2;
  • FIG. 6 is a schematic diagram of a matrix of results of error detection performed in a normal temperature environment of FIG. 2;
  • Figure 7 is a flow chart of the step of performing error detection in Figure 2 in one embodiment thereof;
  • Figure 8 is a flow chart of the step of performing error detection in Figure 2 in another embodiment thereof;
  • Figure 9 is a flow chart of the step of the step of using the determined pre-emphasis parameter as the pre-emphasis configuration value of the corresponding path in Figure 2;
  • FIG. 10 is a schematic diagram of functional modules of a pre-emphasis parameter configuration apparatus according to an embodiment of the present application.
  • FIG 11 is a block diagram of the detection module of Figure 10 in one embodiment thereof;
  • Figure 12 is a block diagram of the detection module of Figure 10 in another embodiment thereof;
  • Figure 13 is a block diagram of the second acquisition module of Figure 10 in one embodiment thereof.
  • the present application provides a method for configuring a pre-emphasis parameter.
  • the method for configuring the pre-emphasis parameter includes:
  • Step S101 configuring multiple sets of initial pre-emphasis parameters and various preset ambient temperatures
  • multiple sets of initial pre-emphasis parameters are configured to detect or debug each set of pre-emphasis parameters, and an optimal pre-emphasis parameter is derived therefrom.
  • a plurality of preset ambient temperatures are configured at the same time, so that the finally obtained pre-emphasis parameters can be adapted to different ambient temperatures to the greatest extent.
  • the preset ambient temperature is optionally low temperature, normal temperature and high temperature.
  • this embodiment can also preset other temperatures, such as increasing the temperature gradient to increase the accuracy of the detection, so that the pre-emphasis parameters are detected in more ambient temperatures.
  • Step S102 in a preset first ambient temperature, for each set of initial pre-emphasis parameters, the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end.
  • Error detection in a preset first ambient temperature, for each set of initial pre-emphasis parameters, the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end.
  • a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT.
  • the transceiver is a path of the transmitting end and performs error detection, that is, error detection is performed for each path to filter at least one optimal pre-emphasis parameter in each path.
  • Path 3 is located on the transmit link and the receive link, starting from the EXT PHY, via line 3 to the optical module, the optical module uses the fiber self-loop, and the specific code stream flows through the fiber self-loop lines 8 and 6, and returns to the EXT from the optical module.
  • the specific code stream is optionally a Pseudo-Random Binary Sequence (PRBS) code stream, and of course, other code streams.
  • PRBS Pseudo-Random Binary Sequence
  • the pseudo-random binary sequence code stream has self-verification characteristics, which can timely detect the occurrence of bit error on the link.
  • Step S103 after traversing the pre-emphasis parameter, determining that the specific code stream does not have an error pre-emphasis parameter when flowing through the path within a predetermined time;
  • the traversed pre-emphasis parameters may be formed into a matrix form, as shown in FIG. 4 , where In the main/post line, the drive current (idriver) is listed, wherein, for each group of pre-emphasis parameters, if a specific code stream flows through the above path and an error occurs within a predetermined time, the path is recorded. The corresponding detection result is 0. If no error occurs within a predetermined time when the specific code stream flows through the path, the corresponding detection result on the path is recorded as 1, so that the test is performed under normal temperature conditions as an example.
  • Each path can obtain the error detection result in the form of a matrix as shown in FIG.
  • the region with the detection result of 1 forms a closed region
  • the corresponding pre-emphasis parameter of the region is an optional pre-emphasis parameter (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature condition)
  • the signal transmission) the area where the detection result is 0 forms an unclosed area, and the corresponding pre-emphasis parameter of the area is a non-selectable pre-emphasis parameter.
  • the pre-emphasis parameter can be initially screened to detect the pre-emphasis corresponding to the region with the result of 1 (ie, no error occurs).
  • the emphasis parameter is used as the initial pre-emphasis parameter for error detection at the next preset ambient temperature, which greatly reduces the number of pre-emphasis parameters for error detection at subsequent preset ambient temperatures.
  • Step S104 Perform error on the preset ambient temperature in which all error detection has been performed in a preset ambient temperature among the preset ambient temperatures in which the error detection is not performed.
  • Each group of pre-emphasis parameters that have no error occurred during detection, and the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and error detection is performed until all Error detection is performed in the preset ambient temperature;
  • the pre-emphasis parameter that is not detected at the first ambient temperature is used as the initial pre-emphasis parameter detected at the second ambient temperature, and then, for each set of these pre-emphasis parameters, the specific The code stream flows through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for error detection.
  • the corresponding detection result on the path is recorded as 0, and if the specific code stream flows through the path, no error occurs within a predetermined time. Then, the corresponding detection result on the path is recorded as 1, so that the test is performed under low temperature conditions, and each path can obtain the error detection result in the matrix form as shown in FIG. 5.
  • the region with the detection result of 1 still forms a closed region, and the corresponding pre-emphasis parameter of the region is a pre-emphasis parameter for further error detection (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature And the signal transmitted under low temperature conditions), the pre-emphasis parameter corresponding to the region where the detection result is 0 is a non-selectable pre-emphasis parameter.
  • the closed region with the detection result of 1 is further reduced than the closed region shown in FIG. 4, that is, the closed region exhibits a convergent state, and the pre-emphasis parameters are further filtered.
  • the pre-emphasis parameter that is detected at the preset second ambient temperature is not taken as the next preset ambient temperature (for example, a high temperature environment).
  • the initial pre-emphasis parameter for detecting, for each set of these pre-emphasis parameters the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and the error detection is performed. Error detection is performed until all preset ambient temperatures. Taking the test under high temperature as an example, each path can obtain the error detection result in the matrix form as shown in FIG. 6.
  • the optional pre-emphasis parameters are tested at different ambient temperatures, so that the closed region converges continuously, and the pre-emphasis parameters are further filtered.
  • step S105 after the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path.
  • the pre-emphasis parameter corresponding to the error is not used as the pre-emphasis configuration value of the corresponding path at all preset ambient temperatures. It is believed that these pre-emphasis parameters are able to accommodate the superior transmission of the transmitter signal (high speed signal) at all detected ambient temperatures.
  • the pre-emphasis parameter of the pre-emphasis configuration value of the corresponding path is finally adapted to various ambient temperatures, so even When drift occurs, the quality of the signal transmission at the transmitting end can also be in a better range.
  • the present embodiment performs error detection on the path involving the transmitting end, it is possible to accurately locate the link failure position.
  • the method for configuring the pre-emphasis parameter includes: flowing a specific code stream through the INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature.
  • error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection.
  • the initial pre-emphasis parameters at ambient temperature are used for error detection to further screen out pre-emphasis parameters without error occurrence.
  • error detection is performed at all preset ambient temperatures, in all preset environments.
  • the pre-emphasis parameter that does not have an error at the temperature is a parameter that can adapt to all the ambient temperature for error detection.
  • the configuration method of the pre-emphasis parameter can realize the superior transmission of the signal at the transmitting end, and the process of detection is automated. It is faster to determine the preferred pre-emphasis parameters, and does not need to use other equipment, and has versatility.
  • Step S102 includes:
  • Step S1021 Enable, at each preset initial pre-emphasis parameter, a generator and a detector of a specific code stream of the INT integrated transceiver, and enable the EXT integrated transceiver for each set of initial pre-emphasis parameters. Generator and detector of a particular code stream;
  • Step S1022 flowing the specific code stream through a path of the generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and performing error on the detector corresponding to the end point of the path. Detection.
  • a triangle represents a specific code stream generator
  • a circle represents a specific code stream detector.
  • a generator that enables a particular bitstream of the INT PHY, a detector that enables a particular bitstream of the EXT PHY, causes a particular codestream to be transmitted from the generator to the detector, and is inspected
  • the error detection is performed; for the path 2 described above, the generator of the specific code stream of the EXT PHY is enabled, the detector of the specific code stream of the INT PHY is enabled; for the path 3 described above, the specific code stream of the EXT PHY is enabled.
  • Generator and detector for the path 2 described above, the generator of the specific code stream of the EXT PHY is enabled, the detector of the specific code stream of the INT PHY is enabled; for the path 3 described above, the specific code stream of the EXT PHY is enabled.
  • the foregoing step S102 may further include:
  • Step S1023 preset a step value of the pre-emphasis parameter
  • Step S1024 at a preset first ambient temperature, with the step value being separated, and for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end. Or use the EXT integrated transceiver as the path of the sender for error detection.
  • a step value (X, Y) may be set, and the components between the two main pre-emphasis parameters (main/post, idrifer) are respectively different by X.
  • Y then, with the step value as the interval, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end. For error detection.
  • the main/post step value is 4/4, and the idriffer step value is 1, which In this way, the debugging time can be greatly shortened.
  • the step value is set in the embodiment for debugging and can be applied to all ambient temperatures.
  • the foregoing step S105 includes:
  • Step S1051 After error detection is performed at all preset ambient temperatures, the configured plurality of initial pre-emphasis parameters are arranged in a matrix form;
  • Step S1052 Determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
  • more than one set of pre-emphasis parameters may have no error at all preset ambient temperatures, which can achieve better transmission of the signal at the transmitting end.
  • the configured plurality of initial pre-emphasis parameters may be arranged in a matrix form, wherein main_post is used as the row, and the driving current idriver is used as the column. .
  • the pre-emphasis parameters are arranged in the above-mentioned matrix manner, and the corresponding pre-emphasis parameters at the geometric center in the closed geometric region or the corresponding pre-emphasis parameters at the geometric center of the close region are used as the optimal pre-emphasis configuration of the corresponding path.
  • the drift may be a pre-emphasis parameter in the closed geometric region or a pre-emphasis parameter in the vicinity of the closed geometric region, and these pre-emphasis parameters can still transmit the transmitter signal better.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the application also provides a pre-emphasis parameter configuration device.
  • the pre-emphasis parameter configuration device includes:
  • the configuration module 101 is configured to configure a plurality of sets of initial pre-emphasis parameters and a plurality of preset ambient temperatures;
  • multiple sets of initial pre-emphasis parameters are configured to detect or debug each set of pre-emphasis parameters, and an optimal pre-emphasis parameter is derived therefrom.
  • a plurality of preset ambient temperatures are configured at the same time, so that the finally obtained pre-emphasis parameters can be adapted to different ambient temperatures to the greatest extent.
  • the preset ambient temperature is optionally low temperature, normal temperature and high temperature.
  • this embodiment can also preset other temperatures, such as increasing the temperature gradient to increase the accuracy of the detection, so that the pre-emphasis parameters are detected in more ambient temperatures.
  • the detecting module 102 is configured to, at a preset first ambient temperature, flow a specific code stream to a path of the INT integrated transceiver as a transmitting end or an EXT integrated transceiver as a transmitting end for each set of initial pre-emphasis parameters. Path, error detection;
  • a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT.
  • the transceiver is a path of the transmitting end and performs error detection, that is, error detection is performed for each path to filter at least one optimal pre-emphasis parameter in each path.
  • Path 3 is located on the transmit link and the receive link, starting from the EXT PHY, via line 3 to the optical module, the optical module uses the fiber self-loop, and the specific code stream flows through the fiber self-loop lines 8 and 6, and returns to the EXT from the optical module.
  • the specific code stream is optionally a Pseudo-Random Binary Sequence (PRBS) code stream, and of course, other code streams.
  • PRBS Pseudo-Random Binary Sequence
  • the column stream has a self-verifying feature that can sense the occurrence of bit errors on the link in time.
  • the first obtaining module 103 is configured to: after traversing the pre-emphasis parameter, determine a pre-emphasis parameter that does not generate an error when the specific code stream flows through the path within a predetermined time;
  • the traversed pre-emphasis parameters may be formed into a matrix form, as shown in FIG. 4 , where In the main/post line, the drive current (idriver) is listed, wherein, for each group of pre-emphasis parameters, if a specific code stream flows through the above path and an error occurs within a predetermined time, the path is recorded. The corresponding detection result is 0. If no error occurs within a predetermined time when the specific code stream flows through the path, the corresponding detection result on the path is recorded as 1, so that the test is performed under normal temperature conditions as an example.
  • Each path can obtain the error detection result in the form of a matrix as shown in FIG.
  • the region with the detection result of 1 forms a closed region
  • the corresponding pre-emphasis parameter of the region is an optional pre-emphasis parameter (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature condition)
  • the signal transmission) the area where the detection result is 0 forms an unclosed area, and the corresponding pre-emphasis parameter of the area is a non-selectable pre-emphasis parameter.
  • the pre-emphasis parameter can be initially screened to detect the pre-emphasis parameter corresponding to the region with the result of 1 (ie, no error occurs).
  • the initial pre-emphasis parameter for error detection at the next preset ambient temperature the number of pre-emphasis parameters for error detection at the next preset ambient temperature is greatly reduced.
  • the loop detection module 104 is configured to set the preset ambient temperature in all of the preset ambient temperatures in which the error detection is not performed for all of the preset ambient temperatures
  • the pre-emphasis parameter that does not generate an error when detected at the first ambient temperature is used as the initial pre-emphasis parameter detected at the second ambient temperature, and then, for each group of these pre-emphasis
  • the parameter is used to perform error detection by flowing a specific code stream through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end.
  • the corresponding detection result on the path is recorded as 0, and if the specific code stream flows through the path, no error occurs within a predetermined time. Then, the corresponding detection result on the path is recorded as 1, so that the test is performed under low temperature conditions, and each path can obtain the error detection result in the matrix form as shown in FIG. 5.
  • the region with the detection result of 1 still forms a closed region, and the corresponding pre-emphasis parameter of the region is a pre-emphasis parameter for further error detection (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature And the signal transmitted under low temperature conditions), the pre-emphasis parameter corresponding to the region where the detection result is 0 is a non-selectable pre-emphasis parameter.
  • the closed region with the detection result of 1 is further reduced than the closed region shown in FIG. 4, that is, the closed region exhibits a convergent state, and the pre-emphasis parameters are further filtered.
  • the pre-emphasis parameter that is detected at the preset second ambient temperature is not taken as the next preset ambient temperature (for example, a high temperature environment).
  • the initial pre-emphasis parameter for detecting, for each set of these pre-emphasis parameters the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and the error detection is performed. Error detection is performed until all preset ambient temperatures. Taking the test under high temperature as an example, each path can obtain the error detection result in the matrix form as shown in FIG. 6.
  • the optional pre-emphasis parameters are tested at different ambient temperatures, so that the closed region converges continuously, and the pre-emphasis parameters are further filtered.
  • the second obtaining module 105 is configured to: when the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path. .
  • the pre-emphasis parameter corresponding to the error is not used as the pre-emphasis configuration value of the corresponding path at all preset ambient temperatures. It is believed that these pre-emphasis parameters are able to accommodate the superior transmission of the transmitter signal (high speed signal) at all detected ambient temperatures.
  • the pre-emphasis parameter of the pre-emphasis configuration value of the corresponding path is finally adapted to various ambient temperatures, so even When drift occurs, the quality of the signal transmission at the transmitting end can also be in a better range.
  • the present embodiment performs error detection on the path involving the transmitting end, it is possible to accurately locate the link failure position.
  • a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT.
  • the transceiver is a path of the transmitting end, and error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that does not have an error is used as the initial pre-emphasis at the ambient temperature for the next error detection.
  • Parameters for error detection further screening out pre-emphasis parameters without error occurrence.
  • the pre-emphasis parameter is a parameter that can adapt to all the ambient temperature for error detection, which can achieve better transmission of the signal at the transmitting end, automate the detection process, and can quickly determine the better pre-emphasis parameter, and does not need With other devices, it is versatile.
  • the detecting module 102 includes:
  • the enabling unit 1021 is configured to, at a preset first ambient temperature, enable a generator and a detector of the specific code stream of the INT integrated transceiver for each set of initial pre-emphasis parameters, enable the EXT integrated transceiver specific generator and detector of the code stream;
  • the first detecting unit 1022 is configured to flow the specific code stream through a path of a generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and corresponding to the end point of the path
  • the detector performs error detection.
  • the generator and detector of the specific code stream of the INT integrated transceiver are enabled, and the specificity of the EXT integrated transceiver is enabled at a preset first ambient temperature.
  • a stream generator and detector for example for the path 1 described above, a generator that enables the specific stream of the INT PHY, a detector that enables the specific stream of the EXT PHY, and transmits a specific stream from the generator to the detection And error detection at the detector; for path 2 above, enable EXT A generator of a particular code stream of the PHY, a detector that enables a particular bitstream of the INT PHY; for path 3 described above, a generator and detector that enables a particular bitstream of the EXT PHY.
  • the detecting module 102 may include:
  • the preset unit 1023 is configured to preset a step value of the pre-emphasis parameter
  • the second detecting unit 1024 is configured to, at a preset first ambient temperature, at an interval of the step value, and to transmit and transmit a specific code stream through the INT integrated transmission and reception for each initial pre-emphasis parameter after the interval.
  • the path is used as the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end for error detection.
  • a step value (X, Y) may be set, and the components between the two main pre-emphasis parameters (main/post, idrifer) are respectively different by X.
  • Y then, with the step value as the interval, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end. For error detection.
  • the step value of main/post is 4/4, and the step value of idriver is 1, so that the debugging time can be greatly shortened.
  • the step value can be set for debugging. Apply to all ambient temperatures.
  • the second obtaining module 105 includes:
  • the arranging unit 1051 is configured to arrange the configured plurality of initial pre-emphasis parameters in a matrix form after performing error detection at all preset ambient temperatures;
  • the obtaining unit 1052 is configured to determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
  • more than one set of pre-emphasis parameters may have no error at all preset ambient temperatures, which can achieve better transmission of the signal at the transmitting end.
  • the configured plurality of initial pre-emphasis parameters may be arranged in a matrix form, wherein main_post is used as the row, and the driving current idriver is used as the column. .
  • the pre-emphasis parameters are arranged in the above-mentioned matrix manner, and the corresponding pre-emphasis parameters at the geometric center in the closed geometric region or the corresponding pre-emphasis parameters at the geometric center of the close region are used as the optimal pre-emphasis configuration of the corresponding path.
  • the drift may be a pre-emphasis parameter in the closed geometric region or a pre-emphasis parameter in the vicinity of the closed geometric region, and these pre-emphasis parameters can still transmit the transmitter signal better.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the present application provides a method and apparatus for configuring pre-emphasis parameters, the method comprising: flowing a specific code stream through an INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature For the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end, error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection.
  • Initial pre-emphasis parameters at ambient temperature for error detection The measurement further filters out the pre-emphasis parameters without error.
  • the pre-emphasis parameter that does not have an error at all preset ambient temperatures is capable of Adapting to all parameters of the detected ambient temperature, the pre-emphasis parameter configuration method and device can achieve better transmission of the signal at the transmitting end, the detection process is automated, and the better pre-emphasis parameter can be determined relatively quickly, and does not need With other devices, it is versatile.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

Disclosed are a pre-emphasis parameter configuration method and apparatus. The method comprises: configuring multiple groups of initial pre-emphasis parameters and multiple preset environment temperatures; in a first preset environment temperature, for each group of initial pre-emphasis parameters, performing bit error detection in which a particular bit stream flows through a path in which an INT integrated transceiver is used as a transmit end or a path in which an EXT integrated transceiver is used as a transmit end; after the pre-emphasis parameters are traversed, determining a pre-emphasis parameter for which a bit error does not occur when the particular bit stream flows through the path within a preset time; in the other environment temperatures, successively performing bit error detection for all groups of pre-emphasis parameters for which a bit error does not occur when bit error detection is performed in all preset environment temperatures in which bit error detection is performed; and using a pre-emphasis parameter for which a bit error does not occur in all the preset environment temperatures as a configured pre-emphasis parameter for a corresponding path. By means of the foregoing solutions, an optimum pre-emphasis parameter can be screened out.

Description

预加重参数的配置方法及装置Pre-emphasis parameter configuration method and device 技术领域Technical field
本申请涉及但不限于通信技术领域,特别是一种预加重参数的配置方法及装置。The present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and an apparatus for configuring pre-emphasis parameters.
背景技术Background technique
目前,位于接入网、汇聚网、骨干网中各层的设备,相互间通过光/电接口连接进行通信。因此,作为报文进入设备的第一关和报文经过设备处理后转发出去的最后一关,端口对报文的处理在很大程度上影响通信的质量。依据ISO七层网络模型,物理层“利用物理介质为数据链路层提供物理连接,以便透明地传送比特流”,该层将信息编码为电流脉冲或其他信号用于网上传输,因此物理层(Physical Layer,简称PHY)器件是信号质量的最终决定者。如图1所示,图1是典型MAC---PHY连接图,对于发送报文,报文沿TX方向依次经过INT_PHY(集成到MAC的物理层器件)、EXT_PHY(未集成到MAC的物理层器件)及小型可插拔收发光模块(Small Form-factor Pluggables,简称SFP),对于接收报文,报文沿RX方向依次经过光模块、EXT_PHY及INT_PHY。在TX/RX双向信号的路径上,信号会失真,造成在接收端低频段信噪比较高,而高频段信噪比不足,相关技术通常采用预加重技术来解决这一问题。预加重的基本原理是对输入信号高频分量进行电平提升后传输。一组预加重参数有两个值:main/post和驱动电流(idriver),设定预加重参数实质上是找到最佳的(main/post,idriver)的组合。Currently, devices located in the access network, the aggregation network, and the backbone network communicate with each other through optical/electrical interfaces. Therefore, as the first level of the packet entering the device and the last packet that the packet is forwarded after being processed by the device, the processing of the packet on the port greatly affects the quality of the communication. According to the ISO seven-layer network model, the physical layer "uses the physical medium to provide a physical connection for the data link layer to transparently transmit the bit stream", which encodes information into current pulses or other signals for transmission over the network, thus the physical layer ( The Physical Layer (PHY) device is the ultimate determinant of signal quality. As shown in FIG. 1, FIG. 1 is a typical MAC---PHY connection diagram. For transmitting packets, the message passes through the INT_PHY (physical layer device integrated into the MAC) and EXT_PHY (the physical layer not integrated into the MAC) in the TX direction. The device and the small form-factor pluggables (SFP), for receiving packets, the packets pass through the optical module, EXT_PHY and INT_PHY in the RX direction. In the path of the TX/RX bidirectional signal, the signal will be distorted, resulting in high signal-to-noise ratio in the low-frequency band at the receiving end and insufficient signal-to-noise ratio in the high-frequency band. The related technology usually uses pre-emphasis technology to solve this problem. The basic principle of pre-emphasis is to increase the high-frequency component of the input signal and then transmit it. A set of pre-emphasis parameters has two values: main/post and drive current (idriver), and setting the pre-emphasis parameter is essentially the combination of finding the best (main/post, idriver).
当前端口发送端预加重调试主要有两种方法:1、测量高速信号筛选最优值;2、拷机测试。然而,第一种方法虽然可以最大程度地量化信号质量,但环境温度会影响信号传输的质量,仍不能筛选最优值,且使用该方法需要借助示波器,不能覆盖到所有的产品,不具备通用性;第二种方法无法进行自动化调试,因此通用性较差。There are two main methods for pre-emphasis debugging of the current port sender: 1. Measure the optimal value of high-speed signal filtering; 2. Test the copy machine. However, although the first method can maximize the signal quality, the ambient temperature affects the quality of the signal transmission, and the optimal value cannot be screened. The method requires an oscilloscope and cannot cover all products. Sex; the second method cannot be automated, so it is less versatile.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是相关技术。 The above content is only used to assist in understanding the technical solutions of the present application, and does not mean that the above content is related art.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请的主要目的在于提供一种预加重参数的配置方法及装置,旨在解决预加重调试中无法筛选最优参数且调试通用性差的技术问题。The main purpose of the present application is to provide a method and a device for configuring pre-emphasis parameters, which aim to solve the technical problem that the optimal parameters cannot be selected in the pre-emphasis debugging and the debugging generality is poor.
为实现上述目的,本申请提供一种预加重参数的配置方法,所述预加重参数的配置方法包括以下步骤:To achieve the above objective, the present application provides a method for configuring a pre-emphasis parameter, and the method for configuring the pre-emphasis parameter includes the following steps:
配置多组初始的预加重参数及多种预设的环境温度;Configuring multiple sets of initial pre-emphasis parameters and various preset ambient temperatures;
在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;At a preset first ambient temperature, for each set of initial pre-emphasis parameters, a specific code stream is passed through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for error detection. ;
当遍历完所述预加重参数后,确定所述特定码流在预定时间内在流经所述路径时未发生误码的预加重参数;After traversing the pre-emphasis parameter, determining that the specific code stream does not have an error pre-emphasis parameter when flowing through the path within a predetermined time;
在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;At a preset ambient temperature among the preset ambient temperatures in which no error detection is performed, for error detection at all of the preset ambient temperatures in which error detection has been performed Each group of pre-emphasis parameters that do not have an error occurs, and the specific code stream flows through a path that uses the INT integrated transceiver as a transmitting end or a path that uses the EXT integrated transceiver as a transmitting end to perform error detection until all of the pre- Error detection is performed in the ambient temperature;
当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值。When the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path.
可选地,所述在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测的步骤包括:Optionally, in the preset first ambient temperature, for each set of initial pre-emphasis parameters, the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or the EXT integrated transceiver as the transmitting end. Path, the steps of error detection include:
在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;Generating a generator and detector of a particular code stream of the INT integrated transceiver, a specific code enabling the EXT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature Flow generator and detector;
将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以 EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。Passing the specific code stream through a path of the generator of the INT integrated transceiver as a transmitting end or The generator of the EXT integrated transceiver acts as a path for the transmitting end, and the detector corresponding to the end point of the path performs error detection.
可选地,所述在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,以进行误码检测的步骤包括:Optionally, in the preset first ambient temperature, for each set of initial pre-emphasis parameters, the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or the EXT integrated transceiver as the transmitting end. The path to the error detection step includes:
预设所述预加重参数的步进值;Presetting the step value of the pre-emphasis parameter;
在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。At a preset first ambient temperature, at intervals of the step value, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or EXT The integrated transceiver acts as a path for the transmitter for error detection.
可选地,所述特定码流为伪随机二进制序列码流。Optionally, the specific code stream is a pseudo-random binary sequence code stream.
可选地,所述在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值的步骤包括:Optionally, after the error detection is performed at all preset ambient temperatures, the step of using the pre-emphasis parameter that does not generate an error at all preset ambient temperatures as the pre-emphasis configuration value of the corresponding path includes: :
在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;After performing error detection at all preset ambient temperatures, the configured plurality of initial pre-emphasis parameters are arranged in a matrix;
在所确定的预加重参数在所述矩阵中形成的几何区域中,将位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。In the geometric region formed by the determined pre-emphasis parameter in the matrix, the pre-emphasis parameter located at the center of the geometric region is taken as the pre-emphasis configuration value of the corresponding path.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
此外,为实现上述目的,本申请还提供一种预加重参数的配置装置,所述预加重参数的配置装置包括:In addition, in order to achieve the above object, the present application further provides a configuration device for pre-emphasis parameters, where the pre-emphasis parameter configuration device includes:
配置模块,设置成配置多组初始的预加重参数及多种预设的环境温度;The configuration module is configured to configure a plurality of initial pre-emphasis parameters and a plurality of preset ambient temperatures;
检测模块,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;The detecting module is configured to, at a preset first ambient temperature, flow a specific code stream through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for each set of initial pre-emphasis parameters , performing error detection;
第一获取模块,设置成当遍历完所述预加重参数后,确定所述特定码流 在预定时间内在流经所述路径时未发生误码的预加重参数;a first obtaining module, configured to determine the specific code stream after traversing the pre-emphasis parameter a pre-emphasis parameter that does not have an error when flowing through the path within a predetermined time;
循环检测模块,设置成在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;a loop detection module configured to, at a preset ambient temperature of the preset ambient temperatures in which error detection is not performed, for all of the preset ambient temperatures in which error detection has been performed Each group of pre-emphasis parameters that have no error occurs when error detection is performed, and the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and error detection is performed until Error detection is performed in all of the preset ambient temperatures;
第二获取模块,设置成当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值。The second obtaining module is configured to use the pre-emphasis parameter that does not generate an error at all preset ambient temperatures as the pre-emphasis configuration value of the corresponding path after the error detection is performed at all preset ambient temperatures.
可选地,所述检测模块包括:Optionally, the detecting module includes:
使能单元,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;An enabling unit configured to enable, at each of the initial set of pre-emphasis parameters for each set of initial pre-emphasis parameters, a generator and detector of the particular code stream of the INT integrated transceiver, enabling the EXT a generator and detector that integrates a particular code stream of the transceiver;
第一检测单元,设置成将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。a first detecting unit configured to flow the specific code stream through a path of a generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and corresponding detection at the end of the path The device performs error detection.
可选地,所述检测模块包括:Optionally, the detecting module includes:
预设单元,设置成预设所述预加重参数的步进值;a preset unit, configured to preset a step value of the pre-emphasis parameter;
第二检测单元,设置成在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。a second detecting unit, configured to, at a preset first ambient temperature, at an interval of the step value, and to input a specific code stream through the INT integrated transceiver for each group of initial pre-emphasis parameters after the interval As the path of the sender or the path of the EXT integrated transceiver as the sender, error detection is performed.
可选地,所述特定码流为伪随机二进制序列码流。Optionally, the specific code stream is a pseudo-random binary sequence code stream.
可选地,所述第二获取模块包括:Optionally, the second obtaining module includes:
排列单元,设置成当在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;Arranging units arranged to arrange a plurality of sets of initial pre-emphasis parameters in a matrix form after error detection is performed at all preset ambient temperatures;
获取单元,设置成在所确定的预加重参数在所述矩阵中形成的几何区域中,确定位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。 And an obtaining unit configured to determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
本申请提供了一种预加重参数的配置方法及装置,该方法包括:在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,来初步筛选预加重参数,并且将本次未发生误码的预加重参数作为预设的下一个进行误码检测的预设的环境温度下的初始的预加重参数,以进行误码检测,进一步筛选出未发生误码的预加重参数,当在所有预设的环境温度下均进行误码检测后,在所有预设的环境温度下均未发生误码的预加重参数即是能够适应所有进行检测的环境温度的参数,所述预加重参数的配置方法和装置能实现发送端信号的更优传输,检测的过程自动化,能较快地确定较优的预加重参数,且不需要借助其他的设备,具有通用性。The present application provides a method and apparatus for configuring pre-emphasis parameters, the method comprising: flowing a specific code stream through an INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature For the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end, error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection. The initial pre-emphasis parameter at the preset ambient temperature is used for error detection, and the pre-emphasis parameter without error occurs is further selected. When all the preset ambient temperatures are subjected to the error detection, all the pre- The pre-emphasis parameter that does not have an error at the ambient temperature is a parameter that can adapt to all the detected ambient temperature, and the configuration method and device of the pre-emphasis parameter can realize better transmission of the signal at the transmitting end, and the detection process Automated, faster to determine better pre-emphasis parameters, and without the need for other equipment, is versatile.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术中MAC-PHY的连接示意图;1 is a schematic diagram of a connection of a MAC-PHY in the related art;
图2为本申请的预加重参数的配置方法在其一个实施例中的流程图;2 is a flow chart of a method for configuring a pre-emphasis parameter of the present application in an embodiment thereof;
图3为图2中特定码流流经的路径的示意图;3 is a schematic diagram of a path through which a particular code stream flows in FIG. 2;
图4为图2中常温环境下进行误码检测的结果的矩阵的示意图;4 is a schematic diagram of a matrix of results of error detection performed in a normal temperature environment of FIG. 2;
图5为图2中常温环境下进行误码检测的结果的矩阵的示意图;5 is a schematic diagram of a matrix of results of error detection in a normal temperature environment of FIG. 2;
图6为图2中常温环境下进行误码检测的结果的矩阵的示意图;6 is a schematic diagram of a matrix of results of error detection performed in a normal temperature environment of FIG. 2;
图7为图2中进行误码检测的步骤在其一个实施例中的流程图;Figure 7 is a flow chart of the step of performing error detection in Figure 2 in one embodiment thereof;
图8为图2中进行误码检测的步骤在其另一个实施例中的流程图;Figure 8 is a flow chart of the step of performing error detection in Figure 2 in another embodiment thereof;
图9为图2中以所确定的预加重参数作为对应路径的预加重配置值的步骤在其一个实施例中的流程图;Figure 9 is a flow chart of the step of the step of using the determined pre-emphasis parameter as the pre-emphasis configuration value of the corresponding path in Figure 2;
图10为本申请的预加重参数的配置装置在其一个实施例中的功能模块示意图;FIG. 10 is a schematic diagram of functional modules of a pre-emphasis parameter configuration apparatus according to an embodiment of the present application;
图11为图10中检测模块的在其一个实施例中的框图; Figure 11 is a block diagram of the detection module of Figure 10 in one embodiment thereof;
图12为图10中检测模块的在其另一个实施例中的框图;Figure 12 is a block diagram of the detection module of Figure 10 in another embodiment thereof;
图13为图10中第二获取模块的在其一个实施例中的框图。Figure 13 is a block diagram of the second acquisition module of Figure 10 in one embodiment thereof.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
本发明的较佳实施方式Preferred embodiment of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请提供一种预加重参数的配置方法,参照图2,在其一个实施例中,该预加重参数的配置方法包括:The present application provides a method for configuring a pre-emphasis parameter. Referring to FIG. 2, in one embodiment, the method for configuring the pre-emphasis parameter includes:
步骤S101,配置多组初始的预加重参数及多种预设的环境温度;Step S101, configuring multiple sets of initial pre-emphasis parameters and various preset ambient temperatures;
本实施例中,配置多组初始的预加重参数,以对每一组预加重参数进行检测或调试,从中得出最优的预加重参数。In this embodiment, multiple sets of initial pre-emphasis parameters are configured to detect or debug each set of pre-emphasis parameters, and an optimal pre-emphasis parameter is derived therefrom.
本实施例中,考虑环境温度对预加重参数检测的影响,同时配置多种预设的环境温度,以使得最终得出的预加重参数能够最大程度地适应不同的环境温度。其中,为了缩短检测的时间,预设的环境温度可选地为低温、常温及高温。当然,本实施例还可以预设其他温度,例如增加温度梯度以增加检测的精准度,使得预加重参数在更多的环境温度中进行检测。In this embodiment, considering the influence of the ambient temperature on the pre-emphasis parameter detection, a plurality of preset ambient temperatures are configured at the same time, so that the finally obtained pre-emphasis parameters can be adapted to different ambient temperatures to the greatest extent. Among them, in order to shorten the detection time, the preset ambient temperature is optionally low temperature, normal temperature and high temperature. Of course, this embodiment can also preset other temperatures, such as increasing the temperature gradient to increase the accuracy of the detection, so that the pre-emphasis parameters are detected in more ambient temperatures.
步骤S102,在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;Step S102, in a preset first ambient temperature, for each set of initial pre-emphasis parameters, the specific code stream flows through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end. Error detection
本实施例中,在预设的第一环境温度下,例如在常温条件下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,并进行误码检测,即对每一条路径均进行误码检测,以在每一条路径至少筛选出一组最优的预加重参数。In this embodiment, at a preset first ambient temperature, for example, under normal temperature conditions, for each set of initial pre-emphasis parameters, a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT. The transceiver is a path of the transmitting end and performs error detection, that is, error detection is performed for each path to filter at least one optimal pre-emphasis parameter in each path.
如图3所示,其中,INT PHY为INT集成收发器,EXT PHY为EXT集成收发器。涉及到发送端的路径有5条,分别是路径1、2、3、4、5,由于路径4和5取决于光模块SFP自身的特性,且光模块器件不提供相关的检测 技术支持,因此,最终涉及到发送端的路径只有路径1、2、3,其中:As shown in Figure 3, where INT PHY is the INT integrated transceiver and EXT PHY is the EXT integrated transceiver. There are five paths involved in the transmitting end, which are paths 1, 2, 3, 4, and 5, respectively. Since paths 4 and 5 are dependent on the characteristics of the SFP itself, and the optical module device does not provide related detection. Technical support, therefore, the path that ultimately involves the sender is only path 1, 2, 3, where:
路径1位于发送链路上,从INT PHY到EXT PHY,EXT PHY中设置线路侧内环7,使特定码流流经,即路径1为:INT PHY==>1==>7==>EXT PHY; Path 1 is located on the transmit link, from the INT PHY to the EXT PHY, and the line side inner loop 7 is set in the EXT PHY to allow a specific code stream to flow, that is, the path 1 is: INT PHY==>1==>7==> EXT PHY;
路径2位于接收链路上,EXT PHY取消线路侧内环,特定码流流经后,从EXT PHY到INT PHY,即路径2为:EXT PHY==>7==>2==>INT PHY; Path 2 is located on the receiving link, EXT PHY cancels the line side inner ring, and after the specific code stream flows, from EXT PHY to INT PHY, that is, path 2 is: EXT PHY==>7==>2==>INT PHY ;
路径3位于发送链路及接收链路上,从EXT PHY开始,经线路3至光模块,光模块使用光纤自环,特定码流流经光纤自环线路8及6后,从光模块返回EXT PHY,即路径3为:EXT PHY==>3==>5==>8==>6==>4==>EXT PHY。 Path 3 is located on the transmit link and the receive link, starting from the EXT PHY, via line 3 to the optical module, the optical module uses the fiber self-loop, and the specific code stream flows through the fiber self- loop lines 8 and 6, and returns to the EXT from the optical module. PHY, path 3 is: EXT PHY==>3==>5==>8==>6==>4==>EXT PHY.
本实施例中,特定码流可选地为伪随机二进制序列(Pseudo-Random Binary Sequence,PRBS)码流,当然也可以是其他的码流。伪随机二进制序列码流具有自我验证的特性,可以及时感知链路上的误码情况的发生。In this embodiment, the specific code stream is optionally a Pseudo-Random Binary Sequence (PRBS) code stream, and of course, other code streams. The pseudo-random binary sequence code stream has self-verification characteristics, which can timely detect the occurrence of bit error on the link.
步骤S103,当遍历完所述预加重参数后,确定所述特定码流在预定时间内在流经所述路径时未发生误码的预加重参数;Step S103, after traversing the pre-emphasis parameter, determining that the specific code stream does not have an error pre-emphasis parameter when flowing through the path within a predetermined time;
本实施例中,对于每条路径,当在第一预设的环境温度下遍历所有组预加重参数后,可以将遍历后的预加重参数组成一个矩阵的形式,如图4所示,其中,以main/post为行,以驱动电流(idriver)为列,其中,对于每一组预加重参数,如果特定码流流经上述的一条路径时在预定时间内发生误码,则记录该条路径上对应的检测结果为0,如果特定码流流经该条路径时在预定时间内未发生误码,则记录该条路径上对应的检测结果为1,这样,以常温条件下进行测试为例,每条路径可得到如图4所示的矩阵形式的误码检测结果。In this embodiment, for each path, after traversing all the group pre-emphasis parameters at the first preset ambient temperature, the traversed pre-emphasis parameters may be formed into a matrix form, as shown in FIG. 4 , where In the main/post line, the drive current (idriver) is listed, wherein, for each group of pre-emphasis parameters, if a specific code stream flows through the above path and an error occurs within a predetermined time, the path is recorded. The corresponding detection result is 0. If no error occurs within a predetermined time when the specific code stream flows through the path, the corresponding detection result on the path is recorded as 1, so that the test is performed under normal temperature conditions as an example. Each path can obtain the error detection result in the form of a matrix as shown in FIG.
其中,在该矩阵中,检测结果为1的区域形成封闭的区域,该区域对应的预加重参数为可选的预加重参数(可以认为该可选的预加重参数能够更好地适应常温条件下信号的传输),检测结果为0的区域形成不封闭的区域,该区域对应的预加重参数为不可选的预加重参数。Wherein, in the matrix, the region with the detection result of 1 forms a closed region, and the corresponding pre-emphasis parameter of the region is an optional pre-emphasis parameter (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature condition) The signal transmission), the area where the detection result is 0 forms an unclosed area, and the corresponding pre-emphasis parameter of the area is a non-selectable pre-emphasis parameter.
本实施例中,经在第一预设的环境温度下进行误码检测后,能够对预加重参数进行初步的筛选,以检测结果为1的区域(即未发生误码)对应的预 加重参数作为下一个预设的环境温度下进行误码检测的初始的预加重参数,大大减少了在后续的预设的环境温度下进行误码检测的预加重参数的数量。In this embodiment, after the error detection is performed at the first preset ambient temperature, the pre-emphasis parameter can be initially screened to detect the pre-emphasis corresponding to the region with the result of 1 (ie, no error occurs). The emphasis parameter is used as the initial pre-emphasis parameter for error detection at the next preset ambient temperature, which greatly reduces the number of pre-emphasis parameters for error detection at subsequent preset ambient temperatures.
步骤S104,在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;Step S104: Perform error on the preset ambient temperature in which all error detection has been performed in a preset ambient temperature among the preset ambient temperatures in which the error detection is not performed. Each group of pre-emphasis parameters that have no error occurred during detection, and the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and error detection is performed until all Error detection is performed in the preset ambient temperature;
本实施例中,考虑到环境温度因素的影响,需要重新设定环境温度,在预设的第二环境温度进行测试,例如在低温条件下进行测试。In this embodiment, in consideration of the influence of the environmental temperature factor, it is necessary to reset the ambient temperature and perform the test at a preset second ambient temperature, for example, under low temperature conditions.
本实施例中,以在第一环境温度下检测时未发生误码的预加重参数作为在第二环境温度下检测的初始的预加重参数,然后,对于每一组这些预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测。In this embodiment, the pre-emphasis parameter that is not detected at the first ambient temperature is used as the initial pre-emphasis parameter detected at the second ambient temperature, and then, for each set of these pre-emphasis parameters, the specific The code stream flows through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for error detection.
如果特定码流流经上述的一条路径时在预定时间内发生误码,则记录该条路径上对应的检测结果为0,如果特定码流流经该条路径时在预定时间内未发生误码,则记录该条路径上对应的检测结果为1,这样,以低温条件下进行测试为例,每条路径可得到如图5所示的矩阵形式的误码检测结果。If an error occurs within a predetermined time when a specific code stream flows through the above path, the corresponding detection result on the path is recorded as 0, and if the specific code stream flows through the path, no error occurs within a predetermined time. Then, the corresponding detection result on the path is recorded as 1, so that the test is performed under low temperature conditions, and each path can obtain the error detection result in the matrix form as shown in FIG. 5.
在该矩阵中,检测结果为1的区域仍形成封闭的区域,该区域对应的预加重参数为进一步进行误码检测的预加重参数(可以认为该可选的预加重参数能够更好地适应常温及低温条件下传输信号),检测结果为0的区域对应的预加重参数为不可选的预加重参数。In the matrix, the region with the detection result of 1 still forms a closed region, and the corresponding pre-emphasis parameter of the region is a pre-emphasis parameter for further error detection (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature And the signal transmitted under low temperature conditions), the pre-emphasis parameter corresponding to the region where the detection result is 0 is a non-selectable pre-emphasis parameter.
可以看出,在图5的矩阵中,检测结果为1的封闭区域比图4所示的封闭区域进一步减小,即封闭区域呈现收敛的状态,进一步对预加重参数进行筛选。It can be seen that in the matrix of FIG. 5, the closed region with the detection result of 1 is further reduced than the closed region shown in FIG. 4, that is, the closed region exhibits a convergent state, and the pre-emphasis parameters are further filtered.
本实施例中,在预设的第二环境温度下检测后,以在预设的第二环境温度下检测的未发生误码的预加重参数作为在下一预设的环境温度(例如高温环境)下进行检测的初始的预加重参数,对于每一组这些预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的预设的环境温度均进行过误码检测。 以高温条件下进行测试为例,每条路径可得到如图6所示的矩阵形式的误码检测结果。In this embodiment, after the detection at the preset second ambient temperature, the pre-emphasis parameter that is detected at the preset second ambient temperature is not taken as the next preset ambient temperature (for example, a high temperature environment). The initial pre-emphasis parameter for detecting, for each set of these pre-emphasis parameters, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and the error detection is performed. Error detection is performed until all preset ambient temperatures. Taking the test under high temperature as an example, each path can obtain the error detection result in the matrix form as shown in FIG. 6.
本实施例通过在不同的环境温度下对可选的预加重参数进行测试,使得封闭区域不断收敛,更进一步对预加重参数进行筛选。In this embodiment, the optional pre-emphasis parameters are tested at different ambient temperatures, so that the closed region converges continuously, and the pre-emphasis parameters are further filtered.
步骤S105,当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值。In step S105, after the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path.
本实施例中,当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码对应的预加重参数作为对应路径的预加重配置值,可以认为,这些预加重参数能够适应所有经过检测的环境温度下发送端信号(高速信号)的较优传输。In this embodiment, after the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter corresponding to the error is not used as the pre-emphasis configuration value of the corresponding path at all preset ambient temperatures. It is believed that these pre-emphasis parameters are able to accommodate the superior transmission of the transmitter signal (high speed signal) at all detected ambient temperatures.
预加重参数在网络设备上配置后,在实际的应用中,一般会发生漂移,本实施例中最终作为对应路径的预加重配置值的预加重参数,由于能够适应多种环境温度,因此,即使发生漂移,发送端的信号传输的质量也能够在较优范围内。After the pre-emphasis parameter is configured on the network device, in actual applications, the drift usually occurs. In this embodiment, the pre-emphasis parameter of the pre-emphasis configuration value of the corresponding path is finally adapted to various ambient temperatures, so even When drift occurs, the quality of the signal transmission at the transmitting end can also be in a better range.
此外,由于本实施例是对涉及发送端的路径进行误码检测,因此,能够精确定位链路故障位置。In addition, since the present embodiment performs error detection on the path involving the transmitting end, it is possible to accurately locate the link failure position.
与相关技术相比,本实施例提供的预加重参数的配置方法包括:在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,来初步筛选预加重参数,并且将本次未发生误码的预加重参数作为预设的下一个进行误码检测的环境温度下的初始的预加重参数,以进行误码检测,进一步筛选出未发生误码的预加重参数,当在所有预设的环境温度下均进行误码检测后,在所有预设的环境温度下均未发生误码的预加重参数即是能够适应所有进行误码检测的环境温度的参数,所述预加重参数的配置方法能实现发送端信号的较优传输,检测的过程自动化,能较快地确定到较优的预加重参数,且不需要借助其他的设备,具有通用性。Compared with the related art, the method for configuring the pre-emphasis parameter provided by the embodiment includes: flowing a specific code stream through the INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature. For the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end, error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection. The initial pre-emphasis parameters at ambient temperature are used for error detection to further screen out pre-emphasis parameters without error occurrence. When error detection is performed at all preset ambient temperatures, in all preset environments. The pre-emphasis parameter that does not have an error at the temperature is a parameter that can adapt to all the ambient temperature for error detection. The configuration method of the pre-emphasis parameter can realize the superior transmission of the signal at the transmitting end, and the process of detection is automated. It is faster to determine the preferred pre-emphasis parameters, and does not need to use other equipment, and has versatility.
在一可选的实施例中,如图7所示,在上述图1的实施例的基础上,上 述步骤S102包括:In an alternative embodiment, as shown in FIG. 7, on the basis of the embodiment of FIG. 1 above, Step S102 includes:
步骤S1021,在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;Step S1021: Enable, at each preset initial pre-emphasis parameter, a generator and a detector of a specific code stream of the INT integrated transceiver, and enable the EXT integrated transceiver for each set of initial pre-emphasis parameters. Generator and detector of a particular code stream;
步骤S1022,将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。Step S1022, flowing the specific code stream through a path of the generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and performing error on the detector corresponding to the end point of the path. Detection.
本实施例中,如图3所示,三角形代表特定码流发生器,圆形代表特定码流检测器。在预设的第一环境温度下,对于每一组初始的预加重参数,使能INT集成收发器的特定码流的发生器及检测器、使能EXT集成收发器的特定码流的发生器及检测器,例如对于上述的路径1,使能INT PHY的特定码流的发生器,使能EXT PHY的特定码流的检测器,使特定码流从发生器传输至检测器,并在检测器进行误码检测;对于上述的路径2,使能EXT PHY的特定码流的发生器,使能INT PHY的特定码流的检测器;对于上述的路径3,使能EXT PHY的特定码流的发生器及检测器。In this embodiment, as shown in FIG. 3, a triangle represents a specific code stream generator, and a circle represents a specific code stream detector. At a preset first ambient temperature, for each set of initial pre-emphasis parameters, enable the generator and detector of the particular code stream of the INT integrated transceiver, and the generator that enables the specific code stream of the EXT integrated transceiver And a detector, such as for the path 1 described above, a generator that enables a particular bitstream of the INT PHY, a detector that enables a particular bitstream of the EXT PHY, causes a particular codestream to be transmitted from the generator to the detector, and is inspected The error detection is performed; for the path 2 described above, the generator of the specific code stream of the EXT PHY is enabled, the detector of the specific code stream of the INT PHY is enabled; for the path 3 described above, the specific code stream of the EXT PHY is enabled. Generator and detector.
在一可选的实施例中,如图8所示,在上述图1的实施例的基础上,上述步骤S102还可以包括:In an optional embodiment, as shown in FIG. 8, based on the foregoing embodiment of FIG. 1, the foregoing step S102 may further include:
步骤S1023,预设所述预加重参数的步进值;Step S1023, preset a step value of the pre-emphasis parameter;
步骤S1024,在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。Step S1024, at a preset first ambient temperature, with the step value being separated, and for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end. Or use the EXT integrated transceiver as the path of the sender for error detection.
本实施例中,可以不需遍历所有组的预加重参数,而是设定一个步进值(X,Y),两次测量预加重参数的(main/post,idriver)之间分量分别相差X及Y,然后,以步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,以进行误码检测。In this embodiment, instead of traversing the pre-emphasis parameters of all groups, a step value (X, Y) may be set, and the components between the two main pre-emphasis parameters (main/post, idrifer) are respectively different by X. And Y, then, with the step value as the interval, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end. For error detection.
如图4至图6所示,main/post的步进值为4/4,idriver的步进值为1,这 样,能够大大缩短调试时间,另外,本实施例中设置步进值进行调试可以应用至所有的环境温度下。As shown in Figure 4 to Figure 6, the main/post step value is 4/4, and the idriffer step value is 1, which In this way, the debugging time can be greatly shortened. In addition, the step value is set in the embodiment for debugging and can be applied to all ambient temperatures.
在一可选的实施例中,如图9所示,在上述图1的实施例的基础上,上述步骤S105包括:In an optional embodiment, as shown in FIG. 9, on the basis of the foregoing embodiment of FIG. 1, the foregoing step S105 includes:
步骤S1051,当在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;Step S1051: After error detection is performed at all preset ambient temperatures, the configured plurality of initial pre-emphasis parameters are arranged in a matrix form;
步骤S1052,在所确定的预加重参数在所述矩阵中形成的几何区域中,确定位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。Step S1052: Determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
本实施例中,可能不止一组预加重参数均在所有的预设的环境温度下均没有发生误码,其能够实现发送端信号的较优传输。In this embodiment, more than one set of pre-emphasis parameters may have no error at all preset ambient temperatures, which can achieve better transmission of the signal at the transmitting end.
本实施例中,如果最终确定到的预加重参数有多组,则可以将配置的多组初始的预加重参数以矩阵的形式排列,其中,以main/post为行,以驱动电流idriver为列。In this embodiment, if there are multiple sets of pre-emphasis parameters finally determined, the configured plurality of initial pre-emphasis parameters may be arranged in a matrix form, wherein main_post is used as the row, and the driving current idriver is used as the column. .
本实施例预加重参数在以上述的矩阵的方式排列时,封闭几何区域中几何中心处对应的预加重参数或者接近区域的几何中心的处对应的预加重参数作为对应路径的最优预加重配置值可能为一组或多组。如图6所示,在封闭区域中框选的接近几何中心处的(main/post,idriver)=(47/16,10)为对应路径的最优预加重配置值。这样,在预加重参数发生漂移时,漂移后还可能是该封闭几何区域中的预加重参数或者是该封闭几何区域附近的预加重参数,这些预加重参数仍能够较优地传输发送端信号。In the embodiment, the pre-emphasis parameters are arranged in the above-mentioned matrix manner, and the corresponding pre-emphasis parameters at the geometric center in the closed geometric region or the corresponding pre-emphasis parameters at the geometric center of the close region are used as the optimal pre-emphasis configuration of the corresponding path. Values may be one or more groups. As shown in FIG. 6, (main/post, iriditer)=(47/16, 10) at the close geometric center of the closed area is the optimal pre-emphasis configuration value of the corresponding path. Thus, when the pre-emphasis parameter drifts, the drift may be a pre-emphasis parameter in the closed geometric region or a pre-emphasis parameter in the vicinity of the closed geometric region, and these pre-emphasis parameters can still transmit the transmitter signal better.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
本申请还提供一种预加重参数的配置装置,如图10所示,在一实施例中,所述预加重参数的配置装置包括:The application also provides a pre-emphasis parameter configuration device. As shown in FIG. 10, in an embodiment, the pre-emphasis parameter configuration device includes:
配置模块101,设置成配置多组初始的预加重参数及多种预设的环境温度; The configuration module 101 is configured to configure a plurality of sets of initial pre-emphasis parameters and a plurality of preset ambient temperatures;
本实施例中,配置多组初始的预加重参数,以对每一组预加重参数进行检测或调试,从中得出最优的预加重参数。In this embodiment, multiple sets of initial pre-emphasis parameters are configured to detect or debug each set of pre-emphasis parameters, and an optimal pre-emphasis parameter is derived therefrom.
本实施例中,考虑环境温度对预加重参数检测的影响,同时配置多种预设的环境温度,以使得最终得出的预加重参数能够最大程度地适应不同的环境温度。其中,为了缩短检测的时间,预设的环境温度可选地为低温、常温及高温。当然,本实施例还可以预设其他温度,例如增加温度梯度以增加检测的精准度,使得预加重参数在更多的环境温度中进行检测。In this embodiment, considering the influence of the ambient temperature on the pre-emphasis parameter detection, a plurality of preset ambient temperatures are configured at the same time, so that the finally obtained pre-emphasis parameters can be adapted to different ambient temperatures to the greatest extent. Among them, in order to shorten the detection time, the preset ambient temperature is optionally low temperature, normal temperature and high temperature. Of course, this embodiment can also preset other temperatures, such as increasing the temperature gradient to increase the accuracy of the detection, so that the pre-emphasis parameters are detected in more ambient temperatures.
检测模块102,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;The detecting module 102 is configured to, at a preset first ambient temperature, flow a specific code stream to a path of the INT integrated transceiver as a transmitting end or an EXT integrated transceiver as a transmitting end for each set of initial pre-emphasis parameters. Path, error detection;
本实施例中,在预设的第一环境温度下,例如在常温条件下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,并进行误码检测,即对每一条路径均进行误码检测,以在每一条路径至少筛选出一组最优的预加重参数。In this embodiment, at a preset first ambient temperature, for example, under normal temperature conditions, for each set of initial pre-emphasis parameters, a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT. The transceiver is a path of the transmitting end and performs error detection, that is, error detection is performed for each path to filter at least one optimal pre-emphasis parameter in each path.
如图3所示,其中,INT PHY为INT集成收发器,EXT PHY为EXT集成收发器。涉及到发送端的路径有5条,分别是路径1、2、3、4、5,由于路径4和5取决于光模块SFP自身的特性,且光模块器件不提供相关的检测技术支持,因此,最终涉及到发送端的路径只有路径1、2、3,其中:As shown in Figure 3, where INT PHY is the INT integrated transceiver and EXT PHY is the EXT integrated transceiver. There are five paths involved in the transmitting end, which are paths 1, 2, 3, 4, and 5, respectively. Since paths 4 and 5 are dependent on the characteristics of the optical module SFP itself, and the optical module device does not provide related detection technology support, therefore, The path that ultimately involves the sender is only path 1, 2, 3, where:
路径1位于发送链路上,从INT PHY到EXT PHY,EXT PHY中设置线路侧内环7,使特定码流流经,即路径1为:INT PHY==>1==>7==>EXT PHY; Path 1 is located on the transmit link, from the INT PHY to the EXT PHY, and the line side inner loop 7 is set in the EXT PHY to allow a specific code stream to flow, that is, the path 1 is: INT PHY==>1==>7==> EXT PHY;
路径2位于接收链路上,EXT PHY取消线路侧内环,特定码流流经后,从EXT PHY到INT PHY,即路径2为:EXT PHY==>7==>2==>INT PHY; Path 2 is located on the receiving link, EXT PHY cancels the line side inner ring, and after the specific code stream flows, from EXT PHY to INT PHY, that is, path 2 is: EXT PHY==>7==>2==>INT PHY ;
路径3位于发送链路及接收链路上,从EXT PHY开始,经线路3至光模块,光模块使用光纤自环,特定码流流经光纤自环线路8及6后,从光模块返回EXT PHY,即路径3为:EXT PHY==>3==>5==>8==>6==>4==>EXT PHY。 Path 3 is located on the transmit link and the receive link, starting from the EXT PHY, via line 3 to the optical module, the optical module uses the fiber self-loop, and the specific code stream flows through the fiber self- loop lines 8 and 6, and returns to the EXT from the optical module. PHY, path 3 is: EXT PHY==>3==>5==>8==>6==>4==>EXT PHY.
本实施例中,特定码流可选地为伪随机二进制序列(Pseudo-Random Binary Sequence,PRBS)码流,当然也可以是其他的码流。伪随机二进制序 列码流具有自我验证的特性,可以及时感知链路上的误码情况的发生。In this embodiment, the specific code stream is optionally a Pseudo-Random Binary Sequence (PRBS) code stream, and of course, other code streams. Pseudorandom binary order The column stream has a self-verifying feature that can sense the occurrence of bit errors on the link in time.
第一获取模块103,设置成当遍历完所述预加重参数后,确定所述特定码流在预定时间内在流经所述路径时未发生误码的预加重参数;The first obtaining module 103 is configured to: after traversing the pre-emphasis parameter, determine a pre-emphasis parameter that does not generate an error when the specific code stream flows through the path within a predetermined time;
本实施例中,对于每条路径,当在第一预设的环境温度下遍历所有组预加重参数后,可以将遍历后的预加重参数组成一个矩阵的形式,如图4所示,其中,以main/post为行,以驱动电流(idriver)为列,其中,对于每一组预加重参数,如果特定码流流经上述的一条路径时在预定时间内发生误码,则记录该条路径上对应的检测结果为0,如果特定码流流经该条路径时在预定时间内未发生误码,则记录该条路径上对应的检测结果为1,这样,以常温条件下进行测试为例,每条路径可得到如图4所示的矩阵形式的误码检测结果。In this embodiment, for each path, after traversing all the group pre-emphasis parameters at the first preset ambient temperature, the traversed pre-emphasis parameters may be formed into a matrix form, as shown in FIG. 4 , where In the main/post line, the drive current (idriver) is listed, wherein, for each group of pre-emphasis parameters, if a specific code stream flows through the above path and an error occurs within a predetermined time, the path is recorded. The corresponding detection result is 0. If no error occurs within a predetermined time when the specific code stream flows through the path, the corresponding detection result on the path is recorded as 1, so that the test is performed under normal temperature conditions as an example. Each path can obtain the error detection result in the form of a matrix as shown in FIG.
其中,在该矩阵中,检测结果为1的区域形成封闭的区域,该区域对应的预加重参数为可选的预加重参数(可以认为该可选的预加重参数能够更好地适应常温条件下信号的传输),检测结果为0的区域形成不封闭的区域,该区域对应的预加重参数为不可选的预加重参数。Wherein, in the matrix, the region with the detection result of 1 forms a closed region, and the corresponding pre-emphasis parameter of the region is an optional pre-emphasis parameter (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature condition) The signal transmission), the area where the detection result is 0 forms an unclosed area, and the corresponding pre-emphasis parameter of the area is a non-selectable pre-emphasis parameter.
本实施例中,经在第一预设的环境温度下进行误码检测后,能够对预加重参数进行初步的筛选,以检测结果为1的区域(即未发生误码)对应的预加重参数作为下一个预设的环境温度下进行误码检测的初始的预加重参数,大大减少了在下一个预设的环境温度下进行误码检测的预加重参数的数量。In this embodiment, after the error detection is performed at the first preset ambient temperature, the pre-emphasis parameter can be initially screened to detect the pre-emphasis parameter corresponding to the region with the result of 1 (ie, no error occurs). As the initial pre-emphasis parameter for error detection at the next preset ambient temperature, the number of pre-emphasis parameters for error detection at the next preset ambient temperature is greatly reduced.
循环检测模块104,设置成在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;The loop detection module 104 is configured to set the preset ambient temperature in all of the preset ambient temperatures in which the error detection is not performed for all of the preset ambient temperatures Each group of pre-emphasis parameters that do not have an error when error detection is performed, and the specific code stream flows through a path that uses the INT integrated transceiver as a transmitting end or a path that uses an EXT integrated transceiver as a transmitting end to perform error detection. Error detection is performed until all of the preset ambient temperatures are performed;
本实施例中,考虑到环境温度因素的影响,需要重新设定环境温度,在预设的第二环境温度进行测试,例如在低温条件下进行测试。In this embodiment, in consideration of the influence of the environmental temperature factor, it is necessary to reset the ambient temperature and perform the test at a preset second ambient temperature, for example, under low temperature conditions.
本实施例中,以在第一环境温度下检测时未发生误码的预加重参数作为在第二环境温度下检测的初始的预加重参数,然后,对于每一组这些预加重 参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测。In this embodiment, the pre-emphasis parameter that does not generate an error when detected at the first ambient temperature is used as the initial pre-emphasis parameter detected at the second ambient temperature, and then, for each group of these pre-emphasis The parameter is used to perform error detection by flowing a specific code stream through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end.
如果特定码流流经上述的一条路径时在预定时间内发生误码,则记录该条路径上对应的检测结果为0,如果特定码流流经该条路径时在预定时间内未发生误码,则记录该条路径上对应的检测结果为1,这样,以低温条件下进行测试为例,每条路径可得到如图5所示的矩阵形式的误码检测结果。If an error occurs within a predetermined time when a specific code stream flows through the above path, the corresponding detection result on the path is recorded as 0, and if the specific code stream flows through the path, no error occurs within a predetermined time. Then, the corresponding detection result on the path is recorded as 1, so that the test is performed under low temperature conditions, and each path can obtain the error detection result in the matrix form as shown in FIG. 5.
在该矩阵中,检测结果为1的区域仍形成封闭的区域,该区域对应的预加重参数为进一步进行误码检测的预加重参数(可以认为该可选的预加重参数能够更好地适应常温及低温条件下传输信号),检测结果为0的区域对应的预加重参数为不可选的预加重参数。In the matrix, the region with the detection result of 1 still forms a closed region, and the corresponding pre-emphasis parameter of the region is a pre-emphasis parameter for further error detection (it can be considered that the optional pre-emphasis parameter can better adapt to the normal temperature And the signal transmitted under low temperature conditions), the pre-emphasis parameter corresponding to the region where the detection result is 0 is a non-selectable pre-emphasis parameter.
可以看出,在图5的矩阵中,检测结果为1的封闭区域比图4所示的封闭区域进一步减小,即封闭区域呈现收敛的状态,进一步对预加重参数进行筛选。It can be seen that in the matrix of FIG. 5, the closed region with the detection result of 1 is further reduced than the closed region shown in FIG. 4, that is, the closed region exhibits a convergent state, and the pre-emphasis parameters are further filtered.
本实施例中,在预设的第二环境温度下检测后,以在预设的第二环境温度下检测的未发生误码的预加重参数作为在下一预设的环境温度(例如高温环境)下进行检测的初始的预加重参数,对于每一组这些预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的预设的环境温度均进行过误码检测。以高温条件下进行测试为例,每条路径可得到如图6所示的矩阵形式的误码检测结果。In this embodiment, after the detection at the preset second ambient temperature, the pre-emphasis parameter that is detected at the preset second ambient temperature is not taken as the next preset ambient temperature (for example, a high temperature environment). The initial pre-emphasis parameter for detecting, for each set of these pre-emphasis parameters, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and the error detection is performed. Error detection is performed until all preset ambient temperatures. Taking the test under high temperature as an example, each path can obtain the error detection result in the matrix form as shown in FIG. 6.
本实施例通过在不同的环境温度下对可选的预加重参数进行测试,使得封闭区域不断收敛,更进一步对预加重参数进行筛选。In this embodiment, the optional pre-emphasis parameters are tested at different ambient temperatures, so that the closed region converges continuously, and the pre-emphasis parameters are further filtered.
第二获取模块105,设置成当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值。The second obtaining module 105 is configured to: when the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path. .
本实施例中,当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码对应的预加重参数作为对应路径的预加重配置值,可以认为,这些预加重参数能够适应所有经过检测的环境温度下发送端信号(高速信号)的较优传输。 In this embodiment, after the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter corresponding to the error is not used as the pre-emphasis configuration value of the corresponding path at all preset ambient temperatures. It is believed that these pre-emphasis parameters are able to accommodate the superior transmission of the transmitter signal (high speed signal) at all detected ambient temperatures.
预加重参数在网络设备上配置后,在实际的应用中,一般会发生漂移,本实施例中最终作为对应路径的预加重配置值的预加重参数,由于能够适应多种环境温度,因此,即使发生漂移,发送端的信号传输的质量也能够在较优范围内。After the pre-emphasis parameter is configured on the network device, in actual applications, the drift usually occurs. In this embodiment, the pre-emphasis parameter of the pre-emphasis configuration value of the corresponding path is finally adapted to various ambient temperatures, so even When drift occurs, the quality of the signal transmission at the transmitting end can also be in a better range.
此外,由于本实施例是对涉及发送端的路径进行误码检测,因此,能够精确定位链路故障位置。In addition, since the present embodiment performs error detection on the path involving the transmitting end, it is possible to accurately locate the link failure position.
与相关技术相比,本实施例中,在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,来初步筛选预加重参数,并且将本次未发生误码的预加重参数作为预设的下一个进行误码检测的环境温度下的初始的预加重参数,以进行误码检测,进一步筛选出未发生误码的预加重参数,当在所有预设的环境温度下均进行误码检测后,在所有预设的环境温度下均未发生误码的预加重参数即是能够适应所有进行误码检测的环境温度的参数,其能实现发送端信号的较优传输,检测的过程自动化,能较快地确定到较优的预加重参数,且不需要借助其他的设备,具有通用性。Compared with the related art, in the embodiment, at a preset first ambient temperature, for each set of initial pre-emphasis parameters, a specific code stream flows through a path with the INT integrated transceiver as a transmitting end or integrated with EXT. The transceiver is a path of the transmitting end, and error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that does not have an error is used as the initial pre-emphasis at the ambient temperature for the next error detection. Parameters for error detection, further screening out pre-emphasis parameters without error occurrence. When error detection is performed at all preset ambient temperatures, no error occurs at all preset ambient temperatures. The pre-emphasis parameter is a parameter that can adapt to all the ambient temperature for error detection, which can achieve better transmission of the signal at the transmitting end, automate the detection process, and can quickly determine the better pre-emphasis parameter, and does not need With other devices, it is versatile.
在一可选的实施例中,如图11所示,在上述图10的实施例的基础上,所述检测模块102包括:In an optional embodiment, as shown in FIG. 11, on the basis of the foregoing embodiment of FIG. 10, the detecting module 102 includes:
使能单元1021,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;The enabling unit 1021 is configured to, at a preset first ambient temperature, enable a generator and a detector of the specific code stream of the INT integrated transceiver for each set of initial pre-emphasis parameters, enable the EXT integrated transceiver specific generator and detector of the code stream;
第一检测单元1022,设置成将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。The first detecting unit 1022 is configured to flow the specific code stream through a path of a generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and corresponding to the end point of the path The detector performs error detection.
本实施例中,在预设的第一环境温度下,对于每一组初始的预加重参数,使能INT集成收发器的特定码流的发生器及检测器、使能EXT集成收发器的特定码流的发生器及检测器,例如对于上述的路径1,使能INT PHY的特定码流的发生器,使能EXT PHY的特定码流的检测器,使特定码流从发生器传输至检测器,并在检测器进行误码检测;对于上述的路径2,使能EXT  PHY的特定码流的发生器,使能INT PHY的特定码流的检测器;对于上述的路径3,使能EXT PHY的特定码流的发生器及检测器。In this embodiment, for each initial set of pre-emphasis parameters, the generator and detector of the specific code stream of the INT integrated transceiver are enabled, and the specificity of the EXT integrated transceiver is enabled at a preset first ambient temperature. A stream generator and detector, for example for the path 1 described above, a generator that enables the specific stream of the INT PHY, a detector that enables the specific stream of the EXT PHY, and transmits a specific stream from the generator to the detection And error detection at the detector; for path 2 above, enable EXT A generator of a particular code stream of the PHY, a detector that enables a particular bitstream of the INT PHY; for path 3 described above, a generator and detector that enables a particular bitstream of the EXT PHY.
在一可选的实施例中,如图12所示,在上述图10的实施例的基础上,所述检测模块102可以包括:In an optional embodiment, as shown in FIG. 12, based on the foregoing embodiment of FIG. 10, the detecting module 102 may include:
预设单元1023,设置成预设所述预加重参数的步进值;The preset unit 1023 is configured to preset a step value of the pre-emphasis parameter;
第二检测单元1024,设置成在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。The second detecting unit 1024 is configured to, at a preset first ambient temperature, at an interval of the step value, and to transmit and transmit a specific code stream through the INT integrated transmission and reception for each initial pre-emphasis parameter after the interval. The path is used as the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end for error detection.
本实施例中,可以不需遍历所有组的预加重参数,而是设定一个步进值(X,Y),两次测量预加重参数的(main/post,idriver)之间分量分别相差X及Y,然后,以步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,以进行误码检测。In this embodiment, instead of traversing the pre-emphasis parameters of all groups, a step value (X, Y) may be set, and the components between the two main pre-emphasis parameters (main/post, idrifer) are respectively different by X. And Y, then, with the step value as the interval, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end. For error detection.
如图4至图6所示,main/post的步进值为4/4,idriver的步进值为1,这样,能够大大缩短调试时间,另外,本实施例中设置步进值进行调试可以应用至所有的环境温度下。As shown in FIG. 4 to FIG. 6 , the step value of main/post is 4/4, and the step value of idriver is 1, so that the debugging time can be greatly shortened. In addition, in this embodiment, the step value can be set for debugging. Apply to all ambient temperatures.
在一可选的实施例中,如图13所示,在上述图10的实施例的基础上,所述第二获取模块105包括:In an optional embodiment, as shown in FIG. 13, on the basis of the foregoing embodiment of FIG. 10, the second obtaining module 105 includes:
排列单元1051,设置成当在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;The arranging unit 1051 is configured to arrange the configured plurality of initial pre-emphasis parameters in a matrix form after performing error detection at all preset ambient temperatures;
获取单元1052,设置成在所确定的预加重参数在所述矩阵中形成的几何区域中,确定位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。The obtaining unit 1052 is configured to determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
本实施例中,可能不止一组预加重参数均在所有的预设的环境温度下均没有发生误码,其能够实现发送端信号的较优传输。 In this embodiment, more than one set of pre-emphasis parameters may have no error at all preset ambient temperatures, which can achieve better transmission of the signal at the transmitting end.
本实施例中,如果最终确定到的预加重参数有多组,则可以将配置的多组初始的预加重参数以矩阵的形式排列,其中,以main/post为行,以驱动电流idriver为列。In this embodiment, if there are multiple sets of pre-emphasis parameters finally determined, the configured plurality of initial pre-emphasis parameters may be arranged in a matrix form, wherein main_post is used as the row, and the driving current idriver is used as the column. .
本实施例预加重参数在以上述的矩阵的方式排列时,封闭几何区域中几何中心处对应的预加重参数或者接近区域的几何中心的处对应的预加重参数作为对应路径的最优预加重配置值可能为一组或多组。如图6所示,在封闭区域中框选的(main/post,idriver)=(47/16,10)为对应路径的最优预加重配置值。这样,在预加重参数发生漂移时,漂移后还可能是该封闭几何区域中的预加重参数或者是该封闭几何区域附近的预加重参数,这些预加重参数仍能够较优地传输发送端信号。In the embodiment, the pre-emphasis parameters are arranged in the above-mentioned matrix manner, and the corresponding pre-emphasis parameters at the geometric center in the closed geometric region or the corresponding pre-emphasis parameters at the geometric center of the close region are used as the optimal pre-emphasis configuration of the corresponding path. Values may be one or more groups. As shown in FIG. 6, the main/post, idriver=(47/16, 10) framed in the closed area is the optimal pre-emphasis configuration value of the corresponding path. Thus, when the pre-emphasis parameter drifts, the drift may be a pre-emphasis parameter in the closed geometric region or a pre-emphasis parameter in the vicinity of the closed geometric region, and these pre-emphasis parameters can still transmit the transmitter signal better.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only an alternative embodiment of the present application, and thus does not limit the scope of the patent application, and the equivalent structure or equivalent process transformation of the specification and the drawings of the present application, or directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of this application.
工业实用性Industrial applicability
本申请提供了一种预加重参数的配置方法及装置,该方法包括:在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,来初步筛选预加重参数,并且将本次未发生误码的预加重参数作为预设的下一个进行误码检测的环境温度下的初始的预加重参数,以进行误码检 测,进一步筛选出未发生误码的预加重参数,当在所有预设的环境温度下均进行误码检测后,在所有预设的环境温度下均未发生误码的预加重参数即是能够适应所有进行检测的环境温度的参数,所述预加重参数的配置方法和装置能实现发送端信号的更优传输,检测的过程自动化,能较快地确定较优的预加重参数,且不需要借助其他的设备,具有通用性。 The present application provides a method and apparatus for configuring pre-emphasis parameters, the method comprising: flowing a specific code stream through an INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature For the path of the transmitting end or the path of the EXT integrated transceiver as the transmitting end, error detection is performed to initially filter the pre-emphasis parameter, and the pre-emphasis parameter that has not generated the error is used as the preset next error detection. Initial pre-emphasis parameters at ambient temperature for error detection The measurement further filters out the pre-emphasis parameters without error. When the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is capable of Adapting to all parameters of the detected ambient temperature, the pre-emphasis parameter configuration method and device can achieve better transmission of the signal at the transmitting end, the detection process is automated, and the better pre-emphasis parameter can be determined relatively quickly, and does not need With other devices, it is versatile.

Claims (10)

  1. 一种预加重参数的配置方法,包括:A method for configuring pre-emphasis parameters, including:
    配置多组初始的预加重参数及多种预设的环境温度;Configuring multiple sets of initial pre-emphasis parameters and various preset ambient temperatures;
    在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;At a preset first ambient temperature, for each set of initial pre-emphasis parameters, a specific code stream is passed through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for error detection. ;
    当遍历所述预加重参数后,确定所述特定码流在预定时间内在流经所述路径时未发生误码的预加重参数;After traversing the pre-emphasis parameter, determining a pre-emphasis parameter that the specific code stream does not have an error when flowing through the path within a predetermined time;
    在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;At a preset ambient temperature among the preset ambient temperatures in which no error detection is performed, for error detection at all of the preset ambient temperatures in which error detection has been performed Each group of pre-emphasis parameters that do not have an error occurs, and the specific code stream flows through a path that uses the INT integrated transceiver as a transmitting end or a path that uses the EXT integrated transceiver as a transmitting end to perform error detection until all of the pre- Error detection is performed in the ambient temperature;
    当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值。When the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-emphasis configuration value of the corresponding path.
  2. 如权利要求1所述的预加重参数的配置方法,其中,所述在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测的步骤包括:The method of configuring a pre-emphasis parameter according to claim 1, wherein said predetermined code stream flows through the INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature The path of the sender or the path of the EXT integrated transceiver as the sender, the steps of error detection include:
    在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;Generating a generator and detector of a particular code stream of the INT integrated transceiver, a specific code enabling the EXT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature Flow generator and detector;
    将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。The specific code stream is passed through a path of the generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and the detector corresponding to the end point of the path performs error detection.
  3. 如权利要求1所述的预加重参数的配置方法,其中,所述在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,以进行误码检 测的步骤包括:The method of configuring a pre-emphasis parameter according to claim 1, wherein said predetermined code stream flows through the INT integrated transceiver for each set of initial pre-emphasis parameters at a preset first ambient temperature The path of the sender or the path of the EXT integrated transceiver as the sender for error detection The steps of the test include:
    预设所述预加重参数的步进值;Presetting the step value of the pre-emphasis parameter;
    在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。At a preset first ambient temperature, at intervals of the step value, for each initial pre-emphasis parameter after the interval, the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or EXT The integrated transceiver acts as a path for the transmitter for error detection.
  4. 如权利要求1至3任一项所述的预加重参数的配置方法,其中,所述特定码流为伪随机二进制序列码流。The method of configuring a pre-emphasis parameter according to any one of claims 1 to 3, wherein the specific code stream is a pseudo-random binary sequence code stream.
  5. 如权利要求1所述的预加重参数的配置方法,其中,所述在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加重配置值的步骤包括:The method for configuring a pre-emphasis parameter according to claim 1, wherein the error pre-emphasis occurs at all preset ambient temperatures after the error detection is performed at all preset ambient temperatures. The steps of the parameter as the pre-emphasis configuration value of the corresponding path include:
    当在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;After performing error detection at all preset ambient temperatures, the configured plurality of initial pre-emphasis parameters are arranged in a matrix;
    在所确定的预加重参数在所述矩阵中形成的几何区域中,将位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。In the geometric region formed by the determined pre-emphasis parameter in the matrix, the pre-emphasis parameter located at the center of the geometric region is taken as the pre-emphasis configuration value of the corresponding path.
  6. 一种预加重参数的配置装置,包括:A configuration device for pre-emphasis parameters, comprising:
    配置模块,设置成配置多组初始的预加重参数及多种预设的环境温度;The configuration module is configured to configure a plurality of initial pre-emphasis parameters and a plurality of preset ambient temperatures;
    检测模块,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测;The detecting module is configured to, at a preset first ambient temperature, flow a specific code stream through a path with the INT integrated transceiver as the transmitting end or a path with the EXT integrated transceiver as the transmitting end for each set of initial pre-emphasis parameters , performing error detection;
    第一获取模块,设置成当遍历完所述预加重参数后,确定所述特定码流在预定时间内在流经所述路径时未发生误码的预加重参数;a first obtaining module, configured to determine, after traversing the pre-emphasis parameter, a pre-emphasis parameter that does not generate an error when the specific code stream flows through the path within a predetermined time;
    循环检测模块,设置成在其中未进行误码检测的所述预设的环境温度之中的一个预设的环境温度下,对于在所有其中已进行误码检测的所述预设的环境温度下进行误码检测时均未发生误码的每一组预加重参数,将特定码流流经以INT集成收发器为发送端的路径或以EXT集成收发器为发送端的路径,进行误码检测,直至在所有的所述预设的环境温度中均进行了误码检测;a loop detection module configured to, at a preset ambient temperature of the preset ambient temperatures in which error detection is not performed, for all of the preset ambient temperatures in which error detection has been performed Each group of pre-emphasis parameters that have no error occurs when error detection is performed, and the specific code stream flows through the path with the INT integrated transceiver as the transmitting end or the path with the EXT integrated transceiver as the transmitting end, and error detection is performed until Error detection is performed in all of the preset ambient temperatures;
    第二获取模块,设置成当在所有预设的环境温度下均进行误码检测后,以在所有预设的环境温度下均未发生误码的预加重参数作为对应路径的预加 重配置值。The second obtaining module is configured to: when the error detection is performed at all preset ambient temperatures, the pre-emphasis parameter that does not have an error at all preset ambient temperatures is used as the pre-addition of the corresponding path. Reconfigure the value.
  7. 如权利要求6所述的预加重参数的配置装置,其中,所述检测模块包括:The apparatus for configuring pre-emphasis parameters according to claim 6, wherein the detecting module comprises:
    使能单元,设置成在预设的第一环境温度下,对于每一组初始的预加重参数,使能所述INT集成收发器的特定码流的发生器及检测器、使能所述EXT集成收发器的特定码流的发生器及检测器;An enabling unit configured to enable, at each of the initial set of pre-emphasis parameters for each set of initial pre-emphasis parameters, a generator and detector of the particular code stream of the INT integrated transceiver, enabling the EXT a generator and detector that integrates a particular code stream of the transceiver;
    第一检测单元,设置成将所述特定码流流经以INT集成收发器的发生器作为发送端的路径或以EXT集成收发器的发生器作为发送端的路径,并在所述路径终点对应的检测器进行误码检测。a first detecting unit configured to flow the specific code stream through a path of a generator of the INT integrated transceiver as a path of the transmitting end or a generator of the EXT integrated transceiver as a path of the transmitting end, and corresponding detection at the end of the path The device performs error detection.
  8. 如权利要求6所述的预加重参数的配置装置,其中,所述检测模块包括:The apparatus for configuring pre-emphasis parameters according to claim 6, wherein the detecting module comprises:
    预设单元,设置成预设所述预加重参数的步进值;a preset unit, configured to preset a step value of the pre-emphasis parameter;
    第二检测单元,设置成在预设的第一环境温度下,以所述步进值为间隔,对间隔后的每一组初始的预加重参数,将特定码流流经以INT集成收发器作为发送端的路径或以EXT集成收发器作为发送端的路径,以进行误码检测。a second detecting unit, configured to, at a preset first ambient temperature, at an interval of the step value, and to input a specific code stream through the INT integrated transceiver for each group of initial pre-emphasis parameters after the interval As the path of the sender or the path of the EXT integrated transceiver as the sender, error detection is performed.
  9. 如权利要求6至8任一项所述的预加重参数的配置装置,其中,所述特定码流为伪随机二进制序列码流。The apparatus for configuring pre-emphasis parameters according to any one of claims 6 to 8, wherein the specific code stream is a pseudo-random binary sequence code stream.
  10. 如权利要求6所述的预加重参数的配置装置,其中,所述第二获取模块包括:The apparatus for configuring pre-emphasis parameters according to claim 6, wherein the second acquisition module comprises:
    排列单元,设置成当在所有预设的环境温度下均进行误码检测后,将配置的多组初始的预加重参数以矩阵的形式排列;Arranging units arranged to arrange a plurality of sets of initial pre-emphasis parameters in a matrix form after error detection is performed at all preset ambient temperatures;
    获取单元,设置成在所确定的预加重参数在所述矩阵中形成的几何区域中,确定位于所述几何区域中心处的预加重参数作为对应路径的预加重配置值。 And an obtaining unit configured to determine, in the geometric region formed by the determined pre-emphasis parameter in the matrix, a pre-emphasis parameter located at a center of the geometric region as a pre-emphasis configuration value of the corresponding path.
PCT/CN2016/088200 2015-07-02 2016-07-01 Pre-emphasis parameter configuration method and apparatus WO2017000916A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510381866.6 2015-07-02
CN201510381866.6A CN106330594A (en) 2015-07-02 2015-07-02 Pre-emphasis parameter configuration method and apparatus

Publications (1)

Publication Number Publication Date
WO2017000916A1 true WO2017000916A1 (en) 2017-01-05

Family

ID=57609444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088200 WO2017000916A1 (en) 2015-07-02 2016-07-01 Pre-emphasis parameter configuration method and apparatus

Country Status (2)

Country Link
CN (1) CN106330594A (en)
WO (1) WO2017000916A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166175A (en) * 2019-05-21 2019-08-23 新华三技术有限公司 The method, apparatus and the network equipment of adaptive configuration pre-add weight values

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540244B (en) * 2018-02-24 2021-08-06 新华三技术有限公司 Pre-emphasis coefficient test method and device and communication equipment
CN109257094B (en) * 2018-11-01 2020-08-18 苏州浪潮智能科技有限公司 Pre-emphasis value evaluation method and device for serial deserializing transmitter
CN109936425B (en) * 2019-03-29 2022-02-08 武汉邮电科学研究院有限公司 Pre-emphasis debugging system and method
CN113452440A (en) * 2021-07-08 2021-09-28 恒安嘉新(北京)科技股份公司 Quality detection method and device for optical module, storage medium and electronic equipment
CN113922890B (en) * 2021-09-16 2023-09-29 烽火通信科技股份有限公司 Pre-emphasis parameter adjustment method, pre-emphasis parameter adjustment device, pre-emphasis parameter adjustment equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140126614A1 (en) * 2012-11-08 2014-05-08 Broadcom Corporation System, method, and apparatus for digital pre-emphasis in low power serdes systems
CN103856263A (en) * 2012-12-07 2014-06-11 华为技术有限公司 Method and device for testing high-speed link
CN104184617A (en) * 2014-08-12 2014-12-03 福建星网锐捷网络有限公司 Method, device and system for configuring pre-emphasis for interconnection equipment and network device
CN104618054A (en) * 2013-11-04 2015-05-13 华为技术有限公司 Parameter adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140126614A1 (en) * 2012-11-08 2014-05-08 Broadcom Corporation System, method, and apparatus for digital pre-emphasis in low power serdes systems
CN103856263A (en) * 2012-12-07 2014-06-11 华为技术有限公司 Method and device for testing high-speed link
CN104618054A (en) * 2013-11-04 2015-05-13 华为技术有限公司 Parameter adjusting method and device
CN104184617A (en) * 2014-08-12 2014-12-03 福建星网锐捷网络有限公司 Method, device and system for configuring pre-emphasis for interconnection equipment and network device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166175A (en) * 2019-05-21 2019-08-23 新华三技术有限公司 The method, apparatus and the network equipment of adaptive configuration pre-add weight values

Also Published As

Publication number Publication date
CN106330594A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2017000916A1 (en) Pre-emphasis parameter configuration method and apparatus
KR102569335B1 (en) Automatic test equipment for testing one or more devices under test for command error handling, method and computer program for automatic testing of one or more devices under test
CN108353004B (en) Method, system, and computer readable medium for testing Network Function Virtualization (NFV)
US8259587B2 (en) Pool-based network diagnostic systems and methods
CN106528418B (en) A kind of test method and device
US8744012B1 (en) On-chip eye viewer architecture for highspeed transceivers
US9077448B2 (en) Read optical power link service for link health diagnostics
TWI476425B (en) Automatic test equipment
JP2007082159A (en) Network equipment testing apparatus
US10068634B2 (en) Simultaneous write and read calibration of an interface within a circuit
CN112925682B (en) Testing device and method with built-in self-test logic
TW201929489A (en) High-speed network apparatus and self-testing method thereof
US7979756B2 (en) Apparatus, system and method for a go/no go link integrity tester
US20180113779A1 (en) Intelligent packet analyzer circuits, systems, and methods
TWI635717B (en) System and method for data packet transceiver testing after signal calibration and power settling to minimize test time
KR101473144B1 (en) Semiconductor test method and system based on controller area network
US7409618B2 (en) Self verifying communications testing
WO2016041387A1 (en) Method and device used by network management system for debugging network element configuration
TWI559704B (en) Test method of network transmission rate
CN110120856B (en) Test vector generation and detection system and method for multi-type test sequences
US7721164B2 (en) Method and apparatus for improved storage area network link integrity testing
Shi et al. Verifi: Model-driven runtime verification framework for wireless protocol implementations
KR101712370B1 (en) Ethernet device and system for supporting error packet analysis
KR102466086B1 (en) Signal Integrity Diagnostic Routines for Communication Channels
JP2015121531A (en) Systems and methods for linking trace information with sensor data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16817280

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817280

Country of ref document: EP

Kind code of ref document: A1