CN116601897A - A data transmission method and device - Google Patents
A data transmission method and device Download PDFInfo
- Publication number
- CN116601897A CN116601897A CN202180083020.8A CN202180083020A CN116601897A CN 116601897 A CN116601897 A CN 116601897A CN 202180083020 A CN202180083020 A CN 202180083020A CN 116601897 A CN116601897 A CN 116601897A
- Authority
- CN
- China
- Prior art keywords
- information
- pid
- field
- plcb
- synchronization
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
本申请涉及通信技术领域,尤其涉及一种数据传输方法及装置。The present application relates to the technical field of communications, and in particular to a data transmission method and device.
在高速有线传输,特别一些车载串行解串器(serializer/deserializer,SerDes)传输中,由于误比特率(bit error rate,BER)要求较高,通常会考虑通过重传的方式来提升传输链路的可靠性。In high-speed wired transmission, especially some car serializer/deserializer (SerDes) transmission, due to the high bit error rate (bit error rate, BER) requirements, it is usually considered to improve the transmission chain through retransmission. road reliability.
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 originating end (the first device) sends physical layer (physical layer, PHY) code blocks sequentially, and one PHY code block is one physical layer Reed-Solomon error correction coding block (physical layer RS-FEC block, PLRB), and One PHY code block carries one physical layer content block (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 number (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 PHY code block 2 fails, the second device sends an ACK to the first device, and indicates that the reception of PHY code block 2 fails 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 implement clock synchronization of the PHY code blocks during link establishment, so as to determine the number of the PHY code blocks according to the clock count. In an interference scenario, longer duration interference can cause the PHY clock to lose synchronization. However, the out-of-synchronization of the PHY clock will lead to inaccurate counting of the PHY code blocks performed by the second device, thus resulting in errors in the retransmission of the PHY code blocks.
发明内容Contents of the invention
本申请提供一种数据传输方法及装置,用于解决PHY时钟失步导致PHY码块的重传出现错误的问题。The present application provides a data transmission method and device, which are used to solve the problem of retransmission errors of PHY code blocks caused by PHY clock out-of-synchronization.
第一方面,本申请实施例提供了一种数据传输方法,包括:生成第一信息并进行发送,第一信息包括第一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 the embodiment of the present application, the first device sends 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 and the data sending 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 a 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, and 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 synchronization symbols sent periodically, the data receiving end can complete the PID count synchronization while restoring the PHY code block delimitation and scrambling code synchronization, so as to avoid erroneous retransmission after the link is restored.
在一种可能的设计中,同步符号还包括用于指示时基编号的时基标识字段,其中,时 基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一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 PID synchronization information. In the above method, 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, the first device indicates the PID of a PLRB at a specific location, so that the second device can calibrate the PID of the PLRB, thereby achieving PID count synchronization.
在一种可能的设计中,第一信息为PLRB,PLRB包括物理层内容块(PLCB)净荷字段,PLCB净荷字段携带第一PID同步信息。上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, the first information is a PLRB, and 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 embodiments, PHY control messages can be used to carry PID synchronization information, so that PID synchronization can be realized, and erroneous retransmission can be avoided.
在一种可能的设计中,第一PID同步信息为第一信息的PID。上述设计通过在第一信息中携带该第一信息的PID,使得第二设备在接收到第一信息可以校准该第一信息的PID计数。In a possible design, the first PID synchronization information is the PID of the first information. The above design carries the PID of the first information in the first information, so that 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 non-data information is PID synchronization information , the third field carries the first PID synchronization information. In the above design, the PHY control information carries the first PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and reads in the third field when the second field indicates that the type of non-data information is PID synchronization information. Get 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 second PID synchronization information. In the above implementation manner, the PHY control message can be used to carry the second PID synchronization information, so that PID synchronization can be realized, and erroneous retransmission can be avoided.
在一种可能的设计中,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 non-data information is PID synchronization information , the third field carries the second PID synchronization information. In the above design, the PHY control information carries the second PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and reads in the third field when the second field indicates that the type of non-data information is PID synchronization information. Get 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; where 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 the second aspect, the embodiment of the present application provides a data transmission method, including: generating and sending at least two code blocks, at least two code blocks each carrying a physical layer content block (PLCB), and at least two code blocks At least one of the first code blocks carries PLCB control information, and the PLCB control information includes PLCB identification information and corresponding indication information, and 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 retransmission times of the PLCB, so that the second device can accurately indicate the wrong PHY code block, thereby avoiding retransmission errors. Moreover, in this way, the sending and receiving ends do not need to maintain the PID.
在一种可能的设计中,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。上述实施方式中可以利用PLCB控制字段承载PLCB的控制信息。In a possible design, the first code block is a PLRB, and the first code block includes a PLCB control field, and the PLCB control field carries PLCB control information. In the foregoing implementation manner, the PLCB control field may be used to carry PLCB control information.
在一种可能的设计中,方法还包括:接收第二码块,第二码块携带重传信息,重传信息包括:第一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 receiving status information, The identification information of the first PLCB is the ID of a PLCB successfully received, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, M is a positive integer, and the receiving status information indicates the receiving status of at least two code blocks; The retransmission information determines a PLCB that fails to be transmitted among the PLCBs carried by at least two code blocks. In the above design, by carrying 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 that transmits an error can be determined according to the PHY code block.
在一种可能的设计中,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。上述实施方式中可以利用PLCB净荷字段承载重传信息。In a possible design, the second code block is a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information. In the foregoing implementation manner, the PLCB payload field may be used to carry 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 non-data information is a transmission confirmation information, and 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 reads in the third field when the second field indicates that the type of non-data information is transmission confirmation information Retransmit the message.
在一种可能的设计中,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。通过上述设计,使得第二设备可以确定反馈范围。In a possible design, the third field also indicates the type of error feedback, the type of error feedback is complete error feedback or partial error feedback, the complete error feedback indicates that the reception status indicates the second PLCB that received all errors, and the partial error feedback indicates that the second PLCB received errors The status only indicates that the second PLCB was partially received incorrectly. Through the above design, the second device can determine the feedback range.
第三方面,本申请实施例提供了一种数据传输方法,包括:接收第一信息并根据第一PID同步信息进行PID同步,第一信息包括第一物理层里德所罗门纠错编码块标识PID同步信息,第一PID同步信息用于PID同步。In the third aspect, the embodiment of the present application provides a data transmission method, including: receiving the first information and performing PID synchronization according to the first PID synchronization information, the first information includes the 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 the embodiment of the present application, the first device sends 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 and the data sending 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 a 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, and 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 synchronization symbols sent periodically, the data receiving end can complete the PID count synchronization while restoring the PHY code block delimitation and scrambling code synchronization, so as to avoid erroneous retransmission after the link is restored.
在一种可能的设计中,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一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 PID synchronization information. In the above method, 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, the first device indicates the PID of a PLRB at a specific location, so that the second device can calibrate the PID of the PLRB, thereby achieving PID count synchronization.
在一种可能的设计中,第一信息为PLRB,PLRB包括物理层内容块(PLCB)净荷字段,PLCB净荷字段携带第一PID同步信息。上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In a possible design, the first information is a PLRB, and 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 embodiments, PHY control messages can be used to carry PID synchronization information, so that PID synchronization can be realized, and erroneous retransmission can be avoided.
在一种可能的设计中,第一PID同步信息为第一信息的PID。上述设计通过在第一信息中携带该第一信息的PID,使得第二设备在接收到第一信息可以校准该第一信息的PID计数。In a possible design, the first PID synchronization information is the PID of the first information. The above design carries the PID of the first information in the first information, so that 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 non-data information is PID synchronization information , the third field carries the first PID synchronization information. In the above design, the PHY control information carries the first PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and reads in the third field when the second field indicates that the type of non-data information is PID synchronization information. Get 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 second PID synchronization information. In the above implementation manner, the PHY control message can be used to carry the second PID synchronization information, so that PID synchronization can be realized, and erroneous retransmission can be avoided.
在一种可能的设计中,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 non-data information is PID synchronization information , the third field carries the second PID synchronization information. In the above design, the PHY control information carries the second PID synchronization information, so that the second device indicates that the first information carries non-data information in the first field, and reads in the third field when the second field indicates that the type of non-data information is PID synchronization information. Get 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; where 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, the embodiment of the present application provides a data transmission method, including: receiving at least two code blocks, 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 One code block carries the control information of PLCB, the control information of PLCB includes the identification information of PLCB and the corresponding indication information, the indication information indicates that PLCB is the Nth transmission, N is a positive integer; determine the control information of at least one PLCB.
本申请实施例中,通过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 retransmission times of the PLCB, so that the second device can accurately indicate the wrong PHY code block, thereby avoiding retransmission errors. Moreover, in this way, the sending and receiving ends do not need to maintain the PID.
在一种可能的设计中,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。上述实施方式中可以利用PLCB控制字段承载PLCB的控制信息。In a possible design, the first code block is a PLRB, and the first code block includes a PLCB control field, and the PLCB control field carries PLCB control information. In the foregoing implementation manner, the PLCB control field may be used to carry PLCB control information.
在一种可能的设计中,方法还包括:发送第二码块,第二码块携带重传信息,重传信息包括:第一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 receiving 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 receiving status information indicates the receiving status of at least two code blocks. In the above design, by carrying 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 that transmits an error can be determined according to the PHY code block.
在一种可能的设计中,第二码块为PLRB,第二码块包括PLCB净荷字段,PLCB净荷字段携带重传信息。In a possible design, the second code block is a 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 a PLRB, the second code block includes a PLCB payload field, and the PLCB payload field carries retransmission information. In the foregoing implementation manner, the PLCB payload field may be used to carry 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 non-data information is a transmission confirmation information, and 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 reads in the third field when the second field indicates that the type of non-data information is transmission confirmation information Retransmit the message.
在一种可能的设计中,第三字段还指示错误反馈类型,错误反馈类型为完整错误反馈或者部分错误反馈,完整错误反馈标识接收状态指示了所有接收错误的第二PLCB,部分错误反馈指示接收状态仅指示了部分接收错误的第二PLCB。通过上述设计,使得第二设备可以确定反馈范围。In a possible design, the third field also indicates the type of error feedback, the type of error feedback is complete error feedback or partial error feedback, the complete error feedback indicates that the reception status indicates the second PLCB that received all errors, and the partial error feedback indicates that the second PLCB received errors The status only indicates that the second PLCB was partially received incorrectly. Through the above design, the second device can determine the feedback range.
第五方面,本申请提供一种数据传输装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。当该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。In a fifth aspect, the present application provides a data transmission device, and the device 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 device is a communication device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the device may also include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit Execute the instructions stored in the storage module to execute the first aspect or any design in the first aspect, the second aspect or the method in any design in the second aspect. When the device is a chip or 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 Executing the first aspect or any design in the first aspect, the second aspect or any design method in the second aspect. The storage module may be a storage module (for example, register, cache, etc.) within the chip or chipset, or a storage module (for example, read-only memory, random access memory, etc.) located outside the chip or chipset in the communication device. access memory, etc.).
第六方面,本申请提供一种数据传输装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。当 该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。In a sixth aspect, the present application provides a data transmission device, and the device 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 device is a communication device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the device may also include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit Execute the instructions stored in the storage module to execute the third aspect or any design in the third aspect, the fourth aspect or the method in any design in the fourth aspect. When the device is a chip or 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 Executing the third aspect or any design in the third aspect, the fourth aspect or any design method in the fourth aspect. The storage module may be a storage module (for example, register, cache, etc.) within the chip or chipset, or a storage module (for example, read-only memory, random access memory, etc.) located outside the chip or chipset in the communication device. access memory, etc.).
第七方面,本申请提供了一种数据传输装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。In a seventh aspect, the present application provides a data transmission device, including: a processor, and may further 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 device is running, the processor executes the computer-executable instructions stored in the memory, so that the device executes the first aspect or any design in the first aspect, the second aspect Or the method of any design in the second aspect.
第八方面,本申请提供了一种数据传输装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。In an eighth aspect, the present application provides a data transmission device, including: a processor, and may further 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 device is running, the processor executes the computer-executable instructions stored in the memory, so that the device executes any design in the third aspect or the third aspect, the fourth aspect Or the method of any design in the fourth aspect.
第九方面,本申请实施例提供了一种数据传输系统,包括上述第五方面中的数据传输装置,以及上述第六方面中的数据传输装置。In a ninth aspect, an embodiment of the present application provides a data transmission system, including the data transmission device in the fifth aspect above, and the data transmission device in the sixth aspect above.
第十方面,本申请实施例提供了一种数据传输系统,包括上述第七方面中的数据传输装置,以及上述第八方面中的数据传输装置。In a tenth aspect, an embodiment of the present application provides a data transmission system, including the data transmission device in the seventh aspect above, and the data transmission device in the eighth aspect above.
第十一方面,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。In the eleventh aspect, the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores instructions, which, when run on a computer, cause the computer to perform any of the above-mentioned first to fourth aspects. One aspect, or the method of any design in any aspect.
第十二方面,本申请实施例还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。In the twelfth aspect, the embodiment of the present application also provides a computer program product including instructions, which, when run on a computer, causes the computer to execute any one of the above-mentioned first to fourth aspects, or any one of any of the above-mentioned aspects. A design method.
第十三方面,本申请实施例还提供一种通信系统,该系统包括发送节点和接收节点,其中,发送节点可以执行上述第一方面或第一方面中任一设计相应的方法,接收节点可以执行上述第三方面或第三方面任一设计相应的方法。In the thirteenth aspect, the embodiment of the present application also provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the first aspect or any corresponding method in the first aspect, and the receiving node can Execute the above third aspect or design a corresponding method in any one of the third aspects.
第十四方面,本申请实施例还提供一种通信系统,该系统包括发送节点和接收节点,其中,发送节点可以执行上述第二方面或第二方面中任一设计相应的方法,接收节点可以执行上述第四方面或第四方面任一设计相应的方法。In the fourteenth aspect, the embodiment of the present application also 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 corresponding method in the second aspect, and the receiving node can Execute the fourth aspect above or design a corresponding method according to any one of the fourth aspects.
第十五方面,本申请实施例提供的一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行上述第一方面至第四方面中任一方面、或任一方面中任一设计的方法。In the fifteenth aspect, the embodiment of the present application provides a chip, the chip includes at least one processor and a communication interface, the processor is coupled with the memory, and is used to read the computer program stored in the memory to execute the above first to fourth aspects Any aspect in any aspect, or the method of any design in any aspect.
需要说明的是,本申请实施例中“耦合”是指两个部件彼此直接或间接地结合。It should be noted that "coupling" in the embodiments of the present application means that two components are directly or indirectly combined with each other.
第十六方面,本申请实施例提供一种车辆,该车辆包括第一设备和/或第二设备,第一设备用于执行前述第一方面或第一方面中任一设计的方法,第二设备用于执行前述第三方面或第三方面中任一设计的方法。In a sixteenth aspect, the 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 method designed in the first aspect or any one of the first aspects, and the second The device is used to execute the third aspect or the method designed in any one of the third aspects.
第十七方面,本申请实施例提供一种车辆,该车辆包括第一设备和/或第二设备,第一设备用于执行前述第二方面或第二方面中任一设计的方法,第二设备用于执行前述第四方 面或第四方面中任一设计的方法。In the seventeenth aspect, the 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 method of any one of the aforementioned second aspect or the second aspect, and the second The device is used to execute the fourth aspect or the method designed in any one of the fourth aspects.
图1为本申请实施例提供的一种数据传输示意图;FIG. 1 is a schematic diagram of data transmission provided by an embodiment of the present application;
图2为本申请实施例提供的一种PLRB格式示意图;FIG. 2 is a schematic diagram of a PLRB format provided by an embodiment of the present application;
图3为本申请实施例提供的一种同步符号传输示意图;FIG. 3 is a schematic diagram of synchronous symbol transmission provided by an embodiment of the present application;
图4为本申请实施例提供的一种数据传输方法的流程示意图;FIG. 4 is a schematic flow diagram of a data transmission method provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据传输方法的流程示意图;FIG. 5 is a schematic flow diagram 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 device provided by an embodiment of the present application;
图8为本申请实施例提供的一种数据传输装置的结构示意图。FIG. 8 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application.
本申请实施例的说明书和权利要求书及附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "comprising" and "having" in the description and claims of the embodiments of the present application and the accompanying drawings, as well as any variations thereof, are intended to cover non-exclusive inclusion, for example, processes and methods that include a series of steps or units The systems, products or devices are not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product or device.
本申请实施例可以适用于有线传输,例如可以适用于有线点对点高速传输,如摄像头与自动驾驶平台多域控制器(multi domain controller,MDC)的图像和控制传输,车载摄像头或座舱域控制器(cockpit domain controller或control domain cockpit,CDC)等车载设备与大屏的图像传输等。The embodiment of the present application can be applied to wired transmission, for example, can be applied to wired point-to-point high-speed transmission, such as image and control transmission between a camera and an autopilot platform multi-domain controller (multi domain controller, MDC), vehicle camera or cockpit domain controller ( cockpit domain controller or control domain cockpit, CDC) and other on-vehicle equipment and large screen image transmission, etc.
例如,本申请实施例涉及的通信装置可以是能够向其他设备发送信息(如数据帧、控制信息等)的设备,例如为摄像头、激光雷达等车载图像传感器,或者,也可以为MDC、CDC等图像处理设备,或者还可以为大屏等图像显示设备。又例如,本申请实施例涉及的通信装置还可以是除了车载装置之外的其他传输设备。For example, the communication device involved in the embodiment of the present application may be a device capable of sending information (such as data frame, control information, etc.) An image processing device, or an image display device such as a large screen. For another example, the communication device involved in the embodiment of the present application may also be other transmission equipment 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" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: 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 contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) 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, wherein, a, b, c can be single or multiple.
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的大小、内容、顺序、时序、优先级或者重要程度等。例如,第一数据包和第二数据包,只是为了便于描述而给予的名称,这两个数据包可能是同一个数据包,或者也可能是不同的数据包。And, unless otherwise stated, the ordinal numerals such as "first" and "second" mentioned in the embodiments of this 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 just names given for convenience of description, and these two data packets may be the same data packet, or may be different data packets.
下面介绍本申请实施例涉及的技术特征。The technical features involved in the embodiments of the present application are introduced below.
在高速有线传输,特别一些车载SerDes传输中,由于BER要求较高,除了PHY层采用纠错检错编码(如里德所罗门纠错(reed-solomon forward error correction,RS-FEC)外, 还会考虑通过重传的方式来提升传输链路的可靠性。In high-speed wired transmission, especially in some vehicle-mounted SerDes transmissions, due to high BER requirements, in addition to PHY layer using error correction and error detection coding (such as Reed-Solomon forward error correction (RS-FEC), there will also be Consider improving the reliability of the transmission link through retransmission.
SerDes传输中,通常双向传输是同时进行的。为了便于描述,下面选择一个传输方向,该传输方向的发端为第一设备,收端为第二设备。In SerDes transmission, usually two-way transmission is carried out simultaneously. For the convenience of description, a transmission direction is selected below, and the originating 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 sends PHY code blocks sequentially, one PHY code block is one PLRB, and one PHY code block bears one PLCB. When the transmission of the PHY code block fails, the second device sends an ACK to the first device, and indicates the failed PHY code block through the 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 PHY code block 2 fails, the second device sends an ACK to the first device, and indicates that the reception of PHY code block 2 fails 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 a clock and data recovery (CDR) technology, the first device and the second device implement PHY clock synchronization during link establishment. The first device and the second device count the PHY code blocks 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 blocks.
在干扰场景,持续时间较长的干扰可引起第二设备的PHY时钟失步。而PHY时钟失步会导致第二设备进行PHY码块的计数不准确。由于第二设备在ACK中使用PID指示错误传输的PHY码块,触发第一设备重传。因此,PHY时钟失步会导致PHY码块的重传出现错误。In an interference scenario, long-lasting interference may cause the PHY clock of the second device to lose synchronization. However, the out-of-synchronization of the PHY clock will lead to inaccurate counting of the PHY code blocks performed by the second device. 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, the out-of-synchronization of the PHY clock will cause an error in the retransmission of the PHY code block.
基于此,本申请实施例提供一种数据传输方法及装置,用于解决PHY时钟失步导致PHY码块的重传出现错误的问题。其中,方法和装置是基于同一技术构思的,由于方法及设备解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。本申请实施例提供一种信息传输方法及装置,可以应用于车内网,特别是智能汽车车内网,也可以应用于其它有线传输设备。Based on this, the embodiments of the present application provide a data transmission method and device, which are used to solve the problem of retransmission errors of PHY code blocks caused by out-of-synchronization of PHY clocks. Among them, the method and the device are based on the same technical conception. Since the principles of the method and the equipment to solve the problem are similar, the implementation of the device and the method can be referred to each other, and the repetition 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 block in the embodiment of the present application is explained, so as to facilitate the understanding of 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 the PLRB payload field and also includes the PLRB redundancy field. Wherein, the PLRB payload field includes a PLCB control field and a PLCB payload field, and may further include a cyclic redundancy check (cyclic redundancy check, CRC) field. Wherein, the PLCB control field may include a PLCB ID for uniquely identifying the PLCB.
PLCB净荷字段可以包括一个或多个信息块,信息块可以采用64/66线路编码也可以采用64/65线路编码,或者,也可以是其他编码方式,这里不做具体限定。其中,一个信息块包括指示位和负荷字段,其中,指示位可以指示负荷字段携带的信息类型,信息类型可以分为数据信息和非数据信息。The PLCB payload field may include one or more information blocks, and the information blocks may adopt 64/66 line encoding, 64/65 line encoding, or other encoding methods, which are not specifically limited here. Wherein, an information block includes an indicator bit and a payload field, wherein the indicator bit can indicate the type of information carried in the payload field, and the information type can 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
以1比特的指示位为例,指示位指示的内容可以如表2所示。Taking a 1-bit indicator bit as an example, the content indicated by the indicator bit may be as shown in Table 2.
表2Table 2
若指示位指示负荷字段携带非数据信息,负荷字段可以包括子指示字段和内容字段,该子指示位可以指示非数据信息的类型,内容字段可以携带非数据信息。例如,目前,子指示位指示的内容可以如表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 bits may be as shown in Table 3.
表3table 3
图1中的ACK可以是非数据信息中的一种,通过PHY码块承载,由第二设备发送给第一设备的,类似的第二设备向第一设备所发送PHY码块的确认消息,则是通过第一设备向第二设备发送的PHY码块承载的。The ACK in Figure 1 can be one of the non-data information carried by the PHY code block, sent by the second device to the first device, and similar to the confirmation 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) Synchronization symbols
为了实现快速链路恢复,以及周期校准收发两端的像素时钟,SerDes传输方案中会周期发送同步符号,如图3所示。同步符号中携带定界符、随机扰码和像素时钟信息。其中,通过校准像素时钟可以对齐PHY的起始位置。In order to achieve fast link recovery and periodically calibrate the pixel clocks at both ends of the transceiver, the SerDes transmission scheme will periodically send synchronization symbols, as shown in Figure 3. The sync symbol carries delimiter, random scrambling code 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
应理解,上述表4所述字段可以全部包括在同步符号中,也可以仅有部分字段包括在同步符号中。此外,同步符号也可以包括表4未示出的其他字段,这里不再一一说明。It should be understood that all the fields described in Table 4 above may be included in the synchronization symbol, or only part 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.
下面将结合附图,对本申请实施例进行详细描述。Embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
实施例一:Embodiment one:
本申请提供一种数据传输方法。如图4所示,该方法包括:This 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, and the first PID synchronization information is used for PID synchronization.
一种示例性说明中,PID同步可以包括第一设备和第二设备之间的PID计数同步。In an exemplary description, PID synchronization may include PID count synchronization 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.
其中,第一设备可以是数据发送端,第二设备为数据接收端。或者,第一设备也可以为数据接收端,第二设备为数据发送端。其中,所述“数据”可以理解为业务数据,例如图像数据、视频数据等。Wherein, 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 sending end. Wherein, the "data" can be understood as business 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 acts as the data At the sending end, B acts as the data receiving end. When B sends data to A, B acts as the data sending 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 blocks sent from the data sending end to the data receiving end and the PHY code blocks sent from the data receiving end to the data sending end. The length and base of the Reed-Solomon (reed-solomon, RS) encoding of the PHY code block sent by the data sending end to the data receiving end and the PHY code block sent by the data receiving end to the data sending end can be different, wherein the base can be understood as The unit length of symbols included in the PHY code block. For example, the PHY code block sent from the data sending end to the data receiving end can use RS-FEC (340, 312, 10), and the PHY code block sent from the data receiving end to the data sending end can use RS-FEC (76, 72, 8) , wherein, RS-FEC (340, 312, 10) can refer to that the PHY code block includes 340 symbols, wherein the number of symbols carrying valid data is 312, and the unit length of symbols is 10 bits; RS-FEC (76, 72, 8) may mean that the PHY code block includes 76 symbols, wherein the number of symbols carrying valid data is 72, and the unit length of a symbol is 8 bits. For the convenience of description, the PHY code block sent from the data sending end to the data receiving end is called forward PHY code block, and the sending from the data sending end to the data receiving end is called forward transmission. The PHY code block sent from the data receiving end to the data sending end is called a reverse PHY code block, and the sending from the data receiving end to the data sending end is called reverse transmission.
本申请实施例中第一设备通过向第二设备发送PID同步信息,使得第二设备可以根据PID同步信息校准PID计数,从而使得数据接收端通过PID信息指示的PHY码块与数据发送端根据PID信息确定的PHY码块一致,进而可以避免错误重传。In the embodiment of the present application, the first device sends 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 and the data sending 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
应理解,上述表5所述字段可以全部包括在第一信息中,也可以仅有部分字段包括在第一信息中。此外,第一信息也可以包括表5未示出的其他字段,这里不再一一说明。It should be understood that all the fields described in Table 5 above may be included in the first information, or only part 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 method, 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.
示例性的,以同步符号包括表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
示例性的,第一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 sending frequency of the synchronization symbol carrying the PID synchronization information may be pre-configured, or may be determined through negotiation during a link establishment process between the first device and the second device. Of course, it may also be determined in other ways, which are not specifically limited here.
上述实施方式中,通过复用周期性发送的同步符号,使得数据接收端在恢复PHY码块定界、扰码同步的同时,可以完成PID的计数同步,从而可以避免链路恢复后错误重传。In the above embodiment, by multiplexing the synchronization symbols sent periodically, the data receiving end can complete the PID count synchronization while restoring the PHY code block delimitation and scrambling code synchronization, so as to avoid error retransmission after the link is restored. .
另一种可能的实施方式中,第一信息也可以为PLRB。第一同步信息可以携带在PLRB的PLCB净荷字段。In another possible implementation manner, the first information may also be PLRB. The first synchronization information may be carried in the PLCB payload field of the PLRB.
一种示例性说明中,第一PID同步信息可以为第一信息的PID。In an exemplary description, 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 that non-data information is carried in the second field. The type of data information is PID synchronization information, and the third field carries the first PID synchronization information.
其中,第一字段可以为图2所示的指示位,具体可以参阅上述指示位的相关描述,这里不再重复赘述。Wherein, the first field may be the indicator bit shown in FIG. 2 , for details, please refer to the relevant description of the above indicator bit, which will not be repeated here.
第二字段可以为图2所示的子指示位,其中,本申请实施例中,第二字段可以通过一个取值指示非数据信息为PID同步信息,例如,可以通过0x69指示非数据信息为PID同步信息。示例性的,第二字段指示的内容可以如表7所示。The second field may be the sub-indicator bit shown in FIG. 2, wherein, in the embodiment of the present application, the second field may indicate that the non-data information is PID synchronization information through 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
应理解,上述表7所示指示内容、以及取值和指示内容的对应关系等仅是一种示例性说明。It should be understood that the indication content shown in Table 7 above, and the corresponding relationship between the value and the indication content, etc. are only exemplary descriptions.
第三字段可以为图2所示的内容字段,本申请实施例中,第三字段可以携带PID同步信息。The third field may be the content field shown in FIG. 2 , and in the embodiment of the present application, the third field may carry PID synchronization information.
可选的,第一信息还可以包括CRC字段。通过CRC字段可以保证,在PLRB码块传输错误的情况下,可以通过CRC校验确认PHY重传消息的正确性。Optionally, the first information may also include a CRC field. The CRC field can be used to ensure that in the case of a PLRB code block transmission error, the correctness of the PHY retransmission message can be confirmed through the CRC check.
下面对携带PID同步信息时,第三字段的格式,也可以理解为PID信息的格式,进行说明。The format of the third field, which can also be interpreted as the format of PID information when carrying PID synchronization 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.
其中,第一子字段可以用于指示PLRB为PID同步信息为响应消息还是请求消息。第一信息中第一子字段可以指示第一PID同步信息为响应消息。Wherein, the first subfield may be used to indicate whether the PID synchronization information of the PLRB is a response message or a request message. 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 PID synchronization information is illustrated below, as shown in Table 8.
表8Table 8
其中,正向传输的PID同步可以理解为,数据发送端向数据接收端发送用于进行PID同步的PID同步信息,也就是发送PID同步的响应消息,数据接收端在接收到该PID同步信息后进行PID计数同步。Among them, the PID synchronization of forward transmission can be understood as that the data sending end sends the PID synchronization information for PID synchronization to the data receiving end, that is, sending the PID synchronization response message, and the data receiving end receives the PID synchronization information. Perform PID count synchronization.
反向传输的PID同步可以理解为,数据接收端向数据发送端发送用于进行PID同步的 PID同步信息,也就是发送PID同步的响应消息,数据发送端在接收到该PID同步信息后进行PID计数同步。The PID synchronization of reverse transmission can be understood as that the data receiving end sends the PID synchronization information for PID synchronization to the data sending end, that is, sending the PID synchronization response message, and the data sending end performs PID synchronization after receiving the PID synchronization information. Counting is synchronized.
应理解,表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 values and 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 triggered by an event. Wherein, when the first device periodically sends the first information, the sending period of the first information may be pre-configured, or may be negotiated and determined during the link establishment process between the first device and the second device.
在另一些实施例中,第一设备可以是在第二设备的请求下发送的第一信息。例如,在第一设备发送第一信息之前,第二设备向第一设备发送第二信息,第二信息携带第二PID同步信息,第二PID同步信息用于请求第一PID同步信息。In other embodiments, the first device may send the first information at the request of the second device. For example, before the first device sends the first information, the second device sends second information to the first device, the second information carries 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 used to request the first PID synchronization information and the PLRB information of the second information, for example, the PID of the second information, the 2. The transmission direction of information, etc. Take the format of the third field shown in Table 8 as an example to illustrate the difference between the first information and the second information. The value of the first subfield of the first information is 10, indicating a response message. The first subfield of the second information A value of 00 indicates 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 relevant descriptions of the above-mentioned first information, and details are not repeated here.
上述实施方式中可以利用PHY控制消息承载PID同步信息,从而可以实现PID同步,进而可以避免错误重传。In the above embodiments, PHY control messages can be used to carry PID synchronization information, so that PID synchronization can be realized, and erroneous retransmission can be avoided.
实施例二:Embodiment two:
本申请提供一种数据传输方法。如图5所示,该方法包括:This 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, the at least two code blocks respectively carry a PLCB, and at least one first code block in the at least two code blocks carries the control information of the PLCB, the control information of the PLCB includes the identification information of the PLCB and the 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. Correspondingly, the second device receives at least two code blocks.
S503,第二设备保存上述至少一个第一码块携带PLCB的控制信息。S503. The second device saves the control information of the PLCB carried by the at least one first code block.
其中,第一设备可以是数据发送端,第二设备为数据接收端。或者,第一设备也可以为数据接收端,第二设备为数据发送端。其中,所述“数据”可以理解为业务数据,例如图像数据、视频数据等。Wherein, 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 sending end. Wherein, the "data" can be understood as business 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 acts as the data At the sending end, B acts as the data receiving end. When B sends data to A, B acts as the data sending 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 PLCB identifier and the number of times the PLCB is retransmitted, so that the second device can accurately indicate the PHY code block that was transmitted incorrectly, thereby avoiding retransmission errors. Moreover, in this way, the sending and receiving ends do not need to maintain the PID.
一种可能的实施方式中,第一码块可以为PLRB。PLCB的控制信息可以携带PLRB的PLCB控制字段。In a possible implementation manner, the first code block may be a PLRB. The PLCB control information 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, where 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 exemplary names, and can also be named as other fields, as long as the field has the "retransmission indication field" or "PLCB ID field" in the embodiment of this application The feature of , can be regarded as the "retransmission indication field" or "PLCB ID field" in the embodiment of the present application.
示例性的,PLCB控制字段可以如表9所示。Exemplarily, the PLCB control field may be as shown in Table 9.
表9Table 9
应理解,表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, 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, Receiving 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 receiving status information indicates at least two code blocks. Receive status. The first device may determine, according to the retransmission information, a PLCB that fails to be transmitted among PLCBs carried by 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 is the identifier of a PLCB successfully received within the feedback range.
一种示例性说明中,第二码块也可以为PLRB。重传信息可以携带在PLRB的PLCB净荷字段。In an exemplary description, 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净荷字段包括第一字段、第二字段和第三字段,第一字段指示第一信息携带非数据信息,第二字段指示非数据信息的类型为传输确认信息,第三字段携带重传信息。As an example, the PLRB can carry 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 that non-data information The type of information is transmission confirmation information, and the third field carries retransmission information.
其中,第一字段可以为图2所示的指示位,具体可以参阅上述指示位的相关描述,这里不再重复赘述。Wherein, the first field may be the indicator bit shown in FIG. 2 , for details, please refer to the relevant description of the above indicator bit, which will not be repeated here.
第二字段可以为图2所示的子指示位,具体可以参阅对PHY码块的解释说明中关于子指示位的相关描述,或者,也可以参阅实施例一中关于子指示位的相关描述,这里不再 重复赘述。The second field may be the sub-indicator bit shown in FIG. 2. For details, please refer to the related description about the sub-indicator bit in the explanation of the PHY code block, or refer to the related description about the sub-indicator bit in Embodiment 1. I won't repeat it here.
第三字段可以为图2所示的内容字段,本申请实施例中,第三字段可以携带重传信息。The third field may be the content field shown in FIG. 2 , and in the embodiment of the present application, the third field may carry retransmission information.
下面对携带重传信息时第三字段的格式,也可以理解为重传信息的格式,进行说明。The format of the third field when carrying the retransmission information is described below, which can also be understood as the format of the retransmission information.
第三字段可以包括如下子字段中的至少一项:第一子字段、第二子字段、第三子字段、第四子字段。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。Among them, the first subfield can 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 status indicates all the second PLCBs receiving errors, and the partial error feedback indicates that the receiving status only indicates The second PLCB was partially received incorrectly.
第二子字段可以携带第一PLCB的标识。The second subfield may carry the identifier of the first PLCB.
第三子字段可以携带第一PLCB的指示信息。The third subfield may carry indication information of the first PLCB.
第四子字段可以携带接收状态信息。The fourth subfield may carry reception status information.
为了便于理解,下面对携带重传信息的第三字段进行举例说明,如表10所示。For ease of understanding, the third field carrying retransmission information is described below as an example, as shown in Table 10.
表10Table 10
应理解,表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 values and 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 order to facilitate the understanding of the solution described in the second embodiment, the following description will be made in conjunction with 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 that PLCB 1 is 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 is initial transmission.
第二设备接收到PHY码块1~3后发现PHY码块2传输错误,第二设备可以向第一设备发送ACK 1,其中,该ACK 1携带PLCB 3的标识并指示PLCB 3为初传、接收状态信息(依次为:PHY码块2错误,PHY码块1正确)。After receiving PHY code blocks 1-3, the second device finds that the transmission of PHY code block 2 is wrong, and the second device can send ACK 1 to the first device, wherein 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 the PHY code block 3 for the initial transmission according to the identifier 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 Blocks 1 to 3, according to the receiving 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 to retransmit for the first time.
第二设备接收到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-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 ACK 2 to the first device, wherein the ACK 2 carries the identifier of PLCB 2 and indicates that PLCB 2 is retransmitting and receiving status information for the first time (in sequence: PHY code block 4 error, 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 PLCB 2 to determine PHY code block 5 for the first retransmission according to the identifier of PLCB 2, and then use PHY code block 5 as the last PHY code block, and count 4 forwards Code blocks, that is, PHY code blocks 1 to 5, according to the receiving status information, it can be determined that the receiving status of PHY code blocks 1 to 5 is correct; mistake.
第一设备将PHY码块4携带的PLCB 3进行重传。The first device retransmits the PLCB 3 carried in 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 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.
一种实现方式中,可以通过隐式指示的方式指示第一PLCB的标识是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID,或者反馈范围内第一个接收成功的PHY码块携带的PLCB ID,例如可以通过协议规定第一PLCB的标识是反馈范围内最后一个接收成功的PHY码块携带的PLCB ID。In one implementation, the identifier of the first PLCB may be implicitly indicated as the PLCB ID carried by the last successfully received PHY code block within the feedback range, or the ID carried by the first successfully received PHY code block within the feedback range. For example, the protocol may stipulate 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, it is also possible to indicate 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 is indicated by, for example, an unshown field in the ACK. The receiving state may use the successfully received PHY code block determined by the second subfield and the third subfield as an anchor point to indicate the receiving state of other PHY code blocks. Specifically, it may be indicated by way of bit mapping, or other indication ways, which are not specifically limited in this embodiment of the present application.
基于与方法实施例的同一技术构思,本申请实施例提供一种数据传输装置。该装置的结构可以如图7所示,包括处理单元701以及收发单元702。Based on the same technical concept as that of the method embodiment, the embodiment of the present application provides a data transmission device. The structure of the device may be as shown in FIG. 7 , including a processing unit 701 and a transceiver unit 702 .
一种实现方式中,数据传输装置具体可以用于实现图4的实施例中第一设备执行的方法,该装置可以是第一设备本身,也可以是第一设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,处理单元701,用于生成第一信息,第一信息包括第一PID同步信息,第一PID同步信息用于PID同步;收发单元702,用于发送第一信息。In one implementation, the data transmission device can specifically be used to implement the method performed by the first device in the embodiment of FIG. 4 , and the device can be the first device itself, or a chip or chipset or chip in the first device Part of the method used to perform the function of the associated method. Wherein, the processing unit 701 is configured to generate first information, 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, the PID synchronization includes PID count synchronization between the first device and the second device.
示例性的,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。Exemplarily, 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.
示例性的,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。Exemplarily, the synchronization symbol further includes a time base identification field for indicating a time base number, where 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 PLRB, and 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 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, 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 PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries 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 non-data information is PID synchronization information, and the third field Carry 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 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 device can be specifically used to implement the method performed by the first device in the embodiment of FIG. 5 , and the device can be the first device itself, or a chip or chipset or The part of a chip that performs the function of the associated method. Wherein, the processing unit 701 is configured to generate at least two code blocks, the at least two code blocks respectively carry a PLCB, and at least one first code block in the at least two code blocks carries PLCB control information, and the PLCB control information 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 transceiver unit 702 is configured to send at least two code blocks.
示例性的,第一码块为PLRB,第一码块包括PLCB控制字段,PLCB控制字段携带PLCB的控制信息。Exemplarily, the first code block is a PLRB, and the first code block includes a PLCB control field, and the PLCB control field carries PLCB control information.
可选的,收发单元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, 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 receiving status information, The identification information of the first PLCB is the ID of a PLCB successfully received, the indication information of the first PLCB indicates that the first PLCB is the Mth transmission, M is a positive integer, and the receiving status information indicates the receiving status of at least two code blocks; processing The unit 701 is further configured to: determine, according to the retransmission information, a PLCB that fails to be transmitted among PLCBs carried by 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 non-data information is transmission confirmation information, and the third 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 status indicates all the second PLCBs receiving errors, and the partial error feedback indicates that the receiving status only indicates Partial reception of wrong second PLCB.
一种实现方式中,数据传输装置具体可以用于实现图4的实施例中第二设备执行的方法,该装置可以是第二设备本身,也可以是第二设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元702,用于接收第一信息,第一信息包括第一PID同步信息,第一PID同步信息用于PID同步;处理单元701,用关于根据第一PID同步信息进行PID同步。In one implementation, the data transmission device can specifically be used to implement the method performed by the second device in the embodiment of FIG. 4 , and the device can be the second device itself, or a chip or chipset or chip in the second device Part of the method used to perform the function of the associated method. Wherein, the transceiver unit 702 is configured to receive 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, the PID synchronization includes PID count synchronization between the first device and the second device.
示例性的,第一信息为同步符号,同步符号包括时基字段,时基字段携带第一PID同步信息。Exemplarily, 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.
示例性的,同步符号还包括用于指示时基编号的时基标识字段,其中,时基标识字段指示的时基编号为第一值,第一值指示时基字段携带第一PID同步信息。Exemplarily, the synchronization symbol further includes a time base identification field for indicating a time base number, where 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 PLRB, and 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 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, 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 PLRB, and the PLRB includes a PLCB payload field; the PLCB payload field carries 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 non-data information is PID synchronization information, and the third field Carry 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 the second subfield and at least one of the following subfields: the third subfield and the fourth subfield; wherein, the second subfield is used to carry the PID of the corresponding PLRB, and the third subfield It 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的实施例中第二设备执行的方法,该装置可以是第二设备本身,也可以是第二设备中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元702,用于接收至少两个码块,至少两个码块分别携带一个PLCB,且至少两个码块中的至少一个第一码块携带PLCB的控制信息,PLCB的控制信息包括PLCB的标识信息和对应的指示信息,指示信息指示PLCB为第N次传输,N为正整数;处理单元701,用于确定至少一个PLCB的控制信息。In another implementation manner, the data transmission device can specifically be used to implement the method performed by the second device in the embodiment of FIG. 5 , and the device can be the second device itself, or a chip or chipset or The part of a chip that performs the function of the associated method. Wherein, the transceiver unit 702 is configured to receive at least two code blocks, at least two code blocks each carry a PLCB, and at least one first code block in the at least two code blocks carries PLCB control information, and the PLCB control information 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, and the first code block includes a PLCB control field, and the PLCB control field carries PLCB control information.
可选的,收发单元702,还用于:发送第二码块,第二码块携带重传信息,重传信息包括:第一PLCB的标识信息、第一PLCB的指示信息、接收状态信息,第一PLCB的标识信息为成功接收的一个PLCB的ID,第一PLCB的指示信息指示第一PLCB为第M次传输,M为正整数,接收状态信息指示至少两个码块的接收状态。Optionally, the transceiver unit 702 is further configured to: send a second code block, 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 receiving 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 receiving status information indicates the receiving 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 non-data information is transmission confirmation information, and the third 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 status indicates all the second PLCBs receiving errors, and the partial error feedback indicates that the receiving status only indicates Partial reception of wrong second PLCB.
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可以理解的是,本申请实施例中各个模块的功能或者实现可以进一步参考方法实施例的相关描述。The division of modules in the embodiments of the present application is schematic, and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application can be integrated into a processing In the controller, it can also be physically present separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It can be understood that, for the function or implementation of each module in the embodiment of the present application, further reference may be made to the relevant description of the method embodiment.
一种可能的方式中,数据传输装置可以如图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 device may include a processor 801 , a communication interface 802 and a memory 803 . Wherein, the processing unit 701 may be the processor 801 . The transceiver unit 702 is a 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, or an interface circuit such as a transceiver circuit, or a transceiver chip or the like. The device also includes: a memory 803 for storing programs executed by the processor 801 . The memory 803 can be a non-volatile memory, such as a hard disk (hard disk drive, HDD) or a solid-state drive (solid-state drive, SSD), etc., and can also be a volatile memory (volatile memory), such as a random access memory (random -access memory, RAM). The memory 803 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
处理器801用于执行存储器803存储的程序代码,具体用于执行上述处理单元701的动作,本申请在此不再赘述。通信接口802具体用于执行上述收发单元702的动作,本申请在此不再赘述。The processor 801 is configured to execute the program codes stored in the memory 803, and is specifically configured to execute the above-mentioned actions of the processing unit 701, which will not be repeated in this application. The communication interface 802 is specifically configured to execute the above-mentioned actions of the transceiver unit 702, which will not be repeated in this application.
本申请实施例中不限定上述通信接口802、处理器801以及存储器803之间的具体连接介质。本申请实施例在图8中以存储器803、处理器801以及通信接口802之间通过总线804连接,总线在图8中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment of the present application, a specific connection medium among the communication interface 802, the processor 801, and the memory 803 is not limited. In the embodiment of the present application, in FIG. 8, the memory 803, the processor 801, and the communication interface 802 are connected through the bus 804. The bus is represented by a thick line in FIG. 8, and the connection mode 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 representation, 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的实施例中接收节点功能的通信装置。The embodiment of the present application also provides a communication system, including a communication device for realizing the function of the sending node in the embodiment of FIG. 4 to FIG. 5 and a communication device for realizing the function of the receiving node in the embodiment of FIG. 4 to FIG. 5 .
本申请实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。The embodiment of the present application also provides a computer-readable storage medium for storing computer software instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.
本申请实施例还提供了一种车辆,该车辆包括第一设备和/或第二设备,第一设备和第二设备用于单独或共同实现图4或图5中的数据传输方法。示例性的,第一设备和第二设备可以为图7所示的通信装置。An embodiment of the present application also provides a vehicle, where the vehicle includes a first device and/or a second device, and the first device and the second device are used to individually or jointly implement the data transmission method in FIG. 4 or FIG. 5 . 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 also provides a chip, the chip includes at least one processor and a communication interface, the processor is coupled with the memory, and is used to read the computer program stored in the memory to execute the embodiment described in Figure 4 or Figure 5 Function.
本申请实施例还提供了一种芯片,包括通信接口和至少一个处理器,所述处理器运行 以执行图4或图5所述实施例中的功能。The embodiment of the present application also provides a chip, including a communication interface and at least one processor, and the processor operates to execute the functions in the embodiment described in Fig. 4 or Fig. 5 .
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. 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 should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the 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 operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to this application without departing from the protection scope of this application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims (87)
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 (2)
| Publication Number | Publication Date |
|---|---|
| CN116601897A true CN116601897A (en) | 2023-08-15 |
| CN116601897B CN116601897B (en) | 2026-01-23 |
Family
ID=83321744
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202180083020.8A Active CN116601897B (en) | 2021-03-15 | 2021-03-15 | Data transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116601897B (en) |
| WO (1) | WO2022193065A1 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018082522A1 (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | Information transmission method and related device |
| CN108289011A (en) * | 2017-01-07 | 2018-07-17 | 华为技术有限公司 | A kind of method and apparatus of data transmission |
| WO2018145078A1 (en) * | 2017-02-06 | 2018-08-09 | Intel IP Corporation | Retransmission mechanisms for cbg-based harq operations |
| CN108631948A (en) * | 2017-03-21 | 2018-10-09 | 华为技术有限公司 | A kind of data repeating method, communication equipment and data retransmission system |
| CN108713302A (en) * | 2016-03-25 | 2018-10-26 | 英特尔Ip公司 | The method, apparatus and system of control are confirmed for the transmission in wireless network |
| KR20200112668A (en) * | 2019-03-21 | 2020-10-05 | 한국전자통신연구원 | Method of retransmission for downlink transmission in wireless communicaiton system and apparatus for the same |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103401583B (en) * | 2013-06-25 | 2015-12-09 | 北京溢美四方软件技术有限公司 | A kind of clock recovery based on the identification of pseudo random sequence feature and calibration implementation method |
| US10411832B2 (en) * | 2016-10-28 | 2019-09-10 | Globalfoundries Inc. | Ethernet physical layer device having integrated physical coding and forward error correction sub-layers |
| CN109428676B (en) * | 2017-08-30 | 2021-06-22 | 深圳市中兴微电子技术有限公司 | Method and device for synchronizing forward error correction coding and decoding modes |
| CN113556203B (en) * | 2018-03-28 | 2022-12-13 | 华为技术有限公司 | Time synchronization method in PON system, OLT, ONU and PON system |
| CN109743128B (en) * | 2019-01-29 | 2020-12-01 | 领目科技(上海)有限公司 | Vehicle-mounted multi-information synchronous control system and method |
-
2021
- 2021-03-15 WO PCT/CN2021/080777 patent/WO2022193065A1/en not_active Ceased
- 2021-03-15 CN CN202180083020.8A patent/CN116601897B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108713302A (en) * | 2016-03-25 | 2018-10-26 | 英特尔Ip公司 | The method, apparatus and system of control are confirmed for the transmission in wireless network |
| WO2018082522A1 (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | Information transmission method and related device |
| CN108289011A (en) * | 2017-01-07 | 2018-07-17 | 华为技术有限公司 | A kind of method and apparatus of data transmission |
| WO2018145078A1 (en) * | 2017-02-06 | 2018-08-09 | Intel IP Corporation | Retransmission mechanisms for cbg-based harq operations |
| CN108631948A (en) * | 2017-03-21 | 2018-10-09 | 华为技术有限公司 | A kind of data repeating method, communication equipment and data retransmission system |
| KR20200112668A (en) * | 2019-03-21 | 2020-10-05 | 한국전자통신연구원 | Method of retransmission for downlink transmission in wireless communicaiton system and apparatus for the same |
Non-Patent Citations (1)
| Title |
|---|
| INTERDIGITAL COMMUNICATIONS: "R1-1705441 "Multi-Bit HARQ Feedback for NR"", 3GPP TSG_RAN\\WG1_RL1, no. 1, 25 March 2017 (2017-03-25) * |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2022193065A1 (en) | 2022-09-22 |
| CN116601897B (en) | 2026-01-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111512603B (en) | Data transmission method and first equipment | |
| CN103309841B (en) | Method and system for overtime monitoring | |
| US11381514B2 (en) | Methods and apparatus for early delivery of data link layer packets | |
| 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 | |
| CN113132063B (en) | Physical layer retransmission control method | |
| TWI442733B (en) | Communication device and system | |
| MX2011007201A (en) | Method and apparatus for ack/nack reporting. | |
| CN103188059A (en) | Method, device and system for data packet retransmission in quick path interconnect system | |
| WO2019090745A1 (en) | Method for determining harq number, network device, terminal and computer storage medium | |
| CN104038327A (en) | Error retransmission method for FC (fiber channel) network | |
| WO2022000208A1 (en) | Data retransmission method and apparatus | |
| CN113645008B (en) | Message protocol timeout retransmission method and system based on linked list | |
| CN102884744B (en) | For protecting up for the method and apparatus of the packet transmitted by interface | |
| CN116601897A (en) | A data transmission method and device | |
| JP2000078118A (en) | Automatic retransmission request data transmission method | |
| CN114095117A (en) | Retransmission method and related device for Ethernet error frame | |
| US8522104B2 (en) | Smart aging retry buffer | |
| US20190273631A1 (en) | Packet Data Protocol | |
| US8806291B2 (en) | Data transfer device and control method of data transfer device | |
| CN114337938B (en) | A data transmission method, data retransmission method, device and related equipment | |
| JP4807828B2 (en) | Envelope packet architecture for broadband engines | |
| US9172511B2 (en) | Apparatus and method of communicating automatic repeat request (ARQ) feedback in a wireless communication network | |
| CN104396172A (en) | Automatic retransmission processing method, sending end device and receiving end device | |
| CN117061388A (en) | A message transmission method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20241106 Address after: 518129 Huawei Headquarters Office Building 101, Wankecheng Community, Bantian Street, Longgang District, Shenzhen, Guangdong Applicant after: Shenzhen Yinwang Intelligent Technology Co.,Ltd. Country or region after: China Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. Country or region before: China |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |