WO2016192112A1 - Method and apparatus for processing high-speed serial signal - Google Patents

Method and apparatus for processing high-speed serial signal Download PDF

Info

Publication number
WO2016192112A1
WO2016192112A1 PCT/CN2015/080929 CN2015080929W WO2016192112A1 WO 2016192112 A1 WO2016192112 A1 WO 2016192112A1 CN 2015080929 W CN2015080929 W CN 2015080929W WO 2016192112 A1 WO2016192112 A1 WO 2016192112A1
Authority
WO
WIPO (PCT)
Prior art keywords
control information
receiving end
data stream
packet
speed serial
Prior art date
Application number
PCT/CN2015/080929
Other languages
French (fr)
Chinese (zh)
Inventor
薛建林
何智
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580001250.XA priority Critical patent/CN106797357B/en
Priority to PCT/CN2015/080929 priority patent/WO2016192112A1/en
Publication of WO2016192112A1 publication Critical patent/WO2016192112A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems

Definitions

  • the present invention relates to the field of serial communication technologies, and in particular, to a method and an apparatus for processing a high speed serial signal.
  • High-speed serial communication technology generally refers to a serial communication technology in which the data transmission rate reaches a prescribed rate (for example, 6.25 Gbps).
  • the Serializer/Deserializer (SerDes) technology is a point-to-point high-speed serial communication technology that has received extensive attention in the communications industry.
  • Serdes technology multiple low-speed parallel signals are first converted into high-speed serial signals by a serializer.
  • the high-speed serial signals are transmitted to the deserializer via a serial channel (for example, a high-speed cable or a printed circuit board backplane).
  • the deserializer reconverts the received high speed serial signal into a low speed parallel signal.
  • the equalization technique is used to process the high-speed serial signal, which can be implemented by using a forward forward equalizer (Feed Forward Equalization) (ie, "FFE”) in the deserializer (ie, pre-emphasis processing of the high-speed serial signal). It can also be implemented by using a Decision Feedback Equalizer (“DFE”) in the deserializer (that is, adaptive equalization processing on high-speed serial signals).
  • FFE forward forward equalizer
  • DFE Decision Feedback Equalizer
  • the FFE scale when used to process the high-speed serial signal transmitted by the serializer, it can only be performed before the high-speed serial communication is established between the transmitting end and the receiving end. If the serial channel condition changes due to temperature, aging, etc. during high-speed serial communication, the transmission loss of the high-speed serial signal through the serial channel will also change, if the transmission loss of the high-speed serial signal Exceeding the adjustment range of the DFE equalizer will result in packet loss or even service interruption.
  • Embodiments of the present invention provide a high-speed serial signal processing method and apparatus, which can solve the problem that only a DFE equalizer can be used to process transmission loss of a high-speed serial signal after establishing high-speed serial communication, and when a serial channel condition is used Changes have caused the transmission loss of high-speed serial signals to exceed DFE equalization When the scope of the adjustment capability of the device is affected, the quality of the service transmission is affected.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for processing a high-speed serial signal, which is executed by a receiving end, and the method includes:
  • the high-speed serial signal is pre-emphasized according to the acquired control information.
  • the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
  • the acquiring the control information in the data stream includes:
  • the acquiring the control information in the data stream includes:
  • the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap.
  • control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust an equalization state of the receiving end.
  • an embodiment of the present invention provides a method for processing a high-speed serial signal, which is executed by a transmitting end, and the method includes:
  • the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
  • an embodiment of the present invention provides a high-speed serial signal processing apparatus, which is disposed in a receiving end, where the apparatus includes:
  • a receiving module configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
  • An obtaining module configured to acquire control information in the data stream
  • a processing module configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  • the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
  • the acquiring module includes:
  • a message processing unit configured to parse each of the plurality of packets to obtain a preamble of each of the packets
  • a packet obtaining unit configured to obtain a packet whose preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
  • control information acquiring unit configured to acquire the control information from the obtained control message
  • the packet processing unit is further configured to parse each of the plurality of packets to obtain a virtual local area network Vlan label of each of the packets;
  • the packet obtaining unit is further configured to obtain a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is controlled.
  • the control information acquiring unit is further configured to acquire the control information from the obtained control message.
  • the data stream includes a service packet and a free space between adjacent service packets.
  • the service data is carried in the service packet, and the control information is carried in the idle gap.
  • control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust an equalization state of the receiving end.
  • an embodiment of the present invention provides a high-speed serial signal processing apparatus, which is disposed in a transmitting end, where the apparatus includes:
  • a generating module configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
  • a sending module configured to send the data stream to the receiving end.
  • the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
  • an embodiment of the present invention provides a high-speed serial signal processing apparatus, where the apparatus includes:
  • a processor a memory, a bus, and a communication interface; the memory for storing computer execution instructions, the processor being coupled to the memory via the bus, the processor executing the memory storage when the computer is running
  • the computer executes instructions to cause the computer to perform the method as described in the first aspect above.
  • an embodiment of the present invention provides a high-speed serial signal processing apparatus, where the apparatus includes:
  • a processor a memory, a bus, and a communication interface; the memory for storing computer execution instructions, the processor being coupled to the memory via the bus, the processor executing the memory storage when the computer is running
  • the computer executes instructions to cause the computer to perform the method of the second aspect described above.
  • the control information is used to indicate The receiving end performs pre-emphasis processing on the high-speed serial signal sent by the receiving end; then acquires control information in the data stream; and finally performs pre-emphasis processing on the high-speed serial signal according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for processing a high speed serial signal according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for processing a high speed serial signal according to Embodiment 2 of the present invention.
  • FIG. 4 is an interaction diagram of a method for processing a high speed serial signal according to Embodiment 3 of the present invention.
  • FIG. 5 is an interaction diagram of a method for processing a high speed serial signal according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 6 of the present invention.
  • FIG. 8 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 7 of the present invention.
  • Embodiment 8 of the present invention is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 8 of the present invention.
  • FIG. 10 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 9 of the present invention.
  • FIG. 11 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 10 of the present invention.
  • the network architecture includes: a receiving end 1 and a transmitting end 2, and both the receiving end 1 and the transmitting end 2 are communication devices for high-speed serial communication, and at least one pair of strings can be passed between the receiving end 1 and the transmitting end 2.
  • the channel 3 is connected.
  • the receiving end 1 and the transmitting end 2 may be terminal devices or integrated circuit chips, and the serial channel 3 may be a high speed cable or a printed circuit board backplane.
  • the receiving end 1 includes a serializer 11 for transmitting a high-speed serial signal, a deserializer 12 for receiving a high-speed serial signal, a processor 13, an interpolator 14, and a splitter 15, respectively.
  • the serializer 11 and the processor 13 are electrically connected, and the splitter 15 is electrically connected to the deserializer 12 and the processor 13, respectively.
  • the interpolator 14 is configured to carry control information in the data stream and transmit it through the serializer 11.
  • the separator 15 is used to separate the control information from the data stream received by the deserializer 12.
  • the serializer 11 includes an FFE equalizer 111 for pre-emphasizing the transmitted high speed serial signal
  • the deserializer 12 includes a DFE equalizer 121 for adaptive frequency compensation adjustment of the received high speed serial signal.
  • the FFE equalizer 111 and the DFE equalizer 121 are both electrically coupled to the processor 13, and the processor 13 is configured to control the FFE equalizer 111 and the DFE equalizer 121 to process the high speed serial signal according to the control information separated by the splitter 15. .
  • both the interposer 14 and the splitter 15 can be implemented by hardware circuitry.
  • the transmitting end 2 is a communication device having the same structure as the receiving end 1, the serializer 11 of the receiving end 1 and the deserializer 12 of the transmitting end 2 are connected by a serial channel 3, and the serializer 11 and the receiving end of the transmitting end 2
  • the deserializer 12 of 1 is also connected through a serial channel 3.
  • both the receiving end 1 and the transmitting end 2 may include a plurality of pairs of serializers 11 and a deserializer 12, each pair of serializers 11 and deserializers 12 in the receiving end 1 and a pair in the transmitting end 2
  • the deserializer 12 and the serializer 11 are connected by a pair of serial channels 3.
  • the receiving end 1 and the transmitting end 2 are communication devices having the same structure, and the functions are also the same. They are not substantially different. In the embodiment, the receiving end can be sent in other embodiments. end.
  • the embodiment of the invention provides a method for processing a high-speed serial signal, which is executed by a receiving end.
  • the method includes:
  • Step S11 Receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • control information may be carried in the control message (see Embodiment 3). In another implementation manner, the control information may be carried in the idle interval (see Embodiment 4).
  • control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end.
  • the control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
  • Step S12 Acquire control information in the data stream.
  • Step S13 performing high-speed serial signal pre-emphasis processing according to the acquired control information.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the invention provides a method for processing a high-speed serial signal, which is executed by a transmitting end.
  • the method includes:
  • Step S21 Generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • control information may be carried in the control message (see Embodiment 3). In another implementation manner, the control information may be carried in the idle interval (see Embodiment 4).
  • control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end.
  • the control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
  • step S22 the data stream is sent to the receiving end.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the present invention provides a high-speed serial signal processing method, which is applicable to a high-speed cable or a printed circuit board backplane for transmitting an Ethernet message or the like.
  • the control information is carried in the control report.
  • the control packet has different identifiers from the service packets used to carry the service data, for example, different preambles or different virtual local area network (VLAN) labels.
  • VLAN virtual local area network
  • Step S31 The sending end generates a data stream, and carries a handshake message in the data stream, where the handshake message is used to verify whether the receiving end can identify the control message.
  • the data stream includes a plurality of service packets for carrying the service data, and the control packet carrying the handshake message in the data stream is inserted between the service packets.
  • this step S31 can be implemented by the inserter in FIG.
  • control information is carried in the control message.
  • the sending end Before the sending end sends the control message to the receiving end, it needs to verify whether the receiving end can identify the control message. If the receiving end can identify the control message, the sending end The control message carrying the control information is sent to the receiving end.
  • the handshake message may be carried in a packet (that is, a control packet) in which the preamble is a preset preamble, or the handshake message may be carried in a packet with a preset Vlan label, preset.
  • the preamble is different from the preamble of the service packet.
  • the preset Vlan label is different from the Vlan label of the service packet.
  • the receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
  • Step S32 the sending end sends a data stream carrying the handshake message to the receiving end.
  • the transmitting end sends a data stream to the receiving end through the serializer.
  • Step S33 The receiving end sends a response message to the sending end, where the response message is used to indicate that the receiving end can identify the control message.
  • the receiving end when the receiving end can obtain the handshake message carried in the data stream, the receiving end can identify the control message and obtain the information therein, that is, the control packet carries the control information, and the receiving end sends the control information to the sending end. Send a response message. It is easy to know that if the receiving end cannot obtain the handshake message carried in the data stream, the response message will not be sent to the sender. Similarly, the response message may be carried in a data stream sent by the receiving end to the transmitting end.
  • Step S34 The receiving end sends an identifier to the transmitting end, where the identifier is used by the sending end to be carried in the control message.
  • the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message.
  • the incoming control message is sent by the sender.
  • the identifier may be carried in the response message sent by the receiving end to the sending end, or may be carried by a separate message.
  • Step S35 The transmitting end sends a data stream carrying control information to the receiving end, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the sending end after receiving the response message sent by the receiving end, the sending end carries the control information in the data stream and sends the control information to the receiving end.
  • the sending end may insert the control message carrying the control information into the service packet of the data stream by using the inserter. That is, the data stream includes a plurality of packets, and the plurality of packets include service packets carrying service data and control packets carrying control information.
  • the control packet carrying the control information may be a packet with a preset preamble, or may also be a packet with a preset Vlan label.
  • the control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end.
  • the control information may include: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
  • step S36 the receiving end acquires control information in the data stream.
  • step S36 when the carrying control information is a packet with a preset preamble, the foregoing step S36 can be implemented as follows:
  • the control information is obtained from the obtained control message.
  • each packet of the data stream is transmitted in a frame structure on the Ethernet.
  • the preset preamble may be AAAAAAAAAAAAD5, that is, the preamble of the control packet is set to AAAAAAAAAAAAD5, and the service report may also be
  • the preamble of the text is set to 55555555555D5, so that the splitter at the receiving end can conveniently separate the control message from the data stream and transmit it to the processor to obtain the control information carried in the control message.
  • step S36 when the control information is a packet with a preset Vlan label, the foregoing step S36 can be implemented as follows:
  • the Vlan label is a preset Vlan label
  • the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet.
  • the control information is obtained from the obtained control message.
  • the Vlan label can be set in the control packet, and the Vlan label in the control packet can be identified by the splitter, so that the control packet can be conveniently separated from the data stream.
  • the Vlan tag can be set between the "Source Access Control Layer (“MAC") Address” and “Category/Length Field (Type/Len)” in the data frame of the Ethernet message. .
  • step S37 the receiving end performs pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  • the receiving end sends the obtained control information to the FFE equalizer of the receiving end, and after receiving the control information, the FFE equalizer can re-adjust the pre-emphasis parameter according to the control information, and then re-send the receiving end.
  • the high-speed serial signal is pre-emphasized.
  • the control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end.
  • the adjustment instruction is used to instruct the receiving end to adjust the pre-emphasis parameter of the FFE equalizer to re-emphasize the high-speed serial signal sent by the receiving end; the equalizing state of the transmitting end refers to using the equalization technique.
  • the EFE equalizer state of the transmitting end refers to the adjusting capability range of the DFE equalizer of the transmitting end when adjusting by the equalization technique.
  • the processor at the receiving end also acquires the equalization state of the FFE equalizer at the receiving end and the adjustment capability range of the FFE equalizer at the receiving end.
  • the processor at the receiving end first determines whether the execution of the adjustment instruction exceeds the adjustment capability range of the receiving end FFE equalizer. If the processor determines that the received adjustment command is executed, it will exceed the receiving end FFE. The range of the equalizer's adjustment capability, the processor will not execute the received adjustment command; if it is determined that the adjustment capability range of the receiver FFE equalizer is not exceeded, the processor executes the received adjustment command.
  • the equalization state of the FFE equalizer on the receiving end is +3, the adjustment capability of the FFE equalizer on the receiving end is -10 to +10, and the adjustment command indicates that the equalization state of the FFE equalizer is increased by 3, and then the FFE is executed after the adjustment instruction is executed.
  • the equalizer's equalization state is +6, which does not exceed the adjustment range of the FFE equalizer.
  • the processor at the receiving end executes the adjustment command.
  • the receiving end receives the adjustment command to indicate the adjustment made by the receiving end, and does not exceed the adjustment capability range of the receiving end FFE equalizer, the receiving end is based on the equalizing state of the DFE equalizer of the transmitting end and the adjusting capability of the DFE equalizer of the transmitting end. Range, it is judged whether the transmission loss of the high-speed serial signal after re-emphasis processing exceeds the adjustment capability range of the DFE equalizer of the transmitting end when transmitting to the transmitting end. If the judgment exceeds the adjustment capability range of the DFE equalizer on the transmitting end, the receiving end instructs the transmitting end to continue to send the control message. If the judgment does not exceed the adjustment capability range of the DFE equalizer of the transmitting end, the receiving end instructs the transmitting end to stop sending the control. Message.
  • the processor at the receiving end also acquires the equalization state of the DFE equalizer at the receiving end and the adjustment capability range of the DFE equalizer at the receiving end in real time, and detects the high-speed serial signal sent by the transmitting end when receiving the data stream sent by the transmitting end. Whether the transmission loss exceeds the adjustment capability range of the DFE equalizer at the receiving end. If it exceeds, the receiving end will according to the transmission loss condition of the high-speed serial signal, the adjustment capability range of the receiving DFE equalizer, and the DFE equalizer of the receiving end.
  • the balance state generates control information, and the generated control information is carried in the control message and sent to the transmitting end.
  • the receiving end and the transmitting end are devices having the same structure and function.
  • the receiving end can perform the functions of the sending end in the foregoing steps S31 to S37, and the transmitting end can perform the above steps S31 to S37.
  • the function of the receiving end is not limited here.
  • the method described in this embodiment is applicable to, but not limited to, the SerDes technology.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the present invention provides a high-speed serial signal processing method, which is applicable to a high-speed cable or a printed circuit board backplane for transmitting an Ethernet packet or the like.
  • the control information is carried in the data stream.
  • the gap between the business messages is in the gap. Referring to Figure 5, the method includes:
  • Step S41 The transmitting end generates a data stream, where the data stream carries service data and control information, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap.
  • the service packets in the data stream are time-interval in the transmission process, and the idle gap is used to fill in the time intervals so that the data flow remains uninterrupted.
  • the idle gap can also be used to carry the control information.
  • the frame gap includes a minimum frame gap (including 12 characters), and the minimum frame gap can be used to carry control information. Specifically, the first 3 characters and the last 3 characters of the 12 characters can be reserved. Select the middle 6 characters to carry the control information.
  • the receiving end and the transmitting end perform link negotiation before establishing high-speed serial communication to determine a transmission rate, a transmission bandwidth, and the like between the transmitting end and the receiving end.
  • the sender and the receiver also negotiate whether the idle gap can be used to carry the control information.
  • the transmitting end and the receiving end respectively detect whether they have the function of carrying control information in the idle gap and whether the function is enabled, and interactively detect the result to determine whether the idle gap is used to carry the control information.
  • step S42 the transmitting end sends a data stream to the receiving end.
  • the sending end before transmitting the control information in the idle gap, the sending end sends a handshake message to the receiving end, where the handshake message is used to verify whether the receiving end can identify the control information in the idle gap, and the handshake message is carried in the data.
  • the idle gap of the stream If the receiving end can recognize the handshake message, it indicates that the receiving end can recognize the control information in the idle gap.
  • the response message is sent to the sending end, and the response message is also carried in the idle gap of the data stream sent by the receiving end to the sending end.
  • Step S43 After receiving the data stream, the receiving end acquires control information in the data stream.
  • the processor parses the idle gap in the data stream to obtain control information carried in the idle gap.
  • Step S44 the receiving end performs pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  • control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
  • the process of performing the pre-emphasis processing on the transmitted high-speed serial signal is the same as that in the third embodiment, and details are not described herein again.
  • the receiving end and the transmitting end are devices having the same structure and function.
  • the receiving end can perform the functions of the sending end in the foregoing steps S41 to S44, and the transmitting end can perform the above steps S41 to S44.
  • the function of the receiving end is not limited here.
  • the method described in this embodiment is applicable to, but not limited to, the SerDes technology.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the present invention provides a high-speed serial signal processing device, which can be disposed in a receiving end, and is suitable for implementing the method provided in Embodiment 1.
  • the device includes: a receiving module 401, an obtaining module 402, and Processing module 403.
  • the receiving module 401 is configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the obtaining module 402 is configured to acquire control information in the data stream.
  • the processing module 403 is configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the present invention provides a high-speed serial signal processing device, which can be disposed in the receiving end, and is suitable for implementing the methods provided in Embodiments 1, 3, and 4.
  • the device includes: a receiving module 501, The module 502 is acquired, and the processing module 503.
  • the receiving module 501 is configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the obtaining module 502 is configured to acquire control information in the data stream.
  • the processing module 503 is configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  • the receiving module 501 can be a deserializer
  • the obtaining module 502 can be a splitter and a processor
  • the processing module 503 can be a deserializer
  • the data stream includes a plurality of packets, and the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control packet.
  • the obtaining module 502 includes: a message processing unit 512, a message acquiring unit 522, and a control information acquiring unit 532.
  • the message processing unit 512 is configured to parse each of the plurality of packets to obtain a preamble of each packet.
  • the packet obtaining unit 522 is configured to obtain a packet in which the preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet.
  • the control information acquiring unit 532 is configured to obtain control information from the obtained control message.
  • each packet of the data stream is transmitted in a frame structure in the Ethernet, and the preset The preamble can be AAAAAAAAAAAAD5, that is, the preamble of the control packet is set to AAAAAAAAAAAAD5, and the preamble of the service packet can also be set to 55555555555555D5, so that the splitter at the receiving end can conveniently separate the control packet from the data stream. And transmit it to the processor to obtain the control information carried in the control message.
  • the packet processing unit 512 is further configured to parse each of the plurality of packets to obtain a Vlan tag of each packet.
  • the packet obtaining unit 522 is further configured to obtain a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet.
  • the control information acquiring unit 532 is further configured to acquire control information from the acquired control message.
  • the Vlan label can be set in the control packet, and the Vlan label in the control packet can be identified by the splitter, so that the control packet can be conveniently separated from the data stream.
  • the Vlan tag can be set between the "send source MAC address" and the "category/length field (Type/Len)" in the data frame of the Ethernet message.
  • the message processing unit 512 and the message obtaining unit 522 may be splitters.
  • the data stream further carries a handshake message, where the handshake message is used to verify whether the receiving end can identify the control message.
  • the obtaining module 502 is further configured to acquire a handshake message in the data stream.
  • the device also includes:
  • the sending module 504 is configured to send a response message to the sending end, where the response message is used to indicate that the receiving end can identify the control message.
  • the handshake message may be carried in a packet (that is, a control packet) in which the preamble is a preset preamble, or the handshake message may be carried in a packet having a preset Vlan label.
  • the preamble is different from the preamble of the service packet.
  • the preset Vlan label is different from the Vlan label of the service packet.
  • the receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
  • the sending module 504 can be a deserializer.
  • the sending module 504 is further configured to send an identifier to the sending end, where the identifier is used by the sending end to be carried in each packet of the data stream.
  • the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message.
  • the incoming control message is sent by the sender.
  • the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap.
  • control information may be carried in the control message or in the idle gap.
  • the service packets in the data stream are time-interval in the transmission process, and the idle gap is used to fill in the time intervals so that the data flow remains uninterrupted.
  • the idle gap can also be used to carry the control information.
  • the frame gap includes a minimum frame gap (including 12 characters), and the minimum frame gap can be used to carry control information. Specifically, the first 3 characters and the last 3 characters of the 12 characters can be reserved. Select the middle 6 characters to carry the control information.
  • control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, and the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the invention provides a high-speed serial signal processing device, which can be set at the transmitting end
  • the method provided in the second embodiment is applicable.
  • the device includes: a generating module 601 and a sending module 602.
  • the generating module 601 is configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the sending module 602 is configured to send a data stream to the receiving end.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the embodiment of the present invention provides a high-speed serial signal processing apparatus, which can be disposed in a transmitting end, and is suitable for implementing the methods provided in Embodiments 2, 3, and 4.
  • the apparatus includes: a generating module 701 and Send module 702.
  • the generating module 701 is configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
  • the sending module 702 is configured to send a data stream to the receiving end.
  • the generation module 701 can be a processor and an inserter.
  • the transmitting module 702 can be a serializer.
  • the data stream includes a plurality of packets, and the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control packet.
  • the data stream also carries a handshake message, and the handshake message is used to verify whether the receiving end can identify the control message.
  • the device Before transmitting the control message, the device further includes: a receiving module 703.
  • the receiving module 703 is configured to receive a response message sent by the receiving end, where the response message is used to indicate that the receiving end can identify the control message.
  • the handshake message may be carried in a packet whose preamble is a preset preamble (ie, In the control packet, the handshake message may be carried in the packet with the preset Vlan label.
  • the preset preamble is different from the preamble of the service packet, and the preset Vlan label and the Vlan label of the service packet are different.
  • the receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
  • the receiving module 703 can be a deserializer.
  • the receiving module 703 is further configured to receive an identifier sent by the receiving end.
  • the sending module 702 is further configured to carry the identifier in the control packet and send the signal to the sending end.
  • the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message.
  • the incoming control message is sent by the sender.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • An embodiment of the present invention provides a high-speed serial signal processing apparatus.
  • the apparatus includes a processor 801, a memory 802, a bus 803, and a communication interface 804.
  • the memory 802 is used to store computer execution instructions
  • the processor 801 is connected to the memory 802 via a bus 803.
  • the processor 801 executes the computer execution instructions stored in the memory 802, so that the computer executes the first embodiment.
  • Embodiment 3 The method performed by the receiving end in Embodiment 4.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • This causes high-speed serialization when serial channel conditions change during high-speed serial communication.
  • the receiving end can obtain the control information from the data stream in real time to pre-emphasize the high-speed serial signal sent by the receiving end, so that the DFE equalizer of the transmitting end can be adjusted.
  • the ability is sufficient to adjust the received high-speed serial signal, which not only ensures the transmission quality of high-speed serial signals, but also ensures the reliability of service data transmission.
  • the embodiment of the present invention provides a high-speed serial signal processing apparatus.
  • the apparatus includes a processor 901, a memory 902, a bus 903, and a communication interface 904.
  • the memory 902 is used to store computer execution instructions
  • the processor 901 is connected to the memory 902 via a bus 903.
  • the processor 901 executes the computer execution instructions stored in the memory 902, so that the computer executes the second embodiment.
  • Embodiment 3 The method performed by the transmitting end in Embodiment 4.
  • the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information.
  • the receiving end can obtain the control information from the data stream in real time.
  • the high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service.
  • the reliability of data transmission is pre-emphasized.
  • the processing method of the high-speed serial signal is only exemplified by the division of each functional module, and in actual application, the above-mentioned The function assignment is done by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the processing device of the high-speed serial signal provided by the above embodiment is the same as the embodiment of the method for processing the high-speed serial signal. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The embodiments of the present invention belonging to the technical field of series communications provide a method and apparatus for processing high-speed serial signal. The method comprises: receiving a data stream transmitted by a transmission end, and the data stream carries service data and control information which is used for instructing a receiving end to process the high-speed serial signal transmitted by the receiving end; obtaining the control information in the data stream; processing the high-speed serial signal according to the obtained control information. During the high-speed series communication in the embodiments of present invention, with the control information obtained from the data stream, the high-speed serial signal transmitted by the receiving end can be processed in real time. When the change of a serial channel state makes the transmission loss of the high-speed serial signal exceed the range of adjusting capability of a DFE equalizer, the high-speed serial signal transmitted by the receiving end can be processed in real time to ensure the transmission quality of the high-speed serial signal and to further ensure the reliability of service data transmission.

Description

高速串行信号的处理方法和装置High-speed serial signal processing method and device 技术领域Technical field
本发明涉及串行通信技术领域,特别涉及一种高速串行信号的处理方法和装置。The present invention relates to the field of serial communication technologies, and in particular, to a method and an apparatus for processing a high speed serial signal.
背景技术Background technique
高速串行通信技术通常是指数据传输速率达到规定速率(例如6.25Gbps)以上的串行通信技术。串行器/解串器(Serializer/Deserializer,简称“SerDes”)技术是一种在通信行业受到了广泛关注的点对点的高速串行通信技术。在Serdes技术中,先由串行器将多路低速并行信号转换成高速串行信号,该高速串行信号经过串行信道(例如:高速线缆或者印制电路板背板)传输至解串器,最后由解串器将接收到的高速串行信号重新转换成低速并行信号。High-speed serial communication technology generally refers to a serial communication technology in which the data transmission rate reaches a prescribed rate (for example, 6.25 Gbps). The Serializer/Deserializer (SerDes) technology is a point-to-point high-speed serial communication technology that has received extensive attention in the communications industry. In Serdes technology, multiple low-speed parallel signals are first converted into high-speed serial signals by a serializer. The high-speed serial signals are transmitted to the deserializer via a serial channel (for example, a high-speed cable or a printed circuit board backplane). Finally, the deserializer reconverts the received high speed serial signal into a low speed parallel signal.
在利用SerDes技术进行高速串行通信的过程中,由于高速串行信号在传输过程中会发生传输损耗,为了保障高速串行信号的传输质量,需要采用均衡技术来对高速串行信号进行处理。具体地,采用均衡技术来对高速串行信号进行处理,可以利用解串器中的前向均衡器(Feed Forward Equaliztion,简称“FFE”)来实现(即对高速串行信号进行预加重处理),也可以利用解串器中的判决反馈均衡器(Decision Feedback Equalizer,简称“DFE”)来实现(即对高速串行信号进行自适应均衡处理)。In the process of high-speed serial communication using SerDes technology, transmission loss occurs in the transmission process of high-speed serial signals. In order to ensure the transmission quality of high-speed serial signals, an equalization technique is needed to process high-speed serial signals. Specifically, the equalization technique is used to process the high-speed serial signal, which can be implemented by using a forward forward equalizer (Feed Forward Equalization) (ie, "FFE") in the deserializer (ie, pre-emphasis processing of the high-speed serial signal). It can also be implemented by using a Decision Feedback Equalizer ("DFE") in the deserializer (that is, adaptive equalization processing on high-speed serial signals).
但是,利用FFE衡器来实现对串行器发送的高速串行信号进行处理时,只能在发送端和接收端建立高速串行通信之前进行。如果在高速串行通信过程中,由于温度、老化等因素,造成串行信道状况发生变化,高速串行信号经过串行信道的传输损耗也会随之发生变化,如果高速串行信号的传输损耗超出了DFE均衡器的调节能力范围,则会导致丢包甚至业务传输中断的情况出现。However, when the FFE scale is used to process the high-speed serial signal transmitted by the serializer, it can only be performed before the high-speed serial communication is established between the transmitting end and the receiving end. If the serial channel condition changes due to temperature, aging, etc. during high-speed serial communication, the transmission loss of the high-speed serial signal through the serial channel will also change, if the transmission loss of the high-speed serial signal Exceeding the adjustment range of the DFE equalizer will result in packet loss or even service interruption.
发明内容Summary of the invention
本发明实施例提供了一种高速串行信号的处理方法和装置,可以解决在建立高速串行通信之后,只能采用DFE均衡器来处理高速串行信号的传输损耗,而当串行信道状况发生变化,致使高速串行信号的传输损耗超出了DFE均衡 器的调节能力范围时,业务传输质量受到影响的问题。所述技术方案如下:Embodiments of the present invention provide a high-speed serial signal processing method and apparatus, which can solve the problem that only a DFE equalizer can be used to process transmission loss of a high-speed serial signal after establishing high-speed serial communication, and when a serial channel condition is used Changes have caused the transmission loss of high-speed serial signals to exceed DFE equalization When the scope of the adjustment capability of the device is affected, the quality of the service transmission is affected. The technical solution is as follows:
第一方面,本发明实施例提供了一种高速串行信号的处理方法,由接收端执行,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for processing a high-speed serial signal, which is executed by a receiving end, and the method includes:
接收发送端发送的数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示对所述接收端发送的高速串行信号进行预加重处理;Receiving a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to indicate pre-emphasis processing on the high-speed serial signal sent by the receiving end;
获取所述数据流中的控制信息;Obtaining control information in the data stream;
根据获取到的所述控制信息对高速串行信号进行预加重处理。The high-speed serial signal is pre-emphasized according to the acquired control information.
具体地,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。Specifically, the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
进一步地,所述获取所述数据流中的控制信息,包括:Further, the acquiring the control information in the data stream includes:
解析所述多个报文中的各个报文,得到各个所述报文的前导码;Parsing each of the plurality of packets to obtain a preamble of each of the packets;
获取所述多个报文中前导码为预设前导码的报文,所述预设前导码用于指示携带所述预设前导码的报文为控制报文;Obtaining, in the plurality of packets, a packet whose preamble is a preset preamble, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
从获取的所述控制报文中获取所述控制信息;Obtaining the control information from the obtained control message;
或者,所述获取所述数据流中的控制信息,包括:Or the acquiring the control information in the data stream includes:
解析所述多个报文中的各个报文,得到各个所述报文的虚拟局域网Vlan标签;Parsing each of the plurality of packets to obtain a virtual local area network Vlan label of each of the packets;
获取所述多个报文中Vlan标签为预设Vlan标签的报文,所述预设Vlan标签用于指示携带所述预设Vlan标签的报文为控制报文;Obtaining, in the plurality of packets, a packet whose Vlan label is a preset Vlan label, where the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet;
从获取的所述控制报文中获取所述控制信息。Obtaining the control information from the obtained control message.
具体地,所述数据流包括业务报文和位于相邻所述业务报文之间的空闲间隙,所述业务数据携带在所述业务报文中,所述控制信息携带在所述空闲间隙中。Specifically, the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap. .
进一步地,所述控制信息包括:调节指令、所述发送端的均衡状态、所述发送端的调节能力范围,所述调节指令用于指示所述接收端调节所述接收端的均衡状态。Further, the control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust an equalization state of the receiving end.
第二方面,本发明实施例提供了一种高速串行信号的处理方法,由发送端执行,所述方法包括:In a second aspect, an embodiment of the present invention provides a method for processing a high-speed serial signal, which is executed by a transmitting end, and the method includes:
生成数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用 于指示接收端对所述接收端发送的高速串行信号进行预加重处理;Generating a data stream, where the data stream carries service data and control information, and the control information is used Pre-emphasizing the high-speed serial signal sent by the receiving end to the receiving end;
向所述接收端发送所述数据流。Transmitting the data stream to the receiving end.
具体地,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。Specifically, the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
第三方面,本发明实施例提供了一种高速串行信号的处理装置,设置在接收端中,所述装置包括:In a third aspect, an embodiment of the present invention provides a high-speed serial signal processing apparatus, which is disposed in a receiving end, where the apparatus includes:
接收模块,用于接收发送端发送的数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示对所述接收端发送的高速串行信号进行预加重处理;a receiving module, configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
获取模块,用于获取所述数据流中的控制信息;An obtaining module, configured to acquire control information in the data stream;
处理模块,用于根据获取到的所述控制信息对高速串行信号进行预加重处理。And a processing module, configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
具体地,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。Specifically, the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
进一步地,所述获取模块,包括:Further, the acquiring module includes:
报文处理单元,用于解析所述多个报文中的各个报文,得到各个所述报文的前导码;a message processing unit, configured to parse each of the plurality of packets to obtain a preamble of each of the packets;
报文获取单元,用于获取所述多个报文中前导码为预设前导码的报文,所述预设前导码用于指示携带所述预设前导码的报文为控制报文;a packet obtaining unit, configured to obtain a packet whose preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
控制信息获取单元,用于从获取的所述控制报文中获取所述控制信息;a control information acquiring unit, configured to acquire the control information from the obtained control message;
所述报文处理单元,还用于解析所述多个报文中的各个报文,得到各个所述报文的虚拟局域网Vlan标签;The packet processing unit is further configured to parse each of the plurality of packets to obtain a virtual local area network Vlan label of each of the packets;
所述报文获取单元,还用于获取所述多个报文中Vlan标签为预设Vlan标签的报文,所述预设Vlan标签用于指示携带所述预设Vlan标签的报文为控制报文;The packet obtaining unit is further configured to obtain a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is controlled. Message
所述控制信息获取单元,还用于从获取的所述控制报文中获取所述控制信息。The control information acquiring unit is further configured to acquire the control information from the obtained control message.
具体地,所述数据流包括业务报文和位于相邻所述业务报文之间的空闲间 隙,所述业务数据携带在所述业务报文中,所述控制信息携带在所述空闲间隙中。Specifically, the data stream includes a service packet and a free space between adjacent service packets. The service data is carried in the service packet, and the control information is carried in the idle gap.
进一步地,所述控制信息包括:调节指令、所述发送端的均衡状态、所述发送端的调节能力范围,所述调节指令用于指示所述接收端调节所述接收端的均衡状态。Further, the control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust an equalization state of the receiving end.
第四方面,本发明实施例提供了一种高速串行信号的处理装置,设置在发送端中,所述装置包括:In a fourth aspect, an embodiment of the present invention provides a high-speed serial signal processing apparatus, which is disposed in a transmitting end, where the apparatus includes:
生成模块,用于生成数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示接收端对所述接收端发送的高速串行信号进行预加重处理;a generating module, configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
发送模块,用于向所述接收端发送所述数据流。And a sending module, configured to send the data stream to the receiving end.
具体地,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。Specifically, the data stream includes a plurality of packets, where the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control In the message.
第五方面,本发明实施例提供了一种高速串行信号的处理装置,所述装置包括:In a fifth aspect, an embodiment of the present invention provides a high-speed serial signal processing apparatus, where the apparatus includes:
处理器、存储器、总线和通信接口;所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算机运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算机执行如上述第一方面所述的方法。a processor, a memory, a bus, and a communication interface; the memory for storing computer execution instructions, the processor being coupled to the memory via the bus, the processor executing the memory storage when the computer is running The computer executes instructions to cause the computer to perform the method as described in the first aspect above.
第六方面,本发明实施例提供了一种高速串行信号的处理装置,所述装置包括:In a sixth aspect, an embodiment of the present invention provides a high-speed serial signal processing apparatus, where the apparatus includes:
处理器、存储器、总线和通信接口;所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算机运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算机执行如上述第二方面所述的方法。a processor, a memory, a bus, and a communication interface; the memory for storing computer execution instructions, the processor being coupled to the memory via the bus, the processor executing the memory storage when the computer is running The computer executes instructions to cause the computer to perform the method of the second aspect described above.
本发明实施例提供的技术方案的有益效果是:The beneficial effects of the technical solutions provided by the embodiments of the present invention are:
通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示 接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。Receiving the data stream carrying the control information sent by the sending end, the control information is used to indicate The receiving end performs pre-emphasis processing on the high-speed serial signal sent by the receiving end; then acquires control information in the data stream; and finally performs pre-emphasis processing on the high-speed serial signal according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
图2是本发明实施例一提供的一种高速串行信号的处理方法的流程图;2 is a flowchart of a method for processing a high speed serial signal according to Embodiment 1 of the present invention;
图3是本发明实施例二提供的一种高速串行信号的处理方法的流程图;3 is a flowchart of a method for processing a high speed serial signal according to Embodiment 2 of the present invention;
图4是本发明实施例三提供的一种高速串行信号的处理方法的交互图;4 is an interaction diagram of a method for processing a high speed serial signal according to Embodiment 3 of the present invention;
图5是本发明实施例四提供的一种高速串行信号的处理方法的交互图;5 is an interaction diagram of a method for processing a high speed serial signal according to Embodiment 4 of the present invention;
图6是本发明实施例五提供的一种高速串行信号的处理装置的结构示意图;6 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 5 of the present invention;
图7是本发明实施例六提供的一种高速串行信号的处理装置的结构示意图;7 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 6 of the present invention;
图8是本发明实施例七提供的一种高速串行信号的处理装置的结构示意图;8 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 7 of the present invention;
图9是本发明实施例八提供的一种高速串行信号的处理装置的结构示意图;9 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 8 of the present invention;
图10是本发明实施例九提供的一种高速串行信号的处理装置的结构示意图;FIG. 10 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 9 of the present invention; FIG.
图11是本发明实施例十提供的一种高速串行信号的处理装置的结构示意图。 FIG. 11 is a schematic structural diagram of a high-speed serial signal processing apparatus according to Embodiment 10 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
为了便于理解本发明的方案,下面结合图1,简述一下本发明的网络架构。参见图1,该网络架构包括:接收端1和发送端2,接收端1和发送端2均为进行高速串行通信的通信设备,接收端1和发送端2之间可以通过至少一对串行信道3连通,在实际应用中,接收端1和发送端2可以为终端设备或者集成电路芯片,串行信道3可以为高速线缆或者印制电路板背板。In order to facilitate understanding of the solution of the present invention, the network architecture of the present invention will be briefly described below with reference to FIG. Referring to FIG. 1, the network architecture includes: a receiving end 1 and a transmitting end 2, and both the receiving end 1 and the transmitting end 2 are communication devices for high-speed serial communication, and at least one pair of strings can be passed between the receiving end 1 and the transmitting end 2. The channel 3 is connected. In practical applications, the receiving end 1 and the transmitting end 2 may be terminal devices or integrated circuit chips, and the serial channel 3 may be a high speed cable or a printed circuit board backplane.
其中,接收端1包括用于发送高速串行信号的串行器11、用于接收高速串行信号的解串器12、处理器13、插入器14、以及分离器15,插入器14分别与串行器11和处理器13电连接,分离器15分别与解串器12和处理器13电连接,具体地,插入器14用于将控制信息携带在数据流中,通过串行器11发送,而分离器15用于从解串器12接收到的数据流中分离出控制信息。串行器11包括用于对发送的高速串行信号进行预加重处理的FFE均衡器111,解串器12包括用于对接收到的高速串行信号进行自适应频率补偿调节的DFE均衡器121,FFE均衡器111和DFE均衡器121均与处理器13电连接,处理器13用于根据分离器15分离出的控制信息,控制FFE均衡器111和DFE均衡器121对高速串行信号进行处理。在实际应用中,插入器14和分离器15均可以由硬件电路实现。The receiving end 1 includes a serializer 11 for transmitting a high-speed serial signal, a deserializer 12 for receiving a high-speed serial signal, a processor 13, an interpolator 14, and a splitter 15, respectively The serializer 11 and the processor 13 are electrically connected, and the splitter 15 is electrically connected to the deserializer 12 and the processor 13, respectively. Specifically, the interpolator 14 is configured to carry control information in the data stream and transmit it through the serializer 11. The separator 15 is used to separate the control information from the data stream received by the deserializer 12. The serializer 11 includes an FFE equalizer 111 for pre-emphasizing the transmitted high speed serial signal, and the deserializer 12 includes a DFE equalizer 121 for adaptive frequency compensation adjustment of the received high speed serial signal. The FFE equalizer 111 and the DFE equalizer 121 are both electrically coupled to the processor 13, and the processor 13 is configured to control the FFE equalizer 111 and the DFE equalizer 121 to process the high speed serial signal according to the control information separated by the splitter 15. . In practical applications, both the interposer 14 and the splitter 15 can be implemented by hardware circuitry.
发送端2为与接收端1相同结构的通信设备,接收端1的串行器11与发送端2的解串器12通过一条串行信道3连通,发送端2的串行器11与接收端1的解串器12也通过一条串行信道3连通。在实际应用中,接收端1和发送端2均可以包括多对串行器11和解串器12,接收端1中的每对串行器11和解串器12均与发送端2中的一对解串器12和串行器11通过一对串行信道3连通。The transmitting end 2 is a communication device having the same structure as the receiving end 1, the serializer 11 of the receiving end 1 and the deserializer 12 of the transmitting end 2 are connected by a serial channel 3, and the serializer 11 and the receiving end of the transmitting end 2 The deserializer 12 of 1 is also connected through a serial channel 3. In practical applications, both the receiving end 1 and the transmitting end 2 may include a plurality of pairs of serializers 11 and a deserializer 12, each pair of serializers 11 and deserializers 12 in the receiving end 1 and a pair in the transmitting end 2 The deserializer 12 and the serializer 11 are connected by a pair of serial channels 3.
需要说明的是,接收端1和发送端2是具有相同结构的通信设备,实现的功能也相同,它们没有本质上的区别,在本实施例中的接收端,在其他实施例中可以为发送端。It should be noted that the receiving end 1 and the transmitting end 2 are communication devices having the same structure, and the functions are also the same. They are not substantially different. In the embodiment, the receiving end can be sent in other embodiments. end.
实施例一 Embodiment 1
本发明实施例提供了一种高速串行信号的处理方法,由接收端执行,参见图2,该方法包括: The embodiment of the invention provides a method for processing a high-speed serial signal, which is executed by a receiving end. Referring to FIG. 2, the method includes:
步骤S11,接收发送端发送的数据流,该数据流中携带有业务数据和控制信息,该控制信息用于指示对接收端发送的高速串行信号进行预加重处理。Step S11: Receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
在一种实现方式中,控制信息可以携带在控制报文中(见实施例三),在另一种实现方式中,控制信息可以携带在空闲间隙中(见实施例四)。In an implementation manner, the control information may be carried in the control message (see Embodiment 3). In another implementation manner, the control information may be carried in the idle interval (see Embodiment 4).
具体地,控制信息用于指示接收端的FFE均衡器对高速串行信号重新进行预加重处理,以补偿接收端发送的高速串行信号的传输损耗。该控制信息可以包括:调节指令、发送端的均衡状态、以及发送端的调节能力范围,调节指令用于指示接收端调节接收端的均衡状态。Specifically, the control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end. The control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
步骤S12,获取数据流中的控制信息。Step S12: Acquire control information in the data stream.
步骤S13,根据获取到的控制信息进行高速串行信号预加重处理。Step S13, performing high-speed serial signal pre-emphasis processing according to the acquired control information.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例二 Embodiment 2
本发明实施例提供了一种高速串行信号的处理方法,由发送端执行,参见图3,该方法包括:The embodiment of the invention provides a method for processing a high-speed serial signal, which is executed by a transmitting end. Referring to FIG. 3, the method includes:
步骤S21,生成数据流,该数据流中携带有业务数据和控制信息,控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理。Step S21: Generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
在一种实现方式中,控制信息可以携带在控制报文中(见实施例三),在另一种实现方式中,控制信息可以携带在空闲间隙中(见实施例四)。In an implementation manner, the control information may be carried in the control message (see Embodiment 3). In another implementation manner, the control information may be carried in the idle interval (see Embodiment 4).
具体地,控制信息用于指示接收端的FFE均衡器对高速串行信号重新进行预加重处理,以补偿接收端发送的高速串行信号的传输损耗。该控制信息可以包括:调节指令、发送端的均衡状态、以及发送端的调节能力范围,调节指令用于指示接收端调节接收端的均衡状态。Specifically, the control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end. The control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
步骤S22,向接收端发送数据流。 In step S22, the data stream is sent to the receiving end.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例三 Embodiment 3
本发明实施例提供了一种高速串行信号的处理方法,适用于传输以太报文或者类似报文的高速线缆或者印制电路板背板,在本实施例中,控制信息携带在控制报文中,控制报文与用于携带业务数据的业务报文具有不同的标识,例如具有不同的前导码或者不同的虚拟局域网(Virtual Local Area Network,简称“Vlan”)标签。参见图4,该方法包括:The embodiment of the present invention provides a high-speed serial signal processing method, which is applicable to a high-speed cable or a printed circuit board backplane for transmitting an Ethernet message or the like. In this embodiment, the control information is carried in the control report. In this document, the control packet has different identifiers from the service packets used to carry the service data, for example, different preambles or different virtual local area network (VLAN) labels. Referring to Figure 4, the method includes:
步骤S31,发送端生成数据流,并在数据流中携带握手消息,该握手消息用于验证接收端是否能识别控制报文。Step S31: The sending end generates a data stream, and carries a handshake message in the data stream, where the handshake message is used to verify whether the receiving end can identify the control message.
具体地,数据流中包括多个用于携带业务数据的业务报文,在数据流中携带握手消息即将承载握手消息的控制报文插在业务报文之间发送。实现时,该步骤S31可以通过图1中的插入器实现。Specifically, the data stream includes a plurality of service packets for carrying the service data, and the control packet carrying the handshake message in the data stream is inserted between the service packets. In implementation, this step S31 can be implemented by the inserter in FIG.
在本实施例中,控制信息携带在控制报文中,在发送端向接收端发送控制报文之前,需要先验证接收端能否识别控制报文,如果接收端能够识别控制报文,发送端才会向接收端发送携带有控制信息的控制报文。In this embodiment, the control information is carried in the control message. Before the sending end sends the control message to the receiving end, it needs to verify whether the receiving end can identify the control message. If the receiving end can identify the control message, the sending end The control message carrying the control information is sent to the receiving end.
可选地,该握手消息可以携带在前导码为预设的前导码的报文(即控制报文)中,或者该握手消息可以携带在具有预设的Vlan标签的报文中,预设的前导码与业务报文的前导码不同,预设的Vlan标签与业务报文的Vlan标签不同。接收端通过判断能否识别握手消息,可以验证接收端是否能识别控制报文。Optionally, the handshake message may be carried in a packet (that is, a control packet) in which the preamble is a preset preamble, or the handshake message may be carried in a packet with a preset Vlan label, preset. The preamble is different from the preamble of the service packet. The preset Vlan label is different from the Vlan label of the service packet. The receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
步骤S32,发送端向接收端发送携带有握手消息的数据流。Step S32, the sending end sends a data stream carrying the handshake message to the receiving end.
在本实施例中,发送端通过串行器向接收端发送数据流。In this embodiment, the transmitting end sends a data stream to the receiving end through the serializer.
步骤S33,接收端向发送端发送响应消息,该响应消息用于表示接收端能识别控制报文。 Step S33: The receiving end sends a response message to the sending end, where the response message is used to indicate that the receiving end can identify the control message.
具体地,当接收端能够获取数据流中携带的握手消息时,表示接收端能够识别控制报文并获取其中的信息,即支持采用控制报文携带控制信息,此时,接收端会向发送端发送响应消息。容易知道,若接收端不能获取数据流中携带的握手消息,则不会向发送端发送响应消息。同样的,该响应消息可以携带在接收端向发送端发送的数据流中发送。Specifically, when the receiving end can obtain the handshake message carried in the data stream, the receiving end can identify the control message and obtain the information therein, that is, the control packet carries the control information, and the receiving end sends the control information to the sending end. Send a response message. It is easy to know that if the receiving end cannot obtain the handshake message carried in the data stream, the response message will not be sent to the sender. Similarly, the response message may be carried in a data stream sent by the receiving end to the transmitting end.
步骤S34,接收端向发送端发送识别码,该识别码用于供发送端携带在控制报文中。Step S34: The receiving end sends an identifier to the transmitting end, where the identifier is used by the sending end to be carried in the control message.
需要说明的是,在实际高速串行通信的过程中,有一定几率,会出现错误或干扰消息掺进数据流中。在本实施例中,为了保障接收端接收控制报文的可靠性,接收端会向发送端分配识别码,该识别码用于供发送端携带在控制报文中,以使接收端能够识别接收到的控制报文为发送端发送。It should be noted that in the process of actual high-speed serial communication, there is a certain probability that errors or interference messages may be incorporated into the data stream. In this embodiment, in order to ensure the reliability of the receiving control message received by the receiving end, the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message. The incoming control message is sent by the sender.
可选的,识别码可以携带在接收端向发送端发送的响应消息中,也可以采用单独的消息携带。Optionally, the identifier may be carried in the response message sent by the receiving end to the sending end, or may be carried by a separate message.
步骤S35,发送端向接收端发送携带控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理。Step S35: The transmitting end sends a data stream carrying control information to the receiving end, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
具体地,当发送端收到接收端发送的响应消息后,就会将控制信息携带在数据流中,发送给接收端。发送端在向接收端发送控制信息时,可以利用插入器,将携带有控制信息的控制报文插入到数据流的业务报文中。也就是说,该数据流包括多个报文,多个报文包括携带业务数据的业务报文和携带控制信息的控制报文。如前所述,携带控制信息的控制报文可以为具有预设的前导码的报文中,或者也可以为具有预设的Vlan标签的报文。Specifically, after receiving the response message sent by the receiving end, the sending end carries the control information in the data stream and sends the control information to the receiving end. When the sending end sends the control information to the receiving end, the sending end may insert the control message carrying the control information into the service packet of the data stream by using the inserter. That is, the data stream includes a plurality of packets, and the plurality of packets include service packets carrying service data and control packets carrying control information. As described above, the control packet carrying the control information may be a packet with a preset preamble, or may also be a packet with a preset Vlan label.
其中,控制信息用于指示接收端的FFE均衡器对高速串行信号重新进行预加重处理,以补偿接收端发送的高速串行信号的传输损耗。具体地,该控制信息可以包括:调节指令、发送端的均衡状态、以及发送端的调节能力范围,调节指令用于指示接收端调节接收端的均衡状态。The control information is used to instruct the FFE equalizer of the receiving end to re-emphasize the high-speed serial signal to compensate for the transmission loss of the high-speed serial signal transmitted by the receiving end. Specifically, the control information may include: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
步骤S36,接收端获取数据流中的控制信息。In step S36, the receiving end acquires control information in the data stream.
具体地,当携带控制信息为具有预设的前导码的报文时,上述步骤S36可以通过如下方式实现:Specifically, when the carrying control information is a packet with a preset preamble, the foregoing step S36 can be implemented as follows:
解析多个报文中的各个报文,得到各个报文的前导码;Parsing each of the plurality of packets to obtain a preamble of each packet;
获取多个报文中前导码为预设前导码的报文,该预设前导码用于指示携带预设前导码的报文为控制报文; Obtaining a packet in which the preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
从获取的控制报文中获取控制信息。The control information is obtained from the obtained control message.
在本实施例中,数据流的各个报文在以太网中以帧结构形式传输,该预设的前导码可以为AAAAAAAAAAAAD5,即将控制报文的前导码设置为AAAAAAAAAAAAD5,同时,还可以将业务报文的前导码设置为55555555555555D5,这样接收端的分离器可以便捷将控制报文从数据流中分离出来,并将其传输至处理器,以获取控制报文中携带的控制信息。In this embodiment, each packet of the data stream is transmitted in a frame structure on the Ethernet. The preset preamble may be AAAAAAAAAAAAD5, that is, the preamble of the control packet is set to AAAAAAAAAAAAD5, and the service report may also be The preamble of the text is set to 55555555555555D5, so that the splitter at the receiving end can conveniently separate the control message from the data stream and transmit it to the processor to obtain the control information carried in the control message.
或者,当携带控制信息为具有预设的Vlan标签的报文时,上述步骤S36可以通过如下方式实现:Alternatively, when the control information is a packet with a preset Vlan label, the foregoing step S36 can be implemented as follows:
解析多个报文中的各个报文,得到各个报文的Vlan标签;Parsing each packet in multiple packets to obtain a Vlan label of each packet;
获取多个报文中Vlan标签为预设Vlan标签的报文,该预设Vlan标签用于指示携带预设Vlan标签的报文为控制报文;Obtaining a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet.
从获取的控制报文中获取控制信息。The control information is obtained from the obtained control message.
在本实施例中,可以在控制报文中设置Vlan标签,通过分离器识别控制报文中的Vlan标签,可以便捷的将控制报文从数据流中分离出来。在实际应用中,Vlan标签可以设置在以太报文的数据帧中“发送源媒介访问控制层(Media Access Control,简称“MAC”)地址”与“类别/长度域(Type/Len)”之间。In this embodiment, the Vlan label can be set in the control packet, and the Vlan label in the control packet can be identified by the splitter, so that the control packet can be conveniently separated from the data stream. In practical applications, the Vlan tag can be set between the "Source Access Control Layer ("MAC") Address" and "Category/Length Field (Type/Len)" in the data frame of the Ethernet message. .
步骤S37,接收端根据获取到的控制信息对高速串行信号进行预加重处理。In step S37, the receiving end performs pre-emphasis processing on the high-speed serial signal according to the acquired control information.
在本实施例中,接收端将获取到的控制信息发送至接收端的FFE均衡器,FFE均衡器在接收到控制信息后,可以根据控制信息对预加重参数进行重新调整,进而重新对接收端发送的高速串行信号的进行预加重处理。In this embodiment, the receiving end sends the obtained control information to the FFE equalizer of the receiving end, and after receiving the control information, the FFE equalizer can re-adjust the pre-emphasis parameter according to the control information, and then re-send the receiving end. The high-speed serial signal is pre-emphasized.
如前所述,该控制信息可以包括:调节指令、发送端的均衡状态、以及发送端的调节能力范围。在本实施例中,调节指令用于指示接收端调整其FFE均衡器的预加重参数,以对接收端发送的高速串行信号重新进行预加重处理;发送端的均衡状态是指在采用均衡技术进行调节时,发送端的DFE均衡器的均衡状态;发送端的调节能力范围是指在采用均衡技术进行调节时,发送端的DFE均衡器的调节能力范围。As described above, the control information may include: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end. In this embodiment, the adjustment instruction is used to instruct the receiving end to adjust the pre-emphasis parameter of the FFE equalizer to re-emphasize the high-speed serial signal sent by the receiving end; the equalizing state of the transmitting end refers to using the equalization technique. When adjusting, the EFE equalizer state of the transmitting end; the adjusting capability range of the transmitting end refers to the adjusting capability range of the DFE equalizer of the transmitting end when adjusting by the equalization technique.
在实际应用中,接收端的处理器还会实时获取接收端FFE均衡器的均衡状态、以及接收端FFE均衡器的调节能力范围。接收端的处理器在接收到控制信息中的调节指令时,会先判断执行该调节指令是否会超出接收端FFE均衡器的调节能力范围。如果处理器判断出执行接收到的调节指令,会超出接收端FFE 均衡器的调节能力范围,则处理器不会执行接收到的调节指令;如果判断不会超出接收端FFE均衡器的调节能力范围,则处理器执行接收到的调节指令。例如:接收端FFE均衡器的均衡状态为+3,接收端FFE均衡器的调节能力范围为-10至+10,调节指令指示FFE均衡器的均衡状态上调3,则执行该调节指令后,FFE均衡器的均衡状态为+6,没有超出FFE均衡器的调节能力范围,接收端的处理器会执行该调节指令。In practical applications, the processor at the receiving end also acquires the equalization state of the FFE equalizer at the receiving end and the adjustment capability range of the FFE equalizer at the receiving end. When receiving the adjustment instruction in the control information, the processor at the receiving end first determines whether the execution of the adjustment instruction exceeds the adjustment capability range of the receiving end FFE equalizer. If the processor determines that the received adjustment command is executed, it will exceed the receiving end FFE. The range of the equalizer's adjustment capability, the processor will not execute the received adjustment command; if it is determined that the adjustment capability range of the receiver FFE equalizer is not exceeded, the processor executes the received adjustment command. For example, the equalization state of the FFE equalizer on the receiving end is +3, the adjustment capability of the FFE equalizer on the receiving end is -10 to +10, and the adjustment command indicates that the equalization state of the FFE equalizer is increased by 3, and then the FFE is executed after the adjustment instruction is executed. The equalizer's equalization state is +6, which does not exceed the adjustment range of the FFE equalizer. The processor at the receiving end executes the adjustment command.
此外,如果接收端接收到调节指令指示接收端做出的调节,不超出接收端FFE均衡器的调节能力范围时,接收端根据发送端的DFE均衡器的均衡状态和发送端的DFE均衡器的调节能力范围,判断经过重新预加重处理的高速串行信号在传输至发送端时,其传输损耗是否会超出发送端DFE均衡器的调节能力范围。如果判断超出发送端DFE均衡器的调节能力范围,则接收端会指示发送端继续发送控制报文,如果判断不超出发送端DFE均衡器的调节能力范围,则接收端会指示发送端停止发送控制报文。In addition, if the receiving end receives the adjustment command to indicate the adjustment made by the receiving end, and does not exceed the adjustment capability range of the receiving end FFE equalizer, the receiving end is based on the equalizing state of the DFE equalizer of the transmitting end and the adjusting capability of the DFE equalizer of the transmitting end. Range, it is judged whether the transmission loss of the high-speed serial signal after re-emphasis processing exceeds the adjustment capability range of the DFE equalizer of the transmitting end when transmitting to the transmitting end. If the judgment exceeds the adjustment capability range of the DFE equalizer on the transmitting end, the receiving end instructs the transmitting end to continue to send the control message. If the judgment does not exceed the adjustment capability range of the DFE equalizer of the transmitting end, the receiving end instructs the transmitting end to stop sending the control. Message.
而且,接收端的处理器还会实时获取接收端的DFE均衡器的均衡状态和接收端的DFE均衡器的调节能力范围,在接收到发送端发送的数据流时,会检测发送端发送的高速串行信号的传输损耗是否超出接收端DFE均衡器的调节能力范围,如果超出,则接收端会根据上述高速串行信号的传输损耗情况、接收端DFE均衡器的调节能力范围、以及接收端DFE均衡器的均衡状态,生成控制信息,并将生长的控制信息携带在控制报文中,发送至发送端。Moreover, the processor at the receiving end also acquires the equalization state of the DFE equalizer at the receiving end and the adjustment capability range of the DFE equalizer at the receiving end in real time, and detects the high-speed serial signal sent by the transmitting end when receiving the data stream sent by the transmitting end. Whether the transmission loss exceeds the adjustment capability range of the DFE equalizer at the receiving end. If it exceeds, the receiving end will according to the transmission loss condition of the high-speed serial signal, the adjustment capability range of the receiving DFE equalizer, and the DFE equalizer of the receiving end. The balance state generates control information, and the generated control information is carried in the control message and sent to the transmitting end.
需要说明的是,接收端和发送端是具有相同结构和功能的设备,在其他实施例中国,接收端可以执行上述步骤S31至步骤S37中发送端的功能,发送端可以执行上述步骤S31至步骤S37中接收端的功能,这里不做限制。此外,本实施例所述的方法适用但不限于SerDes技术。It should be noted that the receiving end and the transmitting end are devices having the same structure and function. In other embodiments, the receiving end can perform the functions of the sending end in the foregoing steps S31 to S37, and the transmitting end can perform the above steps S31 to S37. The function of the receiving end is not limited here. Furthermore, the method described in this embodiment is applicable to, but not limited to, the SerDes technology.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。 In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例四Embodiment 4
本发明实施例提供了一种高速串行信号的处理方法,适用于传输以太报文或者类似报文的高速线缆或者印制电路板背板,在本实施例中,控制信息携带在数据流的业务报文之间的空闲间隙中。参见图5,该方法包括:The embodiment of the present invention provides a high-speed serial signal processing method, which is applicable to a high-speed cable or a printed circuit board backplane for transmitting an Ethernet packet or the like. In this embodiment, the control information is carried in the data stream. The gap between the business messages is in the gap. Referring to Figure 5, the method includes:
步骤S41,发送端生成数据流,该数据流中携带有业务数据和控制信息,控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理。Step S41: The transmitting end generates a data stream, where the data stream carries service data and control information, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
具体地,该数据流包括业务报文和位于相邻业务报文之间的空闲间隙,业务数据携带在业务报文中,控制信息携带在空闲间隙中。Specifically, the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap.
在本实施例中,数据流中的业务报文在传输过程中是存在时间间隔的,空闲间隙是用于填充在这些时间间隔中,以使数据流保持连续不中断。在数据流中,除了可以采用控制报文来携带控制信息外,还可以利用空闲间隙来携带控制信息。例如:接收端和发送端通过以太网进行通信时,发送端向接收端发送的数据流中的报文,会经过封装处理,以一帧一帧的形式进行传输,而帧与帧之间存有帧间隙,数据流中的空闲间隙可以为上述帧间隙。以太网中,上述帧间隙包括最小帧间隙(包含12个字符),可以利用该最小帧间隙来携带控制信息时,具体地,可以将12个字符中的前3个字符和后3个字符保留,选取中间的6个字符来携带控制信息。In this embodiment, the service packets in the data stream are time-interval in the transmission process, and the idle gap is used to fill in the time intervals so that the data flow remains uninterrupted. In the data stream, in addition to the control message to carry the control information, the idle gap can also be used to carry the control information. For example, when the receiving end and the transmitting end communicate via Ethernet, the packets in the data stream sent by the sending end to the receiving end are encapsulated and processed in the form of one frame and one frame, and the frame and the frame are stored. There is a frame gap, and the idle gap in the data stream may be the above frame gap. In the Ethernet, the frame gap includes a minimum frame gap (including 12 characters), and the minimum frame gap can be used to carry control information. Specifically, the first 3 characters and the last 3 characters of the 12 characters can be reserved. Select the middle 6 characters to carry the control information.
在实际应用中,接收端和发送端在建立高速串行通信之前,会进行链路协商,以确定发送端和接收端之间的传输速率、传输带宽等,而在本发明实施例中,在链路协商的过程中,发送端和接收端还会协商是否能够采用空闲间隙来携带控制信息。具体地,发送端和接收端会分别自行检测其是否具备在空闲间隙中携带控制信息的功能以及该功能是否开启,并交互检测结果,以确定是否采用空闲间隙来携带控制信息。In practical applications, the receiving end and the transmitting end perform link negotiation before establishing high-speed serial communication to determine a transmission rate, a transmission bandwidth, and the like between the transmitting end and the receiving end. In the embodiment of the present invention, During the negotiation of the link, the sender and the receiver also negotiate whether the idle gap can be used to carry the control information. Specifically, the transmitting end and the receiving end respectively detect whether they have the function of carrying control information in the idle gap and whether the function is enabled, and interactively detect the result to determine whether the idle gap is used to carry the control information.
步骤S42,发送端向接收端发送数据流。In step S42, the transmitting end sends a data stream to the receiving end.
在本实施例中,发送端在空闲间隙中携带控制信息之前,会先向接收端发送握手消息,该握手消息用于验证接收端是否能识别空闲间隙中的控制信息,该握手消息携带在数据流的空闲间隙中。如果接收端能够识别握手消息,则表明接收端能够识别空闲间隙中的控制信息。相应的,当接收端能够识别握手消息时,会向发送端发送响应消息,该响应消息同样携带在接收端发送给发送端的数据流的空闲间隙中。 In this embodiment, before transmitting the control information in the idle gap, the sending end sends a handshake message to the receiving end, where the handshake message is used to verify whether the receiving end can identify the control information in the idle gap, and the handshake message is carried in the data. The idle gap of the stream. If the receiving end can recognize the handshake message, it indicates that the receiving end can recognize the control information in the idle gap. Correspondingly, when the receiving end can identify the handshake message, the response message is sent to the sending end, and the response message is also carried in the idle gap of the data stream sent by the receiving end to the sending end.
步骤S43,接收端在接收到数据流后,获取该数据流中的控制信息。Step S43: After receiving the data stream, the receiving end acquires control information in the data stream.
在本实施例中,接收端在接收到数据流后,处理器解析数据流中的空闲间隙,得到空闲间隙携带的控制信息。In this embodiment, after receiving the data stream, the processor parses the idle gap in the data stream to obtain control information carried in the idle gap.
步骤S44,接收端根据获取到的控制信息对高速串行信号进行预加重处理。Step S44, the receiving end performs pre-emphasis processing on the high-speed serial signal according to the acquired control information.
具体地,该控制信息包括:调节指令、发送端的均衡状态、以及发送端的调节能力范围,调节指令用于指示接收端调节接收端的均衡状态。Specifically, the control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
本实施例中,接收端获取到控制信息后,对发送的高速串行信号进行预加重处理的过程与实施例三中一致,这里不再赘述。In the embodiment, after the receiving end obtains the control information, the process of performing the pre-emphasis processing on the transmitted high-speed serial signal is the same as that in the third embodiment, and details are not described herein again.
需要说明的是,接收端和发送端是具有相同结构和功能的设备,在其他实施例中国,接收端可以执行上述步骤S41至步骤S44中发送端的功能,发送端可以执行上述步骤S41至步骤S44中接收端的功能,这里不做限制。此外,本实施例所述的方法适用但不限于SerDes技术。It should be noted that the receiving end and the transmitting end are devices having the same structure and function. In other embodiments, the receiving end can perform the functions of the sending end in the foregoing steps S41 to S44, and the transmitting end can perform the above steps S41 to S44. The function of the receiving end is not limited here. Furthermore, the method described in this embodiment is applicable to, but not limited to, the SerDes technology.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例五Embodiment 5
本发明实施例提供了一种高速串行信号的处理装置,可以设置在接收端中,适用于实现实施例一提供的方法,参见图6,该装置包括:接收模块401、获取模块402、以及处理模块403。The embodiment of the present invention provides a high-speed serial signal processing device, which can be disposed in a receiving end, and is suitable for implementing the method provided in Embodiment 1. Referring to FIG. 6, the device includes: a receiving module 401, an obtaining module 402, and Processing module 403.
接收模块401,用于接收发送端发送的数据流,该数据流中携带有业务数据和控制信息,控制信息用于指示对接收端发送的高速串行信号进行预加重处理。The receiving module 401 is configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
获取模块402,用于获取数据流中的控制信息。The obtaining module 402 is configured to acquire control information in the data stream.
处理模块403,用于根据获取到的控制信息对高速串行信号进行预加重处理。 The processing module 403 is configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例六Embodiment 6
本发明实施例提供了一种高速串行信号的处理装置,可以设置在接收端中,适用于实现实施例一、三、以及四提供的方法,参见图7,该装置包括:接收模块501、获取模块502、以及处理模块503。The embodiment of the present invention provides a high-speed serial signal processing device, which can be disposed in the receiving end, and is suitable for implementing the methods provided in Embodiments 1, 3, and 4. Referring to FIG. 7, the device includes: a receiving module 501, The module 502 is acquired, and the processing module 503.
接收模块501,用于接收发送端发送的数据流,该数据流中携带有业务数据和控制信息,控制信息用于指示对接收端发送的高速串行信号进行预加重处理。The receiving module 501 is configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
获取模块502,用于获取数据流中的控制信息。The obtaining module 502 is configured to acquire control information in the data stream.
处理模块503,用于根据获取到的控制信息对高速串行信号进行预加重处理。The processing module 503 is configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
在实际应用中,接收模块501可以为解串器,获取模块502可以为分离器和处理器,处理模块503可以为解串器。In a practical application, the receiving module 501 can be a deserializer, the obtaining module 502 can be a splitter and a processor, and the processing module 503 can be a deserializer.
具体地,数据流包括多个报文,多个报文包括业务报文和控制报文,业务数据携带在业务报文中,控制信息携带在控制报文中。Specifically, the data stream includes a plurality of packets, and the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control packet.
进一步地,获取模块502包括:报文处理单元512、报文获取单元522、以及控制信息获取单元532。Further, the obtaining module 502 includes: a message processing unit 512, a message acquiring unit 522, and a control information acquiring unit 532.
报文处理单元512,用于解析多个报文中的各个报文,得到各个报文的前导码。The message processing unit 512 is configured to parse each of the plurality of packets to obtain a preamble of each packet.
报文获取单元522,用于获取多个报文中前导码为预设前导码的报文,预设前导码用于指示携带预设前导码的报文为控制报文。The packet obtaining unit 522 is configured to obtain a packet in which the preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet.
控制信息获取单元532,用于从获取到的控制报文中获取控制信息。The control information acquiring unit 532 is configured to obtain control information from the obtained control message.
在本实施例中,数据流的各个报文在以太网中以帧结构形式传输,该预设 的前导码可以为AAAAAAAAAAAAD5,即将控制报文的前导码设置为AAAAAAAAAAAAD5,同时,还可以将业务报文的前导码设置为55555555555555D5,这样接收端的分离器可以便捷将控制报文从数据流中分离出来,并将其传输至处理器,以获取控制报文中携带的控制信息。In this embodiment, each packet of the data stream is transmitted in a frame structure in the Ethernet, and the preset The preamble can be AAAAAAAAAAAAD5, that is, the preamble of the control packet is set to AAAAAAAAAAAAD5, and the preamble of the service packet can also be set to 55555555555555D5, so that the splitter at the receiving end can conveniently separate the control packet from the data stream. And transmit it to the processor to obtain the control information carried in the control message.
可选地,报文处理单元512,还用于解析多个报文中的各个报文,得到各个报文的Vlan标签。Optionally, the packet processing unit 512 is further configured to parse each of the plurality of packets to obtain a Vlan tag of each packet.
报文获取单元522,还用于获取多个报文中Vlan标签为预设Vlan标签的报文,预设Vlan标签用于指示携带预设Vlan标签的报文为控制报文。The packet obtaining unit 522 is further configured to obtain a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet.
控制信息获取单元532,还用于从获取的控制报文中获取控制信息。The control information acquiring unit 532 is further configured to acquire control information from the acquired control message.
在本实施例中,可以在控制报文中设置Vlan标签,通过分离器识别控制报文中的Vlan标签,可以便捷的将控制报文从数据流中分离出来。在实际应用中,Vlan标签可以设置在以太报文的数据帧中“发送源MAC地址”与“类别/长度域(Type/Len)”之间。In this embodiment, the Vlan label can be set in the control packet, and the Vlan label in the control packet can be identified by the splitter, so that the control packet can be conveniently separated from the data stream. In practical applications, the Vlan tag can be set between the "send source MAC address" and the "category/length field (Type/Len)" in the data frame of the Ethernet message.
在实际应用中,报文处理单元512和报文获取单元522可以为分离器。In practical applications, the message processing unit 512 and the message obtaining unit 522 may be splitters.
进一步地,数据流中还携带有握手消息,该握手消息用于验证接收端是否能识别控制报文。Further, the data stream further carries a handshake message, where the handshake message is used to verify whether the receiving end can identify the control message.
在接收控制报文之前,Before receiving the control message,
获取模块502,还用于获取数据流中的握手消息。The obtaining module 502 is further configured to acquire a handshake message in the data stream.
该装置还包括:The device also includes:
发送模块504,用于向发送端发送响应消息,响应消息用于表示接收端能识别控制报文。The sending module 504 is configured to send a response message to the sending end, where the response message is used to indicate that the receiving end can identify the control message.
在本实施例中,该握手消息可以携带在前导码为预设的前导码的报文(即控制报文)中,或者该握手消息可以携带在具有预设的Vlan标签的报文中,预设的前导码与业务报文的前导码不同,预设的Vlan标签与业务报文的Vlan标签不同。接收端通过判断能否识别握手消息,可以验证接收端是否能识别控制报文。In this embodiment, the handshake message may be carried in a packet (that is, a control packet) in which the preamble is a preset preamble, or the handshake message may be carried in a packet having a preset Vlan label. The preamble is different from the preamble of the service packet. The preset Vlan label is different from the Vlan label of the service packet. The receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
在实际应用中,发送模块504可以为解串器。In a practical application, the sending module 504 can be a deserializer.
进一步地,在发送响应消息之后,且在接收控制报文之前,Further, after transmitting the response message, and before receiving the control message,
发送模块504,还用于向发送端发送识别码,识别码用于供发送端携带在数据流的各个报文中。The sending module 504 is further configured to send an identifier to the sending end, where the identifier is used by the sending end to be carried in each packet of the data stream.
需要说明的是,在实际高速串行通信的过程中,有一定几率,会出现错误 或干扰消息掺进数据流中。在本实施例中,为了保障接收端接收控制报文的可靠性,接收端会向发送端分配识别码,该识别码用于供发送端携带在控制报文中,以使接收端能够识别接收到的控制报文为发送端发送。It should be noted that in the process of actual high-speed serial communication, there is a certain probability that an error will occur. Or interference messages are incorporated into the data stream. In this embodiment, in order to ensure the reliability of the receiving control message received by the receiving end, the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message. The incoming control message is sent by the sender.
具体地,数据流包括业务报文和位于相邻业务报文之间的空闲间隙,业务数据携带在业务报文中,控制信息携带在空闲间隙中。Specifically, the data stream includes a service packet and an idle gap between the adjacent service packets, where the service data is carried in the service packet, and the control information is carried in the idle gap.
在本实施例中,控制信息既可以携带在控制报文中,也可以携带空闲间隙中。In this embodiment, the control information may be carried in the control message or in the idle gap.
在本实施例中,数据流中的业务报文在传输过程中是存在时间间隔的,空闲间隙是用于填充在这些时间间隔中,以使数据流保持连续不中断。在数据流中,除了可以采用控制报文来携带控制信息外,还可以利用空闲间隙来携带控制信息。例如:接收端和发送端通过以太网进行通信时,发送端向接收端发送的数据流中的报文,会经过封装处理,以一帧一帧的形式进行传输,而帧与帧之间存有帧间隙,数据流中的空闲间隙可以为上述帧间隙。以太网中,上述帧间隙包括最小帧间隙(包含12个字符),可以利用该最小帧间隙来携带控制信息时,具体地,可以将12个字符中的前3个字符和后3个字符保留,选取中间的6个字符来携带控制信息。In this embodiment, the service packets in the data stream are time-interval in the transmission process, and the idle gap is used to fill in the time intervals so that the data flow remains uninterrupted. In the data stream, in addition to the control message to carry the control information, the idle gap can also be used to carry the control information. For example, when the receiving end and the transmitting end communicate via Ethernet, the packets in the data stream sent by the sending end to the receiving end are encapsulated and processed in the form of one frame and one frame, and the frame and the frame are stored. There is a frame gap, and the idle gap in the data stream may be the above frame gap. In the Ethernet, the frame gap includes a minimum frame gap (including 12 characters), and the minimum frame gap can be used to carry control information. Specifically, the first 3 characters and the last 3 characters of the 12 characters can be reserved. Select the middle 6 characters to carry the control information.
进一步地,控制信息包括:调节指令、发送端的均衡状态、发送端的调节能力范围,调节指令用于指示接收端调节接收端的均衡状态。Further, the control information includes: an adjustment instruction, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, and the adjustment instruction is used to instruct the receiving end to adjust the equalization state of the receiving end.
在本实施例中,接收端根据控制信息对高速串行信号进行预加重处理的过程在上述实施例3和4中已经描述,这里不做赘述。In the present embodiment, the process of the pre-emphasis processing of the high-speed serial signal by the receiving end according to the control information has been described in the above embodiments 3 and 4, and will not be described herein.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例七Example 7
本发明实施例提供了一种高速串行信号的处理装置,可以设置在发送端 中,适用于实现实施例二提供的方法,参见图8,该装置包括:生成模块601和发送模块602。The embodiment of the invention provides a high-speed serial signal processing device, which can be set at the transmitting end The method provided in the second embodiment is applicable. Referring to FIG. 8, the device includes: a generating module 601 and a sending module 602.
生成模块601,用于生成数据流,数据流中携带有业务数据和控制信息,控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理。The generating module 601 is configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
发送模块602,用于向接收端发送数据流。The sending module 602 is configured to send a data stream to the receiving end.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例八Example eight
本发明实施例提供了一种高速串行信号的处理装置,可以设置在发送端中,适用于实现实施例二、三、以及四提供的方法,参见图8,该装置包括:生成模块701和发送模块702。The embodiment of the present invention provides a high-speed serial signal processing apparatus, which can be disposed in a transmitting end, and is suitable for implementing the methods provided in Embodiments 2, 3, and 4. Referring to FIG. 8, the apparatus includes: a generating module 701 and Send module 702.
生成模块701,用于生成数据流,数据流中携带有业务数据和控制信息,控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理。The generating module 701 is configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end.
发送模块702,用于向接收端发送数据流。The sending module 702 is configured to send a data stream to the receiving end.
在实际应用中,生成模块701可以为处理器和插入器。发送模块702可以为串行器。In a practical application, the generation module 701 can be a processor and an inserter. The transmitting module 702 can be a serializer.
具体地,数据流包括多个报文,多个报文包括业务报文和控制报文,业务数据携带在业务报文中,控制信息携带在控制报文中。Specifically, the data stream includes a plurality of packets, and the plurality of packets include a service packet and a control packet, where the service data is carried in the service packet, and the control information is carried in the control packet.
进一步地,数据流中还携带有握手消息,握手消息用于验证接收端是否能识别控制报文。Further, the data stream also carries a handshake message, and the handshake message is used to verify whether the receiving end can identify the control message.
在发送控制报文之前,该装置还包括:接收模块703。Before transmitting the control message, the device further includes: a receiving module 703.
接收模块703,用于接收接收端发送的响应消息,该响应消息用于表示接收端能识别控制报文。The receiving module 703 is configured to receive a response message sent by the receiving end, where the response message is used to indicate that the receiving end can identify the control message.
在本实施例中,该握手消息可以携带在前导码为预设的前导码的报文(即 控制报文)中,或者该握手消息可以携带在具有预设的Vlan标签的报文中,预设的前导码与业务报文的前导码不同,预设的Vlan标签与业务报文的Vlan标签不同。接收端通过判断能否识别握手消息,可以验证接收端是否能识别控制报文。In this embodiment, the handshake message may be carried in a packet whose preamble is a preset preamble (ie, In the control packet, the handshake message may be carried in the packet with the preset Vlan label. The preset preamble is different from the preamble of the service packet, and the preset Vlan label and the Vlan label of the service packet are different. The receiving end can verify whether the receiving end can identify the control message by judging whether the handshake message can be identified.
在实际应用中,接收模块703可以为解串器。In practical applications, the receiving module 703 can be a deserializer.
进一步地,在接收到响应消息之后,且在发送控制报文之前,Further, after receiving the response message, and before sending the control message,
接收模块703,还用于接收接收端发送的识别码。The receiving module 703 is further configured to receive an identifier sent by the receiving end.
发送模块702,还用于将识别码携带在控制报文中发送给发送端。The sending module 702 is further configured to carry the identifier in the control packet and send the signal to the sending end.
需要说明的是,在实际高速串行通信的过程中,有一定几率,会出现错误或干扰消息掺进数据流中。在本实施例中,为了保障接收端接收控制报文的可靠性,接收端会向发送端分配识别码,该识别码用于供发送端携带在控制报文中,以使接收端能够识别接收到的控制报文为发送端发送。It should be noted that in the process of actual high-speed serial communication, there is a certain probability that errors or interference messages may be incorporated into the data stream. In this embodiment, in order to ensure the reliability of the receiving control message received by the receiving end, the receiving end allocates an identification code to the transmitting end, and the identification code is used by the transmitting end to be carried in the control message, so that the receiving end can identify and receive the receiving message. The incoming control message is sent by the sender.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
实施例九Example nine
本发明实施例提供了一种高速串行信号的处理装置,参见图10,该装置包括:处理器801、存储器802、总线803和通信接口804。其中,存储器802用于存储计算机执行指令,处理器801与存储器802通过总线803连接,当该计算机运行时,处理器801执行存储器802存储的该计算机执行指令,以使该计算机执行实施例一、实施例三、以及实施例四中接收端执行的方法。An embodiment of the present invention provides a high-speed serial signal processing apparatus. Referring to FIG. 10, the apparatus includes a processor 801, a memory 802, a bus 803, and a communication interface 804. The memory 802 is used to store computer execution instructions, and the processor 801 is connected to the memory 802 via a bus 803. When the computer is running, the processor 801 executes the computer execution instructions stored in the memory 802, so that the computer executes the first embodiment. Embodiment 3: The method performed by the receiving end in Embodiment 4.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行 信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. This causes high-speed serialization when serial channel conditions change during high-speed serial communication. When the transmission loss of the signal exceeds the adjustment capability of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time to pre-emphasize the high-speed serial signal sent by the receiving end, so that the DFE equalizer of the transmitting end can be adjusted. The ability is sufficient to adjust the received high-speed serial signal, which not only ensures the transmission quality of high-speed serial signals, but also ensures the reliability of service data transmission.
实施例十Example ten
本发明实施例提供了一种高速串行信号的处理装置,参见图11,该装置包括:处理器901、存储器902、总线903和通信接口904。其中,存储器902用于存储计算机执行指令,处理器901与存储器902通过总线903连接,当该计算机运行时,处理器901执行存储器902存储的该计算机执行指令,以使该计算机执行实施例二、实施例三、以及实施例四中发送端执行的方法。The embodiment of the present invention provides a high-speed serial signal processing apparatus. Referring to FIG. 11, the apparatus includes a processor 901, a memory 902, a bus 903, and a communication interface 904. The memory 902 is used to store computer execution instructions, and the processor 901 is connected to the memory 902 via a bus 903. When the computer is running, the processor 901 executes the computer execution instructions stored in the memory 902, so that the computer executes the second embodiment. Embodiment 3: The method performed by the transmitting end in Embodiment 4.
本发明实施例通过先接收发送端发送的携带有控制信息的数据流,该控制信息用于指示接收端对接收端发送的高速串行信号进行预加重处理;然后获取数据流中的控制信息;最后根据获取到的控制信息对高速串行信号进行预加重处理。这样在高速串行通信过程中,当串行信道状况发生变化,致使高速串行信号的传输损耗超出DFE均衡器的调节能力范围时,接收端可以通过实时从数据流中获取控制信息,来对接收端发送的高速串行信号进行预加重处理,使得发送端的DFE均衡器的调节能力足以对接收到的高速串行信号进行调节,这样既保障了高速串行信号的传输质量,又保障了业务数据传输的可靠性。In the embodiment of the present invention, the data stream carrying the control information sent by the sending end is received by the receiving end, and the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end; and then acquiring the control information in the data stream; Finally, the high-speed serial signal is pre-emphasized according to the obtained control information. In the high-speed serial communication process, when the serial channel condition changes, so that the transmission loss of the high-speed serial signal exceeds the adjustment capability range of the DFE equalizer, the receiving end can obtain the control information from the data stream in real time. The high-speed serial signal sent by the receiving end is pre-emphasized, so that the adjustment capability of the DFE equalizer at the transmitting end is sufficient to adjust the received high-speed serial signal, thereby ensuring the transmission quality of the high-speed serial signal and ensuring the service. The reliability of data transmission.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是:上述实施例提供的高速串行信号的处理装置在实现高速串行信号的处理方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的高速串行信号的处理装置与高速串行信号的处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, in the processing method of the high-speed serial signal provided by the foregoing embodiment, the processing method of the high-speed serial signal is only exemplified by the division of each functional module, and in actual application, the above-mentioned The function assignment is done by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the processing device of the high-speed serial signal provided by the above embodiment is the same as the embodiment of the method for processing the high-speed serial signal. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的 精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles are intended to be included within the scope of the present invention.

Claims (14)

  1. 一种高速串行信号的处理方法,由接收端执行,其特征在于,所述方法包括:A method for processing a high-speed serial signal, which is executed by a receiving end, wherein the method comprises:
    接收发送端发送的数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示对所述接收端发送的高速串行信号进行预加重处理;Receiving a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to indicate pre-emphasis processing on the high-speed serial signal sent by the receiving end;
    获取所述数据流中的控制信息;Obtaining control information in the data stream;
    根据获取到的所述控制信息对高速串行信号进行预加重处理。The high-speed serial signal is pre-emphasized according to the acquired control information.
  2. 根据权利要求1所述的方法,其特征在于,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。The method according to claim 1, wherein the data stream comprises a plurality of packets, the plurality of packets comprising a service packet and a control packet, wherein the service data is carried in the service packet. The control information is carried in the control message.
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述数据流中的控制信息,包括:The method according to claim 2, wherein the obtaining the control information in the data stream comprises:
    解析所述多个报文中的各个报文,得到各个所述报文的前导码;Parsing each of the plurality of packets to obtain a preamble of each of the packets;
    获取所述多个报文中前导码为预设前导码的报文,所述预设前导码用于指示携带所述预设前导码的报文为控制报文;Obtaining, in the plurality of packets, a packet whose preamble is a preset preamble, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
    从获取的所述控制报文中获取所述控制信息;Obtaining the control information from the obtained control message;
    或者,所述获取所述数据流中的控制信息,包括:Or the acquiring the control information in the data stream includes:
    解析所述多个报文中的各个报文,得到各个所述报文的虚拟局域网Vlan标签;Parsing each of the plurality of packets to obtain a virtual local area network Vlan label of each of the packets;
    获取所述多个报文中Vlan标签为预设Vlan标签的报文,所述预设Vlan标签用于指示携带所述预设Vlan标签的报文为控制报文;Obtaining, in the plurality of packets, a packet whose Vlan label is a preset Vlan label, where the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is a control packet;
    从获取的所述控制报文中获取所述控制信息。Obtaining the control information from the obtained control message.
  4. 根据权利要求1所述方法,其特征在于,所述数据流包括业务报文和位于相邻所述业务报文之间的空闲间隙,所述业务数据携带在所述业务报文中,所述控制信息携带在所述空闲间隙中。The method according to claim 1, wherein the data stream comprises a service message and an idle gap between the adjacent service packets, the service data is carried in the service packet, Control information is carried in the free gap.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述控制信息包括:调节指令、所述发送端的均衡状态、所述发送端的调节能力范围,所述调节指令用于指示所述接收端调节所述接收端的均衡状态。The method according to any one of claims 1 to 4, wherein the control information comprises: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to indicate the location The receiving end adjusts the equalization state of the receiving end.
  6. 一种高速串行信号的处理方法,由发送端执行,其特征在于,所述方法包括: A method for processing a high-speed serial signal, which is executed by a transmitting end, wherein the method includes:
    生成数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示接收端对所述接收端发送的高速串行信号进行预加重处理;Generating a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
    向所述接收端发送所述数据流。Transmitting the data stream to the receiving end.
  7. 根据权利要求6所述的方法,其特征在于,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。The method according to claim 6, wherein the data stream comprises a plurality of packets, the plurality of packets comprising a service packet and a control packet, wherein the service data is carried in the service packet. The control information is carried in the control message.
  8. 一种高速串行信号的处理装置,设置在接收端中,其特征在于,所述装置包括:A high-speed serial signal processing device is disposed in a receiving end, wherein the device comprises:
    接收模块,用于接收发送端发送的数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示对所述接收端发送的高速串行信号进行预加重处理;a receiving module, configured to receive a data stream sent by the sending end, where the data stream carries service data and control information, where the control information is used to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
    获取模块,用于获取所述数据流中的控制信息;An obtaining module, configured to acquire control information in the data stream;
    处理模块,用于根据获取到的所述控制信息对高速串行信号进行预加重处理。And a processing module, configured to perform pre-emphasis processing on the high-speed serial signal according to the acquired control information.
  9. 根据权利要求8所述的装置,其特征在于,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。The device according to claim 8, wherein the data stream comprises a plurality of packets, the plurality of packets comprising a service packet and a control packet, wherein the service data is carried in the service packet. The control information is carried in the control message.
  10. 根据权利要求9所述的装置,其特征在于,所述获取模块,包括:The device according to claim 9, wherein the obtaining module comprises:
    报文处理单元,用于解析所述多个报文中的各个报文,得到各个所述报文的前导码;a message processing unit, configured to parse each of the plurality of packets to obtain a preamble of each of the packets;
    报文获取单元,用于获取所述多个报文中前导码为预设前导码的报文,所述预设前导码用于指示携带所述预设前导码的报文为控制报文;a packet obtaining unit, configured to obtain a packet whose preamble is a preset preamble in the plurality of packets, where the preset preamble is used to indicate that the packet carrying the preset preamble is a control packet;
    控制信息获取单元,用于从获取的所述控制报文中获取所述控制信息;a control information acquiring unit, configured to acquire the control information from the obtained control message;
    所述报文处理单元,还用于解析所述多个报文中的各个报文,得到各个所述报文的虚拟局域网Vlan标签;The packet processing unit is further configured to parse each of the plurality of packets to obtain a virtual local area network Vlan label of each of the packets;
    所述报文获取单元,还用于获取所述多个报文中Vlan标签为预设Vlan标签的报文,所述预设Vlan标签用于指示携带所述预设Vlan标签的报文为控制报文;The packet obtaining unit is further configured to obtain a packet in which the Vlan label is a preset Vlan label, and the preset Vlan label is used to indicate that the packet carrying the preset Vlan label is controlled. Message
    所述控制信息获取单元,还用于从获取的所述控制报文中获取所述控制信息。The control information acquiring unit is further configured to acquire the control information from the obtained control message.
  11. 根据权利要求8所述的装置,其特征在于,所述数据流包括业务报文 和位于相邻所述业务报文之间的空闲间隙,所述业务数据携带在所述业务报文中,所述控制信息携带在所述空闲间隙中。The apparatus according to claim 8, wherein said data stream comprises a service message And the idle gap between the adjacent service packets, the service data is carried in the service packet, and the control information is carried in the idle gap.
  12. 根据权利要求8-11任一项所述的装置,其特征在于,所述控制信息包括:调节指令、所述发送端的均衡状态、所述发送端的调节能力范围,所述调节指令用于指示所述接收端调节所述接收端的均衡状态。The device according to any one of claims 8 to 11, wherein the control information comprises: an adjustment command, an equalization state of the transmitting end, and an adjustment capability range of the transmitting end, where the adjustment instruction is used to indicate the location The receiving end adjusts the equalization state of the receiving end.
  13. 一种高速串行信号的处理装置,设置在发送端中,其特征在于,所述装置包括:A high-speed serial signal processing device is disposed in a transmitting end, wherein the device comprises:
    生成模块,用于生成数据流,所述数据流中携带有业务数据和控制信息,所述控制信息用于指示接收端对所述接收端发送的高速串行信号进行预加重处理;a generating module, configured to generate a data stream, where the data stream carries service data and control information, where the control information is used to instruct the receiving end to perform pre-emphasis processing on the high-speed serial signal sent by the receiving end;
    发送模块,用于向所述接收端发送所述数据流。And a sending module, configured to send the data stream to the receiving end.
  14. 根据权利要求13所述的装置,其特征在于,所述数据流包括多个报文,所述多个报文包括业务报文和控制报文,所述业务数据携带在所述业务报文中,所述控制信息携带在所述控制报文中。 The device according to claim 13, wherein the data stream comprises a plurality of packets, the plurality of packets comprising a service packet and a control packet, wherein the service data is carried in the service packet. The control information is carried in the control message.
PCT/CN2015/080929 2015-06-05 2015-06-05 Method and apparatus for processing high-speed serial signal WO2016192112A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580001250.XA CN106797357B (en) 2015-06-05 2015-06-05 The treating method and apparatus of high-speed serial signals
PCT/CN2015/080929 WO2016192112A1 (en) 2015-06-05 2015-06-05 Method and apparatus for processing high-speed serial signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080929 WO2016192112A1 (en) 2015-06-05 2015-06-05 Method and apparatus for processing high-speed serial signal

Publications (1)

Publication Number Publication Date
WO2016192112A1 true WO2016192112A1 (en) 2016-12-08

Family

ID=57439910

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080929 WO2016192112A1 (en) 2015-06-05 2015-06-05 Method and apparatus for processing high-speed serial signal

Country Status (2)

Country Link
CN (1) CN106797357B (en)
WO (1) WO2016192112A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943627A (en) * 2017-11-16 2018-04-20 郑州云海信息技术有限公司 A kind of 10G KR high speed signals optimization method and system
CN113556633B (en) * 2020-04-23 2024-04-09 华为技术有限公司 Service signal recovery method, device and system
CN111711459B (en) * 2020-07-06 2021-08-31 中国科学院微电子研究所 Transmitter drive equalization device, transmitter drive equalization method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626355A (en) * 2009-08-11 2010-01-13 北京天碁科技有限公司 Calibration device and calibration method of multi-input multi-output (MIMO) terminal
CN101820259A (en) * 2010-02-08 2010-09-01 成都市华为赛门铁克科技有限公司 Method and device for adjusting signal amplitude
JP2011249974A (en) * 2010-05-25 2011-12-08 Sony Corp Transmission device, reception device, transmission method, reception method and transmitting and reception device
CN102664837A (en) * 2012-04-05 2012-09-12 烽火通信科技股份有限公司 Method for automatically detecting and completing setting matching of high speed digital signal in receiving and transmitting directions
CN103024333A (en) * 2012-12-27 2013-04-03 中航(苏州)雷达与电子技术有限公司 Long-distance video transmission method
CN104184617A (en) * 2014-08-12 2014-12-03 福建星网锐捷网络有限公司 Method, device and system for configuring pre-emphasis for interconnection equipment and network device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651491B (en) * 2009-07-02 2012-07-04 中兴通讯股份有限公司 Method and device for dynamically adjusting pre-emphasis and balance parameters of chip
CN202998056U (en) * 2012-12-11 2013-06-12 中兴通讯股份有限公司 Pre-emphasis device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626355A (en) * 2009-08-11 2010-01-13 北京天碁科技有限公司 Calibration device and calibration method of multi-input multi-output (MIMO) terminal
CN101820259A (en) * 2010-02-08 2010-09-01 成都市华为赛门铁克科技有限公司 Method and device for adjusting signal amplitude
JP2011249974A (en) * 2010-05-25 2011-12-08 Sony Corp Transmission device, reception device, transmission method, reception method and transmitting and reception device
CN102664837A (en) * 2012-04-05 2012-09-12 烽火通信科技股份有限公司 Method for automatically detecting and completing setting matching of high speed digital signal in receiving and transmitting directions
CN103024333A (en) * 2012-12-27 2013-04-03 中航(苏州)雷达与电子技术有限公司 Long-distance video transmission method
CN104184617A (en) * 2014-08-12 2014-12-03 福建星网锐捷网络有限公司 Method, device and system for configuring pre-emphasis for interconnection equipment and network device

Also Published As

Publication number Publication date
CN106797357B (en) 2019-10-01
CN106797357A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US11581913B2 (en) Active 1:N breakout cable
KR101636844B1 (en) Network system configured for resolving forward error correction during a data mode
US10944584B1 (en) Single-ended signaling between differential ethernet interfaces
US20130073749A1 (en) Backchannel communication between host and interface module
WO2018210169A1 (en) Data transmission methods, devices, apparatuses, and system
US20150381777A1 (en) Adaptive rate control of nbase-t data transport system
US20210011224A1 (en) Bypass Switch for Managing Active Ethernet Cable
CN103797732B (en) Communication means, peripheral component interconnection PCIE chip and PCIE device
US20150016245A1 (en) Method and apparatus for protection switching in packet transport system
US20100014566A1 (en) Method and apparatus for a 10gbase-t small form factor pluggable (sfp+) module
US10877233B1 (en) Active ethernet cable with preset pre-equalization
CN108933600B (en) Automatic debugging method for SerDes link parameters
CN106717111A (en) Method, device, and system for receiving CPRI data stream and ethernet frame
TWI535251B (en) Method and system for low-latency networking
WO2016192112A1 (en) Method and apparatus for processing high-speed serial signal
CN113328961A (en) Binding method and device for flexible Ethernet group and computer readable storage medium
US8503474B2 (en) System and method for enhanced physical layer device interface capability for backward support of fast retrain
CA2621904A1 (en) Bandwidth control apparatus, bandwidth control system, and bandwidth control method
US20240104046A1 (en) Spread spectrum clock negotiation method, and peripheral component interconnect express device and system
KR20210037178A (en) System and method for supporting between heterogeneous networks communication using unidirectional communication
US9344372B2 (en) Up-converter for ethernet physical layer
WO2020087250A1 (en) Data sending method and apparatus, and flexe switching system
US10148454B2 (en) 128 gigabit fibre channel speed negotiation
EP4164181A1 (en) Interface, electronic device, and communication system
WO2016110973A1 (en) Transmission device and transmission method

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: 15893768

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: 15893768

Country of ref document: EP

Kind code of ref document: A1