WO2022193065A1 - Data transmission method and apparatus - Google Patents

Data transmission method and apparatus Download PDF

Info

Publication number
WO2022193065A1
WO2022193065A1 PCT/CN2021/080777 CN2021080777W WO2022193065A1 WO 2022193065 A1 WO2022193065 A1 WO 2022193065A1 CN 2021080777 W CN2021080777 W CN 2021080777W WO 2022193065 A1 WO2022193065 A1 WO 2022193065A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
pid
field
plcb
synchronization
Prior art date
Application number
PCT/CN2021/080777
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 PCT/CN2021/080777 priority Critical patent/WO2022193065A1/en
Priority to CN202180083020.8A priority patent/CN116601897A/en
Publication of WO2022193065A1 publication Critical patent/WO2022193065A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data transmission method and apparatus.
  • the originator sends physical layer (PHY) code blocks sequentially, one PHY code block is a physical layer Reed Solomon error correction code block (physical layer RS-FEC block, PLRB), and A PHY code block carries a physical layer content block (PLCB).
  • PHY code block carries a physical layer content block (PLCB).
  • the receiving end sends an acknowledgment message (ACK) to the first device, and indicates the failed PHY code block through the PLRB ID (PLRB Identifier, PID) information carried in the ACK.
  • the first device encapsulates the PLCB carried by the failed PHY code block into a new PHY code block and sends it to the second device to complete the retransmission.
  • the second device when the transmission of the PHY code block 2 fails, the second device sends an ACK to the first device, and indicates that the PHY code block 2 fails to receive through the PID information carried in the ACK.
  • the first device encapsulates the PLCB 2 carried by the PHY code block 2 into the PHY code block 5 and sends it to the second device to complete the retransmission.
  • the first device and the second device realize clock synchronization of the PHY code block during the link establishment process, so as to determine the number of the PHY code block according to the clock count.
  • longer duration jammers can cause PHY clock desynchronization.
  • the PHY clock desynchronization may cause the second device to inaccurately count the PHY code blocks, thereby causing errors in the retransmission of the PHY code blocks.
  • the present application provides a data transmission method and device, which are used to solve the problem of errors in retransmission of PHY code blocks caused by PHY clock desynchronization.
  • an embodiment of the present application provides a data transmission method, including: generating and sending first information, where the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization.
  • the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID
  • the PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
  • the PID synchronization includes PID count synchronization between the first device and the second device.
  • the first device and the second device can perform PID count synchronization through the PID synchronization information, so that the first device and the second device can determine the same PHY code block through the PID, thereby avoiding erroneous retransmission.
  • the first information is a synchronization symbol
  • the synchronization symbol includes a time base field
  • the time base field carries the first PID synchronization information.
  • the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first value.
  • PID synchronization information is used as the synchronization symbol to carry the identifier of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
  • the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  • the first device by indicating the PID of a PLRB at a specific location, the first device enables the second device to calibrate the PID of the PLRB, thereby realizing PID counting synchronization.
  • the first information is a PLRB
  • the PLRB includes a physical layer content block (PLCB) payload field
  • the PLCB payload field carries the first PID synchronization information.
  • the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
  • the first PID synchronization information is the PID of the first information.
  • the second device by carrying the PID of the first information in the first information, the second device can calibrate the PID count of the first information after receiving the first information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the first information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field carries the first PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  • the response message and the request message can be distinguished through the first subfield.
  • the method before generating the first information, further includes: receiving second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  • the first information may be sent at the request of the second device.
  • the second information is a PLRB
  • the PLRB includes a PLCB payload field
  • the PLCB payload field carries the second PID synchronization information.
  • the PHY control message can be used to carry the second PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the second information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field carries the second PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  • the response message and the request message can be distinguished through the first subfield.
  • the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB , the third subfield is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  • an embodiment of the present application provides a data transmission method, including: generating and sending at least two code blocks, the at least two code blocks each carry a physical layer content block (PLCB), and the at least two code blocks At least one of the first code blocks carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer.
  • PLCB physical layer content block
  • the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the transmission error PHY code block, thereby avoiding retransmission errors. And, in this way, the two ends of the transceiver can no longer maintain the PID.
  • the first code block is a PLRB
  • the first code block includes a PLCB control field
  • the PLCB control field carries control information of the PLCB.
  • the PLCB control field may be used to carry the control information of the PLCB.
  • the method further includes: receiving a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information,
  • the identification information of the first PLCB is the ID of a successfully received PLCB
  • the indication information of the first PLCB indicates that the first PLCB is the Mth transmission
  • M is a positive integer
  • the reception status information indicates the reception status of at least two code blocks
  • the retransmission information determines a PLCB that fails to transmit among the PLCBs carried by at least two code blocks.
  • the first device can determine a PHY code block according to the retransmission information, so that the PHY code block with transmission error can be determined according to the PHY code block.
  • the second code block is PLRB
  • the second code block includes a PLCB payload field
  • the PLCB payload field carries retransmission information.
  • the PLCB payload field may be used to carry the retransmission information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the second code block carries non-data information
  • the second field indicates that the type of the non-data information is transmission acknowledgement information
  • the third field carries retransmission information.
  • the retransmission information is carried by the PHY control information, so that the second device indicates that the second code block carries non-data information in the first field, and the second field indicates that the type of non-data information is read in the third field when the type of non-data information is transmission confirmation information Retransmit information.
  • the third field also indicates the error feedback type
  • the error feedback type is complete error feedback or partial error feedback
  • the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors
  • the partial error feedback indicates that the receiving The status indicates only the second PLCB that partially received the error.
  • an embodiment of the present application provides a data transmission method, including: receiving first information and performing PID synchronization according to the first PID synchronization information, where the first information includes a first physical layer Reed Solomon error correction coding block identifier PID Synchronization information, the first PID synchronization information is used for PID synchronization.
  • the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID
  • the PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
  • the PID synchronization includes PID count synchronization between the first device and the second device.
  • the first device and the second device can perform PID count synchronization through the PID synchronization information, so that the first device and the second device can determine the same PHY code block through the PID, thereby avoiding erroneous retransmission.
  • the first information is a synchronization symbol
  • the synchronization symbol includes a time base field
  • the time base field carries the first PID synchronization information.
  • the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first value.
  • PID synchronization information is used as the synchronization symbol to carry the identification of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
  • the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  • the first device by indicating the PID of a PLRB at a specific location, the first device enables the second device to calibrate the PID of the PLRB, thereby realizing PID counting synchronization.
  • the first information is a PLRB
  • the PLRB includes a physical layer content block (PLCB) payload field
  • the PLCB payload field carries the first PID synchronization information.
  • the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
  • the first PID synchronization information is the PID of the first information.
  • the second device by carrying the PID of the first information in the first information, the second device can calibrate the PID count of the first information after receiving the first information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the first information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field carries the first PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  • the response message and the request message can be distinguished through the first subfield.
  • the method before receiving the first information, the method further includes: sending second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  • the first information may be sent at the request of the second device.
  • the method before generating the first information, further includes: receiving second information, where the second information carries the second PID synchronization information.
  • the PHY control message can be used to carry the second PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the second information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field carries the second PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  • the response message and the request message can be distinguished through the first subfield.
  • the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB , the third subfield is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  • an embodiment of the present application provides a data transmission method, including: receiving at least two code blocks, wherein the at least two code blocks each carry a physical layer content block PLCB, and at least one of the at least two code blocks is a first
  • a code block carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer; the control information of at least one PLCB is determined.
  • the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the transmission error PHY code block, thereby avoiding retransmission errors. And, in this way, the two ends of the transceiver can no longer maintain the PID.
  • the first code block is a PLRB
  • the first code block includes a PLCB control field
  • the PLCB control field carries control information of the PLCB.
  • the PLCB control field may be used to carry the control information of the PLCB.
  • the method further includes: sending a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information,
  • the identification information of the first PLCB is the ID of a successfully received PLCB
  • the indication information of the first PLCB indicates that the first PLCB is the Mth transmission
  • M is a positive integer
  • the reception status information indicates the reception status of at least two code blocks.
  • the second code block is PLRB
  • the second code block includes a PLCB payload field
  • the PLCB payload field carries retransmission information
  • the second code block is PLRB
  • the second code block includes a PLCB payload field
  • the PLCB payload field carries retransmission information.
  • the PLCB payload field may be used to carry the retransmission information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the second code block carries non-data information
  • the second field indicates that the type of the non-data information is transmission acknowledgement information
  • the third field carries retransmission information.
  • the retransmission information is carried by the PHY control information, so that the second device indicates that the second code block carries non-data information in the first field, and the second field indicates that the type of non-data information is read in the third field when the type of non-data information is transmission confirmation information Retransmit information.
  • the third field also indicates the error feedback type
  • the error feedback type is complete error feedback or partial error feedback
  • the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors
  • the partial error feedback indicates that the receiving The status indicates only the second PLCB that partially received the error.
  • the present application provides a data transmission apparatus, which may be a communication device, or a chip or a chipset in the communication device.
  • the apparatus may include a processing unit and a transceiving unit.
  • the processing unit may be a processor
  • the transceiver unit may be a transceiver;
  • the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit
  • the instructions stored in the storage module are executed to execute the method of the first aspect or any design of the first aspect, the second aspect or any design of the second aspect.
  • the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to A method of performing the above first aspect or any design of the first aspect, the second aspect or any design of the second aspect.
  • the storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
  • the present application provides a data transmission apparatus, which may be a communication device, or a chip or a chipset in the communication device.
  • the apparatus may include a processing unit and a transceiving unit.
  • the processing unit may be a processor
  • the transceiver unit may be a transceiver;
  • the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit
  • the instructions stored in the storage module are executed to execute the method of the third aspect or any design in the third aspect, the fourth aspect or any design in the fourth aspect.
  • the processing unit may be a processor, the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to A method of performing the above third aspect or any design of the third aspect, the fourth aspect or any design of the fourth aspect.
  • the storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
  • the present application provides a data transmission device, including: a processor, and may also include a communication interface and a memory.
  • the communication interface is used to transfer information, and/or messages, and/or data between the device and other devices.
  • the memory is used for storing computer-executable instructions, and when the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus executes the first aspect or any one of the first aspect or the second aspect. or the method designed in any one of the second aspects.
  • the present application provides a data transmission device, including: a processor, and may also include a communication interface and a memory.
  • the communication interface is used to transfer information, and/or messages, and/or data between the device and other devices.
  • the memory is used to store computer-executable instructions, and when the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus executes the third aspect or any one of the third aspect and the fourth aspect. or the method designed in any one of the fourth aspects.
  • an embodiment of the present application provides a data transmission system, including the data transmission device in the fifth aspect and the data transmission device in the sixth aspect.
  • an embodiment of the present application provides a data transmission system, including the data transmission device in the seventh aspect and the data transmission device in the eighth aspect.
  • the embodiments of the present application further provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute any one of the first to fourth aspects above.
  • the embodiments of the present application further provide a computer program product including instructions, which, when run on a computer, cause the computer to execute any one of the above-mentioned first to fourth aspects, or any one of the above-mentioned aspects.
  • an embodiment of the present application further provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the first aspect or the corresponding method in any design of the first aspect, and the receiving node can A method corresponding to the third aspect or any of the designs of the third aspect is performed.
  • an embodiment of the present application further provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the second aspect or any of the corresponding methods in the second aspect, and the receiving node can A method corresponding to the fourth aspect or any of the designs of the fourth aspect is performed.
  • a chip provided by an embodiment of the present application, the chip includes at least one processor and a communication interface, the processor is coupled to a memory, and is configured to read a computer program stored in the memory to execute the above-mentioned first to fourth aspects A method of any of the aspects, or any design of any of the aspects.
  • Coupled in the embodiments of the present application means that two components are directly or indirectly combined with each other.
  • an embodiment of the present application provides a vehicle, the vehicle includes a first device and/or a second device, the first device is used to execute the first aspect or the method designed in any one of the first aspects, the second device An apparatus for performing the method of the preceding third aspect or any one of the designs of the third aspect.
  • an embodiment of the present application provides a vehicle, the vehicle includes a first device and/or a second device, the first device is used to execute the second aspect or the method designed in any one of the second aspects, the second device An apparatus for performing the method of the preceding fourth aspect or any one of the designs of the fourth aspect.
  • FIG. 1 is a schematic diagram of data transmission according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a PLRB format provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a synchronization symbol transmission provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a data transmission method provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a data transmission method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of data transmission provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application.
  • the embodiments of the present application may be applicable to wired transmission, for example, may be applicable to wired point-to-point high-speed transmission, such as image and control transmission between a camera and a multi-domain controller (MDC) of an autonomous driving platform, a vehicle-mounted camera or a cockpit domain controller ( cockpit domain controller or control domain cockpit, CDC) and other in-vehicle equipment and large-screen image transmission, etc.
  • MDC multi-domain controller
  • CDC cockpit domain controller or control domain cockpit, CDC
  • other in-vehicle equipment and large-screen image transmission etc.
  • the communication device involved in this embodiment of the present application may be a device capable of sending information (such as data frames, control information, etc.) to other devices, such as a camera, a lidar, or other vehicle-mounted image sensor, or may also be an MDC, CDC, etc.
  • An image processing device, or an image display device such as a large screen.
  • the communication device involved in the embodiments of the present application may also be other transmission devices other than the vehicle-mounted device.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, it can indicate that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be single or multiple.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, and timing of multiple objects , priority or importance, etc.
  • first data packet and the second data packet are only names given for convenience of description, and the two data packets may be the same data packet or may be different data packets.
  • SerDes transmission usually two-way transmission is carried out at the same time.
  • a transmission direction is selected below, the transmitting end of the transmission direction is the first device, and the receiving end is the second device.
  • the first device sequentially sends PHY code blocks, one PHY code block is one PLRB, and one PHY code block carries one PLCB.
  • the second device sends an ACK to the first device, and indicates, through the PID information carried in the ACK, the failed PHY code block to receive.
  • the first device encapsulates the PLCB carried by the failed PHY code block into a new PHY code block and sends it to the second device to complete the retransmission.
  • the second device sends an ACK to the first device, and indicates that the PHY code block 2 fails to receive through the PID information carried in the ACK.
  • the first device encapsulates the PLCB 2 carried by the PHY code block 2 into the PHY code block 5 and sends it to the second device to complete the retransmission, as shown in FIG. 1 .
  • the first device and the second device realize PHY clock synchronization during link establishment.
  • the first device and the second device count the PHY code block according to the PHY clock, so that the PID of the PHY code block can be determined according to the count of the PHY code block.
  • a longer duration jamming may cause the PHY clock of the second device to desynchronize.
  • the PHY clock is out of synchronization, which may cause the second device to inaccurately count the PHY code blocks. Since the second device uses the PID in the ACK to indicate the erroneously transmitted PHY code block, the first device is triggered to retransmit. Therefore, PHY clock desynchronization can cause errors in retransmission of PHY code blocks.
  • the embodiments of the present application provide a data transmission method and apparatus, which are used to solve the problem of errors in retransmission of PHY code blocks caused by PHY clock desynchronization.
  • the method and the device are based on the same technical concept. Since the principles of the method and the device for solving problems are similar, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated.
  • the embodiments of the present application provide an information transmission method and device, which can be applied to an in-vehicle network, especially an in-vehicle network of a smart car, and can also be applied to other wired transmission devices.
  • One PHY code block is one PLRB
  • the PLRB includes a PLRB payload field and a PLRB redundancy field.
  • the PLRB payload field includes a PLCB control field and a PLCB payload field, and may also include a cyclic redundancy check (cyclic redundancy check, CRC) field.
  • the PLCB control field may include a PLCB ID to uniquely identify the PLCB.
  • the PLCB payload field may include one or more information blocks, and the information blocks may use 64/66 line coding or 64/65 line coding, or may also be other coding methods, which are not specifically limited here.
  • an information block includes an indication bit and a payload field, wherein the indication bit may indicate the type of information carried in the payload field, and the information type may be divided into data information and non-data information.
  • the content indicated by the indication bit may be as shown in Table 1.
  • the payload field carries the intermediate fragment of the data frame 01
  • the payload field carries the first fragment of the data frame 10
  • the payload field carries the last fragment of the data frame 11
  • the payload field carries non-data information, such as sub-control bits, PHY control information, etc.
  • the content indicated by the indication bit may be as shown in Table 2.
  • the payload field carries the data frame 1
  • the payload field carries non-data information, such as sub-control bits, PHY control information, etc.
  • the payload field may include a sub-indication field and a content field
  • the sub-indication bit may indicate the type of non-data information
  • the content field may carry non-data information.
  • the content indicated by the sub-indication bit may be as shown in Table 3.
  • the ACK in FIG. 1 can be a kind of non-data information, which is carried by the PHY code block and sent by the second device to the first device. Similar to the acknowledgment message of the PHY code block sent by the second device to the first device, then It is carried by the PHY code block sent by the first device to the second device.
  • the PLRB may be as shown in FIG. 2 .
  • synchronization symbols are periodically sent in the SerDes transmission scheme, as shown in Figure 3.
  • the synchronization symbol carries delimiter, random scrambling and pixel clock information.
  • the starting position of the PHY can be aligned by calibrating the pixel clock.
  • the fields included in the synchronization symbol may be as shown in Table 4.
  • the present application provides a data transmission method. As shown in Figure 4, the method includes:
  • the first device generates first information, where the first information includes first PID synchronization information, where the first PID synchronization information is used for PID synchronization.
  • PID synchronization may include synchronization of PID counts between the first device and the second device.
  • the first device sends the first information.
  • the second device receives the first information.
  • the second device performs PID count synchronization according to the first PID synchronization information.
  • the first device may be a data sending end, and the second device may be a data receiving end.
  • the first device may also be a data receiving end, and the second device may be a data transmitting end.
  • the "data” may be understood as service data, such as image data, video data, and the like.
  • the data sender and the data receiver are only a logical distinction. In specific scenarios, the roles of the data sender and the data receiver can also be interchanged. For example, when A sends data to B, A is used as the data. Sending end, B acts as the data receiving end, when B sends data to A, B acts as the data transmitting end, and A acts as the data receiving end.
  • Reed-solomon forward error correction can be used for both the PHY code block sent by the data transmitter to the data receiver and the PHY code block sent by the data receiver to the data transmitter.
  • the length and basis of the Reed-Solomon (RS) encoding of the PHY code block sent by the data transmitting end to the data receiving end and the PHY code block sent by the data receiving end to the data transmitting end can be different, and the basis can be understood as The unit length of the symbols included in the PHY code block.
  • the PHY code block sent by the data transmitter to the data receiver can use RS-FEC (340, 312, 10), and the PHY code block sent by the data receiver to the data transmitter can use RS-FEC (76, 72, 8) , where RS-FEC(340, 312, 10) may refer to the fact that the PHY code block includes 340 symbols, the number of symbols carrying valid data is 312, and the unit length of the symbols is 10 bits; RS-FEC(76, 72, 8) may refer to the PHY code block including 76 symbols, wherein the number of symbols carrying valid data is 72, and the unit length of the symbols is 8 bits.
  • the PHY code block sent by the data transmitting end to the data receiving end is called the forward PHY code block, and the sending of the data transmitting end to the data receiving end is called forward transmission.
  • the PHY code block sent by the data receiving end to the data sending end is called the reverse PHY code block, and the sending of the data receiving end to the data sending end is called reverse transmission.
  • the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID
  • the PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
  • the first information may be a synchronization symbol.
  • the first PID synchronization information may be carried in the time base field of the synchronization symbol.
  • the first information may be as shown in Table 5.
  • the first information may also include other fields not shown in Table 5, which will not be described one by one here.
  • the time base number indicated by the time base ID field in the synchronization signal is a first value, and the first value indicates that the time base field carries the first PID synchronization information.
  • the time base number indicated by the time base ID field in the synchronization signal is 0000, and the time base number of 0000 indicates that the time base field carries the first PID synchronization information.
  • the first value is used as the synchronization symbol to carry the identifier of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
  • the first information may be as shown in Table 6.
  • the first PID synchronization information may be used to indicate the PID of the PLRB sent before the first information.
  • the first PID synchronization information may be used to indicate the PID of the previous PLRB of the first information.
  • the first PID synchronization information may be used to indicate the PID of the penultimate PLRB sent before the first information, and so on.
  • the first PID synchronization information may also be used to indicate the PID of the PLRB sent after the first information.
  • the first PID synchronization information may be used to indicate the PID of the next PLRB of the first information.
  • the first PID synchronization information may be used to indicate the PID of the second PLRB sent after the first information, and so on.
  • the transmission frequency of the synchronization symbol carrying the PID synchronization information may be preconfigured, or may be determined through negotiation during the process of establishing the link between the first device and the second device.
  • it can also be determined in other ways, which is not specifically limited here.
  • the data receiving end can complete the counting synchronization of the PID while recovering the PHY code block delimitation and scrambling code synchronization, thereby avoiding erroneous retransmission after link recovery.
  • the first information may also be a PLRB.
  • the first synchronization information may be carried in the PLCB payload field of the PLRB.
  • the first PID synchronization information may be the PID of the first information.
  • the PLRB can carry the first synchronization information in the following form: the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates non-data information.
  • the type of data information is PID synchronization information, and the third field carries the first PID synchronization information.
  • the first field may be the indicator bit shown in FIG. 2 , and for details, please refer to the relevant description of the indicator bit, which will not be repeated here.
  • the second field may be the sub-indication bit shown in FIG. 2 , wherein, in this embodiment of the present application, the second field may indicate that the non-data information is PID synchronization information by a value, for example, 0x69 may be used to indicate that the non-data information is PID Synchronization information.
  • the content indicated by the second field may be as shown in Table 7.
  • the third field may be the content field shown in FIG. 2 , and in this embodiment of the present application, the third field may carry PID synchronization information.
  • the first information may further include a CRC field.
  • the CRC field can ensure that the correctness of the PHY retransmission message can be confirmed through the CRC check in the case of an error in the transmission of the PLRB code block.
  • the format of the third field can also be understood as the format of the PID information when the PID synchronization information is carried, and is described below.
  • the third field may include at least one of the following subfields: a first subfield, a second subfield, a third subfield, and a fourth subfield.
  • the first subfield may be used to indicate whether the PLRB is a response message or a request message for the PID synchronization information.
  • the first subfield in the first information may indicate that the first PID synchronization information is a response message.
  • the second subfield may be used to carry the PID of the corresponding PLRB, for example, the second subfield in the first information may carry the PID of the first information.
  • the third subfield may be used to indicate the transmission direction for PID synchronization.
  • the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  • the fourth subfield in the first information may indicate the transmission direction of the first information.
  • the third field carrying the PID synchronization information is illustrated below as an example, as shown in Table 8.
  • the PID synchronization of forward transmission can be understood as that the data sending end sends PID synchronization information for PID synchronization to the data receiving end, that is, sending a PID synchronization response message, and the data receiving end receives the PID synchronization information after receiving the PID synchronization information. PID count synchronization is performed.
  • the PID synchronization of reverse transmission can be understood as the data receiving end sends PID synchronization information for PID synchronization to the data transmitting end, that is, sending a PID synchronization response message, and the data transmitting end performs PID synchronization after receiving the PID synchronization information.
  • Count sync the data receiving end sends PID synchronization information for PID synchronization to the data transmitting end, that is, sending a PID synchronization response message, and the data transmitting end performs PID synchronization after receiving the PID synchronization information.
  • Table 8 is only an exemplary description, and does not specifically limit the number of bits of each subfield in the third field, the corresponding relationship between the value and the indication content, and the like.
  • the third field may also include other subfields, and the subfields included in the third field are not specifically limited here.
  • the first device may actively send the first information to the second device. For example, the first device may periodically send the first information to the second device, or may send the first information to the second device when triggered by an event. Wherein, when the first device periodically sends the first information, the sending cycle of the first information may be pre-configured, or may be determined through negotiation during the process of establishing a link between the first device and the second device.
  • the first device may be the first information sent at the request of the second device.
  • the second device sends the second information to the first device, the second information carries the second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  • the second information may be PLRB.
  • the format of the second information is similar to that of the first information, except that the third field of the first information carries the first PID synchronization information for PID synchronization and the PLRB information of the first information, for example, the PID of the first information , the transmission direction of the first information, etc., the third field of the second information carries the second PID synchronization information for requesting the first PID synchronization information and the PLRB information of the second information, for example, the PID of the second information, the first 2.
  • the direction of information transmission, etc. Take the third field format shown in Table 8 as an example to illustrate the difference between the first information and the second information.
  • the first subfield of the first information is 10, indicating a response message
  • the first subfield of the second information is The value is 00, indicating a request message.
  • the third subfield of the first information indicates the transmission direction of the first information
  • the third subfield of the second information indicates the transmission direction of the second information.
  • the fourth subfield of the first information indicates the PID of the first information
  • the fourth subfield of the second information indicates the PID of the second information.
  • the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the present application provides a data transmission method. As shown in Figure 5, the method includes:
  • the first device generates at least two code blocks.
  • At least two code blocks carry one PLCB respectively, and at least one first code block in the at least two code blocks carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, and the indication information indicates PLCB is the Nth transmission, and N is a positive integer.
  • the first device sends at least two code blocks. Accordingly, the second device receives at least two code blocks.
  • the second device stores the control information of the PLCB carried by the at least one first code block.
  • the first device may be a data sending end, and the second device may be a data receiving end.
  • the first device may also be a data receiving end, and the second device may be a data transmitting end.
  • the "data” may be understood as service data, such as image data, video data, and the like.
  • the data sender and the data receiver are only a logical distinction. In specific scenarios, the roles of the data sender and the data receiver can also be interchanged. For example, when A sends data to B, A is used as the data. Sending end, B acts as the data receiving end, when B sends data to A, B acts as the data transmitting end, and A acts as the data receiving end.
  • the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the PHY code block with an error in transmission, so that retransmission errors can be avoided. And, in this way, the two ends of the transceiver can no longer maintain the PID.
  • the first code block may be a PLRB.
  • the control information of the PLCB may carry the PLCB control field of the PLRB.
  • the PLCB control field may include a PLCB ID field and a retransmission indication field, wherein the retransmission indication field may indicate that the PLCB is the Nth retransmission.
  • the "PLCB ID field” and "retransmission indication field” are only an exemplary name, and may also be named as other fields, as long as the field has the "retransmission indication field” or "PLCB ID field” in the embodiment of the present application It can be considered as the "retransmission indication field” or "PLCB ID field” in this embodiment of the present application.
  • the PLCB control field may be as shown in Table 9.
  • Table 9 is only an exemplary description, and the filling indication field may be an optional field.
  • the PLCB control field may also include other fields not shown in Table 9, and the subfields included in the PLCB control field are not included here. Make specific restrictions.
  • the second device may send a second code block to the first device, the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, Receiving status information, the identification information of the first PLCB is an ID of a PLCB that has been successfully received, the indication information of the first PLCB indicates that the first PLCB is the M-th transmission, M is a positive integer, and the receiving status information indicates that at least two code blocks are transmitted. receive status.
  • the first device may determine, according to the retransmission information, a PLCB that fails to transmit among the PLCBs carried by the at least two code blocks.
  • the identifier of the first PLCB may be the identifier of the last PLCB successfully received, or the identifier of the first PLCB may be the identifier of a PLCB successfully received within the feedback range.
  • the second code block may also be a PLRB.
  • the retransmission information may be carried in the PLCB payload field of the PLRB.
  • the PLRB can carry the retransmission information in the following form: the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates non-data information.
  • the type of information is transmission confirmation information, and the third field carries retransmission information.
  • the first field may be the indicator bit shown in FIG. 2 , and for details, please refer to the relevant description of the indicator bit, which will not be repeated here.
  • the second field may be the sub-indication bit shown in FIG. 2 .
  • the third field may be the content field shown in FIG. 2 , and in this embodiment of the present application, the third field may carry retransmission information.
  • the format of the third field when the retransmission information is carried which can also be understood as the format of the retransmission information, will be described below.
  • the third field may include at least one of the following subfields: a first subfield, a second subfield, a third subfield, and a fourth subfield.
  • the first subfield may be used to indicate the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates Part of the second PLCB that received an error was detected.
  • the second subfield may carry the identifier of the first PLCB.
  • the third subfield may carry the indication information of the first PLCB.
  • the fourth subfield may carry reception status information.
  • Table 10 is only an exemplary description, and does not specifically limit the number of bits of each subfield in the third field, the corresponding relationship between the value and the indicated content, and the like.
  • the third field may also include other subfields, and the subfields included in the third field are not specifically limited here.
  • the first device sends PHY code blocks 1 to 3 to the second device in sequence, wherein, PHY code block 1 carries PLCB 1 and indicates PLCB 1 as the initial transmission, and PHY code block 2 carries PLCB 2 and indicates PLCB 2 For initial transmission, PHY code block 3 carries PLCB 3 and indicates PLCB 3 as initial transmission.
  • the second device After the second device receives the PHY code blocks 1 to 3 and finds that the PHY code block 2 has a transmission error, the second device can send ACK 1 to the first device, where the ACK 1 carries the identifier of PLCB 3 and indicates that PLCB 3 is the initial transmission, Receive status information (in order: PHY code block 2 is wrong, PHY code block 1 is correct).
  • the first device After receiving the ACK 1, the first device can instruct PLCB to determine PHY code block 3 for the initial transmission according to the identification of PLCB1, and then use PHY code block 3 as the last PHY code block, and count 2 code blocks forward, that is, the code For blocks 1 to 3, according to the reception status information, it can be determined that the transmission of PHY code block 2 is wrong, and the transmission of PHY code block 1 is correct.
  • the first device retransmits the PLCB 2 carried by the PHY code block 2 through the PHY code block 5, and instructs the PLCB 2 for the first retransmission.
  • the second device After receiving the PHY code blocks 4 to 5, the second device finds that the transmission of the PHY code block 4 is wrong, and the transmission of the PHY code block 5 is correct.
  • the second device may send an ACK 2 to the first device, wherein the ACK 2 carries the identifier of the PLCB 2 and indicates that the PLCB 2 is the first retransmission, receiving status information (in order: PHY code block 4 is wrong, PHY code block 3 Correct, PHY code block 2 is wrong, PHY code block 1 is correct).
  • the first device can instruct the PLCB 2 to determine the PHY code block 5 for the first retransmission according to the identification of the PLCB 2, and then take the PHY code block 5 as the last PHY code block, and count 4 ahead.
  • the code blocks that is, the PHY code blocks 1 to 5, can be determined according to the receiving state information as the receiving states of the PHY code blocks 1 to 5 in sequence: correct; incorrect; correct; incorrect; correct, so that the first device can determine that the PHY code block 4 is transmitted mistake.
  • the first device retransmits the PLCB 3 carried by the PHY code block 4.
  • the identifier of the first PLCB carried by the second subfield in the ACK may be the PLCB ID carried by the last PHY code block that is successfully received within the feedback range, or the first PHY code block that is successfully received within the feedback range. Carrying PLCB ID.
  • the identifier of the first PLCB can be indicated by means of an implicit indication that the identifier of the first PLCB is the PLCB ID carried by the last PHY code block successfully received within the feedback range, or the first successfully received PHY code block within the feedback range.
  • it can be specified through the protocol that the identifier of the first PLCB is the PLCB ID carried by the last successfully received PHY code block within the feedback range.
  • the identifier of the first PLCB can also be indicated by displaying an indication that the identifier of the first PLCB is the PLCB ID carried by the last successfully received PHY code block within the feedback range, or the first successfully received PHY code block within the feedback range
  • the carried PLCB ID for example, is indicated by a field not shown in the ACK.
  • the reception status may use the successfully received PHY code block determined by the second subfield and the third subfield as an anchor point, indicating the reception status of other PHY code blocks. Specifically, it may be indicated by means of bit mapping, or other indication manners, which are not specifically limited in this embodiment of the present application.
  • the embodiments of the present application provide a data transmission apparatus.
  • the structure of the apparatus may be as shown in FIG. 7 , including a processing unit 701 and a transceiver unit 702 .
  • the data transmission apparatus can be specifically used to implement the method executed by the first device in the embodiment of FIG.
  • the part of the function used to perform the related method The processing unit 701 is configured to generate first information, where the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization; the transceiver unit 702 is configured to send the first information.
  • PID synchronization includes PID count synchronization between the first device and the second device.
  • the first information is a synchronization symbol
  • the synchronization symbol includes a time base field
  • the time base field carries the first PID synchronization information.
  • the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first PID synchronization information.
  • the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  • the first information is a PLRB
  • the PLRB includes a PLCB payload field
  • the PLCB payload field carries the first PID synchronization information.
  • the first PID synchronization information is the PID of the first information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the first information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field Carry the first PID synchronization information
  • the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  • the transceiver unit 702 is further configured to: before the processing unit 701 generates the first information, receive second information, where the second information carries the second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information .
  • the second information is a PLRB
  • the PLRB includes a PLCB payload field
  • the PLCB payload field carries the second PID synchronization information.
  • the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the second PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  • the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB, and the third subfield is used to carry the PID of the corresponding PLRB.
  • the field is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  • the data transmission apparatus may be specifically used to implement the method performed by the first device in the embodiment of FIG. 5 , and the apparatus may be the first device itself, or may be a chip or chipset or The part of the chip used to perform the function of the associated method.
  • the processing unit 701 is configured to generate at least two code blocks, each of the at least two code blocks carries a PLCB, and at least one first code block of the at least two code blocks carries control information of the PLCB, and the control information of the PLCB includes Identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer; the transceiver unit 702 is used for sending at least two code blocks.
  • the first code block is a PLRB
  • the first code block includes a PLCB control field
  • the PLCB control field carries control information of the PLCB.
  • the transceiver unit 702 is further configured to: receive a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information,
  • the identification information of the first PLCB is the ID of a successfully received PLCB
  • the indication information of the first PLCB indicates that the first PLCB is the M-th transmission
  • M is a positive integer
  • the reception status information indicates the reception status of at least two code blocks
  • the unit 701 is further configured to: determine, according to the retransmission information, a PLCB whose transmission fails among the PLCBs carried by the at least two code blocks.
  • the second code block is a PLRB
  • the second code block includes a PLCB payload field
  • the PLCB payload field carries retransmission information.
  • the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, the second field indicates that the type of the non-data information is transmission confirmation information, and the third field field carries retransmission information.
  • the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates The second PLCB partially received the error.
  • the data transmission apparatus may be specifically used to implement the method executed by the second device in the embodiment of FIG.
  • the part of the function used to perform the related method The transceiver unit 702 is used for receiving first information, the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization; the processing unit 701 is used for performing PID synchronization according to the first PID synchronization information.
  • PID synchronization includes PID count synchronization between the first device and the second device.
  • the first information is a synchronization symbol
  • the synchronization symbol includes a time base field
  • the time base field carries the first PID synchronization information.
  • the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first PID synchronization information.
  • the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  • the first information is a PLRB
  • the PLRB includes a PLCB payload field
  • the PLCB payload field carries the first PID synchronization information.
  • the first PID synchronization information is the PID of the first information.
  • the PLCB payload field includes a first field, a second field and a third field
  • the first field indicates that the first information carries non-data information
  • the second field indicates that the type of the non-data information is PID synchronization information
  • the third field Carry the first PID synchronization information
  • the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  • the transceiver unit 702 is further configured to: before receiving the first information, send second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  • the second information is a PLRB
  • the PLRB includes a PLCB payload field
  • the PLCB payload field carries the second PID synchronization information.
  • the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the second PID synchronization information.
  • the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  • the third field includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB, and the third subfield is used to carry the PID of the corresponding PLRB. Used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  • the data transmission apparatus may be specifically used to implement the method performed by the second device in the embodiment of FIG. 5 , and the apparatus may be the second device itself, or may be a chip or a chipset or a chip in the second device. The part of the chip used to perform the function of the associated method.
  • the transceiver unit 702 is configured to receive at least two code blocks, the at least two code blocks carry one PLCB respectively, and at least one first code block in the at least two code blocks carries the control information of the PLCB, and the control information of the PLCB includes The identification information of the PLCB and the corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and N is a positive integer; the processing unit 701 is configured to determine the control information of at least one PLCB.
  • the first code block is a PLRB
  • the first code block includes a PLCB control field
  • the PLCB control field carries control information of the PLCB.
  • the transceiver unit 702 is further configured to: send a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information,
  • the identification information of the first PLCB is the ID of a successfully received PLCB
  • the indication information of the first PLCB indicates that the first PLCB is the Mth transmission
  • M is a positive integer
  • the reception status information indicates the reception status of at least two code blocks.
  • the second code block is a PLRB
  • the second code block includes a PLCB payload field
  • the PLCB payload field carries retransmission information.
  • the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, the second field indicates that the type of the non-data information is transmission confirmation information, and the third field field carries retransmission information.
  • the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates The second PLCB partially received the error.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit. In the device, it can also exist physically alone, or two or more modules can be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It can be understood that, for the functions or implementations of each module in the embodiments of the present application, further reference may be made to the related descriptions of the method embodiments.
  • the data transmission apparatus may be as shown in FIG. 8 , and the apparatus may be a chip in the first device or the second device.
  • the apparatus may include a processor 801 , a communication interface 802 , and a memory 803 .
  • the processing unit 701 may be the processor 801 .
  • the transceiver unit 702 is the communication interface 802 .
  • the processor 801 may be a central processing unit (Central Processing Unit, CPU), or a digital processing unit or the like.
  • the communication interface 802 may be a transceiver, an interface circuit such as a transceiver circuit, or a transceiver chip or the like.
  • the apparatus further includes: a memory 803 for storing programs executed by the processor 801 .
  • the memory 803 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may be a volatile memory (volatile memory), such as random access memory (random access memory) -access memory, RAM).
  • Memory 803 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the processor 801 is configured to execute the program code stored in the memory 803, and is specifically configured to execute the actions of the above-mentioned processing unit 701, which will not be described in detail in this application.
  • the communication interface 802 is specifically configured to perform the actions of the above-mentioned transceiver unit 702, and details are not described herein again in this application.
  • connection medium between the communication interface 802 , the processor 801 , and the memory 803 is not limited in the embodiments of the present application.
  • the memory 803, the processor 801, and the communication interface 802 are connected through a bus 804 in FIG. 8, and the bus is represented by a thick line in FIG. 8.
  • the connection between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.
  • Embodiments of the present application further provide a communication system, including a communication device for implementing the function of a sending node in the embodiments of FIG. 4 to FIG. 5 and a communication device for implementing the function of a receiving node in the embodiments of FIG. 4 to FIG. 5 .
  • Embodiments of the present application further provide a computer-readable storage medium for storing computer software instructions that need to be executed to execute the above-mentioned processor, which includes a program to be executed to execute the above-mentioned processor.
  • An embodiment of the present application further provides a vehicle, the vehicle includes a first device and/or a second device, and the first device and the second device are used to implement the data transmission method in FIG. 4 or FIG. 5 individually or jointly.
  • the first device and the second device may be the communication apparatus shown in FIG. 7 .
  • the embodiment of the present application further provides a chip, the chip includes at least one processor and a communication interface, the processor is coupled to the memory, and is used for reading a computer program stored in the memory to execute the computer program in the embodiment shown in FIG. 4 or FIG. 5 . Function.
  • An embodiment of the present application further provides a chip, including a communication interface and at least one processor, where the processor operates to perform the functions in the embodiment described in FIG. 4 or FIG. 5 .
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Disclosed in the present application are a data transmission method and apparatus, which can be used for assisted driving and autonomous driving, and are used for solving the problem of incorrect retransmission of a PHY code block caused by PHY clock desynchronization. The method comprises: generating first information, and sending the first information, wherein the first information comprises first PID synchronization information, and the first PID synchronization information is used for PID synchronization. In the embodiments of the present application, a first device sends PID synchronization information to a second device, such that the second device can calibrate a PID count according to the PID synchronization information, and thus a data receiving end can correctly indicate, by using a calibrated PID, a PHY code block which is incorrectly transmitted, and incorrect retransmission can then be avoided. Furthermore, the method can be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long term evolution-vehicle (LTE-V) and vehicle to vehicle (V2V).

Description

一种数据传输方法及装置A data transmission method and device 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种数据传输方法及装置。The present application relates to the field of communication technologies, and in particular, to a data transmission method and apparatus.
背景技术Background technique
在高速有线传输,特别一些车载串行解串器(serializer/deserializer,SerDes)传输中,由于误比特率(bit error rate,BER)要求较高,通常会考虑通过重传的方式来提升传输链路的可靠性。In high-speed wired transmission, especially in some vehicle-mounted serializer/deserializer (SerDes) transmission, due to high bit error rate (BER) requirements, retransmission is usually considered to improve the transmission chain reliability of the road.
SerDes传输中,发端(第一设备)顺序发送物理层(physical layer,PHY)码块,一个PHY码块为一个物理层里德所罗门纠错编码块(physical layer RS-FEC block,PLRB),且一个PHY码块中承载一个物理层内容块(physical layer content block,PLCB)。当PHY码块传输失败时,收端(第二设备)向第一设备发送确认消息(ACK),通过ACK中携带的PLRB编号(PLRB Identifier,PID)信息,指示接收失败的PHY码块。第一设备将传输失败的PHY码块承载的PLCB封装到新的PHY码块中发送给第二设备,完成重传。例如,当PHY码块2传输失败时,第二设备向第一设备发送ACK,通过ACK中携带的PID信息,指示PHY码块2接收失败。第一设备将PHY码块2承载的PLCB 2封装到PHY码块5后发送给第二设备,完成重传。In SerDes transmission, the originator (the first device) sends physical layer (PHY) code blocks sequentially, one PHY code block is a physical layer Reed Solomon error correction code block (physical layer RS-FEC block, PLRB), and A PHY code block carries a physical layer content block (PLCB). When the transmission of the PHY code block fails, the receiving end (the second device) sends an acknowledgment message (ACK) to the first device, and indicates the failed PHY code block through the PLRB ID (PLRB Identifier, PID) information carried in the ACK. The first device encapsulates the PLCB carried by the failed PHY code block into a new PHY code block and sends it to the second device to complete the retransmission. For example, when the transmission of the PHY code block 2 fails, the second device sends an ACK to the first device, and indicates that the PHY code block 2 fails to receive through the PID information carried in the ACK. The first device encapsulates the PLCB 2 carried by the PHY code block 2 into the PHY code block 5 and sends it to the second device to complete the retransmission.
SerDes传输中,第一设备和第二设备在链路建立过程中实现PHY码块的时钟同步,从而根据时钟计数确定PHY码块的编号。在干扰场景,持续时间较长的干扰可引起PHY时钟失步。而PHY时钟失步会导致第二设备进行PHY码块的计数不准确,从而导致PHY码块的重传出现错误。In SerDes transmission, the first device and the second device realize clock synchronization of the PHY code block during the link establishment process, so as to determine the number of the PHY code block according to the clock count. In jammer scenarios, longer duration jammers can cause PHY clock desynchronization. The PHY clock desynchronization may cause the second device to inaccurately count the PHY code blocks, thereby causing errors in the retransmission of the PHY code blocks.
发明内容SUMMARY OF THE INVENTION
本申请提供一种数据传输方法及装置,用于解决PHY时钟失步导致PHY码块的重传出现错误的问题。The present application provides a data transmission method and device, which are used to solve the problem of errors in retransmission of PHY code blocks caused by PHY clock desynchronization.
第一方面,本申请实施例提供了一种数据传输方法,包括:生成第一信息并进行发送,第一信息包括第一PID同步信息,第一PID同步信息用于PID同步。In a first aspect, an embodiment of the present application provides a data transmission method, including: generating and sending first information, where the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization.
本申请实施例中第一设备通过向第二设备发送PID同步信息,使得第二设备可以根据PID同步信息校准PID计数,从而使得数据接收端通过PID信息指示的PHY码块与数据发送端根据PID信息确定的PHY码块一致,进而可以避免错误重传。In this embodiment of the present application, the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID The PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
在一种可能的设计中,PID同步包括第一设备和第二设备之间的PID计数同步。上述设计中,第一设备和第二设备可以通过PID同步信息进行PID计数同步,从而第一设备和第二设备可以通过PID确定同一个PHY码块,从而可以避免错误重传。In one possible design, the PID synchronization includes PID count synchronization between the first device and the second device. In the above design, the first device and the second device can perform PID count synchronization through the PID synchronization information, so that the first device and the second device can determine the same PHY code block through the PID, thereby avoiding erroneous retransmission.
在一种可能的设计中,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。上述设计中,通过复用周期性发送的同步符号,使得数据接收端在恢复PHY码块定界、扰码同步的同时,可以完成PID的计数同步,从而可以避免链路恢复后错误重传。In a possible design, the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information. In the above design, by multiplexing the periodically sent synchronization symbols, the data receiving end can complete the PID count synchronization while recovering the PHY code block delimitation and scrambling code synchronization, thereby avoiding erroneous retransmission after link recovery.
在一种可能的设计中,同步符号还包括用于指示时基编号的时基标识字段,其中,时 基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。上述方式中通过第一值作为同步符号携带PID同步信息的标识,使得第二设备可以在时基ID字段指示的时基编号为第一值时在时基字段读取PID同步信息。In a possible design, the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first value. PID synchronization information. In the above manner, the first value is used as the synchronization symbol to carry the identifier of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
在一种可能的设计中,第一PID同步信息用于指示第一信息之前发送的PLRB的PID;或者,第一PID同步信息用于指示第一信息之后发送的PLRB的PID。上述设计,第一设备通过指示一个具体位置的PLRB的PID,使得第二设备可以校准该PLRB的PID,从而实现PID计数同步。In a possible design, the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information. In the above design, by indicating the PID of a PLRB at a specific location, the first device enables the second device to calibrate the PID of the PLRB, thereby realizing PID counting synchronization.
在一种可能的设计中,第一信息为PLRB,PLRB包括物理层内容块(PLCB)净荷字段,PLCB净荷字段携带第一PID同步信息。上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, the first information is a PLRB, the PLRB includes a physical layer content block (PLCB) payload field, and the PLCB payload field carries the first PID synchronization information. In the above-mentioned embodiments, the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
在一种可能的设计中,第一PID同步信息为第一信息的PID。上述设计通过在第一信息中携带该第一信息的PID,使得第二设备在接收到第一信息可以校准该第一信息的PID计数。In a possible design, the first PID synchronization information is the PID of the first information. In the above design, by carrying the PID of the first information in the first information, the second device can calibrate the PID count of the first information after receiving the first information.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第一PID同步信息。上述设计,通过PHY控制信息携带第一PID同步信息,使得第二设备在第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息时在第三字段读取第一PID同步信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates that the type of the non-data information is PID synchronization information , and the third field carries the first PID synchronization information. The above design uses the PHY control information to carry the first PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and the second field indicates that the type of the non-data information is PID synchronization information. When the type of PID synchronization information is read in the third field Take the first PID synchronization information.
在一种可能的设计中,第三字段包括第一子字段,第一子字段指示第一PID同步信息为PID同步响应消息。上述设计中,通过第一子字段可以区分响应消息和请求消息。In a possible design, the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message. In the above design, the response message and the request message can be distinguished through the first subfield.
在一种可能的设计中,在生成第一信息之前,方法还包括:接收第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。上述设计中,第一信息可以在第二设备的请求下进行发送。In a possible design, before generating the first information, the method further includes: receiving second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information. In the above design, the first information may be sent at the request of the second device.
在一种可能的设计中,第二信息为PLRB,PLRB包括PLCB净荷字段;PLCB净荷字段携带第二PID同步信息。上述实施方式中可以利用PHY控制消息承载第二PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information. In the above embodiment, the PHY control message can be used to carry the second PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第二PID同步信息。上述设计,通过PHY控制信息携带第二PID同步信息,使得第二设备在第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息时在第三字段读取第二PID同步信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, and the second field indicates that the type of the non-data information is PID synchronization information , and the third field carries the second PID synchronization information. The above design uses the PHY control information to carry the second PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and the second field indicates that the type of the non-data information is PID synchronization information. Take the second PID synchronization information.
在一种可能的设计中,第三字段包括第一子字段,第一子字段指示第二PID同步信息为PID同步请求消息。上述设计中,通过第一子字段可以区分响应消息和请求消息。In a possible design, the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message. In the above design, the response message and the request message can be distinguished through the first subfield.
在一种可能的设计中,第三字段还包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;其中,第二子字段用于携带对应PLRB的PID,第三子字段用于指示进行PID同步的传输方向;第四子字段用于指示对应PLRB的传输方向。通过上述设计,可以提高PID同步的准确性。In a possible design, the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB , the third subfield is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB. Through the above design, the accuracy of PID synchronization can be improved.
第二方面,本申请实施例提供了一种数据传输方法,包括:生成至少两个码块并进行发送,至少两个码块分别携带一个物理层内容块(PLCB),且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示 信息,指示信息指示PLCB为第N次传输,N为正整数。In a second aspect, an embodiment of the present application provides a data transmission method, including: generating and sending at least two code blocks, the at least two code blocks each carry a physical layer content block (PLCB), and the at least two code blocks At least one of the first code blocks carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer.
本申请实施例中,通过PLCB的标识和该PLCB被重传的次数来确定PHY码块,使得第二设备可以准确指示传输错误的PHY码块,从而可以避免重传错误。并且,通过这种方式,收发两端可以无需再维护PID。In the embodiment of the present application, the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the transmission error PHY code block, thereby avoiding retransmission errors. And, in this way, the two ends of the transceiver can no longer maintain the PID.
在一种可能的设计中,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。上述实施方式中可以利用PLCB控制字段承载PLCB的控制信息。In a possible design, the first code block is a PLRB, the first code block includes a PLCB control field, and the PLCB control field carries control information of the PLCB. In the above embodiment, the PLCB control field may be used to carry the control information of the PLCB.
在一种可能的设计中,方法还包括:接收第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态;根据重传信息确定至少两个码块携带的PLCB中传输失败的PLCB。上述设计中,通过在第二码块中携带重传信息,使得第一设备可以根据重传信息确定一个PHY码块,从而可以根据该PHY码块确定传输错误的PHY码块。In a possible design, the method further includes: receiving a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, The identification information of the first PLCB is the ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, M is a positive integer, and the reception status information indicates the reception status of at least two code blocks; according to The retransmission information determines a PLCB that fails to transmit among the PLCBs carried by at least two code blocks. In the above design, by carrying the retransmission information in the second code block, the first device can determine a PHY code block according to the retransmission information, so that the PHY code block with transmission error can be determined according to the PHY code block.
在一种可能的设计中,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。上述实施方式中可以利用PLCB净荷字段承载重传信息。In a possible design, the second code block is PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information. In the above embodiment, the PLCB payload field may be used to carry the retransmission information.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。上述设计,通过PHY控制信息携带重传信息,使得第二设备在第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息时在第三字段读取重传信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the second field indicates that the type of the non-data information is transmission acknowledgement information, the third field carries retransmission information. In the above design, the retransmission information is carried by the PHY control information, so that the second device indicates that the second code block carries non-data information in the first field, and the second field indicates that the type of non-data information is read in the third field when the type of non-data information is transmission confirmation information Retransmit information.
在一种可能的设计中,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。通过上述设计,使得第二设备可以确定反馈范围。In a possible design, the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving The status indicates only the second PLCB that partially received the error. Through the above design, the second device can determine the feedback range.
第三方面,本申请实施例提供了一种数据传输方法,包括:接收第一信息并根据第一PID同步信息进行PID同步,第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,第一PID同步信息用于PID同步。In a third aspect, an embodiment of the present application provides a data transmission method, including: receiving first information and performing PID synchronization according to the first PID synchronization information, where the first information includes a first physical layer Reed Solomon error correction coding block identifier PID Synchronization information, the first PID synchronization information is used for PID synchronization.
本申请实施例中第一设备通过向第二设备发送PID同步信息,使得第二设备可以根据PID同步信息校准PID计数,从而使得数据接收端通过PID信息指示的PHY码块与数据发送端根据PID信息确定的PHY码块一致,进而可以避免错误重传。In this embodiment of the present application, the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID The PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
在一种可能的设计中,PID同步包括第一设备和第二设备之间的PID计数同步。上述设计中,第一设备和第二设备可以通过PID同步信息进行PID计数同步啊,从而第一设备和第二设备可以通过PID确定同一个PHY码块,从而可以避免错误重传。In one possible design, the PID synchronization includes PID count synchronization between the first device and the second device. In the above design, the first device and the second device can perform PID count synchronization through the PID synchronization information, so that the first device and the second device can determine the same PHY code block through the PID, thereby avoiding erroneous retransmission.
在一种可能的设计中,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。上述设计中,通过复用周期性发送的同步符号,使得数据接收端在恢复PHY码块定界、扰码同步的同时,可以完成PID的计数同步,从而可以避免链路恢复后错误重传。In a possible design, the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information. In the above design, by multiplexing the periodically sent synchronization symbols, the data receiving end can complete the PID count synchronization while recovering the PHY code block delimitation and scrambling code synchronization, thereby avoiding erroneous retransmission after link recovery.
在一种可能的设计中,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。上述 方式中通过第一值作为同步符号携带PID同步信息的标识,使得第二设备可以在时基ID字段指示的时基编号为第一值时在时基字段读取PID同步信息。In a possible design, the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first value. PID synchronization information. In the above-mentioned manner, the first value is used as the synchronization symbol to carry the identification of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
在一种可能的设计中,第一PID同步信息用于指示第一信息之前发送的PLRB的PID;或者,第一PID同步信息用于指示第一信息之后发送的PLRB的PID。上述设计,第一设备通过指示一个具体位置的PLRB的PID,使得第二设备可以校准该PLRB的PID,从而实现PID计数同步。In a possible design, the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information. In the above design, by indicating the PID of a PLRB at a specific location, the first device enables the second device to calibrate the PID of the PLRB, thereby realizing PID counting synchronization.
在一种可能的设计中,第一信息为PLRB,PLRB包括物理层内容块(PLCB)净荷字段,PLCB净荷字段携带第一PID同步信息。上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, the first information is a PLRB, the PLRB includes a physical layer content block (PLCB) payload field, and the PLCB payload field carries the first PID synchronization information. In the above-mentioned embodiments, the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
在一种可能的设计中,第一PID同步信息为第一信息的PID。上述设计通过在第一信息中携带该第一信息的PID,使得第二设备在接收到第一信息可以校准该第一信息的PID计数。In a possible design, the first PID synchronization information is the PID of the first information. In the above design, by carrying the PID of the first information in the first information, the second device can calibrate the PID count of the first information after receiving the first information.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第一PID同步信息。上述设计,通过PHY控制信息携带第一PID同步信息,使得第二设备在第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息时在第三字段读取第一PID同步信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates that the type of the non-data information is PID synchronization information , and the third field carries the first PID synchronization information. The above design uses the PHY control information to carry the first PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and the second field indicates that the type of the non-data information is PID synchronization information. When the type of PID synchronization information is read in the third field Take the first PID synchronization information.
在一种可能的设计中,第三字段包括第一子字段,第一子字段指示第一PID同步信息为PID同步响应消息。上述设计中,通过第一子字段可以区分响应消息和请求消息。In a possible design, the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message. In the above design, the response message and the request message can be distinguished through the first subfield.
在一种可能的设计中在接收第一信息之前,方法还包括:发送第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。上述设计中,第一信息可以在第二设备的请求下进行发送。In a possible design, before receiving the first information, the method further includes: sending second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information. In the above design, the first information may be sent at the request of the second device.
在一种可能的设计中,在生成第一信息之前,方法还包括:接收第二信息,第二信息携带第二PID同步信息。上述实施方式中可以利用PHY控制消息承载第二PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, before generating the first information, the method further includes: receiving second information, where the second information carries the second PID synchronization information. In the above embodiment, the PHY control message can be used to carry the second PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第二PID同步信息。上述设计,通过PHY控制信息携带第二PID同步信息,使得第二设备在第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息时在第三字段读取第二PID同步信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, and the second field indicates that the type of the non-data information is PID synchronization information , and the third field carries the second PID synchronization information. The above design uses the PHY control information to carry the second PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and the second field indicates that the type of the non-data information is PID synchronization information. Take the second PID synchronization information.
在一种可能的设计中,第三字段包括第一子字段,第一子字段指示第二PID同步信息为PID同步请求消息。上述设计中,通过第一子字段可以区分响应消息和请求消息。In a possible design, the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message. In the above design, the response message and the request message can be distinguished through the first subfield.
在一种可能的设计中,第三字段还包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;其中,第二子字段用于携带对应PLRB的PID,第三子字段用于指示进行PID同步的传输方向;第四子字段用于指示对应PLRB的传输方向。通过上述设计,可以提高PID同步的准确性。In a possible design, the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB , the third subfield is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB. Through the above design, the accuracy of PID synchronization can be improved.
第四方面,本申请实施例提供了一种数据传输方法,包括:接收至少两个码块,至少两个码块分别携带一个物理层内容块PLCB,且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示信息,指示信息指示PLCB为第N次传输,N为正整数;确定至少一个PLCB的控制信息。In a fourth aspect, an embodiment of the present application provides a data transmission method, including: receiving at least two code blocks, wherein the at least two code blocks each carry a physical layer content block PLCB, and at least one of the at least two code blocks is a first A code block carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer; the control information of at least one PLCB is determined.
本申请实施例中,通过PLCB的标识和该PLCB被重传的次数来确定PHY码块,使得第二设备可以准确指示传输错误的PHY码块,从而可以避免重传错误。并且,通过这种方式,收发两端可以无需再维护PID。In the embodiment of the present application, the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the transmission error PHY code block, thereby avoiding retransmission errors. And, in this way, the two ends of the transceiver can no longer maintain the PID.
在一种可能的设计中,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。上述实施方式中可以利用PLCB控制字段承载PLCB的控制信息。In a possible design, the first code block is a PLRB, the first code block includes a PLCB control field, and the PLCB control field carries control information of the PLCB. In the above embodiment, the PLCB control field may be used to carry the control information of the PLCB.
在一种可能的设计中,方法还包括:发送第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态。上述设计中,通过在第二码块中携带重传信息,使得第一设备可以根据重传信息确定一个PHY码块,从而可以根据该PHY码块确定传输错误的PHY码块。In a possible design, the method further includes: sending a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, The identification information of the first PLCB is the ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, M is a positive integer, and the reception status information indicates the reception status of at least two code blocks. In the above design, by carrying the retransmission information in the second code block, the first device can determine a PHY code block according to the retransmission information, so that the PHY code block with transmission error can be determined according to the PHY code block.
在一种可能的设计中,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。In a possible design, the second code block is PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information.
在一种可能的设计中,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。上述实施方式中可以利用PLCB净荷字段承载重传信息。In a possible design, the second code block is PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information. In the above embodiment, the PLCB payload field may be used to carry the retransmission information.
在一种可能的设计中,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。上述设计,通过PHY控制信息携带重传信息,使得第二设备在第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息时在第三字段读取重传信息。In a possible design, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the second field indicates that the type of the non-data information is transmission acknowledgement information, the third field carries retransmission information. In the above design, the retransmission information is carried by the PHY control information, so that the second device indicates that the second code block carries non-data information in the first field, and the second field indicates that the type of non-data information is read in the third field when the type of non-data information is transmission confirmation information Retransmit information.
在一种可能的设计中,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。通过上述设计,使得第二设备可以确定反馈范围。In a possible design, the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving The status indicates only the second PLCB that partially received the error. Through the above design, the second device can determine the feedback range.
第五方面,本申请提供一种数据传输装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。当该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。In a fifth aspect, the present application provides a data transmission apparatus, which may be a communication device, or a chip or a chipset in the communication device. The apparatus may include a processing unit and a transceiving unit. When the apparatus is a communication device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit The instructions stored in the storage module are executed to execute the method of the first aspect or any design of the first aspect, the second aspect or any design of the second aspect. When the device is a chip or a chipset in a communication device, the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to A method of performing the above first aspect or any design of the first aspect, the second aspect or any design of the second aspect. The storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
第六方面,本申请提供一种数据传输装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。当 该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。In a sixth aspect, the present application provides a data transmission apparatus, which may be a communication device, or a chip or a chipset in the communication device. The apparatus may include a processing unit and a transceiving unit. When the apparatus is a communication device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit The instructions stored in the storage module are executed to execute the method of the third aspect or any design in the third aspect, the fourth aspect or any design in the fourth aspect. When the device is a chip or a chipset in a communication device, the processing unit may be a processor, the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to A method of performing the above third aspect or any design of the third aspect, the fourth aspect or any design of the fourth aspect. The storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
第七方面,本申请提供了一种数据传输装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。In a seventh aspect, the present application provides a data transmission device, including: a processor, and may also include a communication interface and a memory. The communication interface is used to transfer information, and/or messages, and/or data between the device and other devices. The memory is used for storing computer-executable instructions, and when the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus executes the first aspect or any one of the first aspect or the second aspect. or the method designed in any one of the second aspects.
第八方面,本申请提供了一种数据传输装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。In an eighth aspect, the present application provides a data transmission device, including: a processor, and may also include a communication interface and a memory. The communication interface is used to transfer information, and/or messages, and/or data between the device and other devices. The memory is used to store computer-executable instructions, and when the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus executes the third aspect or any one of the third aspect and the fourth aspect. or the method designed in any one of the fourth aspects.
第九方面,本申请实施例提供了一种数据传输系统,包括上述第五方面中的数据传输装置,以及上述第六方面中的数据传输装置。In a ninth aspect, an embodiment of the present application provides a data transmission system, including the data transmission device in the fifth aspect and the data transmission device in the sixth aspect.
第十方面,本申请实施例提供了一种数据传输系统,包括上述第七方面中的数据传输装置,以及上述第八方面中的数据传输装置。In a tenth aspect, an embodiment of the present application provides a data transmission system, including the data transmission device in the seventh aspect and the data transmission device in the eighth aspect.
第十一方面,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。In an eleventh aspect, the embodiments of the present application further provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute any one of the first to fourth aspects above. The method of any one aspect, or any aspect.
第十二方面,本申请实施例还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。In a twelfth aspect, the embodiments of the present application further provide a computer program product including instructions, which, when run on a computer, cause the computer to execute any one of the above-mentioned first to fourth aspects, or any one of the above-mentioned aspects. A design method.
第十三方面,本申请实施例还提供一种通信系统,该系统包括发送节点和接收节点,其中,发送节点可以执行上述第一方面或第一方面中任一设计相应的方法,接收节点可以执行上述第三方面或第三方面任一设计相应的方法。In a thirteenth aspect, an embodiment of the present application further provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the first aspect or the corresponding method in any design of the first aspect, and the receiving node can A method corresponding to the third aspect or any of the designs of the third aspect is performed.
第十四方面,本申请实施例还提供一种通信系统,该系统包括发送节点和接收节点,其中,发送节点可以执行上述第二方面或第二方面中任一设计相应的方法,接收节点可以执行上述第四方面或第四方面任一设计相应的方法。In a fourteenth aspect, an embodiment of the present application further provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the second aspect or any of the corresponding methods in the second aspect, and the receiving node can A method corresponding to the fourth aspect or any of the designs of the fourth aspect is performed.
第十五方面,本申请实施例提供的一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。A fifteenth aspect, a chip provided by an embodiment of the present application, the chip includes at least one processor and a communication interface, the processor is coupled to a memory, and is configured to read a computer program stored in the memory to execute the above-mentioned first to fourth aspects A method of any of the aspects, or any design of any of the aspects.
需要说明的是,本申请实施例中“耦合”是指两个部件彼此直接或间接地结合。It should be noted that, "coupled" in the embodiments of the present application means that two components are directly or indirectly combined with each other.
第十六方面,本申请实施例提供一种车辆,该车辆包括第一设备和/或第二设备,第一设备用于执行前述第一方面或第一方面中任一设计的方法,第二设备用于执行前述第三方面或第三方面中任一设计的方法。A sixteenth aspect, an embodiment of the present application provides a vehicle, the vehicle includes a first device and/or a second device, the first device is used to execute the first aspect or the method designed in any one of the first aspects, the second device An apparatus for performing the method of the preceding third aspect or any one of the designs of the third aspect.
第十七方面,本申请实施例提供一种车辆,该车辆包括第一设备和/或第二设备,第一设备用于执行前述第二方面或第二方面中任一设计的方法,第二设备用于执行前述第四方 面或第四方面中任一设计的方法。A seventeenth aspect, an embodiment of the present application provides a vehicle, the vehicle includes a first device and/or a second device, the first device is used to execute the second aspect or the method designed in any one of the second aspects, the second device An apparatus for performing the method of the preceding fourth aspect or any one of the designs of the fourth aspect.
附图说明Description of drawings
图1为本申请实施例提供的一种数据传输示意图;FIG. 1 is a schematic diagram of data transmission according to an embodiment of the present application;
图2为本申请实施例提供的一种PLRB格式示意图;2 is a schematic diagram of a PLRB format provided by an embodiment of the present application;
图3为本申请实施例提供的一种同步符号传输示意图;3 is a schematic diagram of a synchronization symbol transmission provided by an embodiment of the present application;
图4为本申请实施例提供的一种数据传输方法的流程示意图;4 is a schematic flowchart of a data transmission method provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据传输方法的流程示意图;FIG. 5 is a schematic flowchart of a data transmission method provided by an embodiment of the present application;
图6为本申请实施例提供的一种数据传输示意图;FIG. 6 is a schematic diagram of data transmission provided by an embodiment of the present application;
图7为本申请实施例提供的一种数据传输装置的结构示意图;FIG. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application;
图8为本申请实施例提供的一种数据传输装置的结构示意图。FIG. 8 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例的说明书和权利要求书及附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "comprising" and "having" in the description, claims and drawings of the embodiments of the present application and any modifications thereof are intended to cover non-exclusive inclusion, for example, a process or method including a series of steps or units The processes, systems, products or devices are not necessarily limited to those steps or units expressly listed, but may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
本申请实施例可以适用于有线传输,例如可以适用于有线点对点高速传输,如摄像头与自动驾驶平台多域控制器(multi domain controller,MDC)的图像和控制传输,车载摄像头或座舱域控制器(cockpit domain controller或control domain cockpit,CDC)等车载设备与大屏的图像传输等。The embodiments of the present application may be applicable to wired transmission, for example, may be applicable to wired point-to-point high-speed transmission, such as image and control transmission between a camera and a multi-domain controller (MDC) of an autonomous driving platform, a vehicle-mounted camera or a cockpit domain controller ( cockpit domain controller or control domain cockpit, CDC) and other in-vehicle equipment and large-screen image transmission, etc.
例如,本申请实施例涉及的通信装置可以是能够向其他设备发送信息(如数据帧、控制信息等)的设备,例如为摄像头、激光雷达等车载图像传感器,或者,也可以为MDC、CDC等图像处理设备,或者还可以为大屏等图像显示设备。又例如,本申请实施例涉及的通信装置还可以是除了车载装置之外的其他传输设备。For example, the communication device involved in this embodiment of the present application may be a device capable of sending information (such as data frames, control information, etc.) to other devices, such as a camera, a lidar, or other vehicle-mounted image sensor, or may also be an MDC, CDC, etc. An image processing device, or an image display device such as a large screen. For another example, the communication device involved in the embodiments of the present application may also be other transmission devices other than the vehicle-mounted device.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或,a和b和c,其中,a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, it can indicate that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be single or multiple.
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的大小、内容、顺序、时序、优先级或者重要程度等。例如,第一数据包和第二数据包,只是为了便于描述而给予的名称,这两个数据包可能是同一个数据包,或者也可能是不同的数据包。And, unless otherwise stated, ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, and timing of multiple objects , priority or importance, etc. For example, the first data packet and the second data packet are only names given for convenience of description, and the two data packets may be the same data packet or may be different data packets.
下面介绍本申请实施例涉及的技术特征。The following describes the technical features involved in the embodiments of the present application.
在高速有线传输,特别一些车载SerDes传输中,由于BER要求较高,除了PHY层采用纠错检错编码(如里德所罗门纠错(reed-solomon forward error correction,RS-FEC)外, 还会考虑通过重传的方式来提升传输链路的可靠性。In high-speed wired transmission, especially in some vehicle SerDes transmission, due to high BER requirements, in addition to the PHY layer using error correction and error detection coding (such as reed-solomon forward error correction, RS-FEC), the Consider improving the reliability of the transmission link by means of retransmission.
SerDes传输中,通常双向传输是同时进行的。为了便于描述,下面选择一个传输方向,该传输方向的发端为第一设备,收端为第二设备。In SerDes transmission, usually two-way transmission is carried out at the same time. For the convenience of description, a transmission direction is selected below, the transmitting end of the transmission direction is the first device, and the receiving end is the second device.
第一设备顺序发送PHY码块,一个PHY码块为一个PLRB,且一个PHY码块中承载一个PLCB。当PHY码块传输失败时,第二设备向第一设备发送ACK,通过ACK中携带的PID信息,指示接收失败的PHY码块。第一设备将传输失败的PHY码块承载的PLCB封装到新的PHY码块中发送给第二设备,完成重传。例如,当PHY码块2传输失败时,第二设备向第一设备发送ACK,通过ACK中携带的PID信息,指示PHY码块2接收失败。第一设备将PHY码块2承载的PLCB 2封装到PHY码块5后发送给第二设备,完成重传,如图1所示。The first device sequentially sends PHY code blocks, one PHY code block is one PLRB, and one PHY code block carries one PLCB. When the transmission of the PHY code block fails, the second device sends an ACK to the first device, and indicates, through the PID information carried in the ACK, the failed PHY code block to receive. The first device encapsulates the PLCB carried by the failed PHY code block into a new PHY code block and sends it to the second device to complete the retransmission. For example, when the transmission of the PHY code block 2 fails, the second device sends an ACK to the first device, and indicates that the PHY code block 2 fails to receive through the PID information carried in the ACK. The first device encapsulates the PLCB 2 carried by the PHY code block 2 into the PHY code block 5 and sends it to the second device to complete the retransmission, as shown in FIG. 1 .
SerDes传输中,利用时钟数据恢复(clock and data recovery,CDR)技术,第一设备和第二设备在链路建立过程中实现PHY时钟同步。第一设备和第二设备根据PHY时钟进行PHY码块的计数,从而可以根据PHY码块的计数确定PHY码块的PID。In SerDes transmission, using clock and data recovery (CDR) technology, the first device and the second device realize PHY clock synchronization during link establishment. The first device and the second device count the PHY code block according to the PHY clock, so that the PID of the PHY code block can be determined according to the count of the PHY code block.
在干扰场景,持续时间较长的干扰可引起第二设备的PHY时钟失步。而PHY时钟失步会导致第二设备进行PHY码块的计数不准确。由于第二设备在ACK中使用PID指示错误传输的PHY码块,触发第一设备重传。因此,PHY时钟失步会导致PHY码块的重传出现错误。In a jamming scenario, a longer duration jamming may cause the PHY clock of the second device to desynchronize. On the other hand, the PHY clock is out of synchronization, which may cause the second device to inaccurately count the PHY code blocks. Since the second device uses the PID in the ACK to indicate the erroneously transmitted PHY code block, the first device is triggered to retransmit. Therefore, PHY clock desynchronization can cause errors in retransmission of PHY code blocks.
基于此,本申请实施例提供一种数据传输方法及装置,用于解决PHY时钟失步导致PHY码块的重传出现错误的问题。其中,方法和装置是基于同一技术构思的,由于方法及设备解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。本申请实施例提供一种信息传输方法及装置,可以应用于车内网,特别是智能汽车车内网,也可以应用于其它有线传输设备。Based on this, the embodiments of the present application provide a data transmission method and apparatus, which are used to solve the problem of errors in retransmission of PHY code blocks caused by PHY clock desynchronization. Among them, the method and the device are based on the same technical concept. Since the principles of the method and the device for solving problems are similar, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated. The embodiments of the present application provide an information transmission method and device, which can be applied to an in-vehicle network, especially an in-vehicle network of a smart car, and can also be applied to other wired transmission devices.
以下,对本申请实施例中的PHY码块进行解释说明,以便于本领域技术人员理解。Hereinafter, the PHY code blocks in the embodiments of the present application will be explained to facilitate understanding by those skilled in the art.
1)PHY码块1) PHY code block
一个PHY码块为一个PLRB,PLRB包括PLRB净荷字段,还包括PLRB冗余字段。其中,PLRB净荷字段包括PLCB控制字段和PLCB净荷字段,还可以包括循环冗余校验(cyclic redundancy check,CRC)字段。其中,PLCB控制字段可以包括PLCB ID用于唯一标识该PLCB。One PHY code block is one PLRB, and the PLRB includes a PLRB payload field and a PLRB redundancy field. The PLRB payload field includes a PLCB control field and a PLCB payload field, and may also include a cyclic redundancy check (cyclic redundancy check, CRC) field. Wherein, the PLCB control field may include a PLCB ID to uniquely identify the PLCB.
PLCB净荷字段可以包括一个或多个信息块,信息块可以采用64/66线路编码也可以采用64/65线路编码,或者,也可以是其他编码方式,这里不做具体限定。其中,一个信息块包括指示位和负荷字段,其中,指示位可以指示负荷字段携带的信息类型,信息类型可以分为数据信息和非数据信息。The PLCB payload field may include one or more information blocks, and the information blocks may use 64/66 line coding or 64/65 line coding, or may also be other coding methods, which are not specifically limited here. Wherein, an information block includes an indication bit and a payload field, wherein the indication bit may indicate the type of information carried in the payload field, and the information type may be divided into data information and non-data information.
例如,以2比特的指示位为例,指示位指示的内容可以如表1所示。For example, taking a 2-bit indication bit as an example, the content indicated by the indication bit may be as shown in Table 1.
表1Table 1
指示位indicator bit 含义meaning
0000 负荷字段携带数据帧的中间分片The payload field carries the intermediate fragment of the data frame
0101 负荷字段携带数据帧的第一个分片The payload field carries the first fragment of the data frame
1010 负荷字段携带数据帧的最后一个分片The payload field carries the last fragment of the data frame
1111 负荷字段携带非数据信息,如子控制位、PHY控制信息等The payload field carries non-data information, such as sub-control bits, PHY control information, etc.
以1比特的指示位为例,指示位指示的内容可以如表2所示。Taking a 1-bit indication bit as an example, the content indicated by the indication bit may be as shown in Table 2.
表2Table 2
指示位indicator bit 含义meaning
00 负荷字段携带数据帧The payload field carries the data frame
11 负荷字段携带非数据信息,如子控制位、PHY控制信息等The payload field carries non-data information, such as sub-control bits, PHY control information, etc.
若指示位指示负荷字段携带非数据信息,负荷字段可以包括子指示字段和内容字段,该子指示位可以指示非数据信息的类型,内容字段可以携带非数据信息。例如,目前,子指示位指示的内容可以如表3所示。If the indication bit indicates that the payload field carries non-data information, the payload field may include a sub-indication field and a content field, the sub-indication bit may indicate the type of non-data information, and the content field may carry non-data information. For example, at present, the content indicated by the sub-indication bit may be as shown in Table 3.
表3table 3
子指示位sub-indicator 非数据信息的类型Types of non-data information
0x1e0x1e PHY PaddingPHY Padding
0x2d0x2d PHY重传(ACK)PHY Retransmission (ACK)
0x3c0x3c 链路重建link re-establishment
0x4b0x4b 间歇训练interval training
0x5a0x5a 休眠hibernate
其他other 预留reserved
图1中的ACK可以是非数据信息中的一种,通过PHY码块承载,由第二设备发送给第一设备的,类似的第二设备向第一设备所发送PHY码块的确认消息,则是通过第一设备向第二设备发送的PHY码块承载的。The ACK in FIG. 1 can be a kind of non-data information, which is carried by the PHY code block and sent by the second device to the first device. Similar to the acknowledgment message of the PHY code block sent by the second device to the first device, then It is carried by the PHY code block sent by the first device to the second device.
示例性的,PLRB可如图2所示。Exemplarily, the PLRB may be as shown in FIG. 2 .
应理解,上述字段的命名、取值和指示内容的对应关系等仅是一种示例性说明。It should be understood that the names, values, and corresponding relationships of indicated contents of the above fields are only exemplary descriptions.
2)同步符号2) Sync symbol
为了实现快速链路恢复,以及周期校准收发两端的像素时钟,SerDes传输方案中会周期发送同步符号,如图3所示。同步符号中携带定界符、随机扰码和像素时钟信息。其中,通过校准像素时钟可以对齐PHY的起始位置。In order to achieve fast link recovery and periodically calibrate the pixel clocks at both ends of the transceiver, synchronization symbols are periodically sent in the SerDes transmission scheme, as shown in Figure 3. The synchronization symbol carries delimiter, random scrambling and pixel clock information. Among them, the starting position of the PHY can be aligned by calibrating the pixel clock.
示例性的,同步符号包括的字段可以如表4所示。Exemplarily, the fields included in the synchronization symbol may be as shown in Table 4.
表4Table 4
Figure PCTCN2021080777-appb-000001
Figure PCTCN2021080777-appb-000001
应理解,上述表4所述字段可以全部包括在同步符号中,也可以仅有部分字段包括在同步符号中。此外,同步符号也可以包括表4未示出的其他字段,这里不再一一说明。It should be understood that all the fields described in Table 4 above may be included in the synchronization symbol, or only some of the fields may be included in the synchronization symbol. In addition, the synchronization symbol may also include other fields not shown in Table 4, which will not be described one by one here.
下面将结合附图,对本申请实施例进行详细描述。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
实施例一:Example 1:
本申请提供一种数据传输方法。如图4所示,该方法包括:The present application provides a data transmission method. As shown in Figure 4, the method includes:
S401,第一设备生成第一信息,所述第一信息包括第一PID同步信息,所述第一PID同步信息用于PID同步。S401. The first device generates first information, where the first information includes first PID synchronization information, where the first PID synchronization information is used for PID synchronization.
一种示例性说明中,PID同步可以包括第一设备和第二设备之间的PID计数同步。In one exemplary illustration, PID synchronization may include synchronization of PID counts between the first device and the second device.
S402,第一设备发送所述第一信息。相应的,第二设备接收第一信息。S402, the first device sends the first information. Correspondingly, the second device receives the first information.
S403,第二设备根据所述第一PID同步信息进行PID计数同步。S403, the second device performs PID count synchronization according to the first PID synchronization information.
其中,第一设备可以是数据发送端,第二设备为数据接收端。或者,第一设备也可以为数据接收端,第二设备为数据发送端。其中,所述“数据”可以理解为业务数据,例如图像数据、视频数据等。The first device may be a data sending end, and the second device may be a data receiving end. Alternatively, the first device may also be a data receiving end, and the second device may be a data transmitting end. The "data" may be understood as service data, such as image data, video data, and the like.
可以理解的,数据发送端和数据接收端仅是一种逻辑上的区分,在具体场景中,数据发送端和数据接收端的角色也可以互换,例如,A向B发送数据时,A作为数据发送端,B作为数据接收端,当B向A发送数据时,B作为数据发送端,A作为数据接收端。It can be understood that the data sender and the data receiver are only a logical distinction. In specific scenarios, the roles of the data sender and the data receiver can also be interchanged. For example, when A sends data to B, A is used as the data. Sending end, B acts as the data receiving end, when B sends data to A, B acts as the data transmitting end, and A acts as the data receiving end.
数据发送端向数据接收端发送的PHY码块和数据接收端向数据发送端发送的PHY码块,都可以使用里德所罗门纠错(reed-solomon forward error correction,RS-FEC)。数据发送端向数据接收端发送的PHY码块和数据接收端向数据发送端发送的PHY码块进行里德所罗门(reed-solomon,RS)编码的长度和基可以不同,其中,基可以理解为PHY码块所包括码元的单位长度。比如数据发送端向数据接收端发送的PHY码块可以使用RS-FEC(340,312,10),数据接收端向数据发送端发送的PHY码块可以使用RS-FEC(76,72,8),其中,RS-FEC(340,312,10)可以指PHY码块包括340个码元,其中携带有效数据的码元数量为312,码元的单位长度为10比特;RS-FEC(76,72,8)可以指PHY码块包括76个码元,其中携带有效数据的码元数量为72,码元的单位长度为8比特。为了描述上的方便,下面将数据发送端向数据接收端发送的PHY码块称为正向PHY码块,数据发送端向数据接收端进行发送称为正向传输。数据接收端向数据发送端发送的PHY码块称为反向PHY码块,数据接收端向数据发送端进行发送称为反向传输。Reed-solomon forward error correction (RS-FEC) can be used for both the PHY code block sent by the data transmitter to the data receiver and the PHY code block sent by the data receiver to the data transmitter. The length and basis of the Reed-Solomon (RS) encoding of the PHY code block sent by the data transmitting end to the data receiving end and the PHY code block sent by the data receiving end to the data transmitting end can be different, and the basis can be understood as The unit length of the symbols included in the PHY code block. For example, the PHY code block sent by the data transmitter to the data receiver can use RS-FEC (340, 312, 10), and the PHY code block sent by the data receiver to the data transmitter can use RS-FEC (76, 72, 8) , where RS-FEC(340, 312, 10) may refer to the fact that the PHY code block includes 340 symbols, the number of symbols carrying valid data is 312, and the unit length of the symbols is 10 bits; RS-FEC(76, 72, 8) may refer to the PHY code block including 76 symbols, wherein the number of symbols carrying valid data is 72, and the unit length of the symbols is 8 bits. For the convenience of description, the PHY code block sent by the data transmitting end to the data receiving end is called the forward PHY code block, and the sending of the data transmitting end to the data receiving end is called forward transmission. The PHY code block sent by the data receiving end to the data sending end is called the reverse PHY code block, and the sending of the data receiving end to the data sending end is called reverse transmission.
本申请实施例中第一设备通过向第二设备发送PID同步信息,使得第二设备可以根据PID同步信息校准PID计数,从而使得数据接收端通过PID信息指示的PHY码块与数据发送端根据PID信息确定的PHY码块一致,进而可以避免错误重传。In this embodiment of the present application, the first device sends the PID synchronization information to the second device, so that the second device can calibrate the PID count according to the PID synchronization information, so that the data receiving end uses the PHY code block indicated by the PID information to communicate with the data transmitting end according to the PID The PHY code blocks determined by the information are consistent, thereby avoiding erroneous retransmission.
一种可能的实施方式中,第一信息可以为同步符号。第一PID同步信息可以携带在同步符号的时基字段。In a possible implementation manner, the first information may be a synchronization symbol. The first PID synchronization information may be carried in the time base field of the synchronization symbol.
示例性的,以同步符号包括表4所述字段为例,第一信息可以如表5所示。Exemplarily, taking the synchronization symbol including the fields described in Table 4 as an example, the first information may be as shown in Table 5.
表5table 5
Figure PCTCN2021080777-appb-000002
Figure PCTCN2021080777-appb-000002
应理解,上述表5所述字段可以全部包括在第一信息中,也可以仅有部分字段包括在第一信息中。此外,第一信息也可以包括表5未示出的其他字段,这里不再一一说明。It should be understood that all the fields described in Table 5 above may be included in the first information, or only some of the fields may be included in the first information. In addition, the first information may also include other fields not shown in Table 5, which will not be described one by one here.
可选的,同步信号中的时基ID字段指示的时基编号为第一值,该第一值指示时基字段携带第一PID同步信息。例如,同步信号中的时基ID字段指示的时基编号为0000,该0000的时基编号指示时基字段携带第一PID同步信息。Optionally, the time base number indicated by the time base ID field in the synchronization signal is a first value, and the first value indicates that the time base field carries the first PID synchronization information. For example, the time base number indicated by the time base ID field in the synchronization signal is 0000, and the time base number of 0000 indicates that the time base field carries the first PID synchronization information.
上述方式中通过第一值作为同步符号携带PID同步信息的标识,使得第二设备可以在时基ID字段指示的时基编号为第一值时在时基字段读取PID同步信息。In the above manner, the first value is used as the synchronization symbol to carry the identifier of the PID synchronization information, so that the second device can read the PID synchronization information in the time base field when the time base number indicated by the time base ID field is the first value.
示例性的,以同步符号包括表4所述字段为例,第一信息可以如表6所示。Exemplarily, taking the synchronization symbol including the fields described in Table 4 as an example, the first information may be as shown in Table 6.
表6Table 6
Figure PCTCN2021080777-appb-000003
Figure PCTCN2021080777-appb-000003
示例性的,第一PID同步信息可以用于指示第一信息之前发送的PLRB的PID。例如,第一PID同步信息可以用于指示第一信息的前一个PLRB的PID。又例如,第一PID同步信息可以用于指示第一信息之前发送的倒数第二个PLRB的PID等等。Exemplarily, the first PID synchronization information may be used to indicate the PID of the PLRB sent before the first information. For example, the first PID synchronization information may be used to indicate the PID of the previous PLRB of the first information. For another example, the first PID synchronization information may be used to indicate the PID of the penultimate PLRB sent before the first information, and so on.
或者,第一PID同步信息也可以用于指示第一信息之后发送的PLRB的PID。例如,第一PID同步信息可以用于指示第一信息的后一个PLRB的PID。又例如,第一PID同步信息可以用于指示第一信息之后发送的第二个PLRB的PID等等。Alternatively, the first PID synchronization information may also be used to indicate the PID of the PLRB sent after the first information. For example, the first PID synchronization information may be used to indicate the PID of the next PLRB of the first information. For another example, the first PID synchronization information may be used to indicate the PID of the second PLRB sent after the first information, and so on.
一种实现方式中,携带PID同步信息的同步符号的发送频率可以是预配置的,也可以是在第一设备与第二设备建立链路过程中协商确定的。当然,也可以是其他方式确定的,这里不做具体限定。In an implementation manner, the transmission frequency of the synchronization symbol carrying the PID synchronization information may be preconfigured, or may be determined through negotiation during the process of establishing the link between the first device and the second device. Of course, it can also be determined in other ways, which is not specifically limited here.
上述实施方式中,通过复用周期性发送的同步符号,使得数据接收端在恢复PHY码块定界、扰码同步的同时,可以完成PID的计数同步,从而可以避免链路恢复后错误重传。In the above embodiment, by multiplexing the periodically sent synchronization symbols, the data receiving end can complete the counting synchronization of the PID while recovering the PHY code block delimitation and scrambling code synchronization, thereby avoiding erroneous retransmission after link recovery. .
另一种可能的实施方式中,第一信息也可以为PLRB。第一同步信息可以携带在PLRB的PLCB净荷字段。In another possible implementation manner, the first information may also be a PLRB. The first synchronization information may be carried in the PLCB payload field of the PLRB.
一种示例性说明中,第一PID同步信息可以为第一信息的PID。In an exemplary illustration, the first PID synchronization information may be the PID of the first information.
一种举例说明,PLRB可以通过如下形式携带第一同步信息:PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第一PID同步信息。As an example, the PLRB can carry the first synchronization information in the following form: the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates non-data information. The type of data information is PID synchronization information, and the third field carries the first PID synchronization information.
其中,第一字段可以为图2所示的指示位,具体可以参阅上述指示位的相关描述,这里不再重复赘述。The first field may be the indicator bit shown in FIG. 2 , and for details, please refer to the relevant description of the indicator bit, which will not be repeated here.
第二字段可以为图2所示的子指示位,其中,本申请实施例中,第二字段可以通过一个取值指示非数据信息为PID同步信息,例如,可以通过0x69指示非数据信息为PID同步信息。示例性的,第二字段指示的内容可以如表7所示。The second field may be the sub-indication bit shown in FIG. 2 , wherein, in this embodiment of the present application, the second field may indicate that the non-data information is PID synchronization information by a value, for example, 0x69 may be used to indicate that the non-data information is PID Synchronization information. Exemplarily, the content indicated by the second field may be as shown in Table 7.
表7Table 7
第二字段second field 非数据信息的类型Types of non-data information
0x1e0x1e PHY PaddingPHY Padding
0x2d0x2d PHY重传(ACK)PHY Retransmission (ACK)
0x3c0x3c 链路重建link re-establishment
0x4b0x4b 间歇训练interval training
0x5a0x5a 休眠hibernate
0x690x69 PID同步信息PID synchronization information
其他other 预留reserved
应理解,上述表7所示指示内容、以及取值和指示内容的对应关系等仅是一种示例性说明。It should be understood that the indication content and the corresponding relationship between the values and the indication content shown in Table 7 above are only exemplary descriptions.
第三字段可以为图2所示的内容字段,本申请实施例中,第三字段可以携带PID同步信息。The third field may be the content field shown in FIG. 2 , and in this embodiment of the present application, the third field may carry PID synchronization information.
可选的,第一信息还可以包括CRC字段。通过CRC字段可以保证,在PLRB码块传输错误的情况下,可以通过CRC校验确认PHY重传消息的正确性。Optionally, the first information may further include a CRC field. The CRC field can ensure that the correctness of the PHY retransmission message can be confirmed through the CRC check in the case of an error in the transmission of the PLRB code block.
下面对携带PID同步信息时,第三字段的格式,也可以理解为PID信息的格式,进行说明。The format of the third field can also be understood as the format of the PID information when the PID synchronization information is carried, and is described below.
第三字段可以包括如下子字段中的至少一项:第一子字段、第二子字段、第三子字段、第四子字段。The third field may include at least one of the following subfields: a first subfield, a second subfield, a third subfield, and a fourth subfield.
其中,第一子字段可以用于指示PLRB为PID同步信息为响应消息还是请求消息。第一信息中第一子字段可以指示第一PID同步信息为响应消息。The first subfield may be used to indicate whether the PLRB is a response message or a request message for the PID synchronization information. The first subfield in the first information may indicate that the first PID synchronization information is a response message.
第二子字段可以用于携带对应PLRB的PID,例如,第一信息中第二子字段可以携带第一信息的PID。The second subfield may be used to carry the PID of the corresponding PLRB, for example, the second subfield in the first information may carry the PID of the first information.
第三子字段可以用于指示进行PID同步的传输方向。The third subfield may be used to indicate the transmission direction for PID synchronization.
第四子字段用于指示对应PLRB的传输方向。例如,第一信息中第四子字段可以指示第一信息的传输方向。The fourth subfield is used to indicate the transmission direction of the corresponding PLRB. For example, the fourth subfield in the first information may indicate the transmission direction of the first information.
为了便于理解,下面对携带PID同步信息的第三字段进行举例说明,如表8所示。For ease of understanding, the third field carrying the PID synchronization information is illustrated below as an example, as shown in Table 8.
表8Table 8
Figure PCTCN2021080777-appb-000004
Figure PCTCN2021080777-appb-000004
其中,正向传输的PID同步可以理解为,数据发送端向数据接收端发送用于进行PID同步的PID同步信息,也就是发送PID同步的响应消息,数据接收端在接收到该PID同步信息后进行PID计数同步。Among them, the PID synchronization of forward transmission can be understood as that the data sending end sends PID synchronization information for PID synchronization to the data receiving end, that is, sending a PID synchronization response message, and the data receiving end receives the PID synchronization information after receiving the PID synchronization information. PID count synchronization is performed.
反向传输的PID同步可以理解为,数据接收端向数据发送端发送用于进行PID同步的 PID同步信息,也就是发送PID同步的响应消息,数据发送端在接收到该PID同步信息后进行PID计数同步。The PID synchronization of reverse transmission can be understood as the data receiving end sends PID synchronization information for PID synchronization to the data transmitting end, that is, sending a PID synchronization response message, and the data transmitting end performs PID synchronization after receiving the PID synchronization information. Count sync.
应理解,表8仅是一种示例性说明,并不对第三字段中各个子字段的比特数、取值与指示内容的对应关系等进行具体限定。此外,第三字段还可以包括其他子字段,这里不对第三字段包括的子字段进行具体限定。It should be understood that Table 8 is only an exemplary description, and does not specifically limit the number of bits of each subfield in the third field, the corresponding relationship between the value and the indication content, and the like. In addition, the third field may also include other subfields, and the subfields included in the third field are not specifically limited here.
在一些实施例中,第一设备可以是主动向第二设备发送第一信息的。例如,第一设备可以周期性向第二设备发送第一信息,也可以在事件的触发下向第二设备发送第一信息。其中,第一设备周期性发送第一信息时,第一信息的发送周期可以是预配置的,也可以是在第一设备与第二设备建立链路过程中协商确定的。In some embodiments, the first device may actively send the first information to the second device. For example, the first device may periodically send the first information to the second device, or may send the first information to the second device when triggered by an event. Wherein, when the first device periodically sends the first information, the sending cycle of the first information may be pre-configured, or may be determined through negotiation during the process of establishing a link between the first device and the second device.
在另一些实施例中,第一设备可以是在第二设备的请求下发送的第一信息。例如,在第一设备发送第一信息之前,第二设备向第一设备发送第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。In other embodiments, the first device may be the first information sent at the request of the second device. For example, before the first device sends the first information, the second device sends the second information to the first device, the second information carries the second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
其中,第二信息可以为PLRB。第二信息的格式与第一信息的格式类似,区别在于第一信息的第三字段携带的是用于PID同步的第一PID同步信息以及第一信息的PLRB信息,例如,第一信息的PID、第一信息的传输方向等,第二信息的第三字段携带的是用于请求第一PID同步信息的第二PID同步信息以及第二信息的PLRB信息,例如,第二信息的PID、第二信息的传输方向等。以表8所示第三字段格式为例对第一信息和第二信息的区别进行举例说明,第一信息的第一子字段取值为10,指示响应消息,第二信息的第一子字段取值为00,指示请求消息。第一信息的第三子字段指示第一信息的传输方向,第二信息的第三子字段指示第二信息的传输方向。第一信息的第四子字段指示第一信息的PID,第二信息的第四子字段指示第二信息的PID。Wherein, the second information may be PLRB. The format of the second information is similar to that of the first information, except that the third field of the first information carries the first PID synchronization information for PID synchronization and the PLRB information of the first information, for example, the PID of the first information , the transmission direction of the first information, etc., the third field of the second information carries the second PID synchronization information for requesting the first PID synchronization information and the PLRB information of the second information, for example, the PID of the second information, the first 2. The direction of information transmission, etc. Take the third field format shown in Table 8 as an example to illustrate the difference between the first information and the second information. The first subfield of the first information is 10, indicating a response message, and the first subfield of the second information is The value is 00, indicating a request message. The third subfield of the first information indicates the transmission direction of the first information, and the third subfield of the second information indicates the transmission direction of the second information. The fourth subfield of the first information indicates the PID of the first information, and the fourth subfield of the second information indicates the PID of the second information.
第二信息与第一信息相同的地方具体可以参阅上述第一信息的相关描述,这里不再重复赘述。Where the second information is the same as the first information, reference may be made to the relevant description of the above-mentioned first information, and details are not repeated here.
上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In the above-mentioned embodiments, the PHY control message can be used to carry the PID synchronization information, so that the PID synchronization can be realized, thereby avoiding erroneous retransmission.
实施例二:Embodiment 2:
本申请提供一种数据传输方法。如图5所示,该方法包括:The present application provides a data transmission method. As shown in Figure 5, the method includes:
S501,第一设备生成至少两个码块。S501. The first device generates at least two code blocks.
其中,至少两个码块分别携带一个PLCB,且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示信息,指示信息指示PLCB为第N次传输,N为正整数。Wherein, at least two code blocks carry one PLCB respectively, and at least one first code block in the at least two code blocks carries control information of PLCB, the control information of PLCB includes identification information of PLCB and corresponding indication information, and the indication information indicates PLCB is the Nth transmission, and N is a positive integer.
S502,第一设备发送至少两个码块。相应的,第二设备接收至少两个码块。S502, the first device sends at least two code blocks. Accordingly, the second device receives at least two code blocks.
S503,第二设备保存上述至少一个第一码块携带PLCB的控制信息。S503, the second device stores the control information of the PLCB carried by the at least one first code block.
其中,第一设备可以是数据发送端,第二设备为数据接收端。或者,第一设备也可以为数据接收端,第二设备为数据发送端。其中,所述“数据”可以理解为业务数据,例如图像数据、视频数据等。The first device may be a data sending end, and the second device may be a data receiving end. Alternatively, the first device may also be a data receiving end, and the second device may be a data transmitting end. The "data" may be understood as service data, such as image data, video data, and the like.
可以理解的,数据发送端和数据接收端仅是一种逻辑上的区分,在具体场景中,数据发送端和数据接收端的角色也可以互换,例如,A向B发送数据时,A作为数据发送端,B作为数据接收端,当B向A发送数据时,B作为数据发送端,A作为数据接收端。It can be understood that the data sender and the data receiver are only a logical distinction. In specific scenarios, the roles of the data sender and the data receiver can also be interchanged. For example, when A sends data to B, A is used as the data. Sending end, B acts as the data receiving end, when B sends data to A, B acts as the data transmitting end, and A acts as the data receiving end.
本申请实施例中,通过PLCB的标识和该PLCB被重传的次数来确定PHY码块,使 得第二设备可以准确指示传输错误的PHY码块,从而可以避免重传错误。并且,通过这种方式,收发两端可以无需再维护PID。In this embodiment of the present application, the PHY code block is determined by the identifier of the PLCB and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the PHY code block with an error in transmission, so that retransmission errors can be avoided. And, in this way, the two ends of the transceiver can no longer maintain the PID.
一种可能的实施方式中,第一码块可以为PLRB。PLCB的控制信息可以携带PLRB的PLCB控制字段。In a possible implementation manner, the first code block may be a PLRB. The control information of the PLCB may carry the PLCB control field of the PLRB.
一种实现方式中,PLCB控制字段可以包括PLCB ID字段和重传指示字段,其中,重传指示字段可以指示该PLCB为第N次重传。应理解,“PLCB ID字段”“重传指示字段”仅是一种示例性命名,也可以命名为其他字段,只要该字段具有本申请实施例中“重传指示字段”或者“PLCB ID字段”的特征,可以认为是本申请实施例中“重传指示字段”或者“PLCB ID字段”。In an implementation manner, the PLCB control field may include a PLCB ID field and a retransmission indication field, wherein the retransmission indication field may indicate that the PLCB is the Nth retransmission. It should be understood that the "PLCB ID field" and "retransmission indication field" are only an exemplary name, and may also be named as other fields, as long as the field has the "retransmission indication field" or "PLCB ID field" in the embodiment of the present application It can be considered as the "retransmission indication field" or "PLCB ID field" in this embodiment of the present application.
示例性的,PLCB控制字段可以如表9所示。Exemplarily, the PLCB control field may be as shown in Table 9.
表9Table 9
Figure PCTCN2021080777-appb-000005
Figure PCTCN2021080777-appb-000005
应理解,表9仅是一种示例性说明,填充指示字段可以是一个可选的字段,此外,PLCB控制字段也可以包括表9未示出的其他字段,这里不对PLCB控制字段包括的子字段进行具体限定。It should be understood that Table 9 is only an exemplary description, and the filling indication field may be an optional field. In addition, the PLCB control field may also include other fields not shown in Table 9, and the subfields included in the PLCB control field are not included here. Make specific restrictions.
一种可能的实施方式中,第二设备可以向第一设备发送第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态。第一设备可以根据重传信息确定至少两个码块携带的PLCB中传输失败的PLCB。In a possible implementation manner, the second device may send a second code block to the first device, the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, Receiving status information, the identification information of the first PLCB is an ID of a PLCB that has been successfully received, the indication information of the first PLCB indicates that the first PLCB is the M-th transmission, M is a positive integer, and the receiving status information indicates that at least two code blocks are transmitted. receive status. The first device may determine, according to the retransmission information, a PLCB that fails to transmit among the PLCBs carried by the at least two code blocks.
可选的,第一PLCB的标识可以为成功接收的最后一个PLCB的标识,或者,第一PLCB的标识为反馈范围内成功接收的一个PLCB的标识。Optionally, the identifier of the first PLCB may be the identifier of the last PLCB successfully received, or the identifier of the first PLCB may be the identifier of a PLCB successfully received within the feedback range.
一种示例性说明中,第二码块也可以为PLRB。重传信息可以携带在PLRB的PLCB净荷字段。In an exemplary illustration, the second code block may also be a PLRB. The retransmission information may be carried in the PLCB payload field of the PLRB.
一种举例说明,PLRB可以通过如下形式携带重传信息:PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。An example, the PLRB can carry the retransmission information in the following form: the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, and the second field indicates non-data information. The type of information is transmission confirmation information, and the third field carries retransmission information.
其中,第一字段可以为图2所示的指示位,具体可以参阅上述指示位的相关描述,这里不再重复赘述。The first field may be the indicator bit shown in FIG. 2 , and for details, please refer to the relevant description of the indicator bit, which will not be repeated here.
第二字段可以为图2所示的子指示位,具体可以参阅对PHY码块的解释说明中关于子指示位的相关描述,或者,也可以参阅实施例一中关于子指示位的相关描述,这里不再 重复赘述。The second field may be the sub-indication bit shown in FIG. 2 . For details, please refer to the relevant description of the sub-indication bit in the explanation of the PHY code block, or you may also refer to the relevant description of the sub-indication bit in Embodiment 1. It will not be repeated here.
第三字段可以为图2所示的内容字段,本申请实施例中,第三字段可以携带重传信息。The third field may be the content field shown in FIG. 2 , and in this embodiment of the present application, the third field may carry retransmission information.
下面对携带重传信息时第三字段的格式,也可以理解为重传信息的格式,进行说明。The format of the third field when the retransmission information is carried, which can also be understood as the format of the retransmission information, will be described below.
第三字段可以包括如下子字段中的至少一项:第一子字段、第二子字段、第三子字段、第四子字段。The third field may include at least one of the following subfields: a first subfield, a second subfield, a third subfield, and a fourth subfield.
其中,第一子字段可以用于指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。The first subfield may be used to indicate the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates Part of the second PLCB that received an error was detected.
第二子字段可以携带第一PLCB的标识。The second subfield may carry the identifier of the first PLCB.
第三子字段可以携带第一PLCB的指示信息。The third subfield may carry the indication information of the first PLCB.
第四子字段可以携带接收状态信息。The fourth subfield may carry reception status information.
为了便于理解,下面对携带重传信息的第三字段进行举例说明,如表10所示。For ease of understanding, the third field carrying the retransmission information is exemplified below, as shown in Table 10.
表10Table 10
Figure PCTCN2021080777-appb-000006
Figure PCTCN2021080777-appb-000006
应理解,表10仅是一种示例性说明,并不对第三字段中各个子字段的比特数、取值与指示内容的对应关系等进行具体限定。此外,第三字段还可以包括其他子字段,这里不对第三字段包括的子字段进行具体限定。It should be understood that Table 10 is only an exemplary description, and does not specifically limit the number of bits of each subfield in the third field, the corresponding relationship between the value and the indicated content, and the like. In addition, the third field may also include other subfields, and the subfields included in the third field are not specifically limited here.
为了便于对实施例二所述方案的理解,下面结合具体例子进行说明。In order to facilitate the understanding of the solution described in the second embodiment, the following description is given with reference to specific examples.
如图6所示,第一设备依次向第二设备发送PHY码块1~3,其中,PHY码块1携带PLCB 1并指示PLCB 1为初传,PHY码块2携带PLCB 2并指示PLCB 2为初传,PHY码块3携带PLCB 3并指示PLCB 3为初传。As shown in Figure 6, the first device sends PHY code blocks 1 to 3 to the second device in sequence, wherein, PHY code block 1 carries PLCB 1 and indicates PLCB 1 as the initial transmission, and PHY code block 2 carries PLCB 2 and indicates PLCB 2 For initial transmission, PHY code block 3 carries PLCB 3 and indicates PLCB 3 as initial transmission.
第二设备接收到PHY码块1~3后发现PHY码块2传输错误,第二设备可以向第一设备发送ACK 1,其中,该ACK 1携带PLCB 3的标识并指示PLCB 3为初传、接收状态信息(依次为:PHY码块2错误,PHY码块1正确)。After the second device receives the PHY code blocks 1 to 3 and finds that the PHY code block 2 has a transmission error, the second device can send ACK 1 to the first device, where the ACK 1 carries the identifier of PLCB 3 and indicates that PLCB 3 is the initial transmission, Receive status information (in order: PHY code block 2 is wrong, PHY code block 1 is correct).
第一设备在接收到该ACK 1后可以根据PLCB1的标识并指示PLCB为初传确定PHY码块3,然后以PHY码块3为最后一个PHY码块,往前数2个码块,即码块1~3,根据接收状态信息可以确定PHY码块2传输错误,PHY码块1传输正确。After receiving the ACK 1, the first device can instruct PLCB to determine PHY code block 3 for the initial transmission according to the identification of PLCB1, and then use PHY code block 3 as the last PHY code block, and count 2 code blocks forward, that is, the code For blocks 1 to 3, according to the reception status information, it can be determined that the transmission of PHY code block 2 is wrong, and the transmission of PHY code block 1 is correct.
第一设备将PHY码块2承载的PLCB 2通过PHY码块5重传,并指示PLCB 2为第一次重传。The first device retransmits the PLCB 2 carried by the PHY code block 2 through the PHY code block 5, and instructs the PLCB 2 for the first retransmission.
第二设备接收到PHY码块4~5后发现PHY码块4传输错误,PHY码块5传输正确。 第二设备可以向第一设备发送ACK 2,其中,该ACK 2携带PLCB 2的标识并指示PLCB 2为第一次重传、接收状态信息(依次为:PHY码块4错误,PHY码块3正确,PHY码块2错误,PHY码块1正确)。After receiving the PHY code blocks 4 to 5, the second device finds that the transmission of the PHY code block 4 is wrong, and the transmission of the PHY code block 5 is correct. The second device may send an ACK 2 to the first device, wherein the ACK 2 carries the identifier of the PLCB 2 and indicates that the PLCB 2 is the first retransmission, receiving status information (in order: PHY code block 4 is wrong, PHY code block 3 Correct, PHY code block 2 is wrong, PHY code block 1 is correct).
第一设备在接收到该ACK 2后可以根据PLCB 2的标识并指示PLCB 2为第一次重传确定PHY码块5,然后以PHY码块5为最后一个PHY码块,往前数4个码块,即PHY码块1~5,根据接收状态信息可以确定PHY码块1~5的接收状态依次为正确;错误;正确;错误;正确,从而,第一设备可以确定PHY码块4传输错误。After receiving the ACK 2, the first device can instruct the PLCB 2 to determine the PHY code block 5 for the first retransmission according to the identification of the PLCB 2, and then take the PHY code block 5 as the last PHY code block, and count 4 ahead. The code blocks, that is, the PHY code blocks 1 to 5, can be determined according to the receiving state information as the receiving states of the PHY code blocks 1 to 5 in sequence: correct; incorrect; correct; incorrect; correct, so that the first device can determine that the PHY code block 4 is transmitted mistake.
第一设备将PHY码块4携带的PLCB 3进行重传。The first device retransmits the PLCB 3 carried by the PHY code block 4.
需要说明的是,ACK中第二子字段承载的第一PLCB的标识,可以是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID,或者反馈范围内第一个接收成功的PHY码块携带的PLCB ID。It should be noted that the identifier of the first PLCB carried by the second subfield in the ACK may be the PLCB ID carried by the last PHY code block that is successfully received within the feedback range, or the first PHY code block that is successfully received within the feedback range. Carrying PLCB ID.
一种实现方式中,可以通过隐式指示的方式指示第一PLCB的标识是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID,或者反馈范围内第一个接收成功的PHY码块携带的PLCB ID,例如可以通过协议规定第一PLCB的标识是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID。In an implementation manner, the identifier of the first PLCB can be indicated by means of an implicit indication that the identifier of the first PLCB is the PLCB ID carried by the last PHY code block successfully received within the feedback range, or the first successfully received PHY code block within the feedback range. For example, it can be specified through the protocol that the identifier of the first PLCB is the PLCB ID carried by the last successfully received PHY code block within the feedback range.
另一种实现方式中,也可以通过显示指示的方式指示第一PLCB的标识是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID,或者反馈范围内第一个接收成功的PHY码块携带的PLCB ID,例如通过ACK中未示出的字段进行指示。接收状态可以以第二子字段和第三子字段确定的成功接收的PHY码块为锚点,指示其他PHY码块的接收状态。具体的,可以是通过比特映射的方式指示的,或其他指示方式,本申请实施例不做具体限定。In another implementation manner, the identifier of the first PLCB can also be indicated by displaying an indication that the identifier of the first PLCB is the PLCB ID carried by the last successfully received PHY code block within the feedback range, or the first successfully received PHY code block within the feedback range The carried PLCB ID, for example, is indicated by a field not shown in the ACK. The reception status may use the successfully received PHY code block determined by the second subfield and the third subfield as an anchor point, indicating the reception status of other PHY code blocks. Specifically, it may be indicated by means of bit mapping, or other indication manners, which are not specifically limited in this embodiment of the present application.
基于与方法实施例的同一技术构思,本申请实施例提供一种数据传输装置。该装置的结构可以如图7所示,包括处理单元701以及收发单元702。Based on the same technical concept as the method embodiments, the embodiments of the present application provide a data transmission apparatus. The structure of the apparatus may be as shown in FIG. 7 , including a processing unit 701 and a transceiver unit 702 .
一种实现方式中,数据传输装置具体可以用于实现图4的实施例中第一设备执行的方法,该装置可以是第一设备本身,也可以是第一设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,处理单元701,用于生成第一信息,第一信息包括第一PID同步信息,第一PID同步信息用于PID同步;收发单元702,用于发送第一信息。In an implementation manner, the data transmission apparatus can be specifically used to implement the method executed by the first device in the embodiment of FIG. The part of the function used to perform the related method. The processing unit 701 is configured to generate first information, where the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization; the transceiver unit 702 is configured to send the first information.
示例性的,PID同步包括第一设备和第二设备之间的PID计数同步。Exemplarily, PID synchronization includes PID count synchronization between the first device and the second device.
示例性的,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。Exemplarily, the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
示例性的,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。Exemplarily, the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first PID synchronization information.
示例性的,第一PID同步信息用于指示第一信息之前发送的PLRB的PID;或者,第一PID同步信息用于指示第一信息之后发送的PLRB的PID。Exemplarily, the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
示例性的,第一信息为PLRB,PLRB包括PLCB净荷字段,PLCB净荷字段携带第一PID同步信息。Exemplarily, the first information is a PLRB, the PLRB includes a PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
示例性的,第一PID同步信息为第一信息的PID。Exemplarily, the first PID synchronization information is the PID of the first information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第一PID同步信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the first PID synchronization information.
示例性的,第三字段包括第一子字段,第一子字段指示第一PID同步信息为PID同步响应消息。Exemplarily, the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
可选的,收发单元702,还用于:在处理单元701生成第一信息之前,接收第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。Optionally, the transceiver unit 702 is further configured to: before the processing unit 701 generates the first information, receive second information, where the second information carries the second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information .
示例性的,第二信息为PLRB,PLRB包括PLCB净荷字段;PLCB净荷字段携带第二PID同步信息。Exemplarily, the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第二PID同步信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the second PID synchronization information.
示例性的,第三字段包括第一子字段,第一子字段指示第二PID同步信息为PID同步请求消息。Exemplarily, the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
示例性的,第三字段还包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;其中,第二子字段用于携带对应PLRB的PID,第三子字段用于指示进行PID同步的传输方向;第四子字段用于指示对应PLRB的传输方向。Exemplarily, the third field further includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB, and the third subfield is used to carry the PID of the corresponding PLRB. The field is used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
另一种实现方式中,数据传输装置具体可以用于实现图5的实施例中第一设备执行的方法,该装置可以是第一设备本身,也可以是第一设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,处理单元701,用于生成至少两个码块,至少两个码块分别携带一个PLCB,且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示信息,指示信息指示PLCB为第N次传输,N为正整数;收发单元702,用于发送至少两个码块。In another implementation manner, the data transmission apparatus may be specifically used to implement the method performed by the first device in the embodiment of FIG. 5 , and the apparatus may be the first device itself, or may be a chip or chipset or The part of the chip used to perform the function of the associated method. The processing unit 701 is configured to generate at least two code blocks, each of the at least two code blocks carries a PLCB, and at least one first code block of the at least two code blocks carries control information of the PLCB, and the control information of the PLCB includes Identification information of PLCB and corresponding indication information, the indication information indicates that PLCB is the Nth transmission, and N is a positive integer; the transceiver unit 702 is used for sending at least two code blocks.
示例性的,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。Exemplarily, the first code block is a PLRB, the first code block includes a PLCB control field, and the PLCB control field carries control information of the PLCB.
可选的,收发单元702,还用于:接收第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态;处理单元701,还用于:根据重传信息确定至少两个码块携带的PLCB中传输失败的PLCB。Optionally, the transceiver unit 702 is further configured to: receive a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, The identification information of the first PLCB is the ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the M-th transmission, M is a positive integer, and the reception status information indicates the reception status of at least two code blocks; processing; The unit 701 is further configured to: determine, according to the retransmission information, a PLCB whose transmission fails among the PLCBs carried by the at least two code blocks.
示例性的,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。Exemplarily, the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, the second field indicates that the type of the non-data information is transmission confirmation information, and the third field field carries retransmission information.
示例性的,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。Exemplarily, the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates The second PLCB partially received the error.
一种实现方式中,数据传输装置具体可以用于实现图4的实施例中第二设备执行的方法,该装置可以是第二设备本身,也可以是第二设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元702,用于接收第一信息,第一信息包括第一PID同步信息,第一PID同步信息用于PID同步;处理单元701,用关于根据第一PID同步信息进行PID同步。In an implementation manner, the data transmission apparatus may be specifically used to implement the method executed by the second device in the embodiment of FIG. The part of the function used to perform the related method. The transceiver unit 702 is used for receiving first information, the first information includes first PID synchronization information, and the first PID synchronization information is used for PID synchronization; the processing unit 701 is used for performing PID synchronization according to the first PID synchronization information.
示例性的,PID同步包括第一设备和第二设备之间的PID计数同步。Exemplarily, PID synchronization includes PID count synchronization between the first device and the second device.
示例性的,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。Exemplarily, the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
示例性的,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。Exemplarily, the synchronization symbol further includes a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the first value indicates that the time base field carries the first PID synchronization information.
示例性的,第一PID同步信息用于指示第一信息之前发送的PLRB的PID;或者,第一PID同步信息用于指示第一信息之后发送的PLRB的PID。Exemplarily, the first PID synchronization information is used to indicate the PID of the PLRB sent before the first information; or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
示例性的,第一信息为PLRB,PLRB包括PLCB净荷字段,PLCB净荷字段携带第一PID同步信息。Exemplarily, the first information is a PLRB, the PLRB includes a PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
示例性的,第一PID同步信息为第一信息的PID。Exemplarily, the first PID synchronization information is the PID of the first information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第一PID同步信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the first PID synchronization information.
示例性的,第三字段包括第一子字段,第一子字段指示第一PID同步信息为PID同步响应消息。Exemplarily, the third field includes a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
可选的,收发单元702,还用于:在接收第一信息之前,发送第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。Optionally, the transceiver unit 702 is further configured to: before receiving the first information, send second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
示例性的,第二信息为PLRB,PLRB包括PLCB净荷字段;PLCB净荷字段携带第二PID同步信息。Exemplarily, the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二信息携带非数据信息,第二字段指示非数据信息的类型为PID同步信息,第三字段携带第二PID同步信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the second field indicates that the type of the non-data information is PID synchronization information, and the third field Carry the second PID synchronization information.
示例性的,第三字段包括第一子字段,第一子字段指示第二PID同步信息为PID同步请求消息。Exemplarily, the third field includes a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
示例性的,第三字段包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;其中,第二子字段用于携带对应PLRB的PID,第三子字段用于指示进行PID同步的传输方向;第四子字段用于指示对应PLRB的传输方向。Exemplarily, the third field includes a second subfield and at least one of the following subfields: a third subfield and a fourth subfield; wherein the second subfield is used to carry the PID of the corresponding PLRB, and the third subfield is used to carry the PID of the corresponding PLRB. Used to indicate the transmission direction for PID synchronization; the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
另一种实现方式中,数据传输装置具体可以用于实现图5的实施例中第二设备执行的方法,该装置可以是第二设备本身,也可以是第二设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元702,用于接收至少两个码块,至少两个码块分别携带一个PLCB,且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示信息,指示信息指示PLCB为第N次传输,N为正整数;处理单元701,用于确定至少一个PLCB的控制信息。In another implementation manner, the data transmission apparatus may be specifically used to implement the method performed by the second device in the embodiment of FIG. 5 , and the apparatus may be the second device itself, or may be a chip or a chipset or a chip in the second device. The part of the chip used to perform the function of the associated method. The transceiver unit 702 is configured to receive at least two code blocks, the at least two code blocks carry one PLCB respectively, and at least one first code block in the at least two code blocks carries the control information of the PLCB, and the control information of the PLCB includes The identification information of the PLCB and the corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and N is a positive integer; the processing unit 701 is configured to determine the control information of at least one PLCB.
示例性的,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。Exemplarily, the first code block is a PLRB, the first code block includes a PLCB control field, and the PLCB control field carries control information of the PLCB.
可选的,收发单元702,还用于:发送第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态。Optionally, the transceiver unit 702 is further configured to: send a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, The identification information of the first PLCB is the ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, M is a positive integer, and the reception status information indicates the reception status of at least two code blocks.
示例性的,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带 重传信息。Exemplarily, the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information.
示例性的,PLCB净荷字段包括第一字段、第二字段和第三字段,第一字段指示第二码块携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。Exemplarily, the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, the second field indicates that the type of the non-data information is transmission confirmation information, and the third field field carries retransmission information.
示例性的,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。Exemplarily, the third field also indicates the error feedback type, the error feedback type is complete error feedback or partial error feedback, the complete error feedback indicates that the receiving state indicates all second PLCBs that receive errors, and the partial error feedback indicates that the receiving state only indicates The second PLCB partially received the error.
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可以理解的是,本申请实施例中各个模块的功能或者实现可以进一步参考方法实施例的相关描述。The division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit. In the device, it can also exist physically alone, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It can be understood that, for the functions or implementations of each module in the embodiments of the present application, further reference may be made to the related descriptions of the method embodiments.
一种可能的方式中,数据传输装置可以如图8所示,该装置可以是第一设备或者第二设备中的芯片。该装置可以包括处理器801,通信接口802,存储器803。其中,处理单元701可以为处理器801。收发单元702以为通信接口802。In a possible manner, the data transmission apparatus may be as shown in FIG. 8 , and the apparatus may be a chip in the first device or the second device. The apparatus may include a processor 801 , a communication interface 802 , and a memory 803 . The processing unit 701 may be the processor 801 . The transceiver unit 702 is the communication interface 802 .
处理器801,可以是一个中央处理单元(Central Processing Unit,CPU),或者为数字处理单元等等。通信接口802可以是收发器、也可以为接口电路如收发电路等、也可以为收发芯片等等。该装置还包括:存储器803,用于存储处理器801执行的程序。存储器803可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器803是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。The processor 801 may be a central processing unit (Central Processing Unit, CPU), or a digital processing unit or the like. The communication interface 802 may be a transceiver, an interface circuit such as a transceiver circuit, or a transceiver chip or the like. The apparatus further includes: a memory 803 for storing programs executed by the processor 801 . The memory 803 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may be a volatile memory (volatile memory), such as random access memory (random access memory) -access memory, RAM). Memory 803 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
处理器801用于执行存储器803存储的程序代码,具体用于执行上述处理单元701的动作,本申请在此不再赘述。通信接口802具体用于执行上述收发单元702的动作,本申请在此不再赘述。The processor 801 is configured to execute the program code stored in the memory 803, and is specifically configured to execute the actions of the above-mentioned processing unit 701, which will not be described in detail in this application. The communication interface 802 is specifically configured to perform the actions of the above-mentioned transceiver unit 702, and details are not described herein again in this application.
本申请实施例中不限定上述通信接口802、处理器801以及存储器803之间的具体连接介质。本申请实施例在图8中以存储器803、处理器801以及通信接口802之间通过总线804连接,总线在图8中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 802 , the processor 801 , and the memory 803 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 803, the processor 801, and the communication interface 802 are connected through a bus 804 in FIG. 8, and the bus is represented by a thick line in FIG. 8. The connection between other components is only for schematic illustration. , is not limited. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.
本申请实施例还提供一种通信系统,包括用于实现图4至图5的实施例中发送节点功能的通信装置和用于实现图4至图5的实施例中接收节点功能的通信装置。Embodiments of the present application further provide a communication system, including a communication device for implementing the function of a sending node in the embodiments of FIG. 4 to FIG. 5 and a communication device for implementing the function of a receiving node in the embodiments of FIG. 4 to FIG. 5 .
本申请实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。Embodiments of the present application further provide a computer-readable storage medium for storing computer software instructions that need to be executed to execute the above-mentioned processor, which includes a program to be executed to execute the above-mentioned processor.
本申请实施例还提供了一种车辆,该车辆包括第一设备和/或第二设备,第一设备和第二设备用于单独或共同实现图4或图5中的数据传输方法。示例性的,第一设备和第二设备可以为图7所示的通信装置。An embodiment of the present application further provides a vehicle, the vehicle includes a first device and/or a second device, and the first device and the second device are used to implement the data transmission method in FIG. 4 or FIG. 5 individually or jointly. Exemplarily, the first device and the second device may be the communication apparatus shown in FIG. 7 .
本申请实施例还提供了一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行图4或图5所述实施例中的功能。The embodiment of the present application further provides a chip, the chip includes at least one processor and a communication interface, the processor is coupled to the memory, and is used for reading a computer program stored in the memory to execute the computer program in the embodiment shown in FIG. 4 or FIG. 5 . Function.
本申请实施例还提供了一种芯片,包括通信接口和至少一个处理器,所述处理器运行 以执行图4或图5所述实施例中的功能。An embodiment of the present application further provides a chip, including a communication interface and at least one processor, where the processor operates to perform the functions in the embodiment described in FIG. 4 or FIG. 5 .
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (87)

  1. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    生成第一信息,所述第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,所述第一PID同步信息用于PID同步;generating first information, the first information including the first physical layer Reed Solomon error correction coding block identification PID synchronization information, the first PID synchronization information is used for PID synchronization;
    发送所述第一信息。Send the first information.
  2. 如权利要求1所述的方法,其特征在于,所述PID同步包括第一设备和第二设备之间的PID计数同步。The method of claim 1, wherein the PID synchronization comprises PID count synchronization between the first device and the second device.
  3. 如权利要求2所述的方法,其特征在于,所述第一信息为同步符号,所述同步符号包括时基字段,所述时基字段携带所述第一PID同步信息。The method of claim 2, wherein the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
  4. 如权利要求3所述的方法,其特征在于,所述同步符号还包括用于指示时基编号的时基标识字段,其中,所述时基标识字段指示的时基编号为第一值,所述第一值指示所述时基字段携带所述第一PID同步信息。The method according to claim 3, wherein the synchronization symbol further comprises a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the The first value indicates that the time base field carries the first PID synchronization information.
  5. 如权利要求3或4所述的方法,其特征在于,所述第一PID同步信息用于指示所述第一信息之前发送的物理层里德所罗门纠错编码块PLRB的PID;The method according to claim 3 or 4, wherein the first PID synchronization information is used to indicate the PID of the physical layer Reed Solomon error correction coding block PLRB sent before the first information;
    或者,所述第一PID同步信息用于指示所述第一信息之后发送的PLRB的PID。Alternatively, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  6. 如权利要求2所述的方法,其特征在于,所述第一信息为PLRB,所述PLRB包括物理层内容块PLCB净荷字段,所述PLCB净荷字段携带所述第一PID同步信息。The method of claim 2, wherein the first information is a PLRB, the PLRB includes a physical layer content block PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
  7. 如权利要求6所述的方法,其特征在于,所述第一PID同步信息为所述第一信息的PID。The method of claim 6, wherein the first PID synchronization information is a PID of the first information.
  8. 如权利要求6或7所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第一信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第一PID同步信息。The method according to claim 6 or 7, wherein the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the first PID synchronization information.
  9. 如权利要求8所述的方法,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第一PID同步信息为PID同步响应消息。The method of claim 8, wherein the third field comprises a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  10. 如权利要求6-9任一项所述的方法,其特征在于,在所述生成第一信息之前,所述方法还包括:The method according to any one of claims 6-9, wherein before the generating the first information, the method further comprises:
    接收第二信息,所述第二信息携带第二PID同步信息,所述第二PID同步信息用于请求所述第一PID同步信息。Second information is received, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  11. 如权利要求10所述的方法,其特征在于,所述第二信息为PLRB,所述PLRB包括PLCB净荷字段;所述PLCB净荷字段携带所述第二PID同步信息。The method of claim 10, wherein the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
  12. 如权利要求11所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第二PID同步信息。The method of claim 11, wherein the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the second PID synchronization information.
  13. 如权利要求12所述的方法,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第二PID同步信息为PID同步请求消息。The method of claim 12, wherein the third field comprises a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  14. 如权利要求8或9或12或13所述的方法,其特征在于,所述第三字段还包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;The method according to claim 8 or 9 or 12 or 13, wherein the third field further comprises a second subfield and at least one of the following subfields: a third subfield and a fourth subfield;
    其中,所述第二子字段用于携带对应PLRB的PID,所述第三子字段用于指示进行PID同步的传输方向;所述第四子字段用于指示对应PLRB的传输方向。The second subfield is used to carry the PID of the corresponding PLRB, the third subfield is used to indicate the transmission direction for PID synchronization, and the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  15. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    生成至少两个码块,所述至少两个码块分别携带一个物理层内容块PLCB,且所述至少两个码块中的至少一个第一码块携带PLCB的控制信息,所述PLCB的控制信息包括所述PLCB的标识信息和对应的指示信息,所述指示信息指示所述PLCB为第N次传输,所述N为正整数;Generate at least two code blocks, the at least two code blocks respectively carry a physical layer content block PLCB, and at least one first code block of the at least two code blocks carries the control information of the PLCB, the control information of the PLCB The information includes identification information of the PLCB and corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and the N is a positive integer;
    发送所述至少两个码块。The at least two code blocks are transmitted.
  16. 如权利要求15所述的方法,其特征在于,所述第一码块为物理层里德所罗门纠错编码块PLRB,所述第一码块包括PLCB控制字段,所述PLCB控制字段携带所述PLCB的控制信息。The method of claim 15, wherein the first code block is a physical layer Reed Solomon error correction coding block PLRB, the first code block includes a PLCB control field, and the PLCB control field carries the Control information of PLCB.
  17. 如权利要求15或16所述的方法,其特征在于,所述方法还包括:The method of claim 15 or 16, wherein the method further comprises:
    接收第二码块,所述第二码块携带重传信息,所述重传信息包括:第一PLCB的标识信息、所述第一PLCB的指示信息、接收状态信息,所述第一PLCB的标识信息为成功接收的一个PLCB的标识ID,所述第一PLCB的指示信息指示所述第一PLCB为第M次传输,所述M为正整数,所述接收状态信息指示所述至少两个码块的接收状态;Receives a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, and the information of the first PLCB The identification information is the identification ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, the M is a positive integer, and the reception status information indicates that the at least two The receiving status of the code block;
    根据所述重传信息确定所述至少两个码块携带的PLCB中传输失败的PLCB。It is determined according to the retransmission information that a PLCB that fails to transmit among the PLCBs carried by the at least two code blocks is determined.
  18. 如权利要求17所述的方法,其特征在于,所述第二码块为PLRB,所述第二码块包括PLCB净荷字段,所述PLCB净荷字段携带所述重传信息。The method of claim 17, wherein the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries the retransmission information.
  19. 如权利要求18所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二码块携带非数据信息,所述第二字段指示所述非数据信息的类型为传输确认信息,所述第三字段携带所述重传信息。The method of claim 18, wherein the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the The second field indicates that the type of the non-data information is transmission confirmation information, and the third field carries the retransmission information.
  20. 如权利要求19所述的方法,其特征在于,所述第三字段还指示错误反馈类型,所述错误反馈类型为完整错误反馈或者部分错误反馈,所述完整错误反馈标识所述接收状态指示了所有接收错误的第二PLCB,所述部分错误反馈指示所述接收状态仅指示了部分接收错误的第二PLCB。The method of claim 19, wherein the third field further indicates an error feedback type, the error feedback type is complete error feedback or partial error feedback, and the complete error feedback indicates that the receiving status indicates that the For all second PLCBs receiving errors, the partial error feedback indicates that the receiving status indicates only a portion of the second PLCBs receiving errors.
  21. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    接收第一信息,所述第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,所述第一PID同步信息用于PID同步;receiving first information, where the first information includes first physical layer Reed Solomon error correction coding block identification PID synchronization information, where the first PID synchronization information is used for PID synchronization;
    根据所述第一PID同步信息进行PID同步。PID synchronization is performed according to the first PID synchronization information.
  22. 如权利要求21所述的方法,其特征在于,所述PID同步包括第一设备和第二设备之间的PID计数同步。21. The method of claim 21, wherein the PID synchronization comprises PID count synchronization between the first device and the second device.
  23. 如权利要求22所述的方法,其特征在于,所述第一信息为同步符号,所述同步符号包括时基字段,所述时基字段携带所述第一PID同步信息。The method of claim 22, wherein the first information is a synchronization symbol, and the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
  24. 如权利要求23所述的方法,其特征在于,所述同步符号还包括用于指示时基编号的时基标识字段,其中,所述时基标识字段指示的时基编号为第一值,所述第一值指示所述时基字段携带所述第一PID同步信息。The method of claim 23, wherein the synchronization symbol further comprises a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the The first value indicates that the time base field carries the first PID synchronization information.
  25. 如权利要求23或24所述的方法,其特征在于,所述第一PID同步信息用于指示所述第一信息之前发送的物理层里德所罗门纠错编码块PLRB的PID;The method according to claim 23 or 24, wherein the first PID synchronization information is used to indicate the PID of the physical layer Reed Solomon error correction coding block PLRB sent before the first information;
    或者,所述第一PID同步信息用于指示所述第一信息之后发送的PLRB的PID。Alternatively, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  26. 如权利要求22所述的方法,其特征在于,所述第一信息为PLRB,所述PLRB包括物理层内容块PLCB净荷字段,所述PLCB净荷字段携带所述第一PID同步信息。The method of claim 22, wherein the first information is a PLRB, the PLRB includes a physical layer content block PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
  27. 如权利要求26所述的方法,其特征在于,所述第一PID同步信息为所述第一信息的PID。The method of claim 26, wherein the first PID synchronization information is a PID of the first information.
  28. 如权利要求26或27所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第一信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第一PID同步信息。The method according to claim 26 or 27, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the first information carries non-data information, The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the first PID synchronization information.
  29. 如权利要求28所述的方法,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第一PID同步信息为PID同步响应消息。The method of claim 28, wherein the third field comprises a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  30. 如权利要求26-29任一项所述的方法,其特征在于,在所述接收第一信息之前,所述方法还包括:The method according to any one of claims 26-29, wherein before the receiving the first information, the method further comprises:
    发送第二信息,所述第二信息携带第二PID同步信息,所述第二PID同步信息用于请求所述第一PID同步信息。Send second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  31. 如权利要求30所述的方法,其特征在于,所述第二信息为PLRB,所述PLRB包括PLCB净荷字段;所述PLCB净荷字段携带所述第二PID同步信息。The method of claim 30, wherein the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
  32. 如权利要求31所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第二PID同步信息。The method of claim 31, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the second PID synchronization information.
  33. 如权利要求32所述的方法,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第二PID同步信息为PID同步请求消息。The method of claim 32, wherein the third field comprises a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  34. 如权利要求28或29或32或33所述的方法,其特征在于,所述第三字段包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;The method according to claim 28 or 29 or 32 or 33, wherein the third field comprises a second subfield and at least one of the following subfields: a third subfield and a fourth subfield;
    其中,所述第二子字段用于携带对应PLRB的PID,所述第三子字段用于指示进行PID同步的传输方向;所述第四子字段用于指示对应PLRB的传输方向。The second subfield is used to carry the PID of the corresponding PLRB, the third subfield is used to indicate the transmission direction for PID synchronization, and the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  35. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    接收至少两个码块,所述至少两个码块分别携带一个物理层内容块PLCB,且所述至少两个码块中的至少一个第一码块携带PLCB的控制信息,所述PLCB的控制信息包括所述PLCB的标识信息和对应的指示信息,所述指示信息指示所述PLCB为第N次传输,所述N为正整数;Receive at least two code blocks, the at least two code blocks respectively carry a physical layer content block PLCB, and at least one first code block of the at least two code blocks carries the control information of the PLCB, the control information of the PLCB The information includes identification information of the PLCB and corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and the N is a positive integer;
    确定至少一个PLCB的控制信息。Control information for at least one PLCB is determined.
  36. 如权利要求35所述的方法,其特征在于,所述第一码块为物理层里德所罗门纠错编码块PLRB,所述第一码块包括PLCB控制字段,所述PLCB控制字段携带所述PLCB的控制信息。The method of claim 35, wherein the first code block is a physical layer Reed Solomon error correction coding block PLRB, the first code block includes a PLCB control field, and the PLCB control field carries the Control information of PLCB.
  37. 如权利要求35或36所述的方法,其特征在于,所述方法还包括:The method of claim 35 or 36, wherein the method further comprises:
    发送第二码块,所述第二码块携带重传信息,所述重传信息包括:第一PLCB的标识信息、所述第一PLCB的指示信息、接收状态信息,所述第一PLCB的标识信息为成功接收的一个PLCB的标识ID,所述第一PLCB的指示信息指示所述第一PLCB为第M次传输,所述M为正整数,所述接收状态信息指示所述至少两个码块的接收状态。Send a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, and the information of the first PLCB The identification information is the identification ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, the M is a positive integer, and the reception status information indicates that the at least two The received status of the code block.
  38. 如权利要求37所述的方法,其特征在于,所述第二码块为PLRB,所述第二码块包括PLCB净荷字段,所述PLCB净荷字段携带所述重传信息。The method of claim 37, wherein the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries the retransmission information.
  39. 如权利要求38所述的方法,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二码块携带非数据信息,所述第二字段指示 所述非数据信息的类型为传输确认信息,所述第三字段携带所述重传信息。The method of claim 38, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the The second field indicates that the type of the non-data information is transmission confirmation information, and the third field carries the retransmission information.
  40. 如权利要求39所述的方法,其特征在于,所述第三字段还指示错误反馈类型,所述错误反馈类型为完整错误反馈或者部分错误反馈,所述完整错误反馈标识所述接收状态指示了所有接收错误的第二PLCB,所述部分错误反馈指示所述接收状态仅指示了部分接收错误的第二PLCB。The method of claim 39, wherein the third field further indicates an error feedback type, the error feedback type is complete error feedback or partial error feedback, and the complete error feedback indicates that the receiving status indicates that the For all second PLCBs receiving errors, the partial error feedback indicates that the receiving status indicates only a portion of the second PLCBs receiving errors.
  41. 一种数据传输装置,其特征在于,所述装置包括:A data transmission device, characterized in that the device comprises:
    处理单元,用于生成第一信息,所述第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,所述第一PID同步信息用于PID同步;a processing unit, configured to generate first information, where the first information includes first physical layer Reed Solomon error correction coding block identification PID synchronization information, and the first PID synchronization information is used for PID synchronization;
    收发单元,用于发送所述第一信息。A transceiver unit, configured to send the first information.
  42. 如权利要求41所述的装置,其特征在于,所述PID同步包括第一设备和第二设备之间的PID计数同步。41. The apparatus of claim 41, wherein the PID synchronization comprises PID count synchronization between the first device and the second device.
  43. 如权利要求42所述的装置,其特征在于,所述第一信息为同步符号,所述同步符号包括时基字段,所述时基字段携带所述第一PID同步信息。The apparatus of claim 42, wherein the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
  44. 如权利要求43所述的装置,其特征在于,所述同步符号还包括用于指示时基编号的时基标识字段,其中,所述时基标识字段指示的时基编号为第一值,所述第一值指示所述时基字段携带所述第一PID同步信息。The apparatus according to claim 43, wherein the synchronization symbol further comprises a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the The first value indicates that the time base field carries the first PID synchronization information.
  45. 如权利要求43或44所述的装置,其特征在于,所述第一PID同步信息用于指示所述第一信息之前发送的物理层里德所罗门纠错编码块PLRB的PID;The apparatus according to claim 43 or 44, wherein the first PID synchronization information is used to indicate the PID of the physical layer Reed Solomon error correction coding block PLRB sent before the first information;
    或者,所述第一PID同步信息用于指示所述第一信息之后发送的PLRB的PID。Alternatively, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  46. 如权利要求42所述的装置,其特征在于,所述第一信息为PLRB,所述PLRB包括物理层内容块PLCB净荷字段,所述PLCB净荷字段携带所述第一PID同步信息。The apparatus of claim 42, wherein the first information is a PLRB, the PLRB includes a physical layer content block PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
  47. 如权利要求46所述的装置,其特征在于,所述第一PID同步信息为所述第一信息的PID。The apparatus of claim 46, wherein the first PID synchronization information is a PID of the first information.
  48. 如权利要求46或47所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第一信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第一PID同步信息。The apparatus according to claim 46 or 47, wherein the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the first information carries non-data information, The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the first PID synchronization information.
  49. 如权利要求48所述的装置,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第一PID同步信息为PID同步响应消息。The apparatus of claim 48, wherein the third field comprises a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  50. 如权利要求46-49任一项所述的装置,其特征在于,所述收发单元,还用于:The device according to any one of claims 46-49, wherein the transceiver unit is further configured to:
    在所述处理单元生成第一信息之前,接收第二信息,所述第二信息携带第二PID同步信息,所述第二PID同步信息用于请求所述第一PID同步信息。Before the processing unit generates the first information, the processing unit receives second information, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  51. 如权利要求50所述的装置,其特征在于,所述第二信息为PLRB,所述PLRB包括PLCB净荷字段;所述PLCB净荷字段携带所述第二PID同步信息。The apparatus of claim 50, wherein the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
  52. 如权利要求51所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第二PID同步信息。The apparatus of claim 51, wherein the PLCB payload field includes a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the second PID synchronization information.
  53. 如权利要求52所述的装置,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第二PID同步信息为PID同步请求消息。The apparatus of claim 52, wherein the third field comprises a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  54. 如权利要求48或49或52或53所述的装置,其特征在于,所述第三字段还包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;The apparatus according to claim 48 or 49 or 52 or 53, wherein the third field further comprises a second subfield and at least one of the following subfields: a third subfield and a fourth subfield;
    其中,所述第二子字段用于携带对应PLRB的PID,所述第三子字段用于指示进行PID同步的传输方向;所述第四子字段用于指示对应PLRB的传输方向。The second subfield is used to carry the PID of the corresponding PLRB, the third subfield is used to indicate the transmission direction for PID synchronization, and the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  55. 一种数据传输装置,其特征在于,所述装置包括:A data transmission device, characterized in that the device comprises:
    处理单元,用于生成至少两个码块,所述至少两个码块分别携带一个物理层内容块PLCB,且所述至少两个码块中的至少一个第一码块携带PLCB的控制信息,所述PLCB的控制信息包括所述PLCB的标识信息和对应的指示信息,所述指示信息指示所述PLCB为第N次传输,所述N为正整数;a processing unit, configured to generate at least two code blocks, wherein the at least two code blocks respectively carry a physical layer content block PLCB, and at least one first code block of the at least two code blocks carries control information of the PLCB, The control information of the PLCB includes the identification information of the PLCB and corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and the N is a positive integer;
    收发单元,用于发送所述至少两个码块。A transceiver unit, configured to transmit the at least two code blocks.
  56. 如权利要求55所述的装置,其特征在于,所述第一码块为物理层里德所罗门纠错编码块PLRB,所述第一码块包括PLCB控制字段,所述PLCB控制字段携带所述PLCB的控制信息。The apparatus of claim 55, wherein the first code block is a physical layer Reed Solomon error correction coding block PLRB, the first code block includes a PLCB control field, and the PLCB control field carries the Control information of PLCB.
  57. 如权利要求55或56所述的装置,其特征在于,所述收发单元,还用于:The device according to claim 55 or 56, wherein the transceiver unit is further configured to:
    接收第二码块,所述第二码块携带重传信息,所述重传信息包括:第一PLCB的标识信息、所述第一PLCB的指示信息、接收状态信息,所述第一PLCB的标识信息为成功接收的一个PLCB的标识ID,所述第一PLCB的指示信息指示所述第一PLCB为第M次传输,所述M为正整数,所述接收状态信息指示所述至少两个码块的接收状态;Receives a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, and the information of the first PLCB The identification information is the identification ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, the M is a positive integer, and the reception status information indicates that the at least two The receiving status of the code block;
    所述处理单元,还用于:根据所述重传信息确定所述至少两个码块携带的PLCB中传输失败的PLCB。The processing unit is further configured to: determine, according to the retransmission information, a PLCB whose transmission fails among the PLCBs carried by the at least two code blocks.
  58. 如权利要求57所述的装置,其特征在于,所述第二码块为PLRB,所述第二码块包括PLCB净荷字段,所述PLCB净荷字段携带所述重传信息。The apparatus of claim 57, wherein the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries the retransmission information.
  59. 如权利要求58所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二码块携带非数据信息,所述第二字段指示所述非数据信息的类型为传输确认信息,所述第三字段携带所述重传信息。The apparatus of claim 58, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the The second field indicates that the type of the non-data information is transmission confirmation information, and the third field carries the retransmission information.
  60. 如权利要求59所述的装置,其特征在于,所述第三字段还指示错误反馈类型,所述错误反馈类型为完整错误反馈或者部分错误反馈,所述完整错误反馈标识所述接收状态指示了所有接收错误的第二PLCB,所述部分错误反馈指示所述接收状态仅指示了部分接收错误的第二PLCB。The apparatus according to claim 59, wherein the third field further indicates an error feedback type, the error feedback type is complete error feedback or partial error feedback, and the complete error feedback indicates that the receiving state indicates that the For all second PLCBs receiving errors, the partial error feedback indicates that the receiving status indicates only a portion of the second PLCBs receiving errors.
  61. 一种数据传输装置,其特征在于,所述装置包括:A data transmission device, characterized in that the device comprises:
    收发单元,用于接收第一信息,所述第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,所述第一PID同步信息用于PID同步;a transceiver unit, configured to receive first information, where the first information includes first physical layer Reed Solomon error correction coding block identification PID synchronization information, where the first PID synchronization information is used for PID synchronization;
    处理单元,用关于根据所述第一PID同步信息进行PID同步。The processing unit is configured to perform PID synchronization according to the first PID synchronization information.
  62. 如权利要求61所述的装置,其特征在于,所述PID同步包括第一设备和第二设备之间的PID计数同步。61. The apparatus of claim 61, wherein the PID synchronization comprises PID count synchronization between the first device and the second device.
  63. 如权利要求62所述的装置,其特征在于,所述第一信息为同步符号,所述同步符号包括时基字段,所述时基字段携带所述第一PID同步信息。The apparatus of claim 62, wherein the first information is a synchronization symbol, the synchronization symbol includes a time base field, and the time base field carries the first PID synchronization information.
  64. 如权利要求63所述的装置,其特征在于,所述同步符号还包括用于指示时基编号的时基标识字段,其中,所述时基标识字段指示的时基编号为第一值,所述第一值指示所述时基字段携带所述第一PID同步信息。The apparatus of claim 63, wherein the synchronization symbol further comprises a time base identification field for indicating a time base number, wherein the time base number indicated by the time base identification field is a first value, and the The first value indicates that the time base field carries the first PID synchronization information.
  65. 如权利要求63或64所述的装置,其特征在于,所述第一PID同步信息用于指示所述第一信息之前发送的物理层里德所罗门纠错编码块PLRB的PID;The apparatus according to claim 63 or 64, wherein the first PID synchronization information is used to indicate the PID of the physical layer Reed Solomon error correction coding block PLRB sent before the first information;
    或者,所述第一PID同步信息用于指示所述第一信息之后发送的PLRB的PID。Or, the first PID synchronization information is used to indicate the PID of the PLRB sent after the first information.
  66. 如权利要求62所述的装置,其特征在于,所述第一信息为PLRB,所述PLRB包括物理层内容块PLCB净荷字段,所述PLCB净荷字段携带所述第一PID同步信息。The apparatus of claim 62, wherein the first information is a PLRB, the PLRB includes a physical layer content block PLCB payload field, and the PLCB payload field carries the first PID synchronization information.
  67. 如权利要求66所述的装置,其特征在于,所述第一PID同步信息为所述第一信息的PID。The apparatus of claim 66, wherein the first PID synchronization information is a PID of the first information.
  68. 如权利要求66或67所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第一信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第一PID同步信息。The apparatus according to claim 66 or 67, wherein the PLCB payload field includes a first field, a second field and a third field, and the first field indicates that the first information carries non-data information, The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the first PID synchronization information.
  69. 如权利要求68所述的装置,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第一PID同步信息为PID同步响应消息。The apparatus of claim 68, wherein the third field comprises a first subfield, and the first subfield indicates that the first PID synchronization information is a PID synchronization response message.
  70. 如权利要求66-69任一项所述的装置,其特征在于,所述收发单元,还用于:The device according to any one of claims 66-69, wherein the transceiver unit is further configured to:
    在所述接收第一信息之前,发送第二信息,所述第二信息携带第二PID同步信息,所述第二PID同步信息用于请求所述第一PID同步信息。Before the receiving of the first information, second information is sent, where the second information carries second PID synchronization information, and the second PID synchronization information is used to request the first PID synchronization information.
  71. 如权利要求70所述的装置,其特征在于,所述第二信息为PLRB,所述PLRB包括PLCB净荷字段;所述PLCB净荷字段携带所述第二PID同步信息。The apparatus of claim 70, wherein the second information is a PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries the second PID synchronization information.
  72. 如权利要求71所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二信息携带非数据信息,所述第二字段指示所述非数据信息的类型为PID同步信息,所述第三字段携带所述第二PID同步信息。The apparatus of claim 71, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the second information carries non-data information, the The second field indicates that the type of the non-data information is PID synchronization information, and the third field carries the second PID synchronization information.
  73. 如权利要求72所述的装置,其特征在于,所述第三字段包括第一子字段,所述第一子字段指示所述第二PID同步信息为PID同步请求消息。The apparatus of claim 72, wherein the third field comprises a first subfield, and the first subfield indicates that the second PID synchronization information is a PID synchronization request message.
  74. 如权利要求68或69或72或73所述的装置,其特征在于,所述第三字段包括第二子字段以及如下子字段中的至少一项:第三子字段、第四子字段;The apparatus according to claim 68 or 69 or 72 or 73, wherein the third field comprises a second subfield and at least one of the following subfields: a third subfield and a fourth subfield;
    其中,所述第二子字段用于携带对应PLRB的PID,所述第三子字段用于指示进行PID同步的传输方向;所述第四子字段用于指示对应PLRB的传输方向。The second subfield is used to carry the PID of the corresponding PLRB, the third subfield is used to indicate the transmission direction for PID synchronization, and the fourth subfield is used to indicate the transmission direction of the corresponding PLRB.
  75. 一种数据传输装置,其特征在于,所述装置包括:A data transmission device, characterized in that the device comprises:
    收发单元,用于接收至少两个码块,所述至少两个码块分别携带一个物理层内容块PLCB,且所述至少两个码块中的至少一个第一码块携带PLCB的控制信息,所述PLCB的控制信息包括所述PLCB的标识信息和对应的指示信息,所述指示信息指示所述PLCB为第N次传输,所述N为正整数;a transceiver unit, configured to receive at least two code blocks, wherein the at least two code blocks respectively carry a physical layer content block PLCB, and at least one first code block of the at least two code blocks carries control information of the PLCB, The control information of the PLCB includes the identification information of the PLCB and corresponding indication information, the indication information indicates that the PLCB is the Nth transmission, and the N is a positive integer;
    处理单元,用于确定至少一个PLCB的控制信息。The processing unit is configured to determine the control information of at least one PLCB.
  76. 如权利要求75所述的装置,其特征在于,所述第一码块为物理层里德所罗门纠错编码块PLRB,所述第一码块包括PLCB控制字段,所述PLCB控制字段携带所述PLCB的控制信息。The apparatus of claim 75, wherein the first code block is a physical layer Reed Solomon error correction coding block PLRB, the first code block includes a PLCB control field, and the PLCB control field carries the Control information of PLCB.
  77. 如权利要求75或76所述的装置,其特征在于,所述收发单元,还用于:The device according to claim 75 or 76, wherein the transceiver unit is further configured to:
    发送第二码块,所述第二码块携带重传信息,所述重传信息包括:第一PLCB的标识信息、所述第一PLCB的指示信息、接收状态信息,所述第一PLCB的标识信息为成功接收的一个PLCB的标识ID,所述第一PLCB的指示信息指示所述第一PLCB为第M次传输,所述M为正整数,所述接收状态信息指示所述至少两个码块的接收状态。Send a second code block, where the second code block carries retransmission information, and the retransmission information includes: identification information of the first PLCB, indication information of the first PLCB, and reception status information, and the information of the first PLCB The identification information is the identification ID of a successfully received PLCB, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, the M is a positive integer, and the reception status information indicates that the at least two The received status of the code block.
  78. 如权利要求77所述的装置,其特征在于,所述第二码块为PLRB,所述第二码块包括PLCB净荷字段,所述PLCB净荷字段携带所述重传信息。The apparatus of claim 77, wherein the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries the retransmission information.
  79. 如权利要求78所述的装置,其特征在于,所述PLCB净荷字段包括第一字段、第二字段和第三字段,所述第一字段指示所述第二码块携带非数据信息,所述第二字段指示所述非数据信息的类型为传输确认信息,所述第三字段携带所述重传信息。The apparatus of claim 78, wherein the PLCB payload field comprises a first field, a second field and a third field, the first field indicates that the second code block carries non-data information, and the The second field indicates that the type of the non-data information is transmission confirmation information, and the third field carries the retransmission information.
  80. 如权利要求79所述的装置,其特征在于,所述第三字段还指示错误反馈类型,所述错误反馈类型为完整错误反馈或者部分错误反馈,所述完整错误反馈标识所述接收状态指示了所有接收错误的第二PLCB,所述部分错误反馈指示所述接收状态仅指示了部分接收错误的第二PLCB。The apparatus of claim 79, wherein the third field further indicates an error feedback type, the error feedback type is a complete error feedback or a partial error feedback, and the complete error feedback indicates that the receiving status indicates that the For all second PLCBs receiving errors, the partial error feedback indicates that the receiving status indicates only a portion of the second PLCBs receiving errors.
  81. 一种通信设备,其特征在于,所述设备包括处理器和通信接口,所述通信接口,用于接收计算机程序代码或指令并传输至所述处理器;所述处理器运行所述计算机程序代码或指令以使得所述装置实现如权利要求1-14任一项所述的方法或者如权利要求15-20任一项所述的方法。A communication device, characterized in that the device includes a processor and a communication interface, the communication interface is used to receive computer program code or instructions and transmit them to the processor; the processor runs the computer program code or instructions to cause the apparatus to implement the method of any of claims 1-14 or the method of any of claims 15-20.
  82. 一种通信设备,其特征在于,所述设备包括处理器和通信接口,所述通信接口,用于接收计算机程序代码或指令并传输至所述处理器;所述处理器运行所述计算机程序代码或指令以使得所述装置实现如权利要求21-34任一项所述的方法如权利要求35-40任一项所述的方法。A communication device, characterized in that the device includes a processor and a communication interface, the communication interface is used to receive computer program code or instructions and transmit them to the processor; the processor runs the computer program code or instructions to cause the apparatus to implement a method as claimed in any one of claims 21-34 or a method as claimed in any one of claims 35-40.
  83. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储程序或指令,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求1-14任一项所述的方法,或者,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求15-20任一项所述的方法,或者,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求21-34任一项所述的方法,或者,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求35-40任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program or an instruction, and the program or the instruction realizes claims 1- when read and executed by one or more processors 14 The method of any one of claims 15-20, or the program or the instructions, when read and executed by one or more processors, implement the method of any one of claims 15-20, or the program or the instructions, when read and executed by one or more processors, implement the method of any one of claims 21-34, or the program or the instructions when read by one or more processors And when executed, the method described in any one of claims 35-40 is realized.
  84. 一种车辆,其特征在于,所述车辆包括第一设备和/或第二设备,所述第一设备用于执行如权利要求1-14任一项所述的方法,所述第二设备用于执行如权利要求21-34任一项所述的方法。A vehicle, characterized in that the vehicle includes a first device and/or a second device, the first device is used to execute the method according to any one of claims 1-14, and the second device is used for for carrying out the method of any one of claims 21-34.
  85. 一种车辆,其特征在于,所述车辆包括第一设备和/或第二设备,所述第一设备用于执行如权利要求15-20任一项所述的方法,所述第二设备用于执行如权利要求35-40任一项所述的方法。A vehicle, characterized in that the vehicle includes a first device and/or a second device, the first device is used to execute the method according to any one of claims 15-20, and the second device is used for for carrying out the method of any one of claims 35-40.
  86. 一种数据传输系统,其特征在于,所述系统包括如权利要求41-54任一项所述的装置,以及如权利要求61-74任一项所述的装置。A data transmission system, characterized in that the system comprises the device according to any one of claims 41-54 and the device according to any one of claims 61-74.
  87. 一种数据传输系统,其特征在于,所述系统包括如权利要求55-60任一项所述的装置,以及如权利要求75-80任一项所述的装置。A data transmission system, characterized in that the system comprises the device according to any one of claims 55-60 and the device according to any one of claims 75-80.
PCT/CN2021/080777 2021-03-15 2021-03-15 Data transmission method and apparatus WO2022193065A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/080777 WO2022193065A1 (en) 2021-03-15 2021-03-15 Data transmission method and apparatus
CN202180083020.8A CN116601897A (en) 2021-03-15 2021-03-15 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/080777 WO2022193065A1 (en) 2021-03-15 2021-03-15 Data transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2022193065A1 true WO2022193065A1 (en) 2022-09-22

Family

ID=83321744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080777 WO2022193065A1 (en) 2021-03-15 2021-03-15 Data transmission method and apparatus

Country Status (2)

Country Link
CN (1) CN116601897A (en)
WO (1) WO2022193065A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401583A (en) * 2013-06-25 2013-11-20 北京溢美四方软件技术有限公司 Clock recovery and calibration method based on identification of pseudo-random sequence characteristics
US20180123733A1 (en) * 2016-10-28 2018-05-03 Globalfoundries Inc. Ethernet physical layer device having an integrated physical coding and forward error correction sub-layers
CN109428676A (en) * 2017-08-30 2019-03-05 深圳市中兴微电子技术有限公司 A kind of synchronous method and device of forward error correction encoding/decoding mode
CN109743128A (en) * 2019-01-29 2019-05-10 领目科技(上海)有限公司 A kind of vehicle-mounted multi information synchronous control system and method
CN110324104A (en) * 2018-03-28 2019-10-11 华为技术有限公司 Method for synchronizing time, OLT, ONU and PON system in PON system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401583A (en) * 2013-06-25 2013-11-20 北京溢美四方软件技术有限公司 Clock recovery and calibration method based on identification of pseudo-random sequence characteristics
US20180123733A1 (en) * 2016-10-28 2018-05-03 Globalfoundries Inc. Ethernet physical layer device having an integrated physical coding and forward error correction sub-layers
CN109428676A (en) * 2017-08-30 2019-03-05 深圳市中兴微电子技术有限公司 A kind of synchronous method and device of forward error correction encoding/decoding mode
CN110324104A (en) * 2018-03-28 2019-10-11 华为技术有限公司 Method for synchronizing time, OLT, ONU and PON system in PON system
CN109743128A (en) * 2019-01-29 2019-05-10 领目科技(上海)有限公司 A kind of vehicle-mounted multi information synchronous control system and method

Also Published As

Publication number Publication date
CN116601897A (en) 2023-08-15

Similar Documents

Publication Publication Date Title
EP3840265B1 (en) Method and apparatus for feeding back hybrid automatic repeat request of downlink data
US20180004705A1 (en) Selective acknowledgment of RDMA packets
CN109194450B (en) SNACK-P response system and method for heaven-earth integrated network communication and wireless communication system
US8493861B2 (en) Method and transmitting unit for reducing a risk of transmission stalling
MXPA06014164A (en) Method of, and system for, communicating data, and a station for transmitting data.
TWI442733B (en) Communication apparatus and system
US9325519B2 (en) Distributed proxy for bi-directional network connectivity over point-to-point connection
JP2010011296A (en) Transmitting and receiving circuit, transmitting circuit, and transmitting and receiving method
US8335958B2 (en) Method of communication, in particular with capability of frame abortion or retransmission indication, between a transmitter and a receiver based on frames and corresponding communication node
MX2011007201A (en) Method and apparatus for ack/nack reporting.
KR20110066602A (en) Apparatus for processing pci express protocol
CN111130710A (en) SPI-based duplex communication method
CN102299777A (en) Data retransmission method and device
WO2022193065A1 (en) Data transmission method and apparatus
US20070019677A1 (en) Data processing method and system based on a serial transmission interface
JP7210867B2 (en) Acknowledgment packet transmission method and communication device
CN104967504A (en) Method and apparatus for link data protection
US10326612B2 (en) Packet data protocol
CN103838691B (en) Realize the method and common interface chip of high speed data transfer
US8522104B2 (en) Smart aging retry buffer
US9172511B2 (en) Apparatus and method of communicating automatic repeat request (ARQ) feedback in a wireless communication network
US8806291B2 (en) Data transfer device and control method of data transfer device
CN115777184A (en) Data retransmission method and device
JP2000078118A (en) Automatic resending request data transmitting method
US20100122134A1 (en) Application-configured, content-based retransmission scheme for dropped media access control frames

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180083020.8

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21930662

Country of ref document: EP

Kind code of ref document: A1