WO2013152585A1 - 数据传输方法、设备及系统 - Google Patents

数据传输方法、设备及系统 Download PDF

Info

Publication number
WO2013152585A1
WO2013152585A1 PCT/CN2012/083180 CN2012083180W WO2013152585A1 WO 2013152585 A1 WO2013152585 A1 WO 2013152585A1 CN 2012083180 W CN2012083180 W CN 2012083180W WO 2013152585 A1 WO2013152585 A1 WO 2013152585A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
error rate
receiving side
receiving
test
Prior art date
Application number
PCT/CN2012/083180
Other languages
English (en)
French (fr)
Inventor
侯新宇
常胜
杨荣玉
卢广
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2013152585A1 publication Critical patent/WO2013152585A1/zh
Priority to US14/502,326 priority Critical patent/US9148264B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1635Cumulative acknowledgement, i.e. the acknowledgement message applying to all previous messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/076Error or fault detection not based on redundancy by exceeding limits by exceeding a count or rate limit, e.g. word- or bit count limit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1825Adaptation of specific ARQ protocol parameters according to transmission conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/1874Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/203Details of error rate determination, e.g. BER, FER or WER
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica
    • H04L1/244Testing correct operation by comparing a transmitted test signal with a locally generated replica test sequence generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Definitions

  • the present invention relates to the field of data transmission technologies, and more particularly to a data transmission method, apparatus and system. Background technique
  • an embodiment of the present invention aims to provide a data transmission method, device, and system to improve reliability of a data link.
  • the embodiment of the present invention provides the following technical solutions:
  • a data transmission method for performing data interaction with a transmitting side, where the method includes:
  • step S2 performing verification check on the received data, determining whether the error data is detected, and if yes, proceeding to step S3, otherwise, returning to step S1;
  • step S1 If yes, go to step S1. If no, go to step S5, the first preset condition is less than the preset error rate threshold;
  • the compensation parameter combination includes the receiving side compensation parameter and the sending side emphasis parameter.
  • the self-recovery success of the link is determined according to the combination of the compensation parameters that meet the first preset condition in the error rate of the transmission test code stream, and the self-recovery failure of the link is based on the absence of the transmission test code stream.
  • the error rate is determined by satisfying the combination of the compensation parameters of the first preset condition.
  • the receiving side When receiving the notification of the upper layer control system and/or the transmitting side to stop transmitting data, the receiving side performs the link self-recovery based on the combination of different compensation parameter transmission test code streams, and if the link self-recovery is successful, the execution continues.
  • the first sending operation such as a link self-recovery failure, exits;
  • the compensation parameter combination includes a receiving side compensation parameter and a transmitting side emphasis parameter;
  • the first transmitting operation includes transmitting non-retransmission data including a parity bit to a receiving side when a data retransmission request is not received, and receiving a data retransmission request and not receiving an upper layer control system and/or transmitting Sending retransmission data when the side stops transmitting the notification of the data;
  • the data retransmission request is sent by the receiving side when detecting that the erroneous data is received, the notification is that the receiving side detects that the erroneous data is received and determines that
  • the error rate does not satisfy the first preset condition, the error rate is calculated when the receiving side detects that the erroneous data is received and discards the erroneous data and the subsequently received non-retransmitted data.
  • the first preset condition is less than a preset error rate threshold;
  • a data transmission device configured to perform data interaction with a transmitting side, where the data transmission device includes a first receiving unit, a verification unit, a data retransmission request unit, and a first self-recovery. a unit, and a first master unit;
  • the first main control unit is used to:
  • the first receiving unit Instructing the first receiving unit to perform a first receiving operation, where the first receiving operation includes receiving data sent by the transmitting side, where the data includes retransmitted data or non-retransmitted data including a check digit;
  • the compensation parameter combination transmits the test code stream to perform link self-recovery, the first preset condition is less than a preset error rate threshold, and the compensation parameter combination includes a receiving side compensation parameter and a transmission side emphasis parameter;
  • the first receiving unit is instructed to continue to perform the first receiving operation, or all the units are instructed to exit when the link self-recovery fails;
  • a data transmission device is configured to perform data interaction with a receiving side, where the data transmission device includes a first sending unit and a second self-recovering list. Yuan, and the second main control unit;
  • the second main control unit is used to:
  • the compensation parameter combination includes a receiving side compensation parameter and a transmitting side emphasis parameter
  • the first sending unit is instructed to continue to perform the first sending operation, or when the link self-recovery fails, all units are instructed to exit;
  • the first transmitting operation includes transmitting non-retransmission data including a parity bit to a receiving side when a data retransmission request is not received, and receiving a data retransmission request and not receiving an upper layer control system and/or transmitting Sending retransmission data when the side stops transmitting the notification of the data;
  • the data retransmission request is sent by the receiving side when detecting that the erroneous data is received, the notification is that the receiving side detects that the erroneous data is received and determines that
  • the error rate does not satisfy the first preset condition, the error rate is calculated when the receiving side detects that the erroneous data is received and discards the erroneous data and the subsequently received non-retransmitted data.
  • the first preset condition is less than a preset error rate threshold;
  • a data transmission device including a transmitting side module and a receiving side module, where the sending side module includes at least the first sending unit, the second self-restoring unit, and the second main control
  • the receiving module includes at least the first receiving unit, the checking unit, the data retransmission request unit, the first self-restoring unit, and the first main control unit.
  • a data transmission system including a transmitting side data transmission device and a receiving side data transmission device, where the transmitting side data transmission device includes at least the first sending unit and the second self-restoring unit. And the second main control unit, the receiving side data transmission device includes at least the first receiving unit, the verification unit, the data retransmission request unit, the first self-recovery unit, and the first main control unit.
  • a data transmission system comprising at least one data transmission device having the above-described transmitting side module and receiving side module.
  • the transmitting side discards the erroneous data and sends a data retransmission request to the transmitting side to ensure the correctness of the received data, thereby improving the data link.
  • the bit error rate is greater than the preset bit error rate, the data link enters self-recovery, and the data transmission continues after the recovery is successful, so that the bit error rate is not too high, thereby preventing The probability of verifying the missed detection is too high (the higher the bit error rate, the higher the probability of the checkout miss detection), which also improves the reliability of the data link.
  • FIG. 1 is a flowchart of a data transmission method based on a receiving side according to an embodiment of the present invention
  • FIG. 2 is another flowchart of a data transmission method based on a receiving side according to an embodiment of the present invention
  • FIG. 3 is an interrupt according to an embodiment of the present invention
  • FIG. 4 is still another flowchart of a data transmission method based on a receiving side according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of error data retransmission according to an embodiment of the present invention
  • FIG. 6 is still another flowchart of a data transmission method based on a receiving side according to an embodiment of the present invention
  • FIG. 7 is a data according to a sending side according to an embodiment of the present invention
  • FIG. 8 is a flowchart of a data transmission device according to an embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of another structure of a data transmission device according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of another structure of a data transmission device according to an embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of another structure of a data transmission device according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of another structure of a data transmission device according
  • FIG. 14 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 15a and FIG. 15b are schematic diagrams showing the structure of a data transmission system according to an embodiment of the present invention
  • Another structural schematic diagram of the data transmission device provided by the example is a data transmission device according to an embodiment of the present invention
  • FIG. 17 is a schematic diagram of a width scan of a sample window according to an embodiment of the present invention.
  • Cache cache
  • PRBS Ps eudo-Random Binary Sequence, pseudo-random binary sequence ⁇ ' J ;
  • two chips transmit data through a data link under the control of an upper layer control system (a chip that transmits data serves as a transmitting side, and a chip that receives data serves as a receiving side).
  • a chip that transmits data serves as a transmitting side
  • a chip that receives data serves as a receiving side.
  • the embodiment of the present invention discloses the following data transmission method to improve the reliability of the data link.
  • the above transmission method can be used for data interaction between the receiving side and the transmitting side and even the upper layer control system.
  • the following mainly introduces the receiving side.
  • the above method at least includes:
  • the data includes retransmitted data or non-retransmitted data including check bits;
  • the above check digits can be CRC check bits or other check bits.
  • CRC check bits CRC check bits or other check bits.
  • step S2 performing verification check on the received data, determining whether the error data is detected, and if yes, proceeding to step S3, otherwise, returning to step S1;
  • the receiving side needs to verify the received data by using the same verification method as the transmitting side.
  • the operation performed by the sending side is: when receiving the data retransmission request from the receiving side, sending the retransmission data to the receiving side;
  • step S3 Determine whether the error rate calculated in step S3 satisfies the first preset condition, and if yes, Then, go to step SI, if no, go to step S5.
  • the first preset condition is less than the preset error rate threshold.
  • bit error rate Since different application scenarios may have different data transmission reliability requirements, the requirements for bit error rate will also vary. Some application scenarios require a higher bit error rate, which is 10 minus or even 15 to the power of 10, and some application scenarios only require a bit error rate of 10 to the negative 12 power. Therefore, those skilled in the art can flexibly set the above-mentioned error rate threshold according to the actual application scenario, and details are not described herein.
  • the above compensation parameter combination may include a receiving side compensation parameter and a transmission side emphasis parameter. More specifically, the receiving side compensation parameter may be "receiving side EQ parameter", and the transmitting side emphasis parameter may be "transmitting side EQ parameter”.
  • step S5 may be directly performed by the receiving side or under the direction of the upper layer control system, which will be described in detail below. Also, when the link self-recovery fails, the receiving side or upper layer control system will indicate that the transmitting side link self-recovery fails, so that the transmitting side performs subsequent operations.
  • the methods disclosed in all of the above embodiments may further include: (Instructed to receive the upper layer control system) Switch to another data link with normal communication. Then, on the data link where the communication is normal, the execution proceeds downward from step S1.
  • the transmitting side discards the erroneous data and sends a data retransmission request to the transmitting side to ensure the correctness of the received data, thereby improving the data link.
  • the bit error rate is greater than the preset bit error rate, the data link enters self-recovery, and the data transmission continues after the recovery is successful, so that the bit error rate is not too high, thereby preventing The probability of verifying the missed detection is too high (the higher the bit error rate, the higher the probability of the checkout miss detection), which also improves the reliability of the data link.
  • step S5 may specifically include:
  • the receiving side stops receiving data and enters an interrupt, so that the upper control system responds to the interrupt. Specifically, after the receiving side enters the interrupt, the upper layer control system responds to the interruption, and determines that the data link abnormality needs to stop the data transmission. Then, the upper layer control system notifies the transmitting side of the link to stop transmitting the data by means of the interruption; thus, the data The sending side of the link also stops data transmission.
  • the flow of the interrupt can be seen in Figure 3.
  • the upper layer control system may also report to the transmitting side.
  • the upper layer control system may also notify the transmitting side of the link to stop transmitting data by alerting the transmitting side.
  • the receiving side may directly send a preset message or indication to the transmitting side to notify the transmitting side to stop transmitting data.
  • the receiving side directly sends a preset message (or indication) to the transmitting side, and the upper layer control system notifies the transmitting side to stop transmitting data by interrupting (or alarming).
  • the duration of the short test is in seconds.
  • the short-term test includes receiving a test code stream (for example, a PRBS 2 3 code stream) based on the receiving side compensation parameter and performing a sample window width scan, and the test code stream is sent by the transmitting side based on the transmission side emphasis parameter, and each short time test station The combination of the receiving side compensation parameter and the transmission side emphasis parameter is different.
  • a test code stream for example, a PRBS 2 3 code stream
  • each short-term test corresponds to one EQ.
  • 35 short-term tests can be performed accordingly. If the number of EQ parameter combinations is large, you can select some of the EQ parameter combinations for short-term testing based on the test data in the development phase.
  • the combination of the EQ parameters used by the transmitting side and the receiving side can be allocated by the upper layer control system, that is, the upper layer control system can allocate the transmitting side EQ parameters to the transmitting side and the receiving side respectively.
  • Receive side EQ parameters can also be set separately on the transmitting side and the receiving side in advance, and the EQ parameters are preset in each of the two rules. When recovering, the transmitting side and the receiving side can directly use the preset rule to use the EQ parameter.
  • the operation of the above-mentioned sample window width scanning may include:
  • Step 1 Perform error detection on each sample.
  • Step 2 Use the number of consecutive sample points with a bit error of 0 as the width of the sample window.
  • the length of the long test is hour.
  • bit error rate test includes the receiving side compensation parameter corresponding to the short-time test that the receiving side meets the third preset condition based on the sample window width value, and the receiving and transmitting side is based on the sending side emphasis parameter corresponding to the same short-time test.
  • the test code stream sent.
  • the long-term error rate test may further include: the receiving side adjusts the sample point to a central position of the sample window, and the third preset condition is satisfied based on the sample window width value.
  • each short-time test corresponds to a sample window width
  • each EQ parameter combination corresponds to a sample window width.
  • the EQ parameter combination whose sample window width value satisfies the third preset condition can be selected for long time test.
  • the third preset condition may be: the sample window width value is greater than the preset width value, or, after sorting the width values of the sample window from large to small, the front X (X is an integer not less than 1).
  • the sample window width values are all defined to satisfy the third preset condition.
  • the EQ parameter combination used by the transmitting side and the receiving side can be allocated by the upper layer control system, or can be determined by the receiving side and directly notify the transmitting side which EQ parameter combination is used.
  • each EQ parameter combination in the above 35 EQ parameter combinations (or EQ parameter combinations whose sample window width values satisfy the third preset condition) may be numbered, and the receiving side sends the number to the transmitting side, and the transmitting side is The EQ parameter in the EQ parameter combination used for the long-term test can be determined according to the received number.
  • the receiving side can also send the number to the upper control system, and the upper control system forwards the number to the sending side.
  • step S54 Determine whether there is a long-term error rate that satisfies the first preset condition. If yes, go to step S55, otherwise exit.
  • step S 54 determining whether one or more long-term error rates satisfy the first preset condition among the X long-term error rates corresponding to the X long-term error rate tests, if yes, go to step S55, otherwise drop out. It should be noted that step S 54 may be directly performed by the receiving side, or the receiving side may be performed under the instruction of the upper layer control system.
  • the receiving side When the receiving side performs the instruction of the upper layer control system, it may be determined by the upper layer control system whether there is a long time error rate that satisfies the first preset condition, and the determination result (yes or no) is sent to the receiving side.
  • the receiving side may determine, according to the determination result, that there is a long time error rate that satisfies the first preset condition or that there is no long time error rate that satisfies the first preset condition, thereby selecting the step S 55 or exiting.
  • step S55 determining a link self-recovery receiving side compensation parameter, adjusting the sample point to a central position of the sample window, and returning to step S1;
  • link self-recovery receiving side compensation parameter corresponds to “link self-recovering transmission side emphasis parameter”
  • link self-recovery receiving side compensation parameter and “link self-recovering transmission side emphasis parameter” are The receiving side compensation parameter (EQ parameter) and the transmitting side emphasis parameter (EQ parameter) used in the same long time bit error rate test satisfying the first preset condition for a long time error rate.
  • the receiving side EQ parameter and the transmitting side EQ parameter in the EQ parameter combination that satisfy the first preset condition for a long time error rate are respectively referred to as “link self-recovering receiving side compensation parameter” and “link self”. Restore the transmit side emphasis parameter " .
  • determining the link self-recovery receiving side compensation parameter may be performed by the receiving side itself or by the receiving side under the direction of the upper layer control system.
  • the long-term error rate corresponding to the multiple EQ parameter combinations may satisfy the first preset condition
  • the multiple EQ parameter combinations correspond to the long-term error rate
  • the receiving side EQ parameter and the transmitting side EQ parameter in the EQ parameter combination having the largest sample width value in the short time test may be selected as the "link"
  • the second preset condition is, in an embodiment,
  • the specific time may be unconditional (that is, S52 is directly executed in S52), or may be specifically: the short time error rate corresponding to the third preset condition of the sample window width value is satisfied in the short time error rate corresponding to the J test.
  • the short time error rate of the first preset condition is, in an embodiment, The specific time may be unconditional (that is, S52 is directly executed in S52), or may be specifically: the short time error rate corresponding to the third preset condition of the sample window width value is satisfied in the short time error rate corresponding to the J test.
  • the short time error rate of the first preset condition is, in an embodiment,
  • the specific time may be unconditional (that is, S52 is directly executed in S52), or may be specifically: the short time error rate corresponding to the third preset condition of the sample window width value is satisfied in the short time error rate corresponding to the J test.
  • step S52 the following steps may be added between step S52 and step S53:
  • step S56 Determine whether there is a short time error rate that satisfies the first preset condition. If yes, go to step S53, otherwise exit.
  • the transmitting side needs to preset a retry buffer to back up the data sent to the receiving side, and the depth of the retry buffer is ⁇ .
  • four counters are required, which are the wrptr counter (first counter), the rdptr counter (second counter), the tailptr counter (third counter), and the n freebuf counter (fourth counter).
  • wrptr is the write pointer of the retry buffer
  • the tailptr is the first data pointer that is not acknowledged by the receiving side
  • the numfreebuf is the amount of retry buffer empty space.
  • the receiving side needs to maintain two counters, an eseci counter (fifth counter) and a Numack counter (sixth counter). Eseq loops up from 0 to M-1. Numack increments from 0 to N, and N is a positive integer. In this embodiment, N is 7.
  • Wrptr counts up from 0 to M-1. Whenever the transmitting side sends a non-retransmitted data and backs up the write J retry buffer, wrptr force port 1, wrptr remains unchanged when retransmitting data.
  • the receiving side when receiving data, performs check detection on the received data.
  • Numack is incremented by 1. Whenever Numack changes from 7 to 0, the receiving side has correctly received it. 8 data, at this time, the receiving side will send an ACK packet notification to send The side has correctly received 8 data.
  • the transmitting side can release 8 spaces in the retry buffer according to the received ACK packet from the receiving side.
  • the tailptr on the receiving side counts up from 0 to M-1.
  • the tailptr force port 8 the gap between wrptr and tailptr is especially the number of data stored in the retry buffer.
  • eseq is incremented by 1 after receiving an error-free data, and eseq is not incremented when an erroneous data is received, and the receiving side sends eseq as a parameter of the data retransmission request to the transmitting side, and Subsequent received non-retransmitted data is discarded.
  • the transmitting side After receiving the data retransmission request, the transmitting side reads the eseq in the request as rdptr, reads the data pointed to by rdptr from the retry buffer, and uses the data as retransmission data (the retransmission data can be constructed to have a retransmission flag) Packet) Resend it.
  • eseq and N draw ack are respectively incremented by 1, and then the receiving side normally receives subsequent non-retransmitted data.
  • numfreebuf The initial value of numfreebuf is M-1, counting from M-1 to 0.
  • numfreebuf is decremented by 1, and when an ACK packet is sent from the sending side, numfreebuf is 8 (because it is released) 8 spaces).
  • the sending side must send data when numfreebuf is at least greater than 1.
  • the current count values of the wrptr counter, rdptr counter, tailptr counter, numfreebuf counter, eseq counter, and Numack counter are respectively recorded as: wrptr . rdptr . tailptr. numfreebuf, eseq, and Numack.
  • the foregoing step S2 may specifically include:
  • step S2 sequentially performs verification check on the received data to determine whether an error-free data is received, and if yes, go to step S22, otherwise go to step S25;
  • step S24 determine whether N draws ack from 7 to 0, if yes (indicating that the receiving side has correctly received 8 data), go to step S24, otherwise go to step S1;
  • Step SI Send an ACK packet to the sending side to notify the sending side that 8 data has been correctly received, and the sending side may release 8 spaces in the retry buffer according to the received ACK packet.
  • the foregoing step S3 may specifically include: S31, discarding erroneous data and subsequent received non-retransmitted data;
  • step S33 Calculate the error rate, and go to step S4. After introducing the data transmission method based on the receiving side, this article will introduce the angle from the transmitting side.
  • FIG. 7 shows a flow of a data transmission method based on a transmitting side, which at least includes: S701, performing a first sending operation;
  • S702 When receiving the notification of the upper layer control system and/or the sending side to stop sending data, the receiving side performs the link self-recovery according to the combination of different compensation parameter transmission test code streams, and if the link self-recovery is successful, the continuation is performed. The first sending operation, otherwise exiting.
  • the sending side will receive an indication of the receiving side or the upper layer control system to learn whether the link self-recovery succeeds or fails.
  • the link self-recovery will receive an indication of the receiving side or the upper layer control system to learn whether the link self-recovery succeeds or fails.
  • the first sending operation includes:
  • the data retransmission request is sent by the receiving side when detecting that the erroneous data is received, and the foregoing notification is performed when the receiving side detects that the erroneous data is received, and determines that the error rate does not satisfy the first preset condition.
  • the code rate is measured when the receiving side detects that the erroneous data is received and discards the erroneous data and the subsequently received non-retransmitted data.
  • the first preset condition is less than the preset error.
  • the code rate is wide.
  • the transmitting side stops transmitting data when receiving the above notification.
  • the upper control system can be notified by means of interruption or alarm.
  • the receiving side may directly send a preset message or indication to the sending side to implement the notification, or the receiving side may directly send the preset message (or indication) to the sending side to interrupt (or alarm) with the upper control system.
  • the notification is implemented.
  • step S702 may specifically include: S702: Stop performing the first operation according to the notification of the upper layer control system and/or the transmitting side. S7022, perform at least one short test.
  • the short-term test may include transmitting the test code stream based on the transmit-side emphasis parameter, so that the receiving side receives the test code stream based on the receive-side compensation parameter and performs the sample window width scan, and the reception based on each short-time test is performed.
  • the combination of the side compensation parameter and the transmission side emphasis parameter are different;
  • each time the bit error rate test includes transmitting the test code stream based on the sending side emphasis parameter corresponding to the short time test in which the sample window width value satisfies the third preset condition, so that the receiving side is based on the same short time.
  • the receiving side compensation parameter corresponding to the test receives the test code stream;
  • each EQ parameter combination can be numbered, then the receiving side can notify the transmitting side of the number, and the transmitting side can determine according to the number.
  • the link self-recovers the transmitting side to emphasize the parameter ".
  • the upper control system may also assign the "link self-recovery transmission side emphasis parameter" to the transmitting side, and the transmitting side accepts the assigned "link self-recovery transmission side emphasis parameter". " , thus completing the link self-recovery sending side aggravation The determination of the parameter ".
  • S7025 Exit when the receiving side or the upper layer control system determines that there is no long time error rate that satisfies the first preset condition.
  • the data transmission method may further include: switching to another data link with normal communication.
  • retransmission buffers and counters can be used to implement data transmission.
  • the following describes how the transmitting side uses retransmission buffers and counters to implement data transmission.
  • the sending the non-retransmission data including the check digit to the receiving side may specifically include:
  • the sending of the retransmitted data may specifically include:
  • the transmitting side and the receiving side correspond to each other, this article does not describe the transmitting side too much. Please refer to the above description. It should be noted that the method described above is an application scenario between data transmission between chips. In fact, it can also be used for two devices/terminals (such as data transmission between a mobile phone and a mobile phone), or even two systems. Data transfer between. After introducing the method, the apparatus and system involved in the present invention will be described below.
  • an embodiment of the present invention further provides a data transmission device.
  • Figure 9 shows a structure of the above data transmission device, comprising: a first receiving unit 1, a verification unit 2, a data retransmission request unit 3, a first self-recovery unit 4, and a first main control unit 5;
  • the first main control unit 5 is used for: Instructing the first receiving unit 1 to perform a first receiving operation, the first receiving operation includes receiving data transmitted by the transmitting side (the data includes retransmitted data or non-retransmitted data including check bits);
  • the first receiving unit 1 When the link self-recovery is successful, the first receiving unit 1 is instructed to continue to perform the foregoing first receiving operation, or all the units are instructed to exit when the link self-recovery fails.
  • the link self-recovery For details on how to determine the success and failure of the link self-recovery, please refer to the foregoing description in this document, and no further details are provided here.
  • first main control unit 5 can also be distributed among other units, so that the other units can perform operations independently.
  • the first self-recovery unit 4 may include a first interrupt unit 41, a first short-time test unit 42, a first long-term error rate test unit 4 3, and a first Determining unit 44;
  • the first interrupting unit 41 is configured to instruct the first receiving unit 1 to stop performing the above-mentioned first receiving operation to enter an interrupt, so that the upper layer control system responds to the interrupt, determines that the link is abnormal, and notifies the transmitting side of the link to stop transmitting data by means of the interrupt. ;
  • the first short time test unit 42 is configured to perform at least one short time test.
  • the short-time test includes receiving the test code stream sent by the sending side based on the receiving side compensation parameter and performing a sample window width scan, and the test code stream is sent by the sending side based on the sending side emphasis parameter, and the receiving based on each short-time test is received.
  • the combination of the side compensation parameter and the transmission side emphasis parameter are different; the first long time error rate test unit 43 is configured to perform when the second preset condition is met At least one long time error rate test and get a long time error rate.
  • the long-term error rate test includes a receiving side compensation parameter corresponding to the short-time 'J test period of the receiving side based on the sample window width value satisfying the third preset condition, and the receiving and transmitting side is based on the corresponding short-term test corresponding to the The test side adds the test code stream sent by the parameter;
  • the first determining unit 44 is configured to: determine whether there is a long-term error rate that satisfies the first preset condition, and if yes, determine a link self-recovery receiving side compensation parameter, and adjust the sample point to a central position of the sample window, Notifying the first main control unit 5 that the self-recovery is successful, and if not, notifying the first main control unit 5 that the self-recovery has failed;
  • the first determining unit 44 can also be used only to determine the link self-recovery receiving side compensation parameter, and adjust the sample point to the central position of the sample window.
  • the first main control unit 5 can determine whether there is a long-term error rate that satisfies the first preset condition. If not, the first main control unit 5 obtains a self-recovery failure conclusion, indicating that each unit exits, and if so, The first main control unit 5 instructs the first determining unit 44 to determine the link self-recovery receiving side compensation parameter, and adjusts the sample point to the central position of the sample window.
  • the self-recovery receiving side compensation parameter of the link corresponds to the link self-recovery transmitting side emphasis parameter on the transmitting side, and the link self-recovering receiving side compensation parameter and the link self-recovering transmitting side emphasis parameter respectively satisfy the long time error rate.
  • the data transmission device may further include: a first switching unit 6 configured to switch to another data link with normal communication after all units exit.
  • FIG. 9-1 1 corresponds to the data transmission method on the transmitting side.
  • Figure 12 shows a structure of the data transmission device, comprising: a first transmitting unit 7, a second receiving unit 8, a second self-restoring unit 9, and a second main control unit 10;
  • the second main control unit 10 is used for:
  • the second self-restoring unit 9 Upon receiving the notification from the upper layer control system and/or the transmitting side to stop transmitting data, the second self-restoring unit 9 is instructed to cooperate with the receiving side to transmit the test code stream based on different compensation parameter combinations for link self-recovery;
  • the first sending unit 7 is instructed to continue to perform the foregoing first sending operation, or, when the self-recovery fails, all the units are instructed to exit.
  • the first transmitting operation includes transmitting non-retransmission data including a parity bit to the receiving side when the (second receiving unit 8) does not receive the data retransmission request, and receiving the data in the (second receiving unit 8) Sending retransmission data when transmitting the request and not receiving the notification of the upper layer control system and/or the transmitting side stopping the transmission of the data;
  • the data retransmission request is sent by the receiving side when detecting that the erroneous data is received, and the notification is performed when the receiving side detects that the erroneous data is received and determines that the error rate does not satisfy the first preset condition, and the error rate is
  • the first preset condition is less than the preset error rate threshold.
  • the second self-recovery unit 9 may include a second interrupt unit 91, a second short-time test unit 92, a second long-term error rate test unit 9 3, and a second Determining unit 94;
  • the second interrupting unit 9 1 is configured to instruct the first sending unit 7 to stop performing the first sending operation
  • the second short time test unit 92 is configured to perform at least one short time test, and the short time test includes sending the test code stream based on the transmit side emphasis parameter, so that the receiving side receives the test code stream based on the receive side compensation parameter and performs the sample window width scan.
  • the combination of the receiving side compensation parameter and the transmitting side emphasis parameter based on each short time test are different;
  • the second long time error rate test unit 9 3 is configured to perform when the second preset condition is met At least one long time bit error rate test, each time the bit error rate test includes a test code stream sent based on the transmission side emphasis parameter corresponding to the short time test in which the sample window width value satisfies the third preset condition, so that the receiving side Receiving a test code stream based on the receiving side compensation parameter corresponding to the same short time test;
  • the second determining unit 94 is configured to: when the receiving side or the upper layer control system determines that there is a long time error rate that satisfies the first preset condition, determine a link self-recovering transmitting side compensation parameter;
  • the link self-recovery transmission side compensation parameter corresponds to the link self-recovery receiving side emphasis parameter on the receiving side, and the link self-recovery transmission side compensation parameter and the link self-recovery receiving side emphasis parameter respectively satisfy the long-term error rate.
  • the transmitting side compensation parameter and the receiving side emphasis parameter used in the same long time error rate test of the first preset condition.
  • the receiving side when the receiving side or the upper layer control system determines that there is a long time error rate that satisfies the first preset condition, the receiving side may send a self-recovery indication to the transmitting side (the second receiving unit 8 may further be configured to receive the foregoing self). Resume indication) to indicate whether the self-recovery was successful or not.
  • the second main control unit 1 0 may instruct the all determination units to exit or instruct the second determination unit 9 to operate according to the self-recovery indication.
  • the self-recovery indication may further include a link self-recovery transmission side compensation parameter, and the second determining unit 9 may determine the link self-recovery transmission side compensation parameter according to the self-recovery indication.
  • the receiving side or the upper layer control system may send the information including the link self-recovering transmitting side compensation parameter to the second receiving unit 8 after transmitting the self-recovery indication, and no further details are provided herein.
  • the data transmission device may further include: a second switching unit 1 1 configured to switch to another data link with normal communication after all units exit.
  • the device shown in FIG. 1 2-14 corresponds to the data transmission method on the transmitting side.
  • the transmission side data transmission device 1501 and the reception side data transmission device 1502 are included, and the transmission side data transmission device 1501 may include FIG. 12
  • the respective units shown in Fig. 14 and the receiving side data transmission device 1502 may include the respective units as shown in Figs.
  • the embodiment of the present invention also provides a data transmission device that can serve as both a transmitting side and a receiving side, and the data transmitting device A structure can be seen in FIG. 16a, which includes a transmitting side module 1601 and a receiving side module 1602, and the transmitting side module 1601 includes at least the respective units as shown in FIG. 12-14, and the receiving side module 1602 includes at least FIG. Each unit shown in Figure 11.
  • the first main control unit and the second main control unit may be combined into a main control unit b1, and the first receiving unit and the second receiving unit may be combined into a receiving unit b2, a first self-recovering unit and a second The self-recovery unit can be merged into the self-recovery unit b3.
  • the embodiment of the present invention further provides a data transmission system, which includes at least one data transmission device as shown in FIG. 16a or 16b, as well as the above-mentioned data transmission device. .
  • all (or part) functions of the transmitting side device, the transmitting side data transmitting device 1501 or the transmitting side module 1601 can be implemented by an ASIC (integrated circuit), an FPGA (onsite). Programmable gate arrays, etc. are implemented.
  • all (or part) functions of the receiving side device, the receiving side data transmitting device 1502 or the receiving side module 1602 can also be implemented by an ASIC, an FPGA or the like.
  • the upper layer control system may include a parameter setting unit 12, a sample point adjusting unit 13 and an error recording unit 14, and the test code stream generating unit 15 may be further included in the ASIC as the transmitting side ( The test code stream is generated, and the error detecting unit 16 may be further included in the ASIC as the receiving side.
  • the sample point adjusting unit 13 sets the position of the sample point on the receiving side, and when the error detection is performed for each sample point, after being stabilized (determining whether it is stable by time, Is is After that means that the arrival is stable), the error detection unit 16 clears 0, and start timing. After the test reaches the preset duration (such as I s ), the number of errors of the error detection unit 16 is read. The number of consecutive sample points with a bit error of G is the width of the sample window.
  • the functions of the parameter setting unit 12, the sample point adjusting unit 13 and the error recording unit 14 can also be integrated into the AS I C on the receiving side, which will not be described herein.
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.

Abstract

本发明实施例公开了数据传输方法、设备及系统,以提高数据链路的可靠性。上述数据传输方法、设备及系统用于发送侧与接收侧进行数据交互。当接收侧检测出错误数据时,将丢弃错误数据,向发送侧发送数据重传请求,以保证接收到的数据的正确性,从而提高了数据链路的可靠性;另外,当接收侧检测出错误数据并且误码率大于预设误码率阈值时,数据链路将进入自恢复,在恢复成功后继续数据传输,从而令误码率不至于过高,进而防止校验检测漏检的机率过高(误码率越高,校验检测漏检的机率就越高),从而亦提高了数据链路的可靠性。

Description

数据传输方法、 设备及系统
技术领域
本发明涉及数据传输技术领域, 更具体地说, 涉及数据传输方法、 设备 及系统。 背景技术
在电子系统中, 经常会有两个芯片在上层控制系统的控制下通过数据 链路进行数据传输的情况(发送数据的芯片作为发送侧, 接收数据的芯片 作为接收侧) , 随着数据传输速度越来越快, 对数据链路的可靠性要求也 越来越高, 如何提高数据链路的可靠性成为一种研究方向。 发明内容
有鉴于此, 本发明实施例目的在于提供数据传输方法、 设备及系统, 以提高数据链路的可靠性。
为实现上述目的, 本发明实施例提供如下技术方案:
根据本发明实施例的一个方面, 提供一种数据传输方法, 用于与发送 侧进行数据交互, 所述方法包括:
S l、 接收发送侧发送的数据, 所述数据包括重传数据或包含校验位的 非重传数据;
52、 对接收到的数据进行校验检测, 判断是否检测出错误数据, 如果 是, 转步骤 S 3 , 否则, 返回步骤 S 1 ;
53、 丟弃所述错误数据以及后续接收到的非重传数据, 向发送侧发送 数据重传请求, 并统计误码率;
54、 判断所述误码率是否满足第一预设条件, 如果是, 则转步骤 S 1 , 如果否转步骤 S5 , 所述第一预设条件为小于预设误码率阔值;
55、 配合所述发送侧基于不同的补偿参数组合传输测试码流来进行链 路自恢复, 如链路自恢复成功, 返回步骤 S 1 , 如链路自恢复失败, 退出; 所述补偿参数组合包括接收侧补偿参数和发送侧加重参数;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。 根据本发明实施例的另一个方面, 提供一种数据传输方法, 用于与接 收侧进行数据交互, 所述方法包括:
执行第一发送操作;
在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 配合所 述接收侧基于不同的补偿参数组合传输测试码流来进行链路自恢复, 如链 路自恢复成功, 则继续执行所述第一发送操作, 如链路自恢复失败退出; 所述补偿参数组合包括接收侧补偿参数和发送侧加重参数;
所述第一发送操作包括在未接收到数据重传请求时向接收侧发送包 含校验位的非重传数据, 以及, 在接收到数据重传请求并且未接收到上层 控制系统和 /或发送侧停止发送数据的通知时, 发送重传数据; 所述数据 重传请求是所述接收侧在检测出接收到错误数据时发出, 所述通知是在接 收侧检测出接收到错误数据并且判断出误码率不满足第一预设条件时进 行的, 所述误码率是在所述接收侧检测出接收到错误数据并丟弃所述错误 数据以及后续接收到的非重传数据时统计的, 所述第一预设条件为小于预 设误码率阔值;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。 根据本发明实施例的再一个方面, 提供一种数据传输设备, 用于与发 送侧进行数据交互, 所述数据传输设备包括第一接收单元、 检验单元、 数 据重传请求单元、 第一自恢复单元, 以及第一主控单元;
所述第一主控单元用于:
指示所述第一接收单元执行第一接收操作, 所述第一接收操作包括接 收所述发送侧发送的数据, 所述数据包括重传数据或包含校验位的非重传 数据;
指示所述检验单元对接收到的数据进行校验检测;
在所述检验单元未检测出错误数据时, 指示所述第一接收单元继续执 行所述第一接收操作;
或者, 在所述检验单元检测出错误数据时:
指示所述数据重传请求单元丟弃所述错误数据以及后续接收到的非 重传数据, 向发送侧发送数据重传请求, 并统计误码率;
判断所述误码率是否满足第一预设条件, 如果是, 指示所述第一接收 单元继续执行所述第一接收操作, 否则, 指示所述第一自恢复单元配合所 述发送侧基于不同的补偿参数组合传输测试码流来进行链路自恢复, 所述 第一预设条件为小于预设误码率阈值, 所述补偿参数组合包括接收侧补偿 参数和发送侧加重参数;
在链路自恢复成功时, 指示所述第一接收单元继续执行所述第一接收 操作, 或者, 在链路自恢复失败时指示所有单元退出;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。 根据本发明实施例的再一个方面, 提供一种数据传输设备, 用于与接 收侧进行数据交互, 所述数据传输设备包括第一发送单元、 第二自恢复单 元, 以及第二主控单元;
所述第二主控单元用于:
指示所述第一发送单元执行第一发送操作;
在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 指示所 述第二自恢复单元配合所述接收侧基于不同的补偿参数组合传输测试码 流来进行链路自恢复, 所述补偿参数组合包括接收侧补偿参数和发送侧加 重参数;
在链路自恢复成功时, 指示所述第一发送单元继续执行所述第一发送 操作, 或者, 在链路自恢复失败时, 指示所有单元退出;
所述第一发送操作包括在未接收到数据重传请求时向接收侧发送包 含校验位的非重传数据, 以及, 在接收到数据重传请求并且未接收到上层 控制系统和 /或发送侧停止发送数据的通知时, 发送重传数据; 所述数据 重传请求是所述接收侧在检测出接收到错误数据时发出, 所述通知是在接 收侧检测出接收到错误数据并且判断出误码率不满足第一预设条件时进 行的, 所述误码率是在所述接收侧检测出接收到错误数据并丟弃所述错误 数据以及后续接收到的非重传数据时统计的, 所述第一预设条件为小于预 设误码率阔值;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。 根据本发明实施例的再一个方面, 提供一种数据传输设备, 包括发送 侧模块和接收侧模块, 所述发送侧模块至少包括上述第一发送单元、 第二 自恢复单元, 以及第二主控单元, 所述接收模块至少包括上述第一接收单 元、检验单元、 数据重传请求单元、 第一自恢复单元, 以及第一主控单元。 根据本发明实施例的再一个方面, 提供一种数据传输系统, 包括发送 侧数据传输设备和接收侧数据传输设备, 所述发送侧数据传输设备至少包 括上述第一发送单元、 第二自恢复单元, 以及第二主控单元, 所述接收侧 数据传输设备至少包括上述第一接收单元、检验单元、数据重传请求单元、 第一自恢复单元, 以及第一主控单元。
根据本发明实施例的再一个方面, 提供一种数据传输系统, 包括至少 一个具有上述发送侧模块和接收侧模块的数据传输设备。
可见, 在本发明实施例中, 一方面, 发送侧在检测出错误数据时, 丟 弃错误数据,向发送侧发送数据重传请求,以保证接收到的数据的正确性, 从而提高了数据链路的可靠性; 另一方面, 在误码率大于预设误码率阔值 时, 数据链路进入自恢复, 在恢复成功后继续数据传输, 从而令误码率不 至于过高, 进而防止校验检测漏检的机率过高 (误码率越高, 校验检测漏 检的机率就越高) , 从而亦提高了数据链路的可靠性。 附图说明
实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。 图 1为本发明实施例提供的基于接收侧的数据传输方法流程图; 图 2为本发明实施例提供的基于接收侧的数据传输方法另一流程图; 图 3为本发明实施例提供的中断流程图; 图 4为本发明实施例提供的基于接收侧的数据传输方法又一流程图; 图 5为本发明实施例提供的错误数据重传示意图; 图 6为本发明实施例提供的基于接收侧的数据传输方法又一流程图; 图 7为本发明实施例提供的基于发送侧的数据传输方法流程图; 图 8为本发明实施例提供的基于发送侧的数据传输方法另一流程图; 图 9为本发明实施例提供的数据传输设备结构示意图; 图 10为本发明实施例提供的数据传输设备另一结构示意图; 图 11为本发明实施例提供的数据传输设备又一结构示意图; 图 12为本发明实施例提供的数据传输设备又一结构示意图; 图 1 3为本发明实施例提供的数据传输设备又一结构示意图; 图 14为本发明实施例提供的数据传输设备又一结构示意图; 图 15a和 15b为本发明实施例提供的数据传输系统结构示意图; 图 16a为本发明实施例提供的数据传输设备又一结构示意图; 图 16b为本发明实施例提供的数据传输设备又一结构示意图; 图 17为本发明实施例提供的釆样窗口宽度扫描示意图。 具体实施方式
为了引用和清楚起见, 下文中使用的技术名词、 简写或缩写总结解释 下:
Cache : 高速緩冲存储器;
CRC: Cyc l i c Redundancy Check , 循环冗余校马全;
PRBS: Ps eudo-Random Binary Sequence , 伪随机二进制序歹' J ;
EQ: equa t i on , 均衡。
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
在电子系统中, 两个芯片在上层控制系统的控制下通过数据链路进行 数据传输 (发送数据的芯片作为发送侧, 接收数据的芯片作为接收侧) 。 随着数据传输速度越来越快, 对数据链路的可靠性要求也越来越高, 如何 提高数据链路的可靠性成为一种研究方向。
有鉴于此, 本发明实施例公开以下数据传输方法, 以提高数据链路的 可靠性。
上述传输方法可用于接收侧与发送侧乃至上层控制系统进行数据交 互, 下面主要以接收侧为主进行介绍。
参见图 1 , 上述方法至少包括:
51、 接收发送侧发送的数据。 该数据包括重传数据或包含校验位的非 重传数据;
上述校验位可为 CRC校验位或者其他检验位。 本领域技术人员, 可根 据可靠性要求灵活选择检验方式。 在可靠性要求越高的场景, 使用能力越 强的校验方式, 在此不作赘述。
52、 对接收到的数据进行校验检测, 判断是否检测出错误数据, 如果 是, 转步骤 S 3 , 否则, 返回步骤 S 1 ;
需要注意的是, 接收侧需要使用与发送侧相同的校验方式对接收数据 进行校验。
53、 丟弃错误数据以及后续接收到的非重传数据, 向发送侧发送数据 重传请求, 并统计误码率;
步骤 S 3执行后, 发送侧所执行的操作为: 在接收到接收侧发送数据 重传请求时, 向接收侧发送重传数据;
54、 判断步骤 S 3 中统计的误码率是否满足第一预设条件, 如果是, 则转步骤 S I , 如果否转步骤 S5。
第一预设条件为小于预设误码率阔值。
由于不同的应用场景对数据传输可靠性要求可能不同, 所以对误码率 的要求也会随着不同。 有些应用场景对误码率要求较高, 达到 1 0的负 14 次方甚至负 15次方, 而有些应用场景仅要求误码率达到 1 0的负 12次方 即可。 因此, 本领域技术人员可根据实际应用场景对上述误码率阔值进行 灵活设置, 在此不作赘述。
S5、 配合发送侧基于不同的补偿参数组合传输测试码流来进行链路自 恢复, 当存在传输测试码流的误码率满足上述第一预设条件的补偿参数组 合时, 判断链路自恢复成功, 返回步骤 S 1 , 当不存在传输测试码流的误码 率满足上述第一预设条件的补偿参数组合时,判断链路自恢复失败,退出。
上述补偿参数组合可包括接收侧补偿参数和发送侧加重参数。 更具体 的, 接收侧补偿参数可为 "接收侧 EQ参数" , 发送侧加重参数可为 "发 送侧 EQ参数" 。
接收侧可以使用不同的 EQ参数接收数据, 同理, 发送侧也可以使用 不同的 EQ参数来发送数据。 假如, 接收侧可以使用 5种不同的 EQ参数接 收数据, 而发送侧可以使用 7种不同的 EQ参数来发送数据, 那么, 就会 存在 5 * 7=35种 EQ参数组合 (补偿参数组合) 。
需要注意的是, 步骤 S5 可由接收侧直接执行, 也可在上层控制系统 的指示下进行, 本文下述将进行详细描述。 还有, 在链路自恢复失败时, 接收侧或上层控制系统将指示发送侧链路自恢复失败, 以便发送侧进行后 续操作。
在实际中, 发送侧与接收侧之间可能存在多于一条的数据链路, 在存 在多个数据链路时, 如果某条数据链路无法自恢复成功, 则发送侧与接收 侧可以自行商议或者在上层控制系统的指示下切换到其他通信正常的数 据链路继续数据传输。 因此, 在本发明其他实施例中, 以上所有实施例所 公开的方法在退出后还可包括: (接收上层控制系统的指示)切换至其他通信正常的数据链路。 然后 在该通信正常的数据链路上, 由步骤 S 1开始向下执行。
可见, 在本发明实施例中, 一方面, 发送侧在检测出错误数据时, 丟 弃错误数据,向发送侧发送数据重传请求,以保证接收到的数据的正确性, 从而提高了数据链路的可靠性; 另一方面, 在误码率大于预设误码率阔值 时, 数据链路进入自恢复, 在恢复成功后继续数据传输, 从而令误码率不 至于过高, 进而防止校验检测漏检的机率过高 (误码率越高, 校验检测漏 检的机率就越高) , 从而亦提高了数据链路的可靠性。
在本发明其他实施例中, 参见图 2 , 上述步骤 S 5具体可包括:
S 51、 接收侧停止接收数据, 进入中断, 以便上层控制系统响应中断。 具体的, 在接收侧进入中断后, 上层控制系统响应中断, 并判断出数 据链路异常需要停止数据传输, 然后, 上层控制系统通过中断的方式通知 链路的发送侧停止发送数据;这样,数据链路的发送侧也停止数据发送了。 中断的流程可参见图 3。
上层控制系统在中断发送侧的数据传输后, 还可以对发送侧进行告 或者, 上层控制系统还可通过向发送侧告警, 来通知链路的发送侧停 止发送数据。 另外, 在其他实施例中, 也可由接收侧直接向发送侧发送预 设的报文或指示, 来通知发送侧停止发送数据。 当然, 接收侧直接向发送 侧发送预设的报文(或指示) , 与上层控制系统通过中断 (或告警) 来通 知发送侧停止发送数据也可以同时进行。
S 52、 进行至少一次短时间测试。
短时间测试的时长为秒级。 上述短时间测试包括基于接收侧补偿参数 接收测试码流(例如 PRBS 2 3码流) 并进行釆样窗口宽度扫描, 测试码流 是发送侧基于发送侧加重参数发送的, 每一次短时间测试所基于的接收侧 补偿参数和发送侧加重参数的组合均不同。
仍以具有 35种 EQ参数组合为例,由于每一次短时间测试对应一种 EQ 参数组合, 则可相应的进行 35次短时间测试。 如果 EQ参数组合数量比较 多, 可以根据开发阶段的测试数据选择其中的一部分 EQ 参数组合进行短 时间测试。
而在某一次短时间测试中, 发送侧和接收侧究竟釆用哪一组 EQ参数 组合, 可由上层控制系统分配, 也即, 可由上层控制系统分别为发送侧和 接收侧分配发送侧 EQ参数和接收侧 EQ参数。 当然, 由于 EQ参数组合的 数量是可穷尽的, 因此, 也可以预先在发送侧和接收侧分别进行设置, 预 设下二者各自以何种规律釆用 EQ 参数, 这样, 在进行链路自恢复时, 发 送侧和接收侧可直接沿用预设的规律来釆用 EQ参数。
上述釆样窗口宽度扫描的操作可包括:
第一步: 对每一釆样点进行误码检测。
具体的, 可在每一釆样点停留 2秒钟, 0-1秒是过渡期, 1秒后认为 进入稳定状态开始计时, 统计在计时的这 I s 内所接收测试码流中的误码 个数。
之后, 跳到另一个釆样点, 重复上述操作。
第二步: 将误码为 0的连续釆样点的个数作为釆样窗口宽度。
举例来讲, 假定在一次短时间测试中, 共对 1 28个釆样点进行了误码 检测, 并且得知, 第 50-61个釆样点无误码 (也即误码为 0 ) , 则误码为 0的连续釆样点的个数为 61-50+1 = 12 , 因此将 1 2作为釆样窗口宽度。
S53、 在满足第二预设条件时, 进行至少一次长时间误码率测试并得 到长时间误码率。
长时间测试的时长为小时级。
每次长时间误码率测试包括接收侧基于釆样窗口宽度值满足第三预 设条件的短时间测试所对应的接收侧补偿参数, 接收发送侧基于同一短时 间测试所对应的发送侧加重参数所发送的测试码流。
在有些实施例中, 上述长时间误码率测试还可进一步包括: 接收侧将 釆样点调到釆样窗口的中央位置, 基于釆样窗口宽度值满足第三预设条件 的短时间测试所对应的接收侧补偿参数, 接收发送侧基于同一短时间测试 所对应的发送侧加重参数所发送的测试码流。
仍以前述 35种 EQ参数组合为例, 在进行了 35次短时间测试后, 每 一次短时间测试均对应一个釆样窗口宽度, 或者说, 每一 EQ 参数组合对 应一个釆样窗口宽度。 此时, 可选取釆样窗口宽度值满足第三预设条件的 EQ参数组合, 进行长时间测试。
上述第三预设条件可以为: 釆样窗口宽度值大于预设宽度值, 或者, 在对釆样窗口宽度值按从大到小排序后, 前 X ( X为不小于 1 的整数) 个 釆样窗口宽度值均定义为满足第三预设条件。
由于, 每一个釆样窗口宽度值满足第三预设条件的 EQ 参数组合与一 次长时间误码率测试相对应, 而进行一次长时间误码率测试将得到一个长 时间误码率, 因此, 一个釆样窗口宽度值满足第三预设条件的 EQ 参数组 合也就与一个长时间误码率相对应了。
如果存在多个釆样窗口宽度值满足第三预设条件的 EQ 参数组合, 则 将进行多次长时间测试。 而在某一次长时间测试中, 发送侧和接收侧究竟 釆用哪一 EQ参数组合, 可由上层控制系统分配, 也可由接收侧决定并直 接通知发送侧釆用哪一 EQ参数组合。 比如, 可对上述 35种 EQ参数组合 (或釆样窗口宽度值满足第三预设条件的 EQ参数组合)中的每一 EQ参数 组合进行编号, 接收侧将编号发送给发送侧, 发送侧即可根据收到的编号 确定釆用哪一 EQ参数组合中的发送侧 EQ参数进行长时间测试。 或者, 接 收侧也可以将编号发送给上层控制系统, 由上层控制系统将编号转发给发 送侧。
S54、 判断是否存在满足第一预设条件的长时间误码率, 如果是, 转 步骤 S55 , 否则退出。
换句话说, 判断 X个长时间误码率测试对应的 X个长时间误码率中, 是否有一个或多个长时间误码率满足第一预设条件, 如果是, 转步骤 S55 , 否则退出。 需要说明的是, 步骤 S 54可由接收侧直接执行, 也可以是接收侧在上 层控制系统的指示下进行。
当由接收侧直接执行时, 是由接收侧直接判断是否存在满足第一预设 条件的长时间误码率。
而由接收侧在上层控制系统的指示下进行时, 可以是由上层控制系统 判断是否存在满足第一预设条件的长时间误码率,并将判断结果(是或否) 发送给接收侧。 接收侧可根据该判断结果判断出存在满足第一预设条件的 长时间误码率或者不存在满足第一预设条件的长时间误码率, 从而选择转 步骤 S 55或者退出。
S55、 确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗口的 中央位置, 返回步骤 S 1 ;
上述 "链路自恢复接收侧补偿参数"与 "链路自恢复发送侧加重参数" 相对应, 并且, "链路自恢复接收侧补偿参数" 与 "链路自恢复发送侧加 重参数" 即为长时间误码率满足第一预设条件的同一长时间误码率测试中 所釆用的接收侧补偿参数( EQ参数) 和发送侧加重参数( EQ参数) 。
换句话说, 是将长时间误码率满足第一预设条件的 EQ 参数组合中的 接收侧 EQ参数以及发送侧 EQ参数, 分别作为 "链路自恢复接收侧补偿参 数" 与 "链路自恢复发送侧加重参数" 。
与前述相同, 上述 "确定链路自恢复接收侧补偿参数" 可由接收侧 自行执行, 也可由接收侧在上层控制系统的指示下执行。
此外, 考虑到可能有多个 EQ 参数组合对应的长时间误码率都满足第 一预设条件, 因此, 在本发明其他实施例中, 当多个 EQ 参数组合对应的 长时间误码率都满足第一预设条件时, 可在这多个 EQ 参数组合中, 选择 在短时间测试中釆样窗口宽度值最大的 EQ参数组合中的接收侧 EQ参数和 发送侧 EQ 参数, 作为 "链路自恢复接收侧补偿参数" 和 "链路自恢复发 送侧加重参数" 。
需要说明的是, 上述步骤 S 5 3中的第二预设条件, 在某一实施例中, 其具体可为无条件 (也即执行完 S52直接顺序执行 S53) , 也可具体为: 釆样窗口宽度值满足第三预设条件的短时间 'J试所对应的短时间误码率 中存在满足第一预设条件的短时间误码率。
在具体实现时, 参见图 4, 可在步骤 S52与步骤 S53之间加入如下步 骤:
S56、 判断是否存在满足第一预设条件的短时间误码率, 如果是, 转 步骤 S53, 否则退出。
也即, 如果没有一个短时间误码率满足上述第一预设条件时, 将作出 链路自恢复失败的判断, 跳过长时间误码率测试, 直接退出。
如何对错误数据进行重传有多种方式, 下面介绍一种方式:
参见图 5, 发送侧需要预设重传緩冲区 (retry buffer) , 以将向接 收侧发送的数据备份到其中, retry buffer的深度为 Μ。 并且, 在发送侧 需要保持 4个计数器, 分别是 wrptr计数器 (第一计数器) , rdptr计数 器(第二计数器) , tailptr计数器(第三计数器)和 n画 freebuf 计数器 (第四计数器)。 其中: wrptr是 retry buffer的写指针, rdptr retry buffer的读指针, tailptr是未得到接收侧确认的、 最早发送出去的数据 指针, numfreebuf 是 retry buffer中空余空间的数量。
接收侧需要保持 2个计数器, 分别是 eseci计数器 (第五计数器 ) 和 Numack计数器 (第六计数器) 。 eseq从 0到 M- 1循环递增计数。 Numack 则从 0到 N循环递增计数, N为正整数, 在本实施例中, 可取 N为 7。
下面将详细介绍各个计数器的用法:
wrptr从 0到 M-1循环递增计数, 每当发送侧将一个非重传数据发送 出去并备份写 J retry buffer后, wrptr力口 1, 重传数据时 wrptr保持不 变。
相应的, 在接收数据时, 接收侧对接收到的数据进行校验检测, 当接 收到一个无误数据后 Numack加 1, 每当 Numack从 7跳变到 0时, 则说明 接收侧已经正确接收到了 8个数据, 此时, 接收侧将发送 ACK包通知发送 侧已经正确接收到 8个数据。
发送侧则可以根据接收到的来自接收侧的 ACK 包释放 retry buffer 中的 8个空间。 接收侧的 tailptr从 0到 M-1循环递增计数, 当接收到一 个 ACK包后, tailptr力口 8,wrptr与 tailptr之间的 巨离尤是 retry buffer 中所存储数据的个数。
至于 eseq, 则是: 当接收到一个无误码的数据后 eseq加 1 , 而当接 收到一个错误的数据后 eseq不增加, 接收侧将 eseq作为数据重传请求的 参数发送给发送侧, 并将后续接收到的非重传数据丟弃。 而发送侧接收到 数据重传请求后, 将请求中的 eseq作为 rdptr, 从 retry buffer中读取 rdptr指向的数据, 将该数据作为重传数据 (可将重传数据构造成具有重 传标志的数据包) 重新发送出去。 当重传数据检验检测成功后, eseq 和 N画 ack才分别加 1, 然后, 接收侧正常接收后续非重传数据。
numfreebuf 初始值为 M-1 , 从 M-1到 0循环计数, 当 retry buffer 中写入一个数据后, numfreebuf 减 1, 而当收到发送侧一个 ACK 包后, numfreebuf 力口 8 (因为释放了 8个空间 ) 。 发送侧必须在 numfreebuf 至 少大于 1的情况下才能发送数据。
为方便称呼, 将 wrptr 计数器、 rdptr 计数器、 tailptr 计数器、 numfreebuf 计数器、 eseq计数器和 Numack计数器的当前计数值分别记为: wrptr . rdptr . tailptr. numfreebuf、 eseq和 Numack。
基于上述各个计时器, 参见图 6, 上述步骤 S2具体可包括:
S2 依次对接收到的数据进行校验检测, 判断是否接收到一个无误 数据, 如果是, 转步骤 S22, 否则转步骤 S25;
522、 ^夺 Numack和 eseq分另力口 1;
523、 判断 N画 ack是否从 7跳变到 0, 如果是 (说明接收侧已经正确 接收到了 8个数据) , 转步骤 S24, 否则转步骤 S1;
524、 向发送侧发送 ACK 包以通知发送侧已经正确接收到 8个数据, 发送侧则可以根据接收到的 ACK包释放 retry buffer 中的 8个空间, 转 步骤 SI;
S25、 对 Numack和 eseq均不加 1, 转步骤 S3;
基于上述各个计时器, 仍请参见图 6, 上述步骤 S3具体可包括: S 31、 丟弃错误数据以及后续接收到的非重传数据;
S32、 将携带 eseq的数据重传请求发送给发送侧, 以便发送侧提取出 eseq, 将 eseq作为 rdptr, 将 rdptr指向的数据作为重传数据发送给接收 侧;
S33、 统计误码率, 转步骤 S4。 在介绍完基于接收侧的数据传输方法后, 本文将站在发送侧的角度来 介绍。
图 7示出了基于发送侧的数据传输方法的流程, 其至少包括: S701、 执行第一发送操作;
S702、 在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 配合接收侧基于不同的补偿参数组合传输测试码流来进行链路自恢复, 如 链路自恢复成功, 则继续执行所述第一发送操作, 否则退出。
具体的, 发送侧将接收到接收侧或上层控制系统的指示, 以获知链路 自恢复成功或失败。 至于如何判断链路自恢复成功与失败, 请参见本文前 述记载, 在此不作赘述。
其中, 上述第一发送操作包括:
在未接收到数据重传请求时向接收侧发送包含校验位的非重传数据; 以及, 在接收到数据重传请求并且未接收到上层控制系统和 /或发送侧停 止发送数据的通知时, 发送重传数据。
上述数据重传请求是接收侧在检测出接收到错误数据时发出, 上述通 知是在接收侧检测出接收到错误数据, 并且判断出误码率不满足第一预设 条件时进行的, 上述误码率是在接收侧检测出接收到错误数据并丟弃错误 数据以及后续接收到的非重传数据时统计的, 第一预设条件为小于预设误 码率阔值。
另外, 根据前述接收侧对应的数据传输方法的介绍可知: 在接收到上 述通知时, 发送侧将停止发送数据。 上层控制系统可通过中断或者告警的 方式进行通知。 另外, 也可由接收侧直接向发送侧发送预设的报文或指示 来实现通知, 或者, 接收侧直接向发送侧发送预设的报文(或指示) 与上 层控制系统通过中断 (或告警) 同时进行来实现通知。
在本发明其他实施例中, 参见图 8 , 上述步骤 S702可具体包括: S702 根据上层控制系统和 /或发送侧的通知停止执行第一操作。 S7022 , 进行至少一次短时间测试。
对发送侧而言, 短时间测试可包括基于发送侧加重参数发送测试码 流, 以便接收侧基于接收侧补偿参数接收测试码流并进行釆样窗口宽度扫 描, 每一次短时间测试所基于的接收侧补偿参数和发送侧加重参数的组合 均不同;
相关详细内容请参阅本文前述记载, 在此不作赘述。
S7023 , 在满足第二预设条件时, 进行至少一次长时间误码率测试。 对发送侧而言, 每次长时间误码率测试包括基于釆样窗口宽度值满足 第三预设条件的短时间测试所对应的发送侧加重参数发送测试码流, 以便 接收侧基于同一短时间测试所对应的接收侧补偿参数接收测试码流;
相关详细内容请参阅本文前述记载, 在此不作赘述。
S 7024、 在接收侧或上层控制系统判断出存在满足第一预设条件的长 时间误码率时,确定链路自恢复发送侧补偿参数,继续执行上述第一操作; "链路自恢复发送侧加重参数" 的确定, 可由接收侧直接通知发送侧 实现, 比如前已述及, 可对每一 EQ 参数组合进行编号, 那么接收侧可将 编号通知发送侧, 发送侧即可根据编号确定 "链路自恢复发送侧加重参 数" 。 或者, 汉 EQ 参数组合本就是由上层控制系统分配时, 也可由上层 控制系统为发送侧分配 "链路自恢复发送侧加重参数" , 发送侧接受所分 配的 "链路自恢复发送侧加重参数" , 从而完成 "链路自恢复发送侧加重 参数" 的确定。
S7025、 在接收侧或上层控制系统判断出不存在满足第一预设条件的 长时间误码率时退出。
在本发明其他实施例中, 上述数据传输方法在退出后还可包括: 切换至其他通信正常的数据链路。
前已介绍, 可使用重传緩冲区和计数器来实现数据传输, 下面将介绍 发送侧如何使用重传緩冲区和计数器来具体实现数据传输。
其中, 向接收侧发送包含校验位的非重传数据可具体包括:
每向接收侧发送一个非重传数据并备份写到重传緩冲区后, 将 wrptr 加 1, 并且, 根据接收到的 ACK 包释放重传緩冲区中的 N+1 个空间 (ACK 包是接收侧在 Numack从 N跳变到 0时发送的) ;
而发送重传数据可具体包括:
保持 wrptr 不变, 从携带 eseq 的数据重传请求中提取出 eseq作为 rdptr, 将 rdptr 指向的作为重传数据构造成具有重传标志的数据包发送 给接收侧。
由于发送侧与接收侧所作的操作是相对应的, 本文对发送侧不作过多 赘述, 请参看本文前述记载即可。 需要注意的是, 本发明上述介绍的方法虽然是以芯片间的数据传输为 应用场景, 事实上, 其还可用于两设备 /终端 (比如手机与手机之间的数 据传输) , 乃至两个系统之间进行数据传输。 在介绍完方法后, 下文将对 本发明所涉及的设备以及系统进行介绍。
与接收侧的数据传输方法相对应, 本发明实施例还提供了一种数据传 输设备。 图 9示出了上述数据传输设备的一种结构, 包括: 第一接收单元 1、 检验单元 2、 数据重传请求单元 3、 第一自恢复单元 4, 以及第一主控 单元 5;
第一主控单元 5用于: 指示第一接收单元 1执行第一接收操作, 第一接收操作包括接收发送 侧发送的数据 (该数据包括重传数据或包含校验位的非重传数据) ;
指示检验单元 2对接收到的数据进行校验检测;
在检验单元 2未检测出错误数据时, 指示第一接收单元 1继续执行上 述第一接收操作;
或者, 在检验单元 2检测出错误数据时:
指示数据重传请求单元 3 丟弃错误数据以及后续接收到的非重传数 据, 向发送侧发送数据重传请求, 并统计误码率;
判断统计的误码率是否满足第一预设条件, 如果是, 指示第一接收单 元 1继续执行上述第一接收操作, 否则, 指示第一自恢复单元 4配合发送 侧基于不同的补偿参数组合传输测试码流来进行链路自恢复;
在链路自恢复成功时, 指示第一接收单元 1继续执行上述第一接收操 作, 或者, 在链路自恢复失败时指示所有单元退出。 至于如何判断链路自 恢复成功与失败, 请参见本文前述记载, 在此不作赘述。
当然, 第一主控单元 5功能也可分散于其他各个单元中, 这样, 其他 各个单元就可以独立执行操作。
在本发明其他实施例中, 参见图 1 0 , 上述第一自恢复单元 4可包括第 一中断单元 41、 第一短时间测试单元 42、 第一长时间误码率测试单元 4 3 和第一确定单元 44 ;
第一中断单元 41用于, 指示第一接收单元 1停止执行上述第一接收 操作进入中断, 以便上层控制系统响应中断, 判断出链路异常并通过中断 的方式通知链路的发送侧停止发送数据;
第一短时间测试单元 42 用于, 进行至少一次短时间测试。 其中, 短 时间测试包括基于接收侧补偿参数接收发送侧发送的测试码流并进行釆 样窗口宽度扫描, 测试码流是发送侧基于发送侧加重参数发送的, 每一次 短时间测试所基于的接收侧补偿参数和发送侧加重参数的组合均不同; 第一长时间误码率测试单元 43 用于, 在满足第二预设条件时, 进行 至少一次长时间误码率测试并得到长时间误码率。 其中, 每次长时间误码 率测试包括接收侧基于釆样窗口宽度值满足第三预设条件的短时间 'J试 所对应的接收侧补偿参数, 接收发送侧基于同一短时间测试中对应的发送 侧加重参数所发送的测试码流;
第一确定单元 44 用于, 判断是否存在满足第一预设条件的长时间误 码率, 如果是, 确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗 口的中央位置, 通知第一主控单元 5 自恢复成功, 如果否, 通知第一主控 单元 5 自恢复失败;
当然, 第一确定单元 44也可只用于确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗口的中央位置。 此时, 可由第一主控单元 5判断是 否存在满足第一预设条件的长时间误码率, 如果否, 第一主控单元 5得到 自恢复失败的结论, 指示各单元退出, 如果是, 第一主控单元 5指示第一 确定单元 44 确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗口 的中央位置。
上述链路自恢复接收侧补偿参数与发送侧的链路自恢复发送侧加重 参数相对应, 链路自恢复接收侧补偿参数与链路自恢复发送侧加重参数分 别为长时间误码率满足第一预设条件的同一长时间误码率测试中所釆用 的接收侧补偿参数和发送侧加重参数。
在本发明其他实施例中, 参见图 1 1 , 上述数据传输设备还可包括: 第一切换单元 6 , 用于在所有单元退出后, 切换至其他通信正常的数 据链路。
由于图 9-1 1 所示的设备与发送侧的数据传输方法相对应, 更具体详 细的介绍请参看前文记载, 在此不作赘述。 与发送侧的数据传输方法相对应, 本发明实施例还提供了一种数据传 输设备。 图 1 2示出了该数据传输设备的一种结构, 包括: 第一发送单元 7、 第二接收单元 8、 第二自恢复单元 9 , 以及第二主控单元 1 0 ; 第二主控单元 1 0用于:
指示第一发送单元 7执行第一发送操作;
在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 指示第 二自恢复单元 9配合接收侧基于不同的补偿参数组合传输测试码流来进行 链路自恢复;
以及, 在自恢复成功时, 指示第一发送单元 7继续执行上述第一发送 操作, 或者, 在自恢复失败时, 指示所有单元退出。 至于如何判断链路自 恢复成功与失败, 请参见本文前述记载, 在此不作赘述。
上述第一发送操作包括在 (第二接收单元 8 ) 未接收到数据重传请求 时向接收侧发送包含校验位的非重传数据, 以及, 在 (第二接收单元 8 ) 接收到数据重传请求并且未接收到上层控制系统和 /或发送侧停止发送数 据的通知时, 发送重传数据;
其中, 数据重传请求是接收侧在检测出接收到错误数据时发出, 通知 是在接收侧检测出接收到错误数据并且判断出误码率不满足第一预设条 件时进行的, 误码率是在接收侧检测出接收到错误数据并丟弃错误数据以 及后续接收到的非重传数据时统计的, 第一预设条件为小于预设误码率阔 值。
在本发明其他实施例中, 参见图 1 3 , 上述第二自恢复单元 9可包括第 二中断单元 91、 第二短时间测试单元 92、 第二长时间误码率测试单元 9 3 和第二确定单元 94 ;
第二中断单元 9 1用于, 指示第一发送单元 7停止执行上述第一发送 操作;
第二短时间测试单元 92 用于, 进行至少一次短时间测试, 短时间测 试包括基于发送侧加重参数发送测试码流, 以便接收侧基于接收侧补偿参 数接收测试码流并进行釆样窗口宽度扫描, 每一次短时间测试所基于的接 收侧补偿参数和发送侧加重参数的组合均不同;
第二长时间误码率测试单元 9 3 用于, 在满足第二预设条件时, 进行 至少一次长时间误码率测试, 每次长时间误码率测试包括基于釆样窗口宽 度值满足第三预设条件的短时间测试所对应的发送侧加重参数发送的测 试码流, 以便接收侧基于同一短时间测试所对应的接收侧补偿参数接收测 试码流;
第二确定单元 94 用于, 在接收侧或上层控制系统判断出存在满足第 一预设条件的长时间误码率时, 确定链路自恢复发送侧补偿参数;
其中, 链路自恢复发送侧补偿参数与接收侧的链路自恢复接收侧加重 参数相对应, 链路自恢复发送侧补偿参数与链路自恢复接收侧加重参数分 别为长时间误码率满足第一预设条件的同一长时间误码率测试中所釆用 的发送侧补偿参数和接收侧加重参数。
在本发明实施例中, 接收侧或上层控制系统判断出存在满足第一预设 条件的长时间误码率时, 可向发送侧发送自恢复指示(第二接收单元 8还 可用于接收上述自恢复指示) , 以指示自恢复成功与否。
第二主控单元 1 0 可根据自恢复指示, 指示所有单元退出后或者指示 第二确定单元 9工作。
另外, 如自恢复成功, 上述自恢复指示中还可包括链路自恢复发送侧 补偿参数, 第二确定单元 9从而可根据自恢复指示来确定链路自恢复发送 侧补偿参数。
当然, 如自恢复成功, 接收侧或上层控制系统也可在发送自恢复指示 后, 再发送包括链路自恢复发送侧补偿参数的信息给第二接收单元 8 , 在 此不作赘述。
在本发明其他实施例中, 参见图 14 , 上述数据传输设备还可包括: 第二切换单元 1 1 , 用于在所有单元退出后, 切换至其他通信正常的数 据链路。
由于图 1 2-14所示的设备与发送侧的数据传输方法相对应, 更具体详 细的介绍请参看前文记载, 在此不作赘述。 本发明其他实施例同时还公开一种数据传输系统, 参见图 15a和 b, 其包括发送侧数据传输设备 1501和接收侧数据传输设备 1502, 并且, 发 送侧数据传输设备 1501可包括如图 12-14所示的各个单元, 而接收侧数 据传输设备 1502可包括如图 9-11所示的各个单元。 考虑到一些设备(例如手机)既可以作为发送侧, 也可以作为接收侧, 本发明实施例同时还提供一种既可以作为发送侧, 也可以作为接收侧的数 据传输设备, 该数据传输设备的一种结构可参见图 16a, 其包括发送侧模 块 1601和接收侧模块 1602, 并且, 发送侧模块 1601至少包括如图 12-14 所示的各个单元,而接收侧模块 1602至少包括如图 9-11所示的各个单元。
另外, 参见图 16b, 上述第一主控单元和第二主控单元可以合并为主 控单元 bl, 第一接收单元和第二接收单元可以合并为接收单元 b2, 第一 自恢复单元和第二自恢复单元可以合并为自恢复单元 b3。
与上述既可以作为发送侧, 也可以作为接收侧的数据传输设备相对 应, 本发明实施例同时还提供了一种数据传输系统, 该系统包括至少一个 如图 16a或 16b所示的数据传输设备。
另外, 需要说明的是, 在本发明他实施例中, 上述发送侧设备、 发送 侧数据传输设备 1501或发送侧模块 1601的全部(或部分)功能, 可通过 ASIC (集成电路) 、 FPGA (现场可编程门阵列) 等实现。 当然, 接收侧设 备、 接收侧数据传输设备 1502或接收侧模块 1602的全部 (或部分 )功能 也可通过 ASIC、 FPGA等实现。
以 ASIC为例, 参见图 17, 上层控制系统可包括参数设置单元 12、 釆 样点调整单元 13和误码记录单元 14,而作为发送侧的 ASIC中还可包括测 试码流发生单元 15 (以产生测试码流) , 作为接收侧的 ASIC中还可包括 误码检测单元 16。 在进行釆样窗口宽度扫描时, 由釆样点调整单元 13设 置接收侧的釆样点位置, 在对每一釆样点进行误码检测时, 待稳定后 (以 时间来确定是否稳定, Is后即意味着到达稳定) , 对误码检测单元 16清 0 , 并开始计时, 测试达预设时长 (比如 I s ) 后, 读取误码检测单元 16 的误码个数。 误码为 G的连续釆样点个数就是釆样窗口宽度。
当然, 参数设置单元 12、 釆样点调整单元 1 3和误码记录单元 14的功 能也可集成于接收侧的 AS I C中, 在此不作赘述。
本说明书中各个实施例釆用递进的方式描述, 每个实施例重点说明的 都是与其他实施例的不同之处, 各个实施例之间相同相似部分互相参见即 可。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬 件、 处理器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于 随机存储器 (RAM ) 、 内存、 只读存储器 (ROM ) 、 电可编程 R0M、 电可擦 除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公 知的任意其它形式的存储介质中。
对所公开的实施例的上述说明, 使本领域专业技术人员能够实现或使 用本发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显 而易见的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的 情况下, 在其它实施例中实现。 因此, 本发明将不会被限制于本文所示的 这些实施例, 而是要符合与本文所公开的原理和新颖特点相一致的最宽的 范围。

Claims

权 利 要 求 书
1、 一种数据传输方法, 其特征在于, 用于与发送侧进行数据交互, 所述方法包括:
S l、 接收发送侧发送的数据, 所述数据包括重传数据或包含校验位的 非重传数据;
52、 对接收到的数据进行校验检测, 判断是否检测出错误数据, 如果 是, 转步骤 S 3 , 否则, 返回步骤 S 1 ;
53、 丟弃所述错误数据以及后续接收到的非重传数据, 向发送侧发送 数据重传请求, 并统计误码率;
54、 判断所述误码率是否满足第一预设条件, 如果是, 则转步骤 S 1 , 如果否转步骤 S5 , 所述第一预设条件为小于预设误码率阔值;
55、 配合所述发送侧基于不同的补偿参数组合传输测试码流来进行链 路自恢复, 如链路自恢复成功, 返回步骤 S 1 , 如链路自恢复失败, 退出; 所述补偿参数组合包括接收侧补偿参数和发送侧加重参数;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。
1、 如权利要求 1所述的方法, 其特征在于:
所述步骤 S 5具体包括:
551、 接收侧停止接收数据, 进入中断, 以便上层控制系统响应中断、 判断出链路异常, 并通过中断的方式通知链路的发送侧停止发送数据;
552、 进行至少一次短时间测试, 所述短时间测试包括基于接收侧补 偿参数接收测试码流并进行釆样窗口宽度扫描, 所述测试码流是发送侧基 于发送侧加重参数发送的, 每一次短时间测试所基于的接收侧补偿参数和 发送侧加重参数的组合均不同; S 5 3、 在满足第二预设条件时, 进行至少一次长时间误码率测试得到 长时间误码率, 每次长时间误码率测试包括接收侧基于釆样窗口宽度值满 足第三预设条件的短时间测试所对应的接收侧补偿参数, 接收发送侧基于 同一短时间测试中对应的发送侧加重参数所发送的测试码流;
S 54、 判断是否存在满足所述第一预设条件的长时间误码率, 如果是, 转步骤 S 55 , 否则退出;
S 5 5、 确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗口的 中央位置, 返回步骤 S 1 ;
所述链路自恢复接收侧补偿参数与发送侧的链路自恢复发送侧加重 参数相对应, 所述链路自恢复接收侧补偿参数与链路自恢复发送侧加重参 数分别为长时间误码率满足所述第一预设条件的同一长时间误码率 'J试 中所釆用的接收侧补偿参数和发送侧加重参数。
3、 如权利要求 2所述的方法, 其特征在于, 所述第二预设条件包括: 釆样窗口宽度值满足第三预设条件的短时间 'J试所对应的短时间误码率 中存在满足第一预设条件的短时间误码率。
4、 如权利要求 1或 3所述的方法, 其特征在于, 所述长时间误码率 满足所述第一预设条件的同一长时间误码率测试中所釆用的接收侧补偿 参数和发送侧加重参数具体为:
长时间误码率满足所述第一预设条件, 并且釆样窗口宽度值最大的同 一长时间误码率测试中所釆用的接收侧补偿参数和发送侧加重参数。
5、 如权利要求 1 -4 任一项所述的方法, 其特征在于, 所述釆样窗口 宽度扫描包括:
对每一釆样点进行误码检测;
将误码为 G的连续釆样点的个数作为釆样窗口宽度。
6、 如权利要求 1 -5 任一项所述的方法, 其特征在于, 在退出后还包 括:
切换至其他通信正常的数据链路。 7、 如权利要求 1 所述的方法, 其特征在于, 所述发送侧至少设有重 传緩冲区和第二计数器, 所述接收侧设有第五计数器和第六计数器, 所述 重传緩冲区深度为 M;
所述第五计数器从 0到 M-1循环递增计数;
所述第六计数器从 0到 N循环递增计数, 所述 N为正整数; 所述第二计数器、 第五计数器和第六计数器中的当前计数值分别记为 rdptr . eseq和 Numack;
所述步骤 S2具体包括:
S2 依次对接收到的数据进行校验检测, 判断是否接收到一个无误 数据, 如果是, 转步骤 S22, 否则转步骤 S25;
522、 ^夺所述 Numack和 eseq分另力口 1;
523、 判断所述 N画 ack是否从 N跳变到 0, 如果是, 转步骤 S24, 否 则转步骤 S1;
524、 向发送侧发送 ACK 包以通知发送侧正确接收到 N+1个数据, 转 步骤 S1;
525、 对所述 Numack和 eseq均不加 1, 转步骤 S3;
所述步骤 S3具体包括:
S 31、 丟弃错误数据以及后续接收到的非重传数据;
532、 将携带 eseq的数据重传请求发送给发送侧, 以便所述发送侧提 取出 eseq, 将 eseq作为所述 rdptr, 将所述 rdptr指向的数据作为重传 数据发送给接收侧;
533、 统计误码率, 转步骤 S4。
8、 一种数据传输方法, 其特征在于, 用于与接收侧进行数据交互, 所述方法包括:
执行第一发送操作;
在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 配合所 述接收侧基于不同的补偿参数组合传输测试码流来进行链路自恢复, 如链 路自恢复成功, 则继续执行所述第一发送操作, 如链路自恢复失败退出; 所述补偿参数组合包括接收侧补偿参数和发送侧加重参数;
所述第一发送操作包括在未接收到数据重传请求时向接收侧发送包 含校验位的非重传数据, 以及, 在接收到数据重传请求并且未接收到上层 控制系统和 /或发送侧停止发送数据的通知时, 发送重传数据; 所述数据 重传请求是所述接收侧在检测出接收到错误数据时发出, 所述通知是在接 收侧检测出接收到错误数据并且判断出误码率不满足第一预设条件时进 行的, 所述误码率是在所述接收侧检测出接收到错误数据并丟弃所述错误 数据以及后续接收到的非重传数据时统计的, 所述第一预设条件为小于预 设误码率阔值;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。
9、 如权利要求 8所述的方法, 其特征在于, 所述 "进行链路自恢复, 如自恢复成功, 则继续执行所述第一发送操作, 如链路自恢复失败退出" 具体包括:
根据上层控制系统和 /或发送侧的通知停止执行所述第一操作; 进行至少一次短时间测试, 所述短时间测试包括基于发送侧加重参数 发送测试码流, 以便所述接收侧基于接收侧补偿参数接收所述测试码流并 进行釆样窗口宽度扫描, 每一次短时间测试所基于的接收侧补偿参数和发 送侧加重参数的组合均不同;
在满足第二预设条件时, 进行至少一次长时间误码率测试, 每次长时 间误码率测试包括基于釆样窗口宽度值满足第三预设条件的短时间 'J试 所对应的发送侧加重参数发送测试码流, 以便所述接收侧基于同一短时间 测试所对应的接收侧补偿参数接收所述测试码流; 在接收侧或所述上层控制系统判断出存在满足所述第一预设条件的 长时间误码率时, 确定链路自恢复发送侧补偿参数, 继续执行所述第一操 作;
在接收侧或所述上层控制系统判断出不存在满足所述第一预设条件 的长时间误码率时退出;
所述链路自恢复发送侧补偿参数与接收侧的链路自恢复接收侧加重 参数相对应, 所述链路自恢复发送侧补偿参数与链路自恢复接收侧加重参 数分别为长时间误码率满足所述第一预设条件的同一长时间误码率 'J试 中所釆用的发送侧补偿参数和接收侧加重参数。
10、 如权利要求 8或 9所述的方法, 其特征在于, 在退出后还包括: 切换至其他通信正常的数据链路。
11、 如权利要求 8所述的方法, 其特征在于, 所述发送侧至少设有重 传緩冲区、 第一计数器和第二计数器, 所述接收侧设有第五计数器和第六 计数器, 所述重传緩冲区深度为 M;
所述第一计数器从 0到 M-1循环递增计数;
所述第五计数器从 0到 M-1循环递增计数, 每当接收到一个无误数据 或接收到重传数据包时所述第五计数器加 1;
所述第六计数器从 0到 N循环递增计数, 每当接收到一个无误数据时 所述第六计数器加 1, 所述 N为正整数;
所述第一计数器、 第二计数器、 第五计数器和第六计数器中的当前值 分另 己为 wrptr、 rdptr . eseq和 Numack;
所述向接收侧发送包含校验位的非重传数据具体包括:
每向接收侧发送一个非重传数据并备份写到重传緩冲区后, 将 wrptr 加 1, 并且, 根据接收到的 ACK包释放重传緩冲区中的 N+1个空间, 所述 ACK包是所述接收侧在 Numack从 N跳变到 0时发送的;
所述发送重传数据具体包括:
保持 wrptr不变,从携带 eseq的所述数据重传请求中提取出所述 eseq 作为 rdp t r , 将所述 rdpt r指向的数据作为重传数据发送给接收侧。
12、 一种数据传输设备, 其特征在于, 用于与发送侧进行数据交互, 所述数据传输设备包括第一接收单元、 检验单元、 数据重传请求单元、 第 一自恢复单元, 以及第一主控单元;
所述第一主控单元用于:
指示所述第一接收单元执行第一接收操作, 所述第一接收操作包括接 收所述发送侧发送的数据, 所述数据包括重传数据或包含校验位的非重传 数据;
指示所述检验单元对接收到的数据进行校验检测;
在所述检验单元未检测出错误数据时, 指示所述第一接收单元继续执 行所述第一接收操作;
或者, 在所述检验单元检测出错误数据时:
指示所述数据重传请求单元丟弃所述错误数据以及后续接收到的非 重传数据, 向发送侧发送数据重传请求, 并统计误码率;
判断所述误码率是否满足第一预设条件, 如果是, 指示所述第一接收 单元继续执行所述第一接收操作, 否则, 指示所述第一自恢复单元配合所 述发送侧基于不同的补偿参数组合传输测试码流来进行链路自恢复, 所述 第一预设条件为小于预设误码率阈值, 所述补偿参数组合包括接收侧补偿 参数和发送侧加重参数;
在链路自恢复成功时, 指示所述第一接收单元继续执行所述第一接收 操作, 或者, 在链路自恢复失败时指示所有单元退出;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。
13、 如权利要求 12 所述的设备, 其特征在于, 所述第一自恢复单元 包括第一中断单元、 第一短时间测试单元、 第一长时间误码率测试单元和 第一确定单元;
所述第一中断单元用于, 指示所述第一接收单元停止执行所述第一接 收操作进入中断, 以便上层控制系统响应中断、 判断出链路异常, 并通过 中断的方式通知链路的发送侧停止发送数据;
所述第一短时间测试单元用于, 进行至少一次短时间测试, 所述短时 间测试包括基于接收侧补偿参数接收发送侧发送的测试码流并进行釆样 窗口宽度扫描, 所述测试码流是发送侧基于发送侧加重参数发送的, 每一 次短时间测试所基于的接收侧补偿参数和发送侧加重参数的组合均不同; 所述第一长时间误码率测试单元用于, 在满足第二预设条件时, 进行 至少一次长时间误码率测试得到长时间误码率, 每次长时间误码率测试包 括接收侧基于釆样窗口宽度值满足第三预设条件的短时间 'J试所对应的 接收侧补偿参数, 接收发送侧基于同一短时间测试中对应的发送侧加重参 数所发送的测试码流;
所述第一确定单元用于, 在存在满足所述第一预设条件的长时间误码 率时, 确定链路自恢复接收侧补偿参数, 将釆样点调整到釆样窗口的中央 位置;
所述链路自恢复接收侧补偿参数与发送侧的链路自恢复发送侧加重 参数相对应, 所述链路自恢复接收侧补偿参数与链路自恢复发送侧加重参 数分别为长时间误码率满足所述第一预设条件的同一长时间误码率 'J试 中所釆用的接收侧补偿参数和发送侧加重参数。
14、 如权利要求 1 2或 1 3所述的设备, 其特征在于, 还包括: 第一切换单元, 用于在所有单元退出后, 切换至其他通信正常的数据 链路。
15、 一种数据传输设备, 其特征在于, 用于与接收侧进行数据交互, 所述数据传输设备包括第一发送单元、 第二自恢复单元, 以及第二主控单 元;
所述第二主控单元用于:
指示所述第一发送单元执行第一发送操作;
在接收到上层控制系统和 /或发送侧停止发送数据的通知时, 指示所 述第二自恢复单元配合所述接收侧基于不同的补偿参数组合传输测试码 流来进行链路自恢复, 所述补偿参数组合包括接收侧补偿参数和发送侧加 重参数;
在链路自恢复成功时, 指示所述第一发送单元继续执行所述第一发送 操作, 或者, 在链路自恢复失败时, 指示所有单元退出;
所述第一发送操作包括在未接收到数据重传请求时向接收侧发送包 含校验位的非重传数据, 以及, 在接收到数据重传请求并且未接收到上层 控制系统和 /或发送侧停止发送数据的通知时, 发送重传数据; 所述数据 重传请求是所述接收侧在检测出接收到错误数据时发出, 所述通知是在接 收侧检测出接收到错误数据并且判断出误码率不满足第一预设条件时进 行的, 所述误码率是在所述接收侧检测出接收到错误数据并丟弃所述错误 数据以及后续接收到的非重传数据时统计的, 所述第一预设条件为小于预 设误码率阔值;
所述链路自恢复成功是根据存在传输测试码流的误码率满足所述第 一预设条件的补偿参数组合而判断得出, 所述链路自恢复失败是根据不存 在传输测试码流的误码率满足所述第一预设条件的补偿参数组合而判断 得出。
16、 如权利要求 15 所述的设备, 其特征在于, 所述第二自恢复单元 包括第二中断单元、 第二短时间测试单元、 第二长时间误码率测试单元和 第二确定单元;
第二中断单元用于, 指示所述第一发送单元停止执行所述第一发送操 作;
第二短时间测试单元用于, 进行至少一次短时间测试, 所述短时间测 试包括基于发送侧加重参数发送测试码流, 以便所述接收侧基于接收侧补 偿参数接收所述测试码流并进行釆样窗口宽度扫描, 每一次短时间测试所 基于的接收侧补偿参数和发送侧加重参数的组合均不同;
第二短时间测试单元用于, 在满足第二预设条件时, 进行至少一次长 时间误码率测试得到长时间误码率, 每次长时间误码率测试包括基于釆样 窗口宽度值满足第三预设条件的短时间测试所对应的发送侧加重参数发 送的测试码流, 以便所述接收侧基于同一短时间测试所对应的接收侧补偿 参数接收所述 'J试码流;
第二长时间误码率测试单元用于, 在满足第二预设条件时, 进行至少 一次长时间误码率测试, 每次长时间误码率测试包括基于釆样窗口宽度值 满足第三预设条件的短时间测试所对应的发送侧加重参数发送测试码流, 以便所述接收侧基于同一短时间测试所对应的接收侧补偿参数接收所述 测试码流;
第二确定单元用于, 在接收侧或所述上层控制系统判断出存在满足所 述第一预设条件的长时间误码率时, 确定链路自恢复发送侧补偿参数; 所述链路自恢复发送侧补偿参数与接收侧的链路自恢复接收侧加重 参数相对应, 所述链路自恢复发送侧补偿参数与链路自恢复接收侧加重参 数分别为长时间误码率满足所述第一预设条件的同一长时间误码率 'J试 中所釆用的发送侧补偿参数和接收侧加重参数。
17、 如权利要求 1 5或 1 6所述的设备, 其特征在于, 还包括: 第二切换单元, 用于在所有单元退出后, 切换至其他通信正常的数据 链路。
18、一种数据传输设备, 其特征在于, 包括发送侧模块和接收侧模块, 所述发送侧模块至少包括如权利要求 15 中所述的各个单元, 所述接收模 块至少包括如权利要求 12中所述的各个单元。 19、 一种数据传输系统, 其特征在于, 包括发送侧数据传输设备和接 收侧数据传输设备, 所述发送侧数据传输设备至少包括如权利要求 15 中 所述的各个单元, 所述接收侧数据传输设备至少包括如权利要求 12 中所 述的各个单元。
20、 一种数据传输系统, 其特征在于, 包括至少一个如权利要求 18 所述的数据传输设备。
PCT/CN2012/083180 2012-04-11 2012-10-19 数据传输方法、设备及系统 WO2013152585A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/502,326 US9148264B2 (en) 2012-04-11 2014-09-30 Data transmission method, device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210104821.0 2012-04-11
CN201210104821.0A CN102629898B (zh) 2012-04-11 2012-04-11 数据传输方法、设备及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/502,326 Continuation US9148264B2 (en) 2012-04-11 2014-09-30 Data transmission method, device and system

Publications (1)

Publication Number Publication Date
WO2013152585A1 true WO2013152585A1 (zh) 2013-10-17

Family

ID=46588061

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083180 WO2013152585A1 (zh) 2012-04-11 2012-10-19 数据传输方法、设备及系统

Country Status (3)

Country Link
US (1) US9148264B2 (zh)
CN (1) CN102629898B (zh)
WO (1) WO2013152585A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629898B (zh) 2012-04-11 2014-12-10 华为技术有限公司 数据传输方法、设备及系统
EP2711864A1 (en) * 2012-09-25 2014-03-26 Gemalto SA Method of configuring two wireless devices for mutual communication
CN103178936A (zh) * 2013-03-14 2013-06-26 深圳市力同亚太科技有限公司 数字对讲机接收误码率测试方法、误码率测试装置及系统
CN104301121A (zh) * 2013-07-19 2015-01-21 中兴通讯股份有限公司 一种控制方法、装置及光收发器
CN106464380B (zh) * 2014-04-18 2019-09-20 华为技术有限公司 互连系统、装置和数据传输方法
CN104518914B (zh) * 2014-12-17 2018-03-02 华为技术有限公司 链路切换方法和设备
US9632862B2 (en) * 2014-12-20 2017-04-25 Intel Corporation Error handling in transactional buffered memory
CN104980316B (zh) * 2015-06-16 2018-07-24 硅谷数模半导体(北京)有限公司 数据链路监测方法及装置
CN105487057A (zh) * 2015-12-21 2016-04-13 潘小胜 一种车载多普勒雷达定位系统误差识别装置
CN106921464B (zh) * 2015-12-25 2020-08-14 中国移动通信集团公司 一种信息调整方法和装置
CN107528631B (zh) * 2017-08-31 2019-12-10 武汉虹信通信技术有限责任公司 基于数字光纤分布系统的链路误码检测诊断方法及装置
US11476899B2 (en) * 2019-04-18 2022-10-18 Huawei Technologies Co., Ltd. Uplink multi-user equipment (UE) cooperative transmission
CN110618900B (zh) * 2019-09-06 2020-07-10 广芯微电子(广州)股份有限公司 一种uart数据传输方法
US10826536B1 (en) * 2019-10-03 2020-11-03 International Business Machines Corporation Inter-chip data transmission system using single-ended transceivers
CN110958078B (zh) * 2019-11-01 2022-06-24 南通先进通信技术研究院有限公司 一种面向高损链路的低时延流码分组传输方法
CN113780753A (zh) * 2021-08-20 2021-12-10 深圳市广和通无线股份有限公司 数据处理方法、装置、计算机设备以及存储介质
CN116132329B (zh) * 2023-04-10 2023-06-20 龙迅半导体(合肥)股份有限公司 一种均衡器参数测试方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422032A (zh) * 2001-11-28 2003-06-04 华为技术有限公司 一种混合自动重传方法
CN1441577A (zh) * 2003-04-15 2003-09-10 北京润光泰力科技发展有限公司 一种反向复用器电路层的保护与恢复的方法和装置
US6646987B1 (en) * 1998-10-05 2003-11-11 Nortel Networks Limited Method and system for transmission control protocol (TCP) packet loss recovery over a wireless link
CN101656603A (zh) * 2009-09-15 2010-02-24 中国人民解放军国防科学技术大学 采用重传和编码协商实现数据传输的方法、装置及系统
CN102629898A (zh) * 2012-04-11 2012-08-08 华为技术有限公司 数据传输方法、设备及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4730313A (en) * 1986-08-18 1988-03-08 Racal Data Communications Inc. Access circuit diagnostics for integrated services digital network
US5467341A (en) * 1994-04-14 1995-11-14 Toshiba America Information Systems, Inc. Apparatus and method for alerting computer users in a wireless LAN of a service area transition
JP2746183B2 (ja) * 1995-04-04 1998-04-28 日本電気株式会社 多重アクセス方法
JP4642617B2 (ja) * 2005-09-16 2011-03-02 シャープ株式会社 受信機器、電子装置、通信方法、通信プログラム、および記録媒体
US7856051B2 (en) * 2007-01-16 2010-12-21 Research In Motion Limited Apparatus, and associated method, for selecting whether to reject as invalid a data segment received at a communication station
CN101578822B (zh) * 2007-01-25 2012-01-11 株式会社日立制作所 无线通信系统及无线通信系统中的组播数据的分发方法
US20090010643A1 (en) * 2007-07-06 2009-01-08 Delew David A Method and apparatus for identifying faults in a passive optical network
WO2009035096A1 (ja) * 2007-09-12 2009-03-19 Nec Corporation 通信システム、送信装置、誤り訂正符号再送方法、通信プログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6646987B1 (en) * 1998-10-05 2003-11-11 Nortel Networks Limited Method and system for transmission control protocol (TCP) packet loss recovery over a wireless link
CN1422032A (zh) * 2001-11-28 2003-06-04 华为技术有限公司 一种混合自动重传方法
CN1441577A (zh) * 2003-04-15 2003-09-10 北京润光泰力科技发展有限公司 一种反向复用器电路层的保护与恢复的方法和装置
CN101656603A (zh) * 2009-09-15 2010-02-24 中国人民解放军国防科学技术大学 采用重传和编码协商实现数据传输的方法、装置及系统
CN102629898A (zh) * 2012-04-11 2012-08-08 华为技术有限公司 数据传输方法、设备及系统

Also Published As

Publication number Publication date
CN102629898A (zh) 2012-08-08
US9148264B2 (en) 2015-09-29
US20150026527A1 (en) 2015-01-22
CN102629898B (zh) 2014-12-10

Similar Documents

Publication Publication Date Title
WO2013152585A1 (zh) 数据传输方法、设备及系统
EP1424799B1 (en) System and method for detecting lost messages transmitted between modules in a communication device
EP2197140A2 (en) Retransmission communication apparatus and communication method
US8386901B2 (en) Method, device and software application for transmitting data packets in a communication system
CN109347598B (zh) 校验码处理方法、电子设备及存储介质
CN109981385B (zh) 一种实现丢包检测的方法、装置和系统
CN113132063B (zh) 一种物理层重传控制方法
JP2015027100A (ja) パケット通信の伝送制御方法及びパケット通信システム
WO2013097642A1 (zh) 快速通道互联系统中数据包重传方法、节点
US20090222705A1 (en) Data processor system and a method for communication data
CN117220837A (zh) 一种数据传输方法、存储介质及设备
CN102104463A (zh) 数据报文请求重传方法及装置
CN107483148B (zh) 差错处理方法及装置
CN103199954A (zh) 发送/接收系统和方法
US10516789B2 (en) Information processing apparatus and image processing apparatus that perform transmission and reception of data, and method of controlling information processing apparatus
KR101562309B1 (ko) 복수의 통신 선로를 통해 데이터 재전송을 수행하는 일방향 데이터 송신/수신 장치 및 그것을 이용하는 데이터 전송 방법
CN101278514A (zh) 用于纠错和选择性重传的方法、设备和系统
RU2450466C1 (ru) Способ передачи информации по каналам связи и система для его осуществления
WO2002093820A1 (fr) Procede de communication, dispositif de transmission, dispositif de reception, et systeme de communication equipe de ces dispositifs
CN112751730B (zh) 抗丢包引入时延的统计方法、评估方法、装置、设备及介质
US20120287772A1 (en) Method for performing serial transport communication, and associated device
JP2007201927A (ja) エラーレート推定装置
JP6330541B2 (ja) データ送受信システム、データ送信装置、データ送受信システムの制御方法
Bansal et al. Analysis of Sliding Window Protocol for Connected Node
US20020162071A1 (en) Forward error control of redundantly-transmitted codewords

Legal Events

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

Ref document number: 12874080

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12874080

Country of ref document: EP

Kind code of ref document: A1