Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer
By configuring the highest rate in the on-board serial deserializer and adjusting according to the verification results, the problems of long negotiation time and non-optimal results in the prior art are solved, and a more efficient data transmission rate configuration is achieved.
Patent Information
- Application Number
- CN202211124576.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-09-15
AI Technical Summary
The existing vehicle-mounted serial deserializer takes a long time during the negotiation process of data transmission rate configuration, and the negotiation results may be configured in the non-optimal rate, which affects the data transmission efficiency.
By configuring the serializer and deserializer at the respective supported maximum rates and reconfiguring the rate in the startup process until the connection is established. After establishing the connection, determine the optimal rate configuration based on the cyclic redundancy verification result of the data header.
It effectively shortens the time when the serializer and deserializer enter the service state, improves the negotiation efficiency of data transmission rate configuration, and ensures the optimal rate configuration, improving the efficiency and quality of data transmission.
Smart Images

Figure CN115499100B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle-mounted communications, and in particular to a method, system, terminal and medium for negotiating data transmission rate configuration of a serial deserializer. Background Art
[0002] New energy vehicles, especially those with assisted driving functions, have become more and more popular in recent years. In order to achieve better assisted driving functions, such vehicles need to be equipped with a large number of on-board sensors. For example, new energy vehicles with L3 assisted driving functions generally need to be equipped with more than 13 cameras. The data collected by the sensor needs to be transmitted to the assisted driving domain controller. Considering that compressed data will bring greater delays, in the vehicle application environment, the sensor needs to transmit uncompressed raw data directly to the driving domain controller, which requires a larger transmission bandwidth. With the increasing requirements for data transmission bandwidth and the longer transmission distance requirements (10 meters to 15 meters), the current mainstream solution is the on-board serial deserializer (SerDes). Specifically, a serializer chip (transmitter chip) is integrated in the camera module, and the serializer chip output is connected to a coaxial cable or a shielded twisted pair cable. The other end of the cable is connected to the assisted driving domain controller, and the domain controller end integrates a deserializer chip (receiver chip). The deserializer chip processes the signal received on the cable and converts it into parallel data. A bidirectional channel is established between the serializer and the deserializer: the channel from the serializer to the deserializer is a high-speed downlink channel, which mainly transmits video data; the channel from the deserializer to the serializer is a low-speed uplink channel, which mainly transmits commands.
[0003] Existing automotive serial deserializers all use private protocols. In order to solve the problem of interoperability, the Mobile Industry Processor Interface Alliance MIPI has launched the automotive serial deserializer standard APHY v1.0. This standard defines five data transmission rates: Gear1, Gear2, Gear3, Gear4, Gear5. The serializer and deserializer need to work on a specific Gear pair, such as any one of Gear3, Gear4, Gear5 can establish a connection with any one of Gear3, Gear4, Gear5; Gear2 can only establish a connection with Gear2; Gear1 can only establish a connection with Gear1. The APHY v1.0 standard does not propose a negotiation process for how the serializer and deserializer configure the data transmission rate. For example, according to the traditional negotiation method, the data transmission rate negotiation process is that the serializer and deserializer try in a loop until the two successfully establish a connection. However, its disadvantage is that it takes a long time to establish a connection due to the use of a cyclic configuration method, and the final rate negotiation result may not be the optimal rate configuration. For example, if the serializer supports up to Gear3 and the deserializer supports up to Gear2, if the negotiation result is Gear1 and the connection is established to start working, this is not the optimal rate configuration Gear2, which will damage the efficiency of data transmission in actual application. Based on the problems existing in the above-mentioned prior art, there is an urgent need for a data transmission rate configuration negotiation method, system, terminal and medium for a vehicle-mounted serial deserializer, so that the serializer and deserializer can establish a connection in a shorter time and work at the optimal rate configuration. Summary of the invention
[0004] In view of the shortcomings of the prior art described above, the purpose of the present application is to provide a data transmission rate configuration negotiation method, system, terminal and medium for a serial deserializer, which is used to solve the problem that the negotiation time of the data transmission rate configuration between the existing vehicle-mounted serial deserializers is too long and the negotiation result may not be the optimal rate configuration.
[0005] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a data transmission rate configuration negotiation method for a serial-deserializer, comprising: configuring a serializer and a deserializer at the highest rate configuration supported by each; if the serializer and the deserializer cannot establish a connection after the startup process, reconfiguring the rate configuration of the serializer and the deserializer until a connection is established; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration, and a fifth rate configuration, determining the rate configuration negotiation result of the serializer and the deserializer according to a data header cyclic redundancy check result.
[0006] In some embodiments of the first aspect of the present application, the step of reconfiguring the rate configuration of the deserializer until a connection is established includes: if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, the rate configuration of the deserializer is adjusted to the second rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the second rate configuration, the rate configuration of the deserializer is adjusted to the first rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the first rate configuration, repeat the above operation until the serializer and the deserializer are connected.
[0007] In some embodiments of the first aspect of the present application, the startup process includes a training phase, and the steps of reconfiguring the rate configuration of the deserializer until a connection is established are allocated to one startup process; or, are allocated to multiple startup processes, and the multiple startup processes sequentially complete each link of the steps of reconfiguring the rate configuration of the deserializer until a connection is established.
[0008] In some embodiments of the first aspect of the present application, the step of reconfiguring the rate configuration of the serializer until a connection is established includes: if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, the rate configuration of the serializer is adjusted to the second rate configuration; if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the second rate configuration, the rate configuration of the serializer is adjusted to the first rate configuration; if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the first rate configuration, the serializer reports an error and ends the negotiation process.
[0009] In some embodiments of the first aspect of the present application, after the serializer and deserializer establish a connection, if the rate configuration of the deserializer is a third rate configuration and the data header cyclic redundancy check result is correct, the third rate configuration is used as the rate configuration negotiation result.
[0010] In some embodiments of the first aspect of the present application, after the serializer and deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the data header cyclic redundancy check result is correct, the serializer and deserializer exchange configuration information, and the highest rate configuration jointly supported by the serializer and deserializer is used as the rate configuration negotiation result.
[0011] In some embodiments of the first aspect of the present application, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error, the third rate configuration is used as the rate configuration negotiation result.
[0012] In some embodiments of the first aspect of the present application, after the serializer and deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the data header cyclic redundancy check result is wrong for many times, the third rate configuration is used as the serializer and deserializer rate reconfiguration negotiation result.
[0013] To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a data transmission rate configuration negotiation system for a serial-deserializer, comprising: a serial module, including a serializer; a deserialization module, including a deserializer; the serial module and the deserialization module are communicatively connected; wherein the serializer and the deserializer are configured at the highest rate configuration supported by each; if the serializer and the deserializer cannot establish a connection after the startup process, the rate configuration of the serializer and the deserializer are reconfigured until the connection is established; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration, and a fifth rate configuration, the rate configuration negotiation result of the serializer and the deserializer is determined according to the data header cyclic redundancy check result.
[0014] To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the method when executed by a processor.
[0015] To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides an electronic terminal, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory so that the terminal executes the method.
[0016] As described above, the data transmission rate configuration negotiation method, system, terminal and medium of a serial deserializer of the present application have the following beneficial effects:
[0017] The existing data transmission rate configuration negotiation method of the vehicle-mounted serial deserializer requires a maximum of 5 rate configuration attempts on the deserializer side and the serializer side respectively. If the same configuration is not considered to be retried, and the serializer and deserializer are considered together, a maximum of 25 data transmission rate negotiations are required to successfully establish a connection. The negotiation method described in this application arranges the rate configuration negotiation process on the deserializer side in the training phase of the startup process, so that the data transmission rate attempts on the deserializer side and the serializer side only need to be attempted once and three times respectively, and the serializer and deserializer are considered together only three times to successfully establish a connection. The time consumed in the training phase of the startup process of this method may increase, but the overall negotiation efficiency is greatly improved; if the rate configuration negotiation process on the deserializer side is arranged in different startup processes, the data transmission rate attempts on the deserializer side and the serializer side need to be attempted three times and three times respectively, and the serializer and deserializer are considered together. A total of 9 times are required to successfully establish a connection. The time consumed in the training phase of the startup process of this method remains unchanged, and the overall number of negotiations is greatly reduced. Compared with the prior art, the present application can effectively shorten the time for the serializer and deserializer to enter the business state and improve the negotiation efficiency of the data transmission rate configuration. Furthermore, in order to solve the problem in the prior art that the serializer and deserializer may still be in a non-optimal rate configuration after establishing a connection, the present application uses a method of negotiating from the highest rate to the lowest rate on the serializer side and the deserializer side to adjust the rate configuration, and in specific circumstances, judge the data transmission status by the result of the data header cyclic redundancy check during the data transmission process after the connection is established, thereby ensuring that the final rate configuration negotiated by the serializer and deserializer is the optimal configuration, so as to ensure the operation quality of the serializer and deserializer after the connection is established. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Shown is a schematic diagram of the information of the rate configuration of Gear1 to Gear5 of this application.
[0019] Figure 2 Shown is a schematic diagram of possible levels of symbols when different gears are encoded in this application.
[0020] Figure 3 Shown is a schematic diagram of the data structure transmitted by the serializer and deserializer of this application.
[0021] Figure 4 Shown is a schematic diagram of the corresponding encoding method of the data frame header bytes h1-h7 of this application according to different SCMax (maximum supported partial constellations).
[0022] Figure 5 Shown is a schematic diagram of the serializer and deserializer startup process for this application.
[0023] Figure 6Shown is a flow chart of a method for negotiating a data transmission rate configuration of a serial deserializer in an embodiment of the present application.
[0024] Figure 7 Shown is a schematic diagram of the rate configuration negotiation process of the deserializer in one embodiment of the present application.
[0025] Figure 8 Shown is a schematic diagram of the rate configuration negotiation process of the serializer in one embodiment of the present application.
[0026] Fig. 9 Shown is a structural schematic diagram of a data transmission rate configuration negotiation device of a serial deserializer in an embodiment of the present application.
[0027] Fig.10 Shown is a schematic diagram of the structure of an electronic terminal in one embodiment of the present application. DETAILED DESCRIPTION
[0028] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0029] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0030] In order to solve the problems in the above-mentioned background technology, the present invention provides a data transmission rate configuration negotiation method, system, terminal and medium of a serial deserializer, aiming to solve the problem that the negotiation time of the data transmission rate configuration between existing vehicle-mounted serial deserializers is too long and the negotiation result may not be the optimal configuration. At the same time, in order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention is further described in detail through the following embodiments and in combination with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention and are not used to limit the invention.
[0031] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are applicable to the following interpretations:
[0032] <1> Serializer / Deserializer (SerDes), Serializer / Deserializer (SerDes) is an integrated circuit or device used in high-speed communications to convert between serial data and parallel interfaces in both directions. SerDes is used in various applications and technologies, and its main purpose is to provide data transmission on a single or differential line by reducing the number of I / O pins and connections. In short, it converts parallel data into serial data so that they can be transmitted on media that do not support parallel data, or use it to save bandwidth.
[0033] <2> MIPI A-PHY v1.0 is the MIPI A-PHY v1.0 physical layer communication protocol launched by the Mobile Industry Processor Interface (MIPI) Alliance. It is mainly used for the serializer-deserializer (SerDes) physical layer specification for automotive applications.
[0034] <3> Cyclic Redundancy Check (CRC) is a channel coding technology that generates a short fixed-bit check code based on network data packets or computer files. It is mainly used to detect or verify errors that may occur after data transmission or storage. It uses the principle of division and remainder for error detection.
[0035] To better understand the present invention, some contents of the MIPI A-PHY v1.0 physical layer communication protocol are listed here:
[0036] The APHYv1.0 standard defines different data rate levels in the Gears section. Figure 1 .
[0037] Here is Figure 1 The English part is explained as follows:
[0038] Gear rate configuration
[0039] RateData rate
[0040] Mandatory
[0041] Optional
[0042] Modulation
[0043] Symbol Rate
[0044] Net Application Data Rate
[0045] Packet Error Rate
[0046] Take the data rates that must be supported as an example:
[0047] Gear (data rate gear) 1, data rate is 2Gbps, NRZ (non-return to zero) encoding is used, 8b10b encoding is used, and symbol rate is 2GBaud;
[0048] Gear2, data rate is 4Gbps, NRZ encoding is used, 8b10b encoding is used, and symbol rate is 4GBaud;
[0049] Gear3, data rate is 8Gbps, PAM (pulse amplitude modulation) 4 coding, symbol rate is 4GBaud;
[0050] Gear4, data rate is 8Gbps, PAM8 encoding is used, and symbol rate is 4GBaud;
[0051] Gear5, the data rate is 16Gbps, PAM16 encoding is used, and the symbol rate is 4GBaud.
[0052] The above five data rate levels can be divided into two groups:
[0053] PAM group: including Gear3, Gear4 and Gear5;
[0054] NRZ group: includes Gear1 and Gear2.
[0055] The APHYv1.0 standard requires that the data transmission rate configuration be backward compatible. For example, if Gear3 is supported, Gear2 and Gear1 must be supported at the same time. This ensures that the serializer and deserializer can work on the commonly supported Gears. For example, the serializer supports up to Gear3, and the deserializer supports up to Gear2. The serializer and deserializer can work on Gear1 or Gear2; of course, in this case, Gear2 is the optimal configuration, which can maximize the data transmission rate of the serializer and deserializer.
[0056] The APHY v1.0 standard defines the possible symbol levels for different Gear encodings in the PAM16 Sub-Constellation Bit to Symbol mapping section. Figure 2 .
[0057] SCX in the picture n The n subscript represents the number of complete constellation levels, n=16 in APHY; X represents the number of partial constellation levels.
[0058] Gear5 supports up to SC16 16 , that is, PAM16 encoding; other encodings lower than SC16 can also be used 16 Encoding, such as SC2 16 (NRZ encoding), SC4 16 (PAM4 encoding), SC8 16 (PAM8 encoding) etc.
[0059] PAM16 has a total of 16 different levels, which can represent 4 bits;
[0060] PAM8 has a total of 8 different levels, which can represent 3 bits;
[0061] PAM4 has a total of 4 different levels, which can represent 2 bits.
[0062] NRZ encoding has 2 levels, representing 1 bit.
[0063] The APHYv1.0 standard defines the data frame format for APHY transmission in the A-Packet to Token Conversion section. Figure 3 .
[0064] Here is Figure 3 The English part is explained as follows:
[0065] Older first
[0066] Newer
[0067] A-Packet
[0068] Packet Partioning
[0069] Fixed Sub-Constellation Per Link Fixed sub-constellation per link
[0070] Same Sub-Constellation for payload data and CRC-32bytes based onHeader carried
[0071] The payload data and CRC-32 bytes use the same partial constellation, which is based on the header.
[0072] Belt information
[0073] Byte Stream
[0074] The figure shows that the frame structure consists of an 8-byte header (h0-h7), a payload, and a tail CRC-32 checksum.
[0075] Among them, the head h0 uses SC2 16 Encoding provides the highest reliability for this part of data.
[0076] Headers h1-h7 are used according to different SCMax (maximum supported partial constellations). Figure 4 The corresponding encoding method is:
[0077] Here is Figure 4 The English part is explained as follows:
[0078] Max Sub-Constellation Maximum supported partial constellations
[0079] Header Sub-Constellation Header supports some constellations
[0080] In Gear5 mode, SCMax is SC16 16 , SC4 for the h1-h7 part of the head 16 coding;
[0081] In Gear4 mode, SCMax is SC8 16 , head h1-h7 use SC4 16 coding;
[0082] In Gear3 mode, SCMax is SC4 16 , head h1-h7 use SC2 16coding.
[0083] The payload and trailer are encoded differently from the header; their encoding is specified in the h1 field.
[0084] APHYv1.0 defines the process of serializer and deserializer startup in the Startup Procedure section. Figure 5 .
[0085] Here is Figure 5 The English part is explained as follows:
[0086] Source
[0087] Sink, pit (end point)
[0088] Channel Solved&Descrambler LockedChannel open and descrambler locked
[0089] Idle Detected
[0090] Normal Detected
[0091] Channel Solved&Clock RecoveredChannel is open and clock is locked
[0092] Token / 10b-Symbol Boundaries&Descrambler Locked
[0093] Silent
[0094] Training without K sequences
[0095] Training with K sequences
[0096] Idle
[0097] Normal
[0098] After the serializer and deserializer are configured, they enter this process and eventually establish a connection or fail to establish a connection.
[0099] The process starts when the serializer detects that there is no data transmission on the upstream channel and enters the T state. Figure 3 The data is not framed data in the format of the scrambler, but training data in a specific pattern generated by the scrambler.
[0100] The deserializer adaptively updates the parameters of the equalizer and clock data recovery circuit. If the clock data recovery is locked and the equalizer can compensate for the attenuation, the deserializer will enter the next state T*. The deserializer sends a specific data k-sequence to the serializer on the upstream channel, and the serializer will lock and synchronize on the upstream channel.
[0101] The serializer then sends a k-sequence to the deserializer, which determines the boundary of a byte and synchronizes the data. The deserializer enters the I state and finally enters the N state after handshaking. Figure 3 Format for sending and receiving framed data.
[0102] like Figure 5 The startup process of the serializer and deserializer shown in the figure, the scrambler training data sent by the serializer in the T state is the same as the original data sequence under any gear configuration, and then it is mapped to the PAM group or NRZ group. If it is an NRZ group, it also needs to go through the 8b10b encoding process.
[0103] The serializer uses SC2 during the training phase in the PAM group (Gear3, Gear4, Gear5) configuration. 16 , and because the symbol rate is the same, the data sequence received by the deserializer receiver is the same;
[0104] The serializer uses both NRZ encoding and 8b10b encoding in the NRZ group (Gear1 and Gear2) configuration, so the data sequence received by the deserializer receiver is the same, the only difference is the data rate;
[0105] The data sent by the serializer in the PAM group configuration is different from that in the NRZ group configuration, because in the NRZ group configuration, the data needs to be 8b10b encoded before being sent.
[0106] Based on this, the PAM group and NRZ group can be distinguished according to the final connection status of the serializer and deserializer during the startup process:
[0107] If the serializer works in any configuration of the PAM group, and the deserializer works in any configuration of the PAM group, the de-scrambler in the deserializer can be synchronized and locked with the received data; if the deserializer works in any configuration of the NRZ group, the de-scrambler in the deserializer cannot be synchronized and locked with the received data.
[0108] On the other hand, if the serializer works in any configuration of the NRZ group and the deserializer works in any configuration of the PAM group, the synchronization lock between the descrambler of the deserializer and the received data cannot be achieved; if the deserializer works in any configuration of the NRZ group, the synchronization lock between the descrambler of the deserializer and the received data may not be achieved. In this case, the synchronization lock can only be guaranteed if the gear of the deserializer and the serializer are the same, because the data rates of Gear1 and Gear2 are different (if the serializer and deserializer are both Gear1 or Gear2, they can be synchronized and locked, otherwise not).
[0109] The embodiments of the present invention provide a data transmission rate configuration negotiation method for a serial deserializer, a system for the data transmission rate configuration negotiation method for a serial deserializer, and a storage medium storing an executable program for implementing the data transmission rate configuration negotiation method for a serial deserializer. As for the implementation of the data transmission rate configuration negotiation method for a serial deserializer, the embodiments of the present invention will describe an exemplary implementation scenario of the data transmission rate configuration negotiation method for a serial deserializer.
[0110] like Figure 6 As shown, a flow chart of a method for negotiating a data transmission rate configuration of a serial deserializer in one embodiment of the present invention is shown. The method for negotiating a data transmission rate configuration of a serial deserializer in this embodiment mainly includes the following steps:
[0111] Step S11: configure the serializer and the deserializer to the highest rate configuration supported by each.
[0112] For example, if in a certain scenario, the highest rate configuration supported by the serializer is Gear4, and the highest rate configuration supported by the deserializer is Gear5, in this scenario, the initial rate configuration of the serializer is set to Gear4, and the initial rate configuration of the deserializer is set to Gear5.
[0113] Step S12: If the serializer and deserializer cannot establish a connection after the startup process, reconfigure the rate configuration of the serializer and deserializer until the connection is established.
[0114] Specifically, after the initial rate configuration of the serializer and deserializer is set, enter the following Figure 5 The startup process shown in the figure can only have two results after the startup process: the serializer and deserializer are connected successfully or the serializer and deserializer are connected unsuccessfully. If the serializer and deserializer cannot establish a connection after the startup process, the rate configuration of the serializer and deserializer is reconfigured until the two are connected successfully.
[0115] Step S13: After the serializer and deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, the rate configuration negotiation result of the serializer and deserializer is determined according to the data header cyclic redundancy check result.
[0116] Specifically, if the serializer and deserializer successfully establish a connection after the startup process (the connection is successful during the first startup process or the serializer and deserializer are successfully connected after reconfiguration), the possible configurations of the serializer and deserializer are: Gear1 and Gear1; Gear2 and Gear2; any one of Gear3, Gear4, Gear5 and any one of Gear3, Gear4, Gear5. Under the two rate configurations of Gear1 and Gear1 and Gear2 and Gear2, the rate configuration when the serializer and deserializer successfully establish a connection is already the optimal rate configuration and no further adjustment is required. In the combination of any one of Gear3, Gear4, Gear5 and any one of Gear3, Gear4, Gear5, the serializer and deserializer can successfully establish a connection after the startup process, but the serializer and deserializer may be configured at different rate configurations, which will impair data transmission efficiency.
[0117] Before the serializer and deserializer establish a communication connection, there is actually no difference between Gear3, Gear4, and Gear5, because the serializer and deserializer configured in any two of the three can establish a connection, and the data is not framed for transmission at this time. When the communication connection is established, the data needs to be output according to the frame structure defined by the protocol. The frame header, payload, and frame tail all have certain PAM codes. Among them, on the frame header h0, the codes of Gear3, Gear4, and Gear5 are the same, and on the frame headers h1-h7, the codes of Gear4 and Gear5 are the same, but Gear3 is different. Therefore, if one side of the serializer and deserializer is Gear4 or Gear5, and the other side is Gear3, then in the process of transmitting data frames after the connection is established, the cyclic redundancy check result of the data header will be wrong.
[0118] Therefore, in order to configure the serializer and deserializer to the same rate configuration in this situation, it is possible to determine whether the data transmission rate configuration of the serializer and deserializer is unreasonable based on whether the cyclic redundancy check result of the data header during the data transmission process is correct, thereby determining the optimal rate negotiation result of the serializer and deserializer according to different situations.
[0119] It should be noted that the method described in steps S11 to S13 can be directly applied to the serializer and deserializer of a vehicle-mounted serial deserializer, and the rate configuration adjustment of the serializer and deserializer is completed by the control module inside the serializer and deserializer. It can also be applied to an external control module that is communicatively connected to the serializer and deserializer of the vehicle-mounted serial deserializer, and the external control module adjusts the rate configuration of the serializer and deserializer according to the method described in this application.
[0120] In some implementation processes of step S12 of this embodiment, the step of reconfiguring the rate configuration of the deserializer until a connection is established includes: if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, then adjusting the rate configuration of the deserializer to the second rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the second rate configuration, then adjusting the rate configuration of the deserializer to the first rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the first rate configuration, repeating the above operation until the serializer and the deserializer are connected.
[0121] Specifically, if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is any one of Gear3, Gear4, and Gear5, it means that the rate configuration of the serializer end is not any one of Gear3, Gear4, and Gear5. Otherwise, the serializer and deserializer can establish a connection. In this case, it is necessary to adjust the rate configuration of the deserializer to Gear2 and try to reconnect. If the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is Gear2, it means that the rate configuration of the serializer end is not Gear2. Otherwise, the serializer and deserializer can establish a connection. Then, in this case, it is necessary to adjust the rate configuration of the deserializer to Gear1 and try to reconnect; if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is Gear1, it means that the rate configuration of the serializer end is not Gear1, otherwise the serializer and deserializer can establish a connection. In this case, since the aforementioned operations have traversed each rate configuration that may be successfully connected in turn, the possible situation at this time is that the serializer end is at a higher rate configuration, so the rate configuration of the deserializer end is reconfigured to the maximum rate configuration supported by the deserializer, and the above process is repeated until the serializer and deserializer are successfully connected.
[0122] In some implementations of this embodiment, the startup process includes a training phase, and the step of reconfiguring the rate configuration of the deserializer until a connection is established is allocated to the training phase of a startup process; or, is allocated to multiple startup processes, and the multiple startup processes sequentially complete each link of the step of reconfiguring the rate configuration of the deserializer until a connection is established.
[0123] Specifically, after the serializer and deserializer begin the startup process, the two enter the training phase. Whether the training phase goes smoothly directly determines whether the serializer and deserializer can establish a connection. Therefore, in the same startup process, if the training phase does not go smoothly, the rate configuration of the deserializer can be reconfigured after the training fails until the serializer and deserializer successfully pass the training phase and finally establish a connection. Furthermore, since the step of reconfiguring the rate configuration of the deserializer until the connection is established may include multiple sub-steps, several sub-steps can also be arranged in multiple startup processes to accommodate some special scenarios. For example, switching the rate configuration of the deserializer from Gear2 to Gear1 during the training phase requires reconfiguration of the phase-locked loop. At this time, the configuration of Gear1 requires an independent startup process.
[0124] For example, if the rate configuration of the deserializer needs to be switched from Gear4 to Gear1 in a certain scenario, the rate configuration switching process of the deserializer can be arranged in the training phase of the two startup processes. Specifically: in the training phase of the first startup process, the serializer and deserializer fail to complete the training phase smoothly, then in the training phase, the rate configuration of the deserializer is adjusted from Gear4 to Gear2 to continue training. After the rate configuration is adjusted, the serializer and deserializer still cannot establish a connection; in the training phase of the second startup process, the rate of the deserializer is configured to Gear1, and then the connection status is verified.
[0125] In some implementation processes of step S12 of this embodiment, the step of reconfiguring the rate configuration of the serializer until the connection is established includes: if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, the rate configuration of the serializer is adjusted to the second rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the second rate configuration, the rate configuration of the serializer is adjusted to the first rate configuration; if the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the first rate configuration, the serializer reports an error and ends the negotiation process.
[0126] Specifically, if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is any one of Gear3, Gear4, and Gear5, it means that the rate configuration of the deserializer end is not any one of Gear3, Gear4, and Gear5. Otherwise, the serializer and deserializer can establish a connection. In this case, it is necessary to adjust the rate configuration of the serializer to Gear2 and try to reconnect; if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is Gear2, it means that the rate configuration of the deserializer end is not Gear2, otherwise the serializer and deserializer can establish a connection. In this case, it is necessary to adjust the rate configuration of the serializer to Gear1 and try to reconnect; if the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is Gear1, it means that the rate configuration of the serializer end is not Gear1, otherwise the serializer and deserializer can establish a connection. In this case, an error occurs in the negotiation process, the serializer reports an error and ends the negotiation process.
[0127] Furthermore, in order to prevent missing possible connection opportunities, a retry operation for the same rate configuration is additionally set in the step of reconfiguring the rate configuration of the serializer until the connection is established. Specifically, a threshold value of the maximum number of retries is set. If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is any one of Gear3, Gear4, and Gear5, if the same rate configuration is retried beyond the threshold and the connection is not successfully established. Then the rate configuration of the serializer is adjusted to Gear2. If the connection still fails after the adjustment of the rate configuration of the serializer, the rate configuration Gear2 is retried until the number of retries reaches the preset threshold. If the serializer and the deserializer still cannot establish a connection after the maximum number of retries, the rate configuration of the serializer is adjusted to Gear1, and the above steps are repeated. It should be noted that if the rate configuration of the serializer is adjusted to Gear1 and the connection still cannot be established after reconfiguration to the maximum number of retries, it means that an error has occurred in the negotiation process, and the negotiation process on the serializer side is terminated and an error is reported.
[0128] In some implementation processes of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error, the third rate configuration is used as the rate configuration negotiation result.
[0129] Specifically, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of Gear4 and Gear5, and the cyclic redundancy check result of the data header is wrong, it indicates that one of the serializer and the deserializer is Gear3, and the other is Gear4 or Gear5, so there will be a situation where the cyclic redundancy check result of the header after data transmission is wrong. Therefore, in the above case, Gear3 is used as the rate configuration negotiation result of the serializer and the deserializer to maximize the rate and quality of data transmission of the serializer and the deserializer. If the rate configuration of the deserializer is Gear3, and the cyclic redundancy check result of the data header is wrong, it indicates that one of the serializer and the deserializer is Gear4 or Gear5, and the other is Gear3, so there will be a situation where the cyclic redundancy check result of the header after data transmission is wrong. The deserializer is configured in Gear3 at this time, indicating that Gear3 is the highest rate configuration supported by the deserializer. The deserializer can notify the serializer of its maximum supported rate through the uplink channel, so that the serializer adjusts the rate configuration to Gear3.
[0130] In some implementation processes of step S13 of this embodiment, after the serializer and deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the data header cyclic redundancy check result is wrong for many times, the third rate configuration is used as the negotiation result of the serializer and deserializer rate reconfiguration.
[0131] Specifically, if both the serializer and deserializer are Gear4 or Gear5, but the connection status is not good, the header cyclic redundancy check result after data transmission is wrong many times. For example, although in some cases the serializer and deserializer both work at the highest rate configuration, i.e. Gear5, at this time the payload uses a higher constellation encoding method, which may lead to a higher bit error rate and frequent errors in the data cyclic redundancy check result. After switching the serializer and deserializer to Gear3 at the same time, although a lower constellation encoding method is used, the data rate is reduced, but a stable connection at a low rate can be maintained. Therefore, in the aforementioned case, Gear3 is used as the renegotiation result of the rate configuration of the serializer and deserializer to maximize the rate and quality of serializer and deserializer data transmission.
[0132] In some implementations of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is the third rate configuration and the data header cyclic redundancy check result is correct, the third rate configuration is used as the rate configuration negotiation result.
[0133] Specifically, after the serializer and deserializer establish a connection, if the rate configuration of the deserializer is Gear3, and the cyclic redundancy check result of the data header is correct, it indicates that both the serializer and the deserializer are Gear3 at this time, so the cyclic redundancy check result of the header after data transmission is correct. At this time, Gear3 is maintained as the rate configuration negotiation result of the serializer and deserializer to maximize the rate and quality of data transmission of the serializer and deserializer.
[0134] In some implementation processes of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the data header cyclic redundancy check result is correct, the serializer and the deserializer exchange configuration information, and the highest rate configuration jointly supported by the serializer and the deserializer is used as the rate configuration negotiation result.
[0135] Specifically, after the serializer and deserializer establish a connection, if the rate configuration of the deserializer is any one of Gear4 and Gear5, and the data header cyclic redundancy check result is correct, it indicates that both the serializer and the deserializer are one of Gear4 or Gear5, so the header cyclic redundancy check result after data transmission is correct. At this time, the serializer and deserializer exchange configuration information, and use the highest rate configuration supported by both as the rate configuration negotiation result of the serializer and deserializer to maximize the rate and quality of data transmission of the serializer and deserializer.
[0136] It should be noted that, compared with the traditional serial deserializer data transmission rate configuration negotiation method, although the present application arranges the rate configuration negotiation step of the deserializer end in a training phase of the startup process, which may increase the training time, the negotiation time of the overall rate configuration of the serializer and deserializer is greatly shortened compared with the traditional method. Specifically, assuming that the time required for the entire startup process is t, the downlink training time is approximately If multiple rate configuration attempts at the deserializer are added to the training phase, the training phase time will increase by about 40%. In this case, the downlink training time is Considering the startup process as a whole, a startup process takes approximately It can be considered that the time added to a startup process does not exceed 30% of the original startup process. Overall, although the time of a single startup process has increased slightly, the connection efficiency of the serializer and deserializer has been effectively improved because the total number of startup processes has been greatly reduced. If the rate configuration of the deserializer is arranged in multiple startup processes, the training time of a single startup process will not increase, and the overall number of startups will be reduced. Compared with arranging multiple rate configurations in one startup process, the number of startups increases; however, compared with the traditional method, compressing the three startup processes of the third rate, fourth rate and fifth rate configurations into one startup process can greatly reduce the number of startup processes. Furthermore, the traditional rate configuration negotiation method may cause the serializer and deserializer to not be configured at the optimal rate configuration. The method proposed in this application can effectively configure the serializer and deserializer at the same optimal rate configuration, thereby maximizing the data transmission efficiency of the vehicle-mounted serial deserializer.
[0137] The data transmission rate configuration negotiation method of the serial deserializer provided in the embodiment of the present invention can be implemented by the terminal side or the server side. As for the hardware structure of the data transmission rate configuration negotiation terminal of the serial deserializer, please refer to Fig. 9 , which is an optional hardware structure diagram of the data transmission rate configuration negotiation terminal 900 of the serial deserializer provided in an embodiment of the present invention. The terminal 900 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The data transmission rate configuration negotiation terminal 900 of the serial deserializer includes: at least one processor 901, a memory 902, at least one network interface 904 and a user interface 906. The various components in the system are coupled together through a bus system 905. It can be understood that the bus system 905 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Fig. 9 In the specification, various buses are labeled as bus systems.
[0138] The user interface 906 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0139] It is understood that the memory 902 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0140] The memory 902 in the embodiment of the present invention is used to store various categories of data to support the operation of the data transmission rate configuration negotiation terminal 900 of the serial deserializer. Examples of these data include: any executable program used to operate on the data transmission rate configuration negotiation terminal 900 of the serial deserializer, such as an operating system 9021 and an application 9022; the operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 9022 can include various applications, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The data transmission rate configuration negotiation method of the serial deserializer provided in the embodiment of the present invention can be included in the application 9022.
[0141] The method disclosed in the above embodiment of the present invention can be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 901 or the instruction in the form of software. The above processor 901 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 901 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 901 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0142] In an exemplary embodiment, the data transmission rate configuration negotiation terminal 900 of the serial deserializer can be used by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.
[0143] like Fig.10 FIG. 1 is a block diagram of a data transmission rate configuration negotiation system for a serial deserializer according to an embodiment of the present invention. In this embodiment, the data transmission rate configuration negotiation system 1000 for a serial deserializer includes:
[0144] The serial module 1001 and the deserialization module 1002 are used to configure the serializer and the deserializer at the highest speed configuration supported by each; if the serializer and the deserializer cannot establish a connection after the startup process, the speed configuration of the serializer and the deserializer are reconfigured until the connection is established; after the serializer and the deserializer are connected, if the speed configuration of the deserializer is any one of the third speed configuration, the fourth speed configuration, and the fifth speed configuration, the speed configuration negotiation result of the serializer and the deserializer is determined according to the data header cyclic redundancy check result; wherein, the serial module and the deserialization module are connected in communication.
[0145] It should be noted that: the data transmission rate configuration negotiation system of the serial deserializer provided in the above embodiment only uses the division of the above program modules as an example when performing the data transmission rate configuration negotiation of the serial deserializer. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the system is divided into different program modules to complete all or part of the processing described above. In addition, the data transmission rate configuration negotiation system of the serial deserializer provided in the above embodiment and the data transmission rate configuration negotiation method embodiment of the serial deserializer belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0146] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0147] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage system, a disk storage system or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store a desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
[0148] In summary, the present application provides a method, system, terminal and medium for negotiating the data transmission rate configuration of a serial deserializer. The present invention provides a method for improving the efficiency of the negotiation of the data transmission rate configuration of a serial deserializer, and solves the problem that the negotiation time of the data transmission rate configuration between existing vehicle-mounted serial deserializers is too long and the negotiation result may not be the optimal rate configuration. Therefore, the present application effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0149] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A data transmission rate configuration negotiation method for a serial deserializer, characterized in that: include: Configure the serializer and deserializer at the highest supported rate configuration; If the serializer and deserializer cannot establish a connection after the startup process, reconfigure the rate configuration of the serializer and deserializer until the connection is established; After the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, determining the rate configuration negotiation result of the serializer and the deserializer according to the data header cyclic redundancy check result; After the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, and the highest rate configuration commonly supported by the serializer and the deserializer is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is wrong, the third rate configuration is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is wrong for many times, the third rate configuration is used as the re-negotiation result of the rate configuration of the serializer and the deserializer.
2. The data transmission rate configuration negotiation method of a serial deserializer according to claim 1, characterized in that: The step of reconfiguring the rate configuration of the deserializer until the connection is established comprises: If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, adjusting the rate configuration of the deserializer to the second rate configuration; If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the second rate configuration, adjusting the rate configuration of the deserializer to the first rate configuration; If the serializer and deserializer cannot establish a connection after the startup process, and the rate configuration of the deserializer is the first rate configuration, repeat the above operations from the fifth rate configuration, the fourth rate configuration, the third rate configuration, the second rate configuration, and then to the first rate configuration until the serializer and deserializer establish a connection.
3. The data transmission rate configuration negotiation method of a serial deserializer according to claim 2, characterized in that: The startup process includes a training phase, and the steps of reconfiguring the rate configuration of the deserializer until the connection is established are allocated to the training phase of a startup process; or, are allocated to multiple startup processes, and the multiple startup processes sequentially complete the steps of reconfiguring the rate configuration of the deserializer until the connection is established.
4. The data transmission rate configuration negotiation method of a serial deserializer according to claim 1, characterized in that: The step of reconfiguring the rate configuration of the serializer until the connection is established comprises: If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, adjusting the rate configuration of the serializer to the second rate configuration; If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the second rate configuration, adjusting the rate configuration of the serializer to the first rate configuration; If the serializer and the deserializer cannot establish a connection after the startup process, and the rate configuration of the serializer is the first rate configuration, the serializer reports an error and ends the negotiation process.
5. A data transmission rate configuration negotiation system for a serial deserializer, characterized in that: include: Serial modules, including serializers; Deserialization module, including a deserializer; The serial module is communicatively connected with the deserialization module; The serializer and the deserializer are configured at the highest rate configuration supported by each; if the serializer and the deserializer cannot establish a connection after the startup process, the rate configuration of the serializer and the deserializer is reconfigured until the connection is established; after the serializer and the deserializer are connected, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, the rate configuration negotiation result of the serializer and the deserializer is determined according to the data header cyclic redundancy check result; After the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, and the highest rate configuration commonly supported by the serializer and the deserializer is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is wrong, the third rate configuration is used as the rate configuration negotiation result; after the serializer and the deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is wrong for many times, the third rate configuration is used as the re-negotiation result of the rate configuration of the serializer and the deserializer.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
7. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program stored in the memory, so as to enable the terminal to perform the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Serializer and Deserializer (Serdes) rate matching method and device
CN103546229A
FC-AE-1553 bus controller based on FPGA
CN103823784A