RU2733809C9 - Method and apparatus for debugging serdes connection parameter and computer data medium - Google Patents

Method and apparatus for debugging serdes connection parameter and computer data medium Download PDF

Info

Publication number
RU2733809C9
RU2733809C9 RU2019143884A RU2019143884A RU2733809C9 RU 2733809 C9 RU2733809 C9 RU 2733809C9 RU 2019143884 A RU2019143884 A RU 2019143884A RU 2019143884 A RU2019143884 A RU 2019143884A RU 2733809 C9 RU2733809 C9 RU 2733809C9
Authority
RU
Russia
Prior art keywords
predistortion
serdes
parameter
connection
parameters
Prior art date
Application number
RU2019143884A
Other languages
Russian (ru)
Other versions
RU2733809C1 (en
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 Сейнчипс Текнолоджи Ко., Лтд.
Application granted granted Critical
Publication of RU2733809C1 publication Critical patent/RU2733809C1/en
Publication of RU2733809C9 publication Critical patent/RU2733809C9/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/3707Adaptive decoding and hybrid decoding, e.g. decoding methods or techniques providing more than one decoding algorithm for one code

Abstract

FIELD: physics.
SUBSTANCE: invention relates to a serial application of a serialiser/deserialiser (SerDes). Encoding/decoding (codec) mode is determined according to the clock of the connection and the channel characteristic. Method for direct error correction (FEC) and verification code is determined. Range of predistortion parameters is determined and high-speed SerDes to be debugged according to a range of predistortion parameters, on the transmitting side, the FEC method and the verification code are prepared to obtain a predistortion configuration parameter. After determining the predistortion configuration parameter, preparing a correction parameter on the receiving side of high-speed SerDes to be debugged to obtain a self-adaptive configuration parameter.
EFFECT: technical result consists in improvement of accuracy and stability of data transmission.
11 cl, 3 dwg

Description

ПЕРЕКРЕСТНАЯ ССЫЛКА НА РОДСТВЕННЫЕ ЗАЯВКИCROSS-REFERENCE TO RELATED APPLICATIONS

Эта заявка руководствуется и испрашивает приоритет заявки на патент Китая №201710386821.7, поданной 26 мая 2017 года, содержание которой полностью включено в этот документ посредством ссылки.This application is governed by and claims the priority of Chinese Patent Application No. 201710386821.7, filed May 26, 2017, the entire contents of which are incorporated herein by reference.

ОБЛАСТЬ ТЕХНИКИFIELD OF TECHNOLOGY

Настоящее изобретение относится к области коммуникационного приложения сериализатора/десериализатора (SerDes) и, в частности, к способу и устройству для отладки параметра соединения SerDes, и компьютерному носителю данных.The present invention relates to the field of a serializer / deserializer (SerDes) communication application, and in particular to a method and apparatus for debugging a SerDes connection parameter, and a computer storage medium.

ПРЕДПОСЫЛКИ ИЗОБРЕТЕНИЯBACKGROUND OF THE INVENTION

По мере увеличения спроса на пропускную способность и уровня обслуживания, выдвигается более высокое требование для высокоэффективной передачи данных. Обеспечение стабильности передачи данных на высокоскоростном канале является ключом к реализации высокоэффективной передачи данных.As the demand for bandwidth and service levels increases, so does the demand for highly efficient data transmission. Ensuring the stability of data transmission on a high speed channel is the key to realizing highly efficient data transmission.

SerDes расшифровывается как сериализатор/десериализатор. SerDes представляет собой технологию временного мультиплексирования (TDM) и двухточечной (P2P) последовательной передачи. Технология предусматривает, что многолучевые низкоскоростные параллельные сигналы преобразовываются в высокоскоростные последовательные сигналы на передающем конце. Высокоскоростные последовательные сигналы проходят через среду передачи (такую как оптическое волокно или медный провод), и преобразовываются в низкоскоростные параллельные сигналы на приемном конце. Технология последовательной передачи P2P полностью использует пропускную способность канала среды передачи для уменьшения необходимого количества каналов передачи и выводов устройства, так что расходы на связь значительно снижаются. Технология широко применяется в отношении целого ряда масштабных переключателей и устройств маршрутизации. Однако улучшение качества передачи сопровождается тщательным точным управлением, поэтому очень важно обеспечить или даже улучшить стабильность передачи при высокой скорости посредством строгого контроля отклонения SerDes во время работы, вызванное окружающей обстановкой и устройствами.SerDes stands for Serializer / Deserializer. SerDes is a time division multiplexing (TDM) and point-to-point (P2P) serial transmission technology. The technology involves converting multipath, low-rate parallel signals into high-speed serial signals at the transmitting end. High-speed serial signals travel through a transmission medium (such as optical fiber or copper wire) and are converted to low-speed parallel signals at the receiving end. P2P serial technology fully utilizes the bandwidth of the media channel to reduce the required number of transmission channels and device leads, so that communication costs are significantly reduced. The technology is widely applied to a variety of scale switches and routing devices. However, the improvement in transmission quality is accompanied by careful precise control, so it is very important to ensure or even improve the transmission stability at high speed by strictly controlling the deviation of SerDes during operation caused by the environment and devices.

КРАТКОЕ ОПИСАНИЕ ИЗОБРЕТЕНИЯBRIEF DESCRIPTION OF THE INVENTION

Для устранения недостатков предшествующего уровня техники ожидается, что настоящее изобретение предлагает способ и устройство для отладки параметра соединения SerDes, а также компьютерный носитель данных, для обеспечения или даже улучшения стабильности высокоскоростной передачи данных.In order to overcome the disadvantages of the prior art, the present invention is expected to provide a method and apparatus for debugging a SerDes connection parameter, as well as a computer storage medium, to provide or even improve the stability of high-speed data transmission.

Для достижения вышеупомянутой цели, настоящее изобретение предлагает способ отладки параметра соединения SerDes. Способ включает этапы, описанные ниже.To achieve the above object, the present invention provides a method for debugging a SerDes connection parameter. The method includes the steps described below.

Определяется режим кодирования/декодирования (кодека) согласно тактовому генератору соединения и характеристики канала, а также определяется способ непосредственного исправления ошибок (FEC) и код проверки.The encoding / decoding (codec) mode is determined according to the connection clock and channel characteristics, and the direct error correction (FEC) method and check code are determined.

Определяется диапазон параметров предыскажения и осуществляется подготовка на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения.A range of predistortion parameters is determined, and a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method, and a check code to obtain a predistortion configuration parameter are prepared on the transmitting side.

После определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.After determining the predistortion configuration parameter, preparation of the correction parameter on the receiving side of the high-speed SerDes to be debugged is carried out to obtain the self-adaptive configuration parameter.

В варианте осуществления режим кодека предусматривает по меньшей мере один режим кодека из режима кодека 8B, режима кодека 10B, режима кодека 64B или режима кодека 66B.In an embodiment, the codec mode provides at least one codec mode of 8B codec mode, 10B codec mode, 64B codec mode, or 66B codec mode.

В варианте осуществления способ FEC представляет собой способ Рида-Соломона FEC (RS-FEC), и код проверки представляет собой циклический избыточный код проверки (CRC) 16.In an embodiment, the FEC method is a Reed-Solomon FEC (RS-FEC) method, and the check code is a cyclic redundancy check code (CRC) 16.

В варианте осуществления этап, на котором подготовка осуществляется на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки, предусматривает этапы, описанные ниже.In an embodiment, the step where preparation is performed on the transmitting side of the high-speed SerDes to be debugged according to the predistortion parameter range, the FEC method, and the check code includes the steps described below.

Настраивается диапазон выбора параметров предыскажения, и группа параметров предыскажения выбирается из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке.The predistortion parameter selection range is set, and the predistortion parameter group is selected from the predistortion parameter selection range as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged.

Возобновление и проверку осуществляют согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке. Если ошибка CRC возникает во время возобновления и проверки, определяется, что выбранная группа параметров предыскажения является недоступной. Выполняется операция возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбирается другая группа параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, а также осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, до тех пор, пока не будет отсутствовать ошибка CRC во время возобновления и проверки.Resuming and checking are performed according to the FEC method on the receiving side of the high speed SerDes to be debugged. If a CRC error occurs during resume and check, it is determined that the selected group of predistortion parameters is not available. The operation of returning to a new preparation direction opposite or parallel to the preparation direction is performed, another group of predistortion parameters is selected as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged according to the new preparation direction, and the resuming and checking according to the FEC method on the receiving side of the high-speed SerDes is performed. to be debugged until there is no CRC error during resume and validation.

Просматриваются все параметры предыскажения в диапазоне параметров предыскажения, группа параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки записывается и определяется в качестве доступной группы параметров предыскажения.All predistortion parameters in a range of predistortion parameters are scanned, a group of predistortion parameters with no CRC error during resume and check is recorded and determined as an available predistortion parameter group.

Просматриваются все соединения SerDes, получается множество доступных групп параметров предыскажения во всех соединениях SerDes и во множестве доступных групп параметров предыскажения выполняется поиск группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.All SerDes connections are scrolled, the set of available predistortion parameter groups in all SerDes connections is obtained, and the set of predistortion parameters available for all SerDes connections as a predistortion configuration parameter is searched in the set of available predistortion parameter groups.

В варианте осуществления после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны высокоскоростного SerDes, подлежащего отладке каждый раз, а также перед тем как осуществятся возобновление и проверка на приемной стороне высокоскоростного SerDes, подлежащего отладке, выполняется операция задержки в течение предварительно установленного периода времени. Предварительно установленный период времени имеет продолжительность от 200 микросекунд до 300 микросекунд.In the embodiment, after selecting a group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the high-speed SerDes to be debugged each time, and before the resumption and verification are performed on the receiving side of the high-speed SerDes to be debugged, a delay operation is performed for a predetermined period time. The preset time period has a duration of 200 microseconds to 300 microseconds.

В варианте осуществления, во время определения параметра конфигурации предыскажения и параметра самоадаптивной конфигурации, способ дополнительно включает выполнение контроля времени для соединения SerDes с использованием коммуникационной связи. Выполнение контроля времени включает этапы, описанные ниже.In an embodiment, during the determination of the predistortion configuration parameter and the self-adaptive configuration parameter, the method further includes performing time monitoring for the SerDes connection using the communication link. Performing time control includes the steps described below.

Уведомление о начале конфигурации предыскажения передающей стороны соединения SerDes передается на соединение SerDes с использованием коммуникационной связи.The notification of the start of the predistortion configuration of the transmitting side of the SerDes connection is sent to the SerDes connection using the communication link.

После выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны соединения SerDes, выполняется операция задержки в течение предварительно установленного периода времени, a уведомление о начале самоадаптивной конфигурации параметра приемной стороны соединения SerDes передается на приемную сторону соединения SerDes с использованием коммуникационной связи.After selecting a group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the SerDes connection, a delay operation is performed for a predetermined period of time, and the notification of the start of the self-adaptive configuration of the parameter of the receiving side of the SerDes connection is sent to the receiving side of the SerDes connection using the communication link.

После определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне соединения SerDes с получением параметра самоадаптивной конфигурации.After determining the predistortion configuration parameter, the correction parameter is prepared on the receiving side of the SerDes connection to obtain the self-adaptive configuration parameter.

В варианте осуществления в случае возникновения ошибки CRC на приемной стороне соединения SerDes после просмотра всех параметров предыскажения, а также если ошибка CRC все еще возникает во время возобновления и проверки после осуществления подготовки параметра коррекции на приемной стороне, соединение SerDes отмечается как недоступное.In an embodiment, if a CRC error occurs on the receiving side of the SerDes connection after viewing all the predistortion parameters, and also if the CRC error still occurs during resumption and verification after performing the preparation of the equalization parameter on the receiving side, the SerDes connection is marked as unavailable.

Настоящее изобретение дополнительно предлагает устройство для отладки параметра соединения SerDes. Устройство содержит блок определения, первый подготовительный блок и второй подготовительный блок.The present invention further provides a device for debugging a SerDes connection parameter. The device contains a determination block, a first preparatory block and a second preparatory block.

Блок определения выполнен с возможностью определения режима кодека согласно тактовому генератору соединения и характеристики канала, определения способа FEC и кода проверки, а также определения диапазона параметров предыскажения.The determining unit is configured to determine the codec mode according to the connection clock and channel characteristics, determine the FEC method and the check code, and determine the range of the predistortion parameters.

Первый подготовительный блок выполнен с возможностью осуществления подготовки на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения.The first preparatory unit is configured to prepare, on the transmitting side, a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method, and a check code to obtain a predistortion configuration parameter.

Второй подготовительный блок выполнен с возможностью, после определения первым подготовительным блоком параметра конфигурации предыскажения, осуществления подготовки параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.The second preparatory block is configured, after the first preparatory block has determined the predistortion configuration parameter, prepares the correction parameter on the receiving side of the high-speed SerDes to be debugged, with the self-adaptive configuration parameter being obtained.

В варианте осуществления первый подготовительный блок выполнен с возможностью настраивания диапазона выбора параметров предыскажения и выбора группы параметров предыскажения из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке; осуществления возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; если ошибка CRC возникает во время возобновления и проверки, определение выбранной группы параметров предыскажения является недоступной, возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбора другой группы параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, и осуществления возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, пока не будет отсутствовать ошибка CRC во время возобновления и проверки; просмотра всех параметров предыскажения в диапазоне параметров предыскажения, записи и определения группы параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки в качестве доступной группы параметров предыскажения; просмотра всех соединений SerDes, получения множества доступных групп параметров предыскажения во всех соединениях SerDes и поиска множества доступных групп параметров предыскажения для группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.In an embodiment, the first preparatory unit is configured to adjust the predistortion parameter selection range and select the predistortion parameter group from the predistortion parameter selection range as a configuration parameter of the transmission side of the high-speed SerDes to be debugged; performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; if a CRC error occurs during resuming and checking, determination of the selected predistortion parameter group is not available, return to a new preparation direction opposite or parallel to the preparation direction, selection of another predistortion parameter group as the configuration parameter of the transmission side of the high-speed SerDes to be debugged according to the new preparation direction , and performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during resuming and checking; viewing all predistortion parameters in the range of predistortion parameters, recording and defining a group of predistortion parameters with no CRC error during resumption and checking as an available group of predistortion parameters; browse all SerDes connections, get the set of available predistortion parameter groups in all SerDes connections, and search for the set of available predistortion parameter groups for a predistortion parameter group available for all SerDes connections as a predistortion configuration parameter.

Настоящее изобретение дополнительно предлагает устройство для отладки параметра соединения SerDes. Устройство содержит процессор и запоминающее устройство. Запоминающее устройство выполнено с возможностью хранения компьютерных программ, способных выполняться в процессоре. Процессор, при выполнении компьютерных программ выполняет этапы способа отладки параметра соединения SerDes, описанные в настоящем изобретении.The present invention further provides a device for debugging a SerDes connection parameter. The device contains a processor and memory. The memory device is configured to store computer programs capable of executing on a processor. The processor, when executing computer programs, performs the steps of the SerDes connection parameter debugging method described in the present invention.

Настоящее изобретение дополнительно предлагает компьютерный носитель данных. Инструкции, выполняемые на компьютере, хранятся на компьютерном носителе данных. Инструкции, выполняемые на компьютере, выполнены с возможностью выполнения способа отладки параметра соединения SerDes, описанного в настоящем изобретении.The present invention further provides a computer storage medium. Instructions executed on a computer are stored on a computer storage medium. Instructions executed on the computer are configured to perform the SerDes connection parameter debugging method described in the present invention.

Согласно способу и устройству для отладки параметра соединения SerDes, а также компьютерному носителю данных, предлагаемым в настоящем изобретении, подготовка параметра предыскажения осуществляется на передающей стороне, а подготовка и регулировка параметра коррекции осуществляются на приемной стороне. Предотвращаются помехи, вызванные двусторонней связью соединения благодаря строгому контролю параметра конфигурации, так что предотвращается отклонение во время конфигурации параметра соединения, также обеспечивается точность настроенного параметра соединения, а также обеспечивается и даже улучшается стабильность передачи. Настоящее изобретение является пригодным для различных объединительных плат маршрутизатора и реализует автоматическую отладку параметров каждого из высокоскоростных соединений SerDes.According to the method and device for debugging the SerDes connection parameter, as well as to the computer storage medium proposed in the present invention, the predistortion parameter is prepared on the transmitting side, and the correction parameter is prepared and adjusted on the receiving side. Interference caused by the two-way communication of a connection is prevented by strict control of the configuration parameter, so that deviation during configuration of the connection parameter is prevented, the accuracy of the configured connection parameter is ensured, and transmission stability is ensured or even improved. The present invention is suitable for various router backplanes and implements automatic debugging of the parameters of each of the high speed SerDes connections.

КРАТКОЕ ОПИСАНИЕ ГРАФИЧЕСКИХ МАТЕРИАЛОВBRIEF DESCRIPTION OF THE GRAPHIC MATERIALS

Графические материалы используются для предоставления более глубокого понимания настоящего изобретения, составляют часть описания, разъясняют настоящее изобретение в сочетании с вариантами осуществления настоящего изобретения и не ограничивают настоящее изобретение. На графических материалах:The drawings are used to provide a deeper understanding of the present invention, form part of the specification, explain the present invention in combination with embodiments of the present invention, and do not limit the present invention. On graphic materials:

на фиг. 1 показана блок-схема способа отладки параметра соединения SerDes согласно варианту осуществления настоящего изобретения;in fig. 1 is a flowchart of a method for debugging a SerDes connection parameter according to an embodiment of the present invention;

на фиг. 2 показано схематическое изображение возврата направления подготовки на передающей стороне согласно настоящему изобретению; иin fig. 2 is a schematic diagram of the return of the preparation direction at the transmitting side according to the present invention; and

на фиг. 3 показано схематическое изображение процесса контроля времени согласно настоящему изобретению.in fig. 3 is a schematic diagram of a time control process according to the present invention.

ПОДРОБНОЕ ОПИСАНИЕDETAILED DESCRIPTION

Предпочтительные варианты осуществления настоящего изобретения будут описаны в сочетании с графическими материалами и следует понимать, что варианты осуществления, описанные далее в данном документе, предназначены исключительно для описания и разъяснения настоящего изобретения, и не ограничивают настоящее изобретение.The preferred embodiments of the present invention will be described in conjunction with the drawings, and it should be understood that the embodiments described later in this document are intended solely to describe and explain the present invention, and do not limit the present invention.

На фиг. 1 показана блок-схема способа отладки параметра соединения SerDes согласно варианту осуществления настоящего изобретения. Как показано на фиг. 1, способ включает этапы, описанные ниже.FIG. 1 is a flow chart of a method for debugging a SerDes connection parameter according to an embodiment of the present invention. As shown in FIG. 1, the method includes the steps described below.

На этапе 1 определяется режим кодека согласно тактовому генератору соединения и характеристики канала, а также определяется способ FEC и код проверки.In step 1, the codec mode is determined according to the connection clock and channel characteristics, and the FEC method and check code are determined.

На этапе 2 определяется диапазон параметров предыскажения и осуществляется подготовка на передающей стороне (т.е. стороне TX) высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения.In step 2, a range of predistortion parameters is determined, and a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method and a check code to obtain a predistortion configuration parameter is prepared on the transmitting side (i.e., the TX side).

На этапе 3, после определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне (т.е. стороне RX) высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.In step 3, after the predistortion configuration parameter has been determined, an equalization parameter is prepared on the receiving side (i.e., the RX side) of the high-speed SerDes to be debugged to obtain the self-adaptive configuration parameter.

Способ отладки параметра соединения SerDes в варианте осуществления настоящего изобретения может применяться к тестовому устройству. Перед тем, как будет выполнен способ отладки параметра соединения SerDes в варианте осуществления настоящего изобретения, сначала необходимо установить тестовое устройство и высокоскоростной SerDes, подлежащий отладке.A method for debugging a SerDes connection parameter in an embodiment of the present invention can be applied to a test device. Before the method for debugging the SerDes connection parameter in the embodiment of the present invention is performed, it is first necessary to set the test device and the high-speed SerDes to be debugged.

В варианте осуществления учитываются тактовый генератор соединения и канал, чтобы удостовериться в том, что поток данных не меняется, а также что для него не создаются помехи во время передачи данных. Режим кодека предусматривает по меньшей мере один из режима кодека 8B, режима кодека 10B, режима кодека 64B или режима кодека 66B. В качестве варианта реализации может быть выбран режим кодека 64B/66B. По сравнению с режимом кодека 8B/10B, режим кодека 64B/66B может обеспечить целостность длины данных и высокую эффективность кодирования данных, а также может удовлетворять требованиям пропускной способности масштабных переключателей и устройств маршрутизации при условии высокоскоростной передачи данных, и уменьшает потерю данных во время передачи данных.In an embodiment, the connection clock and channel are taken into account to ensure that the data stream does not change and that it is not interfered with during data transmission. The codec mode includes at least one of an 8B codec mode, a 10B codec mode, a 64B codec mode, or a 66B codec mode. As an implementation option, the 64B / 66B codec mode may be selected. Compared with the 8B / 10B codec mode, the 64B / 66B codec mode can ensure data length integrity and high data coding efficiency, and can also meet the bandwidth requirements of scale switches and routing devices under the condition of high-speed data transmission, and reduce data loss during transmission. data.

Способ FEC может представлять собой способ RS-FEC. RS расшифровывается как Рид-Соломон в кодах Рида-Соломона. Код проверки может представлять собой код CRC 16. Способ RS-FEC выбирается с возможностью взаимодействия с кодом CRC 16 для повышения степеней приспосабливаемости и устойчивости к сбоям данных. В варианте осуществления длина данных каждого кадра кодов RS может составлять 528 битов, в том числе 514 битов информации. Согласно способу RS-FEC обеспечивается возможность исправления пакета непрерывностью в 10 битов или даже максимально в 70 битов во время передачи данных одного кадра.The FEC method can be an RS-FEC method. RS stands for Reed-Solomon in Reed-Solomon codes. The check code may be a CRC 16 code. The RS-FEC method is selected to interoperate with the CRC 16 code to improve flexibility and robustness against data failures. In an embodiment, the data length of each frame of RS codes may be 528 bits, including 514 information bits. According to the RS-FEC method, it is possible to correct a packet with a continuity of 10 bits or even a maximum of 70 bits during the transmission of data of one frame.

В данных, передаваемых стороной TX, проверочная метка (такая как метка CRC) наносится в данных каждого кадра согласно содержанию потока данных кадра и вышеупомянутому правилу. Возможное изменение данных во время передачи исправляется посредством способа FEC (такого как способ RS-FEC) во время высокоскоростной последовательной передачи соединения. На стороне RX, данные кадра проверяются согласно коду проверки (такому как код CRC 16) для проверки целостности данных кадра. Если не обеспечивается возможность придания целостности и исправления данных с длиной кадра посредством исправления кодов RS, данные кадра сбрасываются согласно механизму CRC.In the data transmitted by the TX side, a check mark (such as a CRC mark) is applied in the data of each frame according to the content of the data stream of the frame and the above rule. Possible data changes during transmission are corrected by an FEC method (such as an RS-FEC method) during a high speed serial transmission of the connection. On the RX side, the frame data is checked according to a check code (such as CRC code 16) to check the integrity of the frame data. If it is not possible to provide integrity and correct the frame length data by correcting the RS codes, the frame data is discarded according to the CRC mechanism.

Рассмотрим фиг. 2, на которой проиллюстрировано схематическое изображение направлений подготовки и возврата в варианте осуществления, этап, на котором подготовка осуществляется на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки, с получением параметра конфигурации предыскажения, предусматривает этапы, описанные ниже.Consider FIG. 2, which illustrates a schematic diagram of the preparation and return directions in the embodiment, the step in which preparation is performed on the transmitting side of the high-speed SerDes to be debugged according to the predistortion parameter range, the FEC method and the check code, to obtain the predistortion configuration parameter, provides the steps described below.

На этапе 201 настраивается диапазон выбора параметров предыскажения, и группа параметров предыскажения выбирается из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке. Передающая сторона передает пакет на основе параметра конфигурации и определенного режима кодека.In step 201, the predistortion parameter selection range is adjusted, and the predistortion parameter group is selected from the predistortion parameter selection range as the configuration parameter of the transmission side of the high-speed SerDes to be debugged. The transmitting side transmits the packet based on the configuration parameter and the specific codec mode.

На этапе 202 пакет восстанавливается и проверяется согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; если ошибка CRC возникает во время возобновления и проверки, определяется, что выбранная группа параметров предыскажения является недоступной, выполняется операция возврата к новому направлению подготовки, противоположному или параллельному выбранной группе параметров предыскажения, процесс переходит на этап 201, выбирается другая группа параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, а также осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; если отсутствует ошибка CRC во время возобновления и проверки, процесс переходит на этап 203.In step 202, the packet is reconstructed and checked according to the FEC method on the receiving side of the high speed SerDes to be debugged; if a CRC error occurs during resume and check, it is determined that the selected predistortion parameter group is not available, an operation is performed to return to a new preparation direction opposite or parallel to the selected predistortion parameter group, the process goes to step 201, another predistortion parameter group is selected as a parameter configurations of the transmitting side of the high-speed SerDes to be debugged according to the new preparation direction, and also resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; if there is no CRC error during resume and validation, the process proceeds to step 203.

На этапе 203 все параметры предыскажения в диапазоне параметров предыскажения просматриваются согласно этапу 201 и этапу 202, и группа параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки записывается и определяется в качестве доступной группы параметров предыскажения.In step 203, all of the predistortion parameters in the range of predistortion parameters are monitored according to step 201 and step 202, and a group of predistortion parameters with no CRC error during resume and verification is recorded and determined as an available predistortion parameter group.

На этапе 204 все соединения SerDes просматриваются на основе этапов 201-203, получается множество доступных групп параметров предыскажения во всех соединениях SerDes и получается в качестве параметра конфигурации предыскажения. В качестве варианта реализации, если количество из множества доступных групп параметров предыскажения, используемых в качестве параметра конфигурации предыскажения, составляет по меньшей мере два, во множестве доступных групп параметров предыскажения может выполняться поиск группы параметров предыскажения в качестве параметра конфигурации предыскажения.In step 204, all SerDes connections are scanned based on steps 201-203, a plurality of available predistortion parameter groups in all SerDes connections are obtained, and obtained as a predistortion configuration parameter. As an embodiment, if the number of the plurality of available predistortion parameter groups used as the predistortion configuration parameter is at least two, the plurality of available predistortion parameter groups may be searched for the predistortion parameter group as the predistortion configuration parameter.

Во время практической отладки SerDes, независимо от того, возникает ли ошибка CRC во время проверки и расчета исправления ошибки посредством способа FEC на стороне RX в результате нерегулярного изменения, вызванного трассировкой и т.п., считается критерием для определения качества соединения. Критерий заключается в том, что метка ERR создается, если условие SerDes не подчиняется регулярному изменению алгоритма онтологии, но меняется в направлении ухудшения. При этом, группа параметров предыскажения не удовлетворяет требованию, и группа параметров предыскажения записывается в качестве неиспользуемой. При этом, другая группа параметров предыскажения выбирается для регулирования в противоположном или параллельном направлении. Этот процесс регулирования представляет собой возвратный процесс. Выясняется группа параметров предыскажения SerDes, пригодных для всех соединений, и используется в качестве окончательного параметра конфигурации предыскажения посредством выбора возвратного алгоритма после просмотра всех соединений.During the practical debugging of SerDes, whether or not a CRC error occurs while checking and calculating the error correction by the FEC method on the RX side as a result of an irregular change caused by a trace or the like, is considered a criterion for determining the quality of the connection. The criterion is that an ERR label is created if the SerDes condition does not obey a regular change in the ontology algorithm, but changes in the direction of deterioration. In this case, the predistortion parameter group does not satisfy the requirement, and the predistortion parameter group is recorded as unused. In this case, another group of predistortion parameters is selected for adjustment in the opposite or parallel direction. This regulatory process is a reverse process. A group of SerDes predistortion parameters suitable for all connections is found and used as the final pre-emphasis configuration parameter by selecting the return algorithm after viewing all connections.

В варианте осуществления этап, на котором осуществляется подготовка параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, предусматривает этапы, описанные ниже.In an embodiment, the step of preparing an equalization parameter on the receiving side of the high-speed SerDes to be debugged comprises the steps described below.

Согласно конфигурации емкостной связи, работающей на переменном токе, приемной стороны соединения SerDes, согласовывая режим подготовки компенсатора с решающей обратной связью (DFE), вносимые потери разных каналов, требование к напряжению при расходе энергии высокоскоростной передачи, а также вне зависимости от того, является ли реальный сигнал на приемной стороне целым и конвергентным, выбирается группа параметров коррекции самоадаптивной конфигурации.According to the configuration of the AC capacitive coupling, the receiving side of the SerDes connection, matching the preparation mode of the decision feedback compensator (DFE), the insertion loss of the different channels, the voltage requirement at high speed transmission power consumption, and whether or not the real signal on the receiving side is intact and convergent, a group of parameters for correcting the self-adaptive configuration is selected.

Емкостная связь может вызывать колебание напряжения приемной стороны и создавать помехи после получения сигнала, а также легко приводит к нестабильности тактового генератора. Различные трассировки соединения объединительной платы могут вызывать разные вносимые потери каналов связи. Сигнал с высокой или низкой мощностью на передающей стороне может привести к некорректной подготовке усиления на приемной стороне.Capacitive coupling can cause voltage fluctuations in the receiving side and cause interference after receiving a signal, and can easily lead to clock instability. Different backplane connection traces can cause different link insertion loss. A signal with high or low power on the transmitting side can lead to incorrect preparation of the gain on the receiving side.

Поэтому, если емкостная связь существует в конструкции объединительной платы, то на приемной стороне может быть настроено, что емкостная связь завершается при высоком импедансе для сброса эффекта емкости, в противном случае, может и не быть настроено, что емкостная связь завершается при высоком импедансе.Therefore, if capacitive coupling exists in the backplane design, then the receive side can be configured to terminate capacitive coupling at high impedance to remove the capacitance effect, otherwise it may not be configured to terminate capacitive coupling at high impedance.

Если трассировка объединительной платы является слишком короткой, коррекция высокой интенсивности соединения может отрицательно повлиять на параллельную конвергенцию всех самоадаптивных алгоритмов. Самоадаптивный алгоритм цифро-аналогового преобразователя (DAC) соединения может быть замкнут и параметр коррекции настраивается вручную, чтобы обеспечить конвергенцию и плавность сигнала.If the backplane trace is too short, correcting for high link strength can adversely affect the parallel convergence of all self-adaptive algorithms. The self-adaptive DAC algorithm of the connection can be closed and the correction parameter is manually adjusted to provide convergence and smoothness of the signal.

Если дискретизация сигнала является неполной и не плавной, контроль усиления и контроль пика могут быть замкнутыми, и параметр усиления и пиковое значение настраиваются вручную для регулирования до надлежащего параметра коррекции.If the signal sampling is incomplete and not smooth, the gain control and peak control may be closed and the gain parameter and peak value are manually adjusted to adjust to the proper equalization parameter.

Если возникает периодическая ошибка CRC на приемной стороне, может быть принят режим подготовки DFE, а регулирование и улучшение реализуются посредством конфигурации и подготовки параметра упорядочения.If a periodic CRC error occurs on the receiving side, the DFE preparation mode can be adopted, and the adjustment and improvement is realized through the configuration and preparation of the sequencing parameter.

Если высокоскоростная передача сигнала требует расхода энергии, функция управления электроэнергией приемной стороны может быть отключена. If high-speed signal transmission requires power consumption, the power management function of the receiving side may be disabled.

На фиг. 3 показаны два соединения SerDes, а именно, соединение Lane_A и соединение Lane_B с коммуникационной связью. Во время определения параметра конфигурации предыскажения и параметра самоадаптивной конфигурации, как показано на фиг. 3, способ дополнительно включает выполнение контроля времени. Выполнение контроля времени включает этапы, описанные ниже.FIG. 3 shows two SerDes connections, namely a Lane_A connection and a Lane_B connection with a communication link. During the determination of the predistortion configuration parameter and the self-adaptive configuration parameter, as shown in FIG. 3, the method further includes performing time control. Performing time control includes the steps described below.

На этапе a соединение Lane_A предоставляет уведомление о начале конфигурации предыскажения передающей стороны соединения Lane_A на соединение Lane_B с использованием коммуникационной связи. При этом, соединение Lane_B предоставляет уведомление о начале конфигурации предыскажения передающей стороны соединения Lane_B на соединение Lane_A.In step a, the Lane_A connection provides notification of the start of the predistortion configuration of the transmitting side of the Lane_A connection to the Lane_B connection using the communication link. Meanwhile, the Lane_B connection provides notification of the start of the predistortion configuration of the transmitting side of the Lane_B connection to the Lane_A connection.

На этапе b определяется параметр конфигурации предыскажения передающей стороны соединения Lane_A и параметр конфигурации предыскажения передающей стороны соединения Lane_B согласно порядку выполнения этапов 201-204. После завершения конфигурации предыскажения и до подготовки самоадаптивной коррекции, возобновление и проверка осуществляются на соответствующих приемных сторонах соединения Lane_A и соединения Lane_B, может быть выполнена операция задержки для предварительно установленного периода времени (такого как от 200 микросекунд до 300 микросекунд), соответственно. Уведомление о начале самоадаптивной конфигурации параметра приемной стороны соединения SerDes передается на противоположную сторону (а именно, приемную сторону соединения SerDes с использованием коммуникационной связи).In step b, the predistortion configuration parameter of the transmission side of the Lane_A connection and the predistortion configuration parameter of the transmission side of the Lane_B connection are determined according to the order of steps 201-204. After completing the predistortion configuration and before preparing the self-adaptive equalization, resuming and checking are performed on the respective receiving sides of the Lane_A connection and the Lane_B connection, a delay operation may be performed for a predetermined period of time (such as 200 microseconds to 300 microseconds), respectively. The notification about the beginning of the self-adaptive configuration of the parameter of the receiving side of the SerDes connection is sent to the opposite side (namely, the receiving side of the SerDes connection using the communication link).

На этапе c соединение Lane_A и соединение Lane_B начинают осуществлять коррекцию в отношении соответствующих соединений и соответствующие параметры самоадаптивной конфигурации соединения Lane_A и соединения Lane_B получаются согласно вышеупомянутому этапу 3.In step c, the Lane_A connection and the Lane_B connection start to correct the respective connections, and the corresponding self-adaptive configuration parameters of the Lane_A connection and the Lane_B connection are obtained according to the above step 3.

Наконец, параметры конфигурации предыскажения соответствующих передающих сторон соединения Lane_A и соединения Lane_B выбираются и подсчитываются согласно критерию определения того, возникает ли ошибка CRC после прохождения соответствующих приемных сторон соединения Lane_A и соединения Lane_B посредством FEC.Finally, the predistortion configuration parameters of the respective transmitting sides of the Lane_A connection and the Lane_B connection are selected and counted according to the criterion for determining whether a CRC error occurs after the respective receiving sides of the Lane_A connection and Lane_B connection by the FEC.

Этот режим контроля времени может обеспечить такие условия, чтобы передающая сторона была действительной в первую очередь и слегка замедлялась. Затем настраивается параметр приемной стороны. В высокоскоростной объединительной плате маршрутизатора обеспечивается возможность для того, чтобы тысячи соединений SerDes реализовывали ограничительную конфигурацию параметра предыскажения передающей стороны и самоадаптивного параметра приемной стороны последовательно, и может быть улучшен интегральный стабильный эффект объединительной платы.This time control mode can ensure that the transmitting side is valid in the first place and slows down slightly. Then the parameter of the receiving side is adjusted. In the high-speed router backplane, it is possible for thousands of SerDes connections to implement the limiting configuration of the transmit-side pre-emphasis parameter and the receive-side self-adaptive parameter in series, and the integral stable effect of the backplane can be improved.

Вариант осуществления настоящего изобретения имеет следующие преимущества: начиная с кадра высокоскоростных данных, передаваемых соединением SerDes, пакетная ошибка соединения исправляется посредством кодирования и исправления ошибки на соединении. Пакетная ошибка обрабатывается своевременно и данные об ошибках исправляются, так что улучшается эффективность передачи кадра данных. Самоадаптивная функция регулирования приемной стороны соединения SerDes используется для реализации произвольной достаточной конвергенции полученного потока кода данных. Конвергированный кодовый поток представляет собой полный передающий пакет без битовой неупорядоченности или модификации. Таким образом, достигаются цели, заключающиеся в том, что в пакете отсутствует ошибка, отсутствуют помехи или потери сигнала во время передачи соединения, а также реализуется высокоэффективный стабильный прием данных кадра. Кроме того, способ дополнительно обеспечивает точность и целостность данных посредством CRC на приемной стороне и предотвращает потерю кадра, вызванную неправильной оценкой во время обработки и проверки данных.An embodiment of the present invention has the following advantages: starting from a frame of high speed data transmitted by a SerDes connection, the packet connection error is corrected by coding and error correction on the connection. The burst error is handled in a timely manner and the error data is corrected, so that the transmission efficiency of the data frame is improved. The SerDes self-adaptive receive-side throttling function is used to implement arbitrary sufficient convergence of the received data code stream. The converted codestream is the complete transmit packet without bit confusion or modification. Thus, the goals of no error in the packet, no interference or signal loss during the transmission of the connection, and highly efficient stable reception of frame data are achieved. In addition, the method further ensures data accuracy and integrity by means of a CRC at the receiving end and prevents frame loss caused by misjudgment during data processing and validation.

Вариант осуществления настоящего изобретения дополнительно предлагает устройство для отладки параметра соединения SerDes. Устройство содержит блок определения, первый подготовительный блок и второй подготовительный блок.An embodiment of the present invention further provides a device for debugging a SerDes connection parameter. The device contains a determination block, a first preparatory block and a second preparatory block.

Блок определения выполнен с возможностью определения режима кодека согласно тактовому генератору соединения и характеристики канала, определения способа FEC и кода проверки, а также определения диапазона параметров предыскажения.The determining unit is configured to determine the codec mode according to the connection clock and channel characteristics, determine the FEC method and the check code, and determine the range of the predistortion parameters.

Первый подготовительный блок выполнен с возможностью осуществления подготовки на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения.The first preparatory unit is configured to prepare, on the transmitting side, a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method, and a check code to obtain a predistortion configuration parameter.

Второй подготовительный блок выполнен с возможностью, после определения первым подготовительным блоком параметра конфигурации предыскажения, осуществления подготовки параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.The second preparatory block is configured, after the first preparatory block has determined the predistortion configuration parameter, prepares the correction parameter on the receiving side of the high-speed SerDes to be debugged, with the self-adaptive configuration parameter being obtained.

В варианте осуществления режим кодека предусматривает по меньшей мере один режим кодека из режима кодека 8B, режима кодека 10B, режима кодека 64B или режима кодека 66B. Способ FEC может представлять собой способ RS-FEC и код проверки может представлять собой код CRC 16.In an embodiment, the codec mode provides at least one codec mode of 8B codec mode, 10B codec mode, 64B codec mode, or 66B codec mode. The FEC method can be an RS-FEC method, and the check code can be a CRC 16 code.

В качестве варианта реализации первый подготовительный блок выполнен с возможностью выполнения следующих операций. Настраивается диапазон выбора параметров предыскажения, и группа параметров предыскажения выбирается из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке. Возобновление и проверка осуществляются согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке. Если возникает ошибка CRC во время возобновления и проверки, определяется, что выбранная группа параметров предыскажения является недоступной, выполняется операция возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбирается другая группа параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, а также осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, до тех пор, пока не будет отсутствовать ошибка CRC во время возобновления и проверки. Просматриваются все параметры предыскажения в диапазоне параметров предыскажения, группа параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки записывается и определяется в качестве доступной группы параметров предыскажения. Просматриваются все соединения SerDes, получается множество доступных групп параметров предыскажения во всех соединениях SerDes и во множестве доступных групп параметров предыскажения выполняется поиск группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.As an embodiment, the first preparatory unit is configured to perform the following operations. The predistortion parameter selection range is set, and the predistortion parameter group is selected from the predistortion parameter selection range as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged. Resuming and checking are performed according to the FEC method on the receiving side of the high-speed SerDes to be debugged. If a CRC error occurs during resuming and checking, it is determined that the selected group of predistortion parameters is not available, an operation is performed to return to a new preparation direction opposite or parallel to the preparation direction, another group of predistortion parameters is selected as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged. according to the new direction of preparation, and also resume and check according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during the resume and check. All predistortion parameters in a range of predistortion parameters are scanned, a group of predistortion parameters with no CRC error during resume and check is recorded and determined as an available predistortion parameter group. All SerDes connections are scrolled, the set of available predistortion parameter groups in all SerDes connections is obtained, and the set of predistortion parameters available for all SerDes connections as a predistortion configuration parameter is searched in the set of available predistortion parameter groups.

В качестве варианта реализации второй подготовительный блок выполнен с возможностью, после того, как первый подготовительный блок выберет группу параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны высокоскоростного SerDes, подлежащего отладке каждый раз, а также перед тем как осуществятся возобновление и проверка на приемной стороне высокоскоростного SerDes, подлежащего отладке, выполнения задержки в течение предварительно установленного периода времени. Предварительно установленный период времени имеет продолжительность от 200 микросекунд до 300 микросекунд.As an embodiment, the second preparatory unit is configured, after the first preparatory unit selects a group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the high-speed SerDes to be debugged each time, and also before resuming and checking on the receiving side high-speed SerDes to be debugged, performing a delay for a pre-set period of time. The preset time period has a duration of 200 microseconds to 300 microseconds.

В качестве варианта реализации устройство дополнительно содержит блок передачи. Блок передачи выполнен с возможностью передачи уведомления о начале конфигурации предыскажения передающей стороны соединения SerDes на соединение SerDes с использованием коммуникационной связи.As an embodiment, the device further comprises a transmission unit. The transmission unit is configured to send a notification of the start of the predistortion configuration of the transmitting side of the SerDes connection to the SerDes connection using the communication connection.

Первый подготовительный блок выполнен с возможностью, после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны соединения SerDes, выполнения задержки в течение предварительно установленного периода времени.The first preparatory unit is configured, after selecting a group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the SerDes connection, to perform a delay for a predetermined period of time.

Блок передачи дополнительно выполнен с возможностью передачи уведомления о начале конфигурации предыскажения приемной стороны соединения SerDes на соединение SerDes с использованием коммуникационной связи.The transmission unit is further configured to transmit a notification of the start of the predistortion configuration of the receiving side of the SerDes connection to the SerDes connection using the communication connection.

Второй подготовительный блок выполнен с возможностью, после определения первым подготовительным блоком параметра конфигурации предыскажения, осуществления подготовки параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.The second preparatory block is configured, after the first preparatory block has determined the predistortion configuration parameter, prepares the correction parameter on the receiving side of the high-speed SerDes to be debugged, with the self-adaptive configuration parameter being obtained.

При применении на практике блок определения, первый подготовительный блок и второй подготовительный блок могут быть реализованы посредством центрального процессора (CPU), микропроцессорного блока (MPU), процессора цифровой обработки сигналов (DSP), программируемой пользователем вентильной матрицы (FPGA) или т.п.In practice, the determination unit, the first preparatory unit and the second preparatory unit may be implemented by a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or the like.

Следует отметить, что устройство для отладки параметра соединения SerDes, предлагаемый в вышеупомянутом варианте осуществления, приведен только в качестве примера посредством разделения программных модулей при выполнении отладки параметра соединения. При применении на практике вышеупомянутое размещение обработки может быть завершено посредством разных программных модулей при необходимости, другими словами, внутренняя конструкция устройства для отладки параметра соединения SerDes делится на разные программные модули для завершения всей или части обработки, описанной раннее. В дополнение, устройство для отладки параметра соединения SerDes и способ отладки параметра соединения SerDes, предлагаемые в вышеупомянутом варианте осуществления, относятся к одной и той же концепции, и процесс их конкретной реализации описан в способе в варианте осуществления, который не повторяется в данном документе.It should be noted that the device for debugging the SerDes connection parameter provided in the above embodiment is only given as an example by separating the program modules when performing the connection parameter debugging. In practice, the above processing placement can be completed by different software modules as needed, in other words, the internal structure of the SerDes connection parameter debugging device is divided into different software modules to complete all or part of the processing described earlier. In addition, the SerDes connection parameter debugger and the SerDes connection parameter debugging method proposed in the above embodiment refer to the same concept, and the process of their concrete implementation is described in the method in the embodiment that is not repeated herein.

Вариант осуществления настоящего изобретения дополнительно предлагает устройство для отладки параметра соединения SerDes. Устройство содержит процессор и запоминающее устройство. Запоминающее устройство выполнено с возможностью хранения компьютерных программ, способных выполняться в процессоре. Процессор выполнен с возможностью, при выполнении компьютерных программ, выполнения следующих операций: режим кодека определяется согласно тактовому генератору соединения и характеристики канала, а также определяется способ FEC и код проверки; определяется диапазон параметров предыскажения, и осуществляется подготовка на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения; после определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.An embodiment of the present invention further provides a device for debugging a SerDes connection parameter. The device contains a processor and memory. The memory device is configured to store computer programs capable of executing on a processor. The processor is configured, when executing computer programs, to perform the following operations: the codec mode is determined according to the connection clock and channel characteristics, and the FEC method and check code are determined; determining a range of predistortion parameters, and preparing on the transmitting side a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method and a check code to obtain a predistortion configuration parameter; After determining the pre-emphasis configuration parameter, the preparation of the correction parameter on the receiving side of the high-speed SerDes to be debugged is carried out to obtain the self-adaptive configuration parameter.

В качестве варианта реализации процессор выполнен с возможностью, при выполнении компьютерных программ, выполнения следующих операций: настраивается диапазон выбора параметров предыскажения, и группа параметров предыскажения выбирается из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке; осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; если возникает ошибка CRC во время возобновления и проверки, определяется, что выбранная группа параметров предыскажения является недоступной, выполняется операция возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбирается другая группа параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, до тех пор, пока не будет отсутствовать ошибка CRC во время возобновления и проверки; просматриваются все параметры предыскажения в диапазоне параметров предыскажения, а также группа параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки записывается и определяется в качестве доступной группы параметров предыскажения; просматриваются все соединения SerDes, получается множество доступных групп параметров предыскажения во всех соединениях SerDes и во множестве доступных групп параметров предыскажения выполняется поиск группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.As an embodiment, the processor is configured to perform the following operations when executing computer programs: a selection range of predistortion parameters is set, and a group of predistortion parameters is selected from a selection range of predistortion parameters as a configuration parameter of the transmission side of the high-speed SerDes to be debugged; resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; if a CRC error occurs during resume and check, it is determined that the selected group of predistortion parameters is not available, an operation is performed to return to a new preparation direction opposite or parallel to the preparation direction, another group of predistortion parameters is selected as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged according to the new preparation direction, resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during resuming and checking; all predistortion parameters in the range of predistortion parameters are viewed, and a group of predistortion parameters with no CRC error during resumption and verification is recorded and determined as an available predistortion parameter group; all SerDes interconnects are scanned, the set of available predistortion parameter groups in all SerDes interconnects are retrieved, and the set of predistortion parameters available for all SerDes interconnects is searched in the set of available predistortion parameter groups as a predistortion configuration parameter.

В качестве варианта реализации процессор выполнен с возможностью, при выполнении компьютерных программ, выполнения следующих операций: после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны высокоскоростного SerDes, подлежащего отладке каждый раз, а также перед тем как осуществятся возобновление и проверка на приемной стороне высокоскоростного SerDes, подлежащего отладке, выполняется операция задержки в течение предварительно установленного периода времени. Предварительно установленный период времени имеет продолжительность от 200 микросекунд до 300 микросекунд.As an embodiment, the processor is configured, when executing computer programs, to perform the following operations: after selecting a group of predistortion configuration parameters as a predistortion configuration parameter of the transmitting side of the high-speed SerDes to be debugged each time, and also before the resumption and check at the receiving on the side of the high-speed SerDes to be debugged, a delay operation is performed for a predetermined period of time. The preset time period has a duration of 200 microseconds to 300 microseconds.

В качестве варианта реализации процессор выполнен с возможностью, при выполнении компьютерных программ, выполнения следующих операций: уведомление о начале конфигурации предыскажения передающей стороны соединения SerDes передается на соединение SerDes с использованием коммуникационной связи; после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны соединения SerDes, выполняется операция задержки в течение предварительно установленного периода времени, a уведомление о начале самоадаптивной конфигурации параметра приемной стороны соединения SerDes передается на приемную сторону соединения SerDes с использованием коммуникационной связи; после определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне соединения SerDes с получением параметра самоадаптивной конфигурации.As an embodiment, the processor is configured, when executing computer programs, to perform the following operations: notification of the start of the predistortion configuration of the transmitting side of the SerDes connection is transmitted to the SerDes connection using the communication link; after selecting the predistortion configuration parameter group as the predistortion configuration parameter of the transmitting side of the SerDes connection, a delay operation is performed for a predetermined period of time, and the notification of the start of the self-adaptive configuration of the parameter of the receiving side of the SerDes connection is transmitted to the receiving side of the SerDes connection using the communication link; after defining the predistortion configuration parameter, the correction parameter is prepared on the receiving side of the SerDes connection to obtain the self-adaptive configuration parameter.

В качестве варианта реализации процессор выполнен с возможностью, при выполнении компьютерных программ, выполнения следующих операций: в случае возникновения ошибки CRC на приемной стороне соединения SerDes после просмотра всех параметров предыскажения, а также если ошибка CRC все еще возникает во время возобновления и проверки после осуществления подготовки параметра коррекции на приемной стороне, соединение SerDes отмечается как недоступное.As an embodiment, the processor is configured, when executing computer programs, to perform the following operations: in the event of a CRC error on the receiving side of the SerDes connection after viewing all the predistortion parameters, and also if a CRC error still occurs during resumption and verification after preparation correction parameter on the receive side, the SerDes connection is marked as unavailable.

При применении на практике запоминающее устройство может быть реализовано посредством любого типа энергозависимого или энергонезависимого устройства хранения или их комбинации. Энергонезависимое запоминающее устройство может представлять собой постоянное запоминающее устройство (ROM), программируемое постоянное запоминающее устройство (PROM), стираемое программируемое постоянное запоминающее устройство (EPROM), электрически-стираемое программируемое постоянное запоминающее устройство (EEPROM), ферромагнитное оперативное запоминающее устройство (FRAM), флэш-память, запоминающее устройство с магнитной поверхностью, диск или компакт-диск с памятью, доступной только для чтения (CD-ROM). Запоминающее устройство с магнитной поверхностью может представлять собой магнитный дисковый накопитель или накопитель на магнитной ленте. Энергозависимое запоминающее устройство может представлять собой оперативное запоминающее устройство (RAM), которое используется в качестве внешней кэш-памяти. В качестве примера, а не ограничения доступно много видов RAM, таких как статическое оперативное запоминающее устройство (SRAM), синхронное статическое оперативное запоминающее устройство (SSRAM), динамическое запоминающее устройство с произвольным доступом (DRAM), синхронное динамическое запоминающее устройство с произвольным доступом (SDRAM), синхронное динамическое запоминающее устройство с произвольным доступом и удвоенной скоростью передачи данных (DDRSDRAM), улучшенное синхронное динамическое запоминающее устройство с произвольным доступом (ESDRAM), динамическое запоминающее устройство с произвольной выборкой стандарта SyncLink (SLDRAM), динамическое запоминающее устройство с произвольным доступом технологии Direct Rambus (DRRAM). Предполагается, что запоминающее устройство, описанное в варианте осуществления настоящего изобретения, предусматривает, но без ограничения, эти и любой другой подходящий тип запоминающего устройства.In practical application, the memory device can be implemented by any type of volatile or nonvolatile storage device, or a combination thereof. Nonvolatile memory can be read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), ferromagnetic random access memory (FRAM), flash -memory, magnetic surface storage device, disk or CD-ROM with read-only memory (CD-ROM). The magnetic surface storage device may be a magnetic disk drive or a magnetic tape drive. Volatile memory can be random access memory (RAM), which is used as external cache memory. Many kinds of RAM are available as an example and not a limitation, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM) ), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), Direct Dynamic Random Access Memory Rambus (DRRAM). It is assumed that the storage device described in the embodiment of the present invention includes, but is not limited to, these and any other suitable type of storage device.

Запоминающее устройство используется для хранения различных типов данных для поддержки операций устройства для отладки параметра соединения SerDes. Примеры различных типов данных включают любую компьютерную программу, выполняемую на устройстве для отладки параметра соединения SerDes. Операционная система включает различные системные программы, такие как уровень оболочки, уровень базовой библиотеки и уровень накопителя для реализации различных базовых сервисов и обработки аппаратных задач. Приложение может включать различные приложения, такие как медиаплеер и браузер для реализации различных прикладных служб. Программы для реализации способа в варианте осуществления настоящего изобретения могут быть включены в приложение.A mass storage device is used to store various types of data to support device operations to debug the SerDes connection parameter. Examples of different types of data include any computer program that runs on a device to debug the SerDes connection parameter. The operating system includes various system programs, such as the shell layer, the base library layer, and the storage layer, to implement various basic services and handle hardware tasks. An application can include various applications such as a media player and a browser to implement various application services. Programs for implementing the method in an embodiment of the present invention may be included in an application.

Процессор в аппарате для отладки параметра соединения SerDes может представлять собой чип с интегральными схемами с возможностью обработки сигналов. В процессе реализации могут быть выполнены различные этапы способа, описанного выше, посредством интегральной логической схемы инструкции аппаратного обеспечения или программного обеспечения в процессоре. Вышеупомянутый процессор может представлять собой универсальный процессор, DSP или другие программируемые логические устройства, логические элементы на дискретных компонентах или транзисторные логические устройства, дискретные аппаратные компоненты и т.д. Процессор может реализовывать или выполнять различные способы, этапы и диаграммы логических блоков, раскрытые в варианте осуществления настоящего изобретения. Универсальный процессор может представлять собой микропроцессор или любой традиционный процессор. Этапы способа, раскрытого в варианте осуществления настоящего изобретения, могут непосредственно реализовываться посредством декодирующего процессора аппаратного обеспечения или могут реализовываться посредством комбинации модулей аппаратного обеспечения и программного обеспечения в декодирующем процессоре. Модули программного обеспечения могут быть раскрыты в носителе данных в запоминающем устройстве. Процессор считывает информацию в запоминающем устройстве и завершает этапы способа, описанного выше, в сочетании с аппаратным обеспечением процессора.The processor in the SerDes connection parameter debugger may be an integrated circuit chip with signal processing capability. In the implementation process, various steps of the method described above may be performed by an integrated logic circuit (IC) hardware or software instructions in a processor. The aforementioned processor can be a general-purpose processor, DSP or other programmable logic devices, discrete logic gates or transistor logic devices, discrete hardware components, etc. A processor may implement or execute various methods, steps, and logic block diagrams disclosed in an embodiment of the present invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in an embodiment of the present invention may be directly implemented by a hardware decoding processor, or may be implemented by a combination of hardware and software modules in a decoding processor. The software modules can be disclosed in a storage medium in a storage device. The processor reads the information in the memory and completes the steps of the method described above in conjunction with the processor hardware.

В иллюстративных вариантах осуществления устройство для отладки параметра соединения SerDes может быть реализован посредством по меньшей мере одного из специализированной интегральной схемы (ASIC), DSP, программируемого логического устройства (PLD), сложного программируемого логического устройства (CPLD), FPGA, универсального процессора, контроллера, MCU или микропроцессора для выполнения вышеупомянутого способа.In illustrative embodiments, a device for debugging a SerDes connection parameter may be implemented by at least one of an application specific integrated circuit (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), FPGA, general purpose processor, controller, MCU or microprocessor to perform the above method.

Вариант осуществления настоящего изобретения дополнительно предлагает компьютерный носитель данных. Инструкции, выполняемые на компьютере, хранятся на компьютерном носителе данных. Инструкции, выполняемые на компьютере, выполнены с возможностью выполнения следующих операций: режим кодека определяется согласно тактовому генератору соединения и характеристики канала, а также определяется способ FEC и код проверки; определяется диапазон параметров предыскажения, и осуществляется подготовка на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки с получением параметра конфигурации предыскажения; после определения параметра конфигурации предыскажения осуществляется подготовка параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.An embodiment of the present invention further provides a computer storage medium. Instructions executed on a computer are stored on a computer storage medium. Instructions executed on the computer are configured to perform the following operations: the codec mode is determined according to the connection clock and channel characteristics, and the FEC method and verification code are determined; determining a range of predistortion parameters, and preparing on the transmitting side a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method and a check code to obtain a predistortion configuration parameter; after determining the predistortion configuration parameter, the correction parameter is prepared on the receiving side of the high-speed SerDes to be debugged, with the self-adaptive configuration parameter being obtained.

В качестве варианта реализации инструкции, выполняемые на компьютере, выполнены с возможностью выполнения следующих операций: настраивается диапазон выбора параметров предыскажения, и группа параметров предыскажения выбирается из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке; осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; если возникает ошибка CRC во время возобновления и проверки, определяется, что выбранная группа параметров предыскажения является недоступной, выполняется операция возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбирается другую группу параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, осуществляются возобновление и проверка согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, до тех пор, пока не будет отсутствовать ошибка CRC во время возобновления и проверки; просматриваются все параметры предыскажения в диапазоне параметров предыскажения, группа параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки записывается и определяется в качестве доступной группы параметров предыскажения; просматриваются все соединения SerDes, получается множество доступных групп параметров предыскажения во всех соединениях SerDes и во множестве доступных групп параметров предыскажения выполняется поиск группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.As an embodiment, instructions executed on a computer are configured to perform the following operations: a selection range of predistortion parameters is set, and a group of predistortion parameters is selected from a selection range of predistortion parameters as a configuration parameter of the transmission side of the high-speed SerDes to be debugged; resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; if a CRC error occurs during resuming and checking, it is determined that the selected group of predistortion parameters is not available, an operation is performed to return to a new preparation direction opposite or parallel to the preparation direction, another group of predistortion parameters is selected as the configuration parameter of the transmitting side of the high-speed SerDes to be debugged according to the new preparation direction, resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during resuming and checking; all the predistortion parameters in the range of the predistortion parameters are viewed, the predistortion parameter group with no CRC error during resume and check is recorded and determined as an available predistortion parameter group; all SerDes interconnects are scanned, the set of available predistortion parameter groups in all SerDes interconnects are retrieved, and the set of predistortion parameters available for all SerDes interconnects is searched in the set of available predistortion parameter groups as a predistortion configuration parameter.

В качестве варианта реализации инструкции, выполняемые на компьютере, выполнены с возможностью выполнения следующих операций: после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны высокоскоростного SerDes, подлежащего отладке каждый раз, а также перед тем как осуществятся возобновление и проверка на приемной стороне высокоскоростного SerDes, подлежащего отладке, выполняется операция задержки в течение предварительно установленного периода времени. Предварительно установленный период времени имеет продолжительность от 200 микросекунд до 300 микросекунд.As an embodiment, the instructions executed on the computer are configured to perform the following operations: after selecting a group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the high-speed SerDes to be debugged each time, and also before resuming and checking on the receiving side high-speed SerDes to be debugged, a delay operation is performed for a predetermined period of time. The preset time period has a duration of 200 microseconds to 300 microseconds.

В качестве варианта реализации инструкции, выполняемые на компьютере, выполнены с возможностью выполнения следующих операций: уведомление о начале конфигурации предыскажения передающей стороны соединения SerDes передается на соединение SerDes с использованием коммуникационной связи; после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны соединения SerDes, выполняется операция задержки в течение предварительно установленного периода времени, a уведомление о начале самоадаптивной конфигурации параметра приемной стороны соединения SerDes передается на приемную сторону соединения SerDes с использованием коммуникационной связи; после определения параметра конфигурации предыскажения, осуществляется подготовка параметра коррекции на приемной стороне соединения SerDes с получением параметра самоадаптивной конфигурации.As an embodiment, the instructions executed on the computer are configured to perform the following operations: notification of the start of the predistortion configuration of the transmitting side of the SerDes connection is transmitted to the SerDes connection using the communication link; after selecting the predistortion configuration parameter group as the predistortion configuration parameter of the transmitting side of the SerDes connection, a delay operation is performed for a predetermined period of time, and the notification of the start of the self-adaptive configuration of the parameter of the receiving side of the SerDes connection is transmitted to the receiving side of the SerDes connection using the communication link; after defining the predistortion configuration parameter, the correction parameter is prepared on the receiving side of the SerDes connection to obtain the self-adaptive configuration parameter.

В качестве варианта реализации инструкции, выполняемые на компьютере, выполнены с возможностью выполнения следующих операций: в случае возникновения ошибки CRC на приемной стороне соединения SerDes после просмотра всех параметров предыскажения, а также если ошибка CRC все еще возникает во время возобновления и проверки после осуществления подготовки параметра коррекции на приемной стороне, соединение SerDes отмечается как недоступное.As an option, the instructions executed on the computer are configured to perform the following operations: in the event of a CRC error on the receiving side of the SerDes connection after viewing all the predistortion parameters, and also if the CRC error still occurs during resume and verification after the parameter preparation correction on the receiving side, the SerDes connection is marked as unavailable.

В вариантах осуществления, предлагаемых в настоящем изобретении, следует понимать, что раскрытые устройства и способ могут быть реализованы иначе. Варианты осуществления устройств, описанных выше, являются сугубо иллюстративными. Например, деление на блоки является всего-навсего функционально-логическим делением и на практике деление на блоки может быть реализовано иначе. Например, несколько блоков или компонентов могут быть объединены или могут быть интегрированы в другую систему, или некоторые элементы могут быть исключены или не выполняться. В дополнение, связь, прямая связь или коммуникационные соединения между представленными или рассмотренными компонентами могут представлять собой непрямую связь или коммуникационные соединения посредством интерфейсов, между устройствами или блоками и могут осуществляться электрически, механически или другим образом.In the embodiments of the present invention, it should be understood that the disclosed devices and method may be implemented differently. The embodiments of the devices described above are purely illustrative. For example, division into blocks is only a functional-logical division, and in practice division into blocks can be implemented differently. For example, several blocks or components may be combined or integrated into another system, or some elements may be excluded or not implemented. In addition, communications, direct communications, or communications connections between the illustrated or discussed components may be indirect communications or communications connections through interfaces, between devices or units, and may be electrically, mechanically, or otherwise.

Блоки, описанные выше в виде отдельных компонентов, могут быть разделены или не разделены физически. Компоненты, представленные в виде блоков, могут являться или не являться физическими блоками, то есть могут находиться в одном месте или могут быть распределены по нескольким сетевым блокам. Все эти блоки или их часть может быть выбрана согласно практическим требованиям для достижения целей решений в вариантах осуществления настоящего изобретения.The blocks described above as separate components may or may not be physically separated. Blocked components may or may not be physical blocks, that is, they may reside in one location or may be distributed across multiple network blocks. All or part of these blocks can be selected according to practical requirements to achieve the goals of the solutions in the embodiments of the present invention.

Более того, различные функциональные блоки в вариантах осуществления настоящего изобретения могут быть интегрированы в один блок обработки, или каждый блок может использоваться в виде отдельного блока, или в один блок могут быть интегрированы два или более блоков. Интегрированный блок может быть реализован посредством аппаратного обеспечения или может быть реализован посредством аппаратного обеспечения и программного функционального блока.Moreover, various functional blocks in the embodiments of the present invention may be integrated into one processing unit, or each unit may be used as a separate unit, or two or more units may be integrated into one unit. An integrated block can be implemented by hardware, or can be implemented by hardware and a software function block.

Специалистам в данной области техники должно быть понятно, что все или часть этапов в варианте осуществления способа, описанного выше, может быть реализована посредством аппаратного обеспечения, относящегося к программным инструкциям, эти программы могут храниться в машиночитаемом носителе данных и, при выполнении, эти программы выполняют этапы, включающие вариант осуществления способа, описанного выше. Вышеупомянутый носитель данных предусматривает различные носители, способные хранить программные коды, такие как съемное устройство хранения, ROM, RAM, магнитный диск или оптический диск.It should be understood by those skilled in the art that all or part of the steps in the embodiment of the method described above may be implemented by hardware related to program instructions, these programs may be stored in a computer-readable storage medium and, when executed, these programs execute steps including an embodiment of the method described above. The above storage medium provides various media capable of storing program codes, such as a removable storage device, ROM, RAM, magnetic disk, or optical disk.

В качестве альтернативы вышеупомянутый интегрированный блок согласно настоящему изобретению также может храниться в машиночитаемом носителе данных, если он реализован в виде программного функционального модуля и продается или используется в качестве независимого продукта. На основе данного толкования техническое решение, предлагаемое в варианте осуществления настоящего изобретения по существу, или часть, вносящая вклад в известный уровень техники, может быть реализовано в виде программного продукта. Компьютерный программный продукт хранится в носителе данных и содержит несколько инструкций для предоставления возможности компьютерному устройству (которое может представлять собой персональный компьютер, сервер или сетевое устройство и т.д.) выполнения всех или части способа, предлагаемого в вариантах осуществления настоящего изобретения. Вышеупомянутый носитель данных предусматривает различные носители, способные хранить программные коды, такие как съемное устройство хранения, ROM, RAM, магнитный диск или оптический диск.Alternatively, the aforementioned integrated unit according to the present invention can also be stored in a computer-readable storage medium if it is implemented as a software function and is sold or used as an independent product. Based on this interpretation, a technical solution proposed in an embodiment of the present invention, essentially, or a part contributing to the prior art, can be implemented as a software product. The computer program product is stored in a storage medium and contains several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the method provided in embodiments of the present invention. The above storage medium provides various media capable of storing program codes, such as a removable storage device, ROM, RAM, magnetic disk, or optical disk.

Выше представлены лишь конкретные варианты реализации настоящего изобретения, которые не предназначены для ограничения настоящего изобретения. Специалисты в данной области техники в пределах технического объема, раскрытого в настоящем изобретении, могут легко предложить модификации или замены. Эти модификации или замены находятся в пределах объема правовой охраны настоящего изобретения. Поэтому, объем правовой охраны настоящего изобретения определен объемом прилагаемой формулы изобретения.The above are only specific embodiments of the present invention, which are not intended to limit the present invention. Modifications or substitutions can easily be suggested by those skilled in the art within the technical scope disclosed in the present invention. These modifications or replacements are within the scope of the present invention. Therefore, the scope of the present invention is determined by the scope of the appended claims.

ПРОМЫШЛЕННАЯ ПРИМЕНИМОСТЬINDUSTRIAL APPLICABILITY

Согласно техническому решению настоящего изобретения, начиная с кадра высокоскоростных данных, передаваемых соединением SerDes, пакетная ошибка соединения исправляется посредством кодирования и исправления ошибки на соединении. Пакетная ошибка обрабатывается своевременно и данные об ошибках исправляются, так что улучшается эффективность передачи кадра данных. Самоадаптивная функция регулирования приемной стороны соединения SerDes используется для реализации произвольной достаточной конвергенции полученного потока кода данных. Конвергированный кодовый поток представляет собой полный передающий пакет без битовой неупорядоченности или модификации. Таким образом, достигаются цели, заключающиеся в том, что в пакете отсутствует ошибка, отсутствуют помехи или потери сигнала во время передачи соединения, а также реализуется высокоэффективный стабильный прием данных кадра. Кроме того, способ дополнительно обеспечивает точность и целостность данных посредством CRC на приемной стороне и предотвращает потерю кадра, вызванную неправильной оценкой во время обработки и проверки данных.According to the technical solution of the present invention, starting from a frame of high speed data transmitted by a SerDes connection, a packet connection error is corrected by coding and error correction on the connection. The burst error is handled in a timely manner and the error data is corrected, so that the transmission efficiency of the data frame is improved. The SerDes self-adaptive receive-side throttling function is used to implement arbitrary sufficient convergence of the received data code stream. The converted codestream is the complete transmit packet without bit confusion or modification. Thus, the goals of no error in the packet, no interference or signal loss during the transmission of the connection, and highly efficient stable reception of frame data are achieved. In addition, the method further ensures data accuracy and integrity by means of a CRC at the receiving end and prevents frame loss caused by misjudgment during data processing and validation.

Claims (26)

1. Способ отладки параметра соединения сериализатора/десериализатора (SerDes), включающий:1. A way to debug the serializer / deserializer connection parameter (SerDes), including: определение режима кодирования/декодирования (кодека) согласно тактовому генератору соединения и характеристики канала, а также определение способа непосредственного исправления ошибок (FEC) и кода проверки; determining the encoding / decoding mode (codec) according to the connection clock and channel characteristics, and determining the direct error correction (FEC) method and the check code; определение диапазона параметров предыскажения и осуществление подготовки на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки, с получением параметра конфигурации предыскажения; иdetermining a range of predistortion parameters and performing preparation on the transmitting side of the high-speed SerDes to be debugged according to the range of predistortion parameters, the FEC method, and the check code to obtain a predistortion configuration parameter; and после определения параметра конфигурации предыскажения, осуществление подготовки параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации. after determining the predistortion configuration parameter, preparing the correction parameter on the receiving side of the high-speed SerDes to be debugged to obtain the self-adaptive configuration parameter. 2. Способ по п. 1, отличающийся тем, что режим кодека предусматривает по меньшей мере один режим кодека из группы, состоящей из: режима кодека 8 битов/10 битов (8B/10В) и режима кодека 64 бита/66 битов (64В/66B).2. The method according to claim 1, characterized in that the codec mode provides at least one codec mode from the group consisting of: 8-bit / 10-bit (8B / 10B) codec mode and 64-bit / 66-bit (64B / 66B). 3. Способ по п. 1, отличающийся тем, что способ FEC представляет собой способ Рида-Соломона FEC (RS-FEC), и код проверки представляет собой циклический избыточный код проверки (CRC) 16.3. The method according to claim 1, wherein the FEC method is a Reed-Solomon FEC (RS-FEC) method and the check code is a cyclic redundancy check code (CRC) 16. 4. Способ по п. 3, отличающийся тем, что осуществление подготовки на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки, с получением параметра конфигурации предыскажения включает:4. The method according to claim 3, characterized in that performing preparation on the transmitting side of the high-speed SerDes to be debugged according to the predistortion parameter range, the FEC method, and the check code to obtain the predistortion configuration parameter comprises: настройку диапазона выбора параметров предыскажения и выбор группы параметров предыскажения из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке;setting a predistortion parameter selection range and selecting a predistortion parameter group from the predistortion parameter selection range as a configuration parameter of the transmission side of the high-speed SerDes to be debugged; осуществление возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; в ответ на определение возникновения ошибки CRC во время возобновления и проверки, определение того, что выбранная группа параметров предыскажения является недоступной, возврат к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбор другой группы параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, и осуществление возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, до тех пор, пока не будет отсутствовать ошибка CRC во время возобновления и проверки;performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; in response to the determination of the occurrence of a CRC error during resumption and verification, determining that the selected group of predistortion parameters is not available, returning to a new preparation direction opposite or parallel to the preparation direction, selecting another group of predistortion parameters as the configuration parameter of the transmitting side of the high-speed SerDes, to be debugged according to the new preparation direction, and performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during resuming and checking; просмотр всех параметров предыскажения в диапазоне параметров предыскажения, запись и определение группы параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки в качестве доступной группы параметров предыскажения; иviewing all predistortion parameters in a range of predistortion parameters, recording and defining a group of predistortion parameters with no CRC error during resumption and checking as an available group of predistortion parameters; and просмотр всех соединений SerDes, получение множества доступных групп параметров предыскажения во всех соединениях SerDes и поиск во множестве доступных групп параметров предыскажения группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.browse all SerDes connections, get the set of available predistortion parameter groups in all SerDes connections, and search the set of available predistortion parameter groups for the predistortion parameter group available for all SerDes connections as a predistortion configuration parameter. 5. Способ по п. 4, отличающийся тем, что после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны высокоскоростного SerDes, подлежащего отладке каждый раз, а также перед тем, как осуществятся возобновление и проверка на приемной стороне высокоскоростного SerDes, подлежащего отладке, имеет место задержка в течение предварительно установленного периода времени, при этом предварительно установленный период времени имеет продолжительность от 200 микросекунд до 300 микросекунд.5. The method according to claim 4, characterized in that after selecting the group of predistortion configuration parameters as the predistortion configuration parameter of the transmitting side of the high-speed SerDes to be debugged each time, and also before resuming and checking on the receiving side of the high-speed SerDes to be debugging, there is a delay for a predetermined period of time, the predetermined period of time having a duration of 200 microseconds to 300 microseconds. 6. Способ по п. 5, отличающийся тем, что во время определения параметра конфигурации предыскажения и параметра адаптивной конфигурации способ дополнительно включает:6. The method of claim 5, wherein during the determination of the predistortion configuration parameter and the adaptive configuration parameter, the method further comprises: выполнение контроля времени для соединения SerDes с использованием коммуникационной связи, performing time control for SerDes connection using communication link, при этом выполнение контроля времени предусматривает: in this case, the implementation of time control provides for: передачу уведомления о начале конфигурации предыскажения передающей стороны соединения SerDes на соединение SerDes с использованием коммуникационной связи; sending a notification of the start of the predistortion configuration of the transmitting side of the SerDes connection to the SerDes connection using the communication link; после выбора группы параметров конфигурации предыскажения в качестве параметра конфигурации предыскажения передающей стороны соединения SerDes, выполнение задержки в течение предварительно установленного периода времени и передача уведомления о начале самоадаптивной конфигурации параметра приемной стороны соединения SerDes на приемную сторону соединения SerDes с использованием коммуникационной связи; иafter selecting a group of predistortion configuration parameters as a predistortion configuration parameter of the transmitting side of the SerDes connection, delaying for a predetermined period of time and transmitting a notification of the start of self-adaptive configuration of the parameter of the receiving side of the SerDes connection to the receiving side of the SerDes connection using the communication link; and после определения параметра конфигурации предыскажения, осуществление подготовки параметра коррекции на приемной стороне соединения SerDes с получением параметра самоадаптивной конфигурации.after determining the predistortion configuration parameter, preparation of the equalization parameter on the receiving side of the SerDes connection to obtain the self-adaptive configuration parameter. 7. Способ по п. 6, отличающийся тем, что в ответ на определение возникновения ошибки CRC на приемной стороне соединения SerDes после просмотра всех параметров предыскажения, а также если ошибка CRC все еще возникает во время возобновления и проверки после осуществления подготовки параметра коррекции на приемной стороне, соединение SerDes отмечается как недоступное.7. The method according to claim 6, characterized in that in response to the determination of the occurrence of a CRC error on the receiving side of the SerDes connection after viewing all the predistortion parameters, and also if the CRC error still occurs during resumption and verification after the preparation of the correction parameter on the receiving to the side, the SerDes connection is marked as unavailable. 8. Устройство для отладки параметра соединения сериализатора/десериализатора (SerDes), содержащее блок определения, первый подготовительный блок и второй подготовительный блок, 8. Device for debugging the serializer / deserializer connection parameter (SerDes), containing the definition block, the first preparatory block and the second preparatory block, при этом блок определения выполнен с возможностью определения режима кодирования/декодирования (кодека) согласно тактовому генератору соединения и характеристики канала, определения способа непосредственного исправления ошибок (FEC) и кода проверки, а также определения диапазона параметров предыскажения; the determining unit is configured to determine the encoding / decoding (codec) mode according to the connection clock and channel characteristics, determine the direct error correction (FEC) method and the check code, and determine the range of the predistortion parameters; первый подготовительный блок выполнен с возможностью осуществления подготовки на передающей стороне высокоскоростного SerDes, подлежащего отладке согласно диапазону параметров предыскажения, способу FEC и коду проверки, с получением параметра конфигурации предыскажения; иthe first preparatory unit is configured to prepare, on the transmitting side, a high-speed SerDes to be debugged according to a range of predistortion parameters, an FEC method, and a check code to obtain a predistortion configuration parameter; and второй подготовительный блок выполнен с возможностью, после определения первым подготовительным блоком параметра конфигурации предыскажения, осуществления подготовки параметра коррекции на приемной стороне высокоскоростного SerDes, подлежащего отладке, с получением параметра самоадаптивной конфигурации.the second preparatory unit is configured, after the first preparatory unit has determined the predistortion configuration parameter, preparation of the correction parameter on the receiving side of the high-speed SerDes to be debugged to obtain the self-adaptive configuration parameter. 9. Устройство по п. 8, отличающееся тем, что первый подготовительный блок выполнен с возможностью настраивания диапазона выбора параметров предыскажения и выбора группы параметров предыскажения из диапазона выбора параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке; осуществления возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке; в ответ на определение того, что возникает ошибка CRC во время возобновления и проверки, определение, что выбранная группа параметров предыскажения является недоступной, возврата к новому направлению подготовки, противоположному или параллельному направлению подготовки, выбора другой группы параметров предыскажения в качестве параметра конфигурации передающей стороны высокоскоростного SerDes, подлежащего отладке согласно новому направлению подготовки, и осуществления возобновления и проверки согласно способу FEC на приемной стороне высокоскоростного SerDes, подлежащего отладке, пока не будет отсутствовать ошибка CRC во время возобновления и проверки; просмотра всех параметров предыскажения в диапазоне параметров предыскажения, записи и определения группы параметров предыскажения с отсутствием ошибки CRC во время возобновления и проверки в качестве доступной группы параметров предыскажения; просмотра всех соединений SerDes, получения множества доступных групп параметров предыскажения во всех соединениях SerDes и поиска множества доступных групп параметров предыскажения для группы параметров предыскажения, доступных для всех соединений SerDes в качестве параметра конфигурации предыскажения.9. The device according to claim 8, characterized in that the first preparatory unit is configured to adjust the selection range of the predistortion parameters and select a group of predistortion parameters from the selection range of the predistortion parameters as a configuration parameter of the transmitting side of the high-speed SerDes to be debugged; performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged; in response to determining that a CRC error occurs during resuming and checking, determining that the selected group of predistortion parameters is not available, returning to a new preparation direction opposite or parallel to the preparation direction, selecting another group of predistortion parameters as the configuration parameter of the transmitting side of the high speed SerDes to be debugged according to the new preparation direction, and performing resuming and checking according to the FEC method on the receiving side of the high-speed SerDes to be debugged until there is no CRC error during resuming and checking; viewing all predistortion parameters in the range of predistortion parameters, recording and defining a group of predistortion parameters with no CRC error during resumption and checking as an available group of predistortion parameters; browse all SerDes connections, get the set of available predistortion parameter groups in all SerDes connections, and search for the set of available predistortion parameter groups for a predistortion parameter group available for all SerDes connections as a predistortion configuration parameter. 10. Устройство для отладки параметра соединения сериализатора/десериализатора (SerDes), отличающееся тем, что содержит процессор и запоминающее устройство, при этом запоминающее устройство выполнено с возможностью хранения компьютерных программ, способных выполняться в процессоре, процессор, при выполнении компьютерных программ, выполняет этапы способа отладки параметра соединения SerDes по любому из пп. 1–7.10. Device for debugging the serializer / deserializer connection parameter (SerDes), characterized in that it contains a processor and a memory device, wherein the memory device is configured to store computer programs capable of being executed in the processor, the processor, when executing computer programs, performs the steps of the method debug the SerDes connection parameter according to any one of paragraphs. 1-7. 11. Компьютерный носитель данных, при этом инструкции, выполняемые на компьютере, хранятся на компьютерном носителе данных, и инструкции, выполняемые на компьютере, выполнены с возможностью выполнения способа отладки параметра соединения SerDes по любому из пп. 1–7.11. Computer storage medium, while instructions executed on a computer are stored on a computer storage medium, and instructions executed on a computer are configured to perform a method for debugging a SerDes connection parameter according to any one of claims. 1-7.
RU2019143884A 2017-05-26 2017-08-28 Method and apparatus for debugging serdes connection parameter and computer data medium RU2733809C9 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710386821.7 2017-05-26
CN201710386821.7A CN108933600B (en) 2017-05-26 2017-05-26 Automatic debugging method for SerDes link parameters
PCT/CN2017/099278 WO2018214319A1 (en) 2017-05-26 2017-08-28 Serdes link parameter debugging method and device, and computer storage medium

Publications (2)

Publication Number Publication Date
RU2733809C1 RU2733809C1 (en) 2020-10-07
RU2733809C9 true RU2733809C9 (en) 2020-12-07

Family

ID=64395072

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2019143884A RU2733809C9 (en) 2017-05-26 2017-08-28 Method and apparatus for debugging serdes connection parameter and computer data medium

Country Status (4)

Country Link
KR (1) KR102230236B1 (en)
CN (1) CN108933600B (en)
RU (1) RU2733809C9 (en)
WO (1) WO2018214319A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982170B (en) * 2019-03-04 2021-10-19 烽火通信科技股份有限公司 Link-based protection method and system for optical network equipment
CN109936425B (en) * 2019-03-29 2022-02-08 武汉邮电科学研究院有限公司 Pre-emphasis debugging system and method
CN110166175B (en) * 2019-05-21 2022-05-27 新华三技术有限公司 Method, device and network equipment for adaptively configuring pre-emphasis value
CN113127398A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Data processing method and device
CN114553642B (en) * 2022-04-22 2022-07-29 浙江芯昇电子技术有限公司 Method and equipment for quickly establishing SerDes link connection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187807A1 (en) * 2008-01-23 2009-07-23 Texas Instruments Incorporated Method for optimizing block coding parameters, a communications controller employing the method and a communications node and link employing the controller
CN105703840A (en) * 2016-01-22 2016-06-22 盛科网络(苏州)有限公司 Method for quickly selecting pre-emphasis parameter of high-speed serdes
CN105930225A (en) * 2016-04-25 2016-09-07 浪潮电子信息产业股份有限公司 Adaptive adjustment and optimization method of link quality
CN106034010A (en) * 2015-09-08 2016-10-19 深圳市恒扬数据股份有限公司 Method and device for screening transmission characteristic parameters of Serdes signal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672222B2 (en) 2004-01-12 2010-03-02 Hewlett-Packard Development Company, L.P. Link failures
US20060200710A1 (en) * 2005-03-04 2006-09-07 Azea Networks, Ltd. Bit error rate performance estimation and control
US8352842B2 (en) * 2008-06-18 2013-01-08 Acterna Llc Determining contribution of burst noise to data errors
CN101383659B (en) * 2008-10-13 2012-05-09 中兴通讯股份有限公司 Apparatus and method for automatically debugging parameter of communication system
CN109899059B (en) * 2012-01-05 2023-07-28 默林科技股份有限公司 Drill string communication systems, components, and methods
CN103582026B (en) * 2012-07-19 2017-11-28 中兴通讯股份有限公司 A kind of method and apparatus of CPRI adaptive configurations
CN104184617B (en) * 2014-08-12 2017-12-26 福建星网锐捷网络有限公司 InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187807A1 (en) * 2008-01-23 2009-07-23 Texas Instruments Incorporated Method for optimizing block coding parameters, a communications controller employing the method and a communications node and link employing the controller
CN106034010A (en) * 2015-09-08 2016-10-19 深圳市恒扬数据股份有限公司 Method and device for screening transmission characteristic parameters of Serdes signal
CN105703840A (en) * 2016-01-22 2016-06-22 盛科网络(苏州)有限公司 Method for quickly selecting pre-emphasis parameter of high-speed serdes
CN105930225A (en) * 2016-04-25 2016-09-07 浪潮电子信息产业股份有限公司 Adaptive adjustment and optimization method of link quality

Also Published As

Publication number Publication date
RU2733809C1 (en) 2020-10-07
CN108933600B (en) 2020-11-06
KR20200011488A (en) 2020-02-03
WO2018214319A1 (en) 2018-11-29
KR102230236B1 (en) 2021-03-22
CN108933600A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
RU2733809C9 (en) Method and apparatus for debugging serdes connection parameter and computer data medium
US8326988B2 (en) Systems and methods for data alignment
US9246644B2 (en) Jitter buffer
AU2018274871B2 (en) Lane synchronisation
US20130100970A1 (en) Jitter buffer
US8948213B2 (en) Jitter buffer
CN112702065A (en) FPGA code stream data verification method and device
US8243617B2 (en) Automatic detection of channel bandwidth
US10176068B2 (en) Methods, systems, and computer readable media for token based message capture
JP2006526340A (en) Error rate detection method and test apparatus
US9866350B2 (en) Streaming media packet processing method, WiFi chip, and mobile terminal
EP2784965B1 (en) Data communication method and apparatus using forward error correction
US20160134306A1 (en) Generating apparatus, generating method and recording medium
CN108233944A (en) A kind of cyclic redundancy check method, equipment and storage medium
US20210021622A1 (en) Network traffic monitoring device
CN108347292A (en) A kind of the data decoding method and device of Physical Coding Sublayer
US8483238B2 (en) Radio link control protocol data unit size selection
US11050527B1 (en) Methods, systems, and computer readable media for testing of hardened forward error correction (FEC) implementations
CN117234996B (en) Automatic calibration method for communication between GMAC and FPGA
CN109217982A (en) Transmit method, apparatus, sending device and the receiving device of data
EP4266636A1 (en) Pulse-amplitude modulation transmitter and receiver and method of limiting transition level thereof
CN113454935B (en) Line coding method and device
KR20140116769A (en) Data Communication Method and Apparatus Using Forward Error Correction
RU2706879C1 (en) Method of transmitting data over packet communication networks with the possibility of recovering data when they are lost due to presence of connection errors in communication networks
EP4369638A1 (en) Decoding method and apparatus

Legal Events

Date Code Title Description
TH4A Reissue of patent specification