WO2022056884A1 - 一种线路编码方法及装置 - Google Patents

一种线路编码方法及装置 Download PDF

Info

Publication number
WO2022056884A1
WO2022056884A1 PCT/CN2020/116325 CN2020116325W WO2022056884A1 WO 2022056884 A1 WO2022056884 A1 WO 2022056884A1 CN 2020116325 W CN2020116325 W CN 2020116325W WO 2022056884 A1 WO2022056884 A1 WO 2022056884A1
Authority
WO
WIPO (PCT)
Prior art keywords
data frame
coding block
target coding
value
payload
Prior art date
Application number
PCT/CN2020/116325
Other languages
English (en)
French (fr)
Inventor
张兴新
李超
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/116325 priority Critical patent/WO2022056884A1/zh
Priority to KR1020237012838A priority patent/KR20230069206A/ko
Priority to CN202080015095.8A priority patent/CN113454935B/zh
Priority to EP20953742.2A priority patent/EP4203354A4/en
Priority to CA3195727A priority patent/CA3195727A1/en
Priority to BR112023005028A priority patent/BR112023005028A2/pt
Priority to CN202211141026.9A priority patent/CN115694728A/zh
Priority to JP2023518275A priority patent/JP2023541710A/ja
Publication of WO2022056884A1 publication Critical patent/WO2022056884A1/zh
Priority to US18/185,949 priority patent/US20230396360A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/0011Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding applied to payload information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0028Formatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4906Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
    • H04L25/4908Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a line coding method and device.
  • line coding is often used to indicate the type and location of code block data. For example, a 64-bit (bit, B)/66B encoding method, a 64B/65B encoding method, and the like.
  • the synchronization field indicates whether the following 64B carries control information. If it carries control information, the 8B block type field in the 64B indicates another 56B format, for example, When the value of the block type field is 0x1e, the 56B includes 8 control sub-blocks with a size of 7B, and each control sub-block is used to carry one control information. For another example, when the value of the block type field is 0x33, 56B includes 4 control sub-blocks with a size of 7B and 3 data sub-blocks with a size of 8B. The data sub-blocks are used to carry data information, and the first data sub-block is A block is the start of a data frame.
  • the 56B when the value of the block type field is 0x78, the 56B includes 7 data sub-blocks with a size of 8B, and the first data sub-block is the beginning of the data frame.
  • the 56B when the value of the block type field is 0xff, the 56B includes 7 data sub-blocks with a size of 8B, and the last data sub-block is the end of the data frame.
  • the start and end indication of the data frame relies on further parsing of the block type field. Since the block type field has multiple value states, the processing complexity is higher than the data, and if there is an error in the block type field, it may cause the loss of the starting position of the data frame.
  • the present application provides a line coding method and device, which are used to solve the problems of high processing complexity, large time delay and low accuracy of data frames in the current line coding method.
  • an embodiment of the present application provides a line coding method, including: generating and sending a target coding block.
  • the target coding block includes an indication bit and a load, and the indication bit includes a first value, a second value, a third value and a fourth value, wherein the first value is used to indicate that the load includes the first value of the data frame
  • the second value is used to indicate that the payload includes the middle segment of the data frame
  • the third value is used to indicate that the payload includes the last segment of the data frame
  • the fourth value is used to indicate that the payload includes non-data information.
  • a data frame generally refers to a message with a specific frame format, for example, an Ethernet (Ethernet) media access control (media access control, MAC) frame, an internet protocol (internet protocol, IP) frame, etc., the embodiments of the present application Does not constrain the concrete type of the data frame.
  • Ethernet Ethernet
  • MAC media access control
  • IP internet protocol
  • the first fragment (that is, the beginning of the data frame), the last fragment (that is, the end of the data frame), and the middle fragment (that is, the continuation of the data frame) of the data frame are directly indicated by the indicator bits , compared with the way of indicating the data/control by the synchronization word and the format of the load indicated by the block type field, the data frame start and end positions are decoupled from the block type field and directly indicated by the indicator bit, which can simplify data processing. complexity, thereby reducing the complexity and time delay of wired transmission.
  • the data frame when generating the target coding block, may be divided into N slices, where N is an integer greater than 1. And encode N slices to obtain N encoded blocks.
  • the N coding blocks include the target coding block, if the load of the target coding block includes the first slice of the N slices, the indicator bit of the target coding block is the first value; if the load of the target coding block includes N For the nth slice in the number of slices, the indicator bit of the target coding block is the second value, and n is an integer greater than 1 and less than N; if the load of the target coding block includes the Nth slice among the N slices slice, the indicator bit of the target coding block is the third value.
  • the receiving node when each fragment of the data frame is sent, the receiving node can determine the position of the fragment carried by the coding block in the data frame by carrying the value of the indicator bit of the coding block of each fragment, so that it can Splicing the received fragments to obtain a complete data frame.
  • the N slices may be of equal length.
  • the non-data information includes at least one of the following: padding bits, sub-indication bits, and control information.
  • the load can carry a variety of control information, padding, etc., so that the coding block can support complex control information.
  • the indicator bits have a fourth value.
  • the indicator bit is the fourth value, and the payload carries the sub-indicator bit.
  • the sub-indication bit is used to indicate that the load carries physical layer padding bits; or, the sub-indication bit is used to indicate that the load carries control information; or, the sub-indication bit is used to indicate that the load carries a data frame.
  • the load can carry a variety of control information, complete data frames with a small amount of data, padding, etc., and can further indicate the content carried by the load through the sub-indication bits, so that the coding block can support complex control information, and can improve Indicative flexibility.
  • the load supports carrying complete data frames with a small amount of data, thereby reducing the transmission overhead of data frames with a small amount of data, enabling the insertion of complete data frames with a small amount of data between data frame fragments, and reducing the transmission overhead of data frames with a small amount of data.
  • the transmission delay of a complete data frame is a complete data frame.
  • the sub-indicator bit may further indicate the type of control information carried by the payload.
  • the content carried by the payload can be further indicated by the sub-indication bit, which can improve the flexibility of indication.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the payload if the payload carries control information, the payload also includes a CRC field for checking protection. In the above design, through the CRC field, the reliability of the control information can be ensured, so that erroneous control can be avoided.
  • an embodiment of the present application provides a line coding method, including: generating and sending a target coding block.
  • the target coding block includes an indicator bit and a payload, and the indicator bit includes a first value and a second value, wherein the first value is used to indicate that the payload includes a slice of the first data frame, and the second value is used to
  • the indication load includes non-data information; if the indication bit is the second value, the load includes a sub-indication bit, and the sub-indication bit is used to indicate at least one item of the following information: the next coding block of the target coding block carries the first data frame of the first data frame.
  • a slice, the last encoding block of the target encoding block carries the last slice of the first data frame, the bits carried by the load of the target encoding block are physical layer padding bits, the load of the target encoding block carries control information, and the target encoding block
  • the payload of the target coding block carries the first data frame, the first data frame and at least one second data frame are concatenated in the payload of the target coding block.
  • a data frame generally refers to a message with a specific frame format, for example, an Ethernet MAC frame, an IP frame, etc., and the embodiment of the present application does not constrain the specific type of the data frame.
  • the sub-indicator bit indicates the start or end of the data frame, which can reduce the overhead of the indicator bit, and by inserting a code indicating the start of the data frame before the first slice of the data frame and after the last slice respectively Blocks and coding blocks indicating the end of the data frame, compared with the way that the format of the payload is indicated by the block type field, the sub-indication bit directly indicates the start or end of the data frame, which can simplify the complexity of data processing and reduce the complexity of wired transmission. and delay.
  • the coding block can indicate the start of the data frame through the value of the sub-indication bit, which can simplify the data processing complexity, thereby reducing wired transmission. complexity and delay.
  • the coding block can indicate the end of the data frame through the value of the sub-indication bit, which can simplify the data processing complexity, thereby reducing the cable transmission. complexity and delay.
  • the sub-indication bit indicates that the bits carried in the payload of the target coding block are physical layer padding bits.
  • the sub-indicator bit indicates that the payload carries control information.
  • the load can carry a variety of control information, so the coding block can support complex control information and can improve the flexibility of indication.
  • the sub-control bits further indicate the type of control information.
  • the content carried by the payload can be further indicated by the sub-indication bit, which can improve the flexibility of indication.
  • the load supports carrying complete data frames with a small amount of data, thereby reducing the transmission overhead of data frames with a small amount of data, enabling the insertion of complete data frames with a small amount of data between data frame fragments, reducing the amount of data. Transmission delay for small complete data frames.
  • the sub-indication bit indicates the first data frame and the at least one second data frame Data frame stitching.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the first data frame when generating the target coding block, can be divided into N slices, where N is an integer greater than 1; N data blocks are encoded to obtain N+2 coding blocks, Among them, the N+2 coding blocks include the target coding block.
  • the indicator bit of the target coding block is the second value and the sub-indication bit is used to indicate The next coding block of the target coding block carries the first slice of the first data frame; if the target coding block is the nth coding block in the N+2 coding blocks, the indicator bit of the target coding block is the first value , n is an integer greater than 1 and less than N+2; if the target coding block is the N+2th coding block in the N+2 coding blocks, the indicator bit of the target coding block is the second value and the sub-indication bit is Indicates that the last coding block of the target coding block carries the last slice of the first data frame.
  • the receiving node when each fragment of a data frame is sent, the receiving node can determine the value of the indicator bit of the coding block of each fragment and the value of the sub-indicator bit of the coding block before and after, so that the receiving node can determine the value of the coding block carried by the coding block.
  • the N slices may be of equal length.
  • the payload includes a CRC field for checking protection.
  • the reliability of the control information can be ensured, so that erroneous control can be avoided.
  • the payload includes a CRC field for checking protection.
  • the sub-indication bit indicates the splicing of the first data frame and the at least one second data frame, including: the sub-indication bit also indicates the boundary position of the first data frame and the at least one second data frame in the payload.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the first data frame, wherein , the first fragment is after the first data frame.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the last fragment of the first data frame A shard, where the first shard comes after the last.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the last fragment of the first data frame and at least one second data frame, wherein , the at least one second data frame is after the last fragment.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: a first data frame and at least one second data frame, wherein the at least one first data frame The second data frame follows the first data frame.
  • an inter-frame interval exists between two adjacent data frames in the first data frame and the at least one second data frame.
  • an embodiment of the present application provides a line coding method, including: receiving and parsing a target coding block.
  • the target coding block includes an indication bit and a load, and the indication bit includes a first value, a second value, a third value and a fourth value, wherein the first value is used to indicate that the load includes the first value of the data frame
  • the second value is used to indicate that the payload includes the middle segment of the data frame
  • the third value is used to indicate that the payload includes the last segment of the data frame
  • the fourth value is used to indicate that the payload includes non-data information.
  • a data frame generally refers to a message with a specific frame format, for example, an Ethernet MAC frame, an IP frame, etc., and the embodiment of the present application does not constrain the specific type of the data frame.
  • the first fragment (that is, the beginning of the data frame), the last fragment (that is, the end of the data frame), and the middle fragment (that is, the continuation of the data frame) of the data frame are directly indicated by the indicator bits , compared with the way of indicating the data/control by the synchronization word and the format of the load indicated by the block type field, the data frame start and end positions are decoupled from the block type field and directly indicated by the indicator bit, which can simplify data processing. complexity, thereby reducing the complexity and time delay of wired transmission.
  • the indicator bit of the target coding block when parsing the target coding block, if the indicator bit of the target coding block is the first value, it can be determined that the fragment carried by the payload of the target coding block is the first fragment of the data frame If the indicator bit of the target coding block is the second value, then it can be determined that the fragment carried by the load of the target coding block is the middle fragment of the data frame; if the indicator bit of the target coding block is the third value, then it can be determined The slice carried by the payload of the target coding block is the last slice of the data frame.
  • the receiving node when each fragment of the data frame is sent, the receiving node can determine the position of the fragment carried by the coding block in the data frame by carrying the value of the indicator bit of the coding block of each fragment, so that it can Splicing the received fragments to obtain a complete data frame.
  • the N slices may be of equal length.
  • the non-data information includes at least one of the following: padding bits, sub-indication bits, and control information.
  • the load can carry a variety of control information, padding, etc., so that the coding block can support complex control information.
  • the indicator bits have a fourth value.
  • the indicator bit is the fourth value, and the payload carries the sub-indicator bit.
  • the sub-indication bit is used to indicate that the load carries physical layer padding bits; or, the sub-indication bit is used to indicate that the load carries control information; or, the sub-indication bit is used to indicate that the load carries a data frame.
  • the load can carry a variety of control information, complete data frames with a small amount of data, padding, etc., and can further indicate the content carried by the load through the sub-indication bits, so that the coding block can support complex control information, and can improve Indicative flexibility.
  • the load supports carrying complete data frames with a small amount of data, thereby reducing the transmission overhead of data frames with a small amount of data, enabling the insertion of complete data frames with a small amount of data between data frame fragments, and reducing the transmission overhead of data frames with a small amount of data.
  • the transmission delay of a complete data frame is a complete data frame.
  • the sub-indicator bit may further indicate the type of control information carried by the payload.
  • the content carried by the payload can be further indicated by the sub-indication bit, which can improve the flexibility of indication.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the payload if the payload carries control information, the payload also includes a CRC field for checking protection. In the above design, through the CRC field, the reliability of the control information can be ensured, so that erroneous control can be avoided.
  • an embodiment of the present application provides a line coding method, including: receiving and parsing a target coding block.
  • the target coding block includes an indicator bit and a payload, and the indicator bit includes a first value and a second value, wherein the first value is used to indicate that the payload includes a slice of the first data frame, and the second value is used to
  • the indication load includes non-data information; if the indication bit is the second value, the load includes a sub-indication bit, and the sub-indication bit is used to indicate at least one item of the following information: the next coding block of the target coding block carries the first data frame of the first data frame.
  • a slice, the last encoding block of the target encoding block carries the last slice of the first data frame, the bits carried by the load of the target encoding block are physical layer padding bits, the load of the target encoding block carries control information, and the target encoding block
  • the payload carrying the first data frame, the first data frame and at least one second data frame are spliced in the payload of the target coding block.
  • a data frame generally refers to a message with a specific frame format, for example, an Ethernet MAC frame, an IP frame, etc., and the embodiment of the present application does not constrain the specific type of the data frame.
  • the sub-indicator bit indicates the start or end of the data frame, which can reduce the overhead of the indicator bit, and by inserting a code indicating the start of the data frame before the first slice of the data frame and after the last slice respectively Blocks and coding blocks indicating the end of the data frame, compared with the way that the format of the payload is indicated by the block type field, the sub-indication bit directly indicates the start or end of the data frame, which can simplify the complexity of data processing and reduce the complexity of wired transmission. and delay.
  • the coding block can indicate the start of the data frame through the value of the sub-indication bit, which can simplify the data processing complexity, thereby reducing wired transmission. complexity and delay.
  • the coding block can indicate the end of the data frame through the value of the sub-indication bit, which can simplify the data processing complexity, thereby reducing the cable transmission. complexity and delay.
  • the sub-indication bit indicates that the bits carried in the payload of the target coding block are physical layer padding bits.
  • the sub-indicator bit indicates that the payload carries control information.
  • the load can carry a variety of control information, so the coding block can support complex control information and can improve the flexibility of indication.
  • the sub-control bits further indicate the type of control information.
  • the content carried by the payload can be further indicated by the sub-indication bit, which can improve the flexibility of indication.
  • the load supports carrying complete data frames with a small amount of data, thereby reducing the transmission overhead of data frames with a small amount of data, enabling the insertion of complete data frames with a small amount of data between data frame fragments, reducing the amount of data. Transmission delay for small complete data frames.
  • the sub-indication bit indicates the first data frame and the at least one second data frame Data frame stitching.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the indicator bit of the target coding block is the second value and the sub-indication bit is used to indicate that the next coding block of the target coding block carries the first data frame of the first data frame one slice, it can be determined that the slice carried by the next encoding block of the target encoding block is the first slice of the first data frame; if the indicator bit of the target encoding block is the first value, it can be determined that the target encoding The fragment carried by the load of the block is the middle fragment of the first data frame; if the indicator bit of the target coding block is the second value and the sub-indication bit is used to indicate that the previous coding block of the target coding block carries the first data frame For the last slice, it can be determined that the slice carried by the last encoding block of the target encoding block is the last slice of the first data frame.
  • the receiving node when each fragment of a data frame is sent, the receiving node can determine the value of the indicator bit of the coding block of each fragment and the value of the sub-indicator bit of the coding block before and after, so that the receiving node can determine the value of the coding block carried by the coding block.
  • the N slices may be of equal length.
  • the payload includes a CRC field for checking protection.
  • the reliability of the control information can be ensured, so that erroneous control can be avoided.
  • the payload includes a CRC field for checking protection.
  • the sub-indication bit indicates the splicing of the first data frame and the at least one second data frame, including: the sub-indication bit also indicates the boundary position of the first data frame and the at least one second data frame in the payload.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the first data frame, wherein , the first fragment is after the first data frame.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the last fragment of the first data frame A shard, where the first shard comes after the last.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the last fragment of the first data frame and at least one second data frame, wherein , the at least one second data frame is after the last fragment.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: a first data frame and at least one second data frame, wherein the at least one first data frame The second data frame follows the first data frame.
  • an inter-frame interval exists between two adjacent data frames in the first data frame and the at least one second data frame.
  • the present application provides a line coding apparatus, which may be a communication device, or a chip or a chipset in the communication device, and the communication device may be a sending node or a receiving node.
  • the apparatus may include a processing unit and a transceiving unit.
  • the processing unit may be a processor, and the transceiver unit may be a transceiver; the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit Execute the instructions stored in the storage module to perform the corresponding function in the above-mentioned first aspect or the corresponding function in the above-mentioned second aspect, or, to perform the corresponding function in the above-mentioned third aspect or the above-mentioned fourth aspect. .
  • the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to The corresponding functions in the above-mentioned first aspect or the corresponding functions in the above-mentioned second aspect are performed, or, the corresponding functions in the above-mentioned third aspect or the corresponding functions in the above-mentioned fourth aspect are performed.
  • the storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
  • a storage module eg, register, cache, etc.
  • a storage module eg, read-only memory, random access memory, etc.
  • the present application provides a line encoding apparatus, including: a processor, and may also include a communication interface and a memory.
  • the communication interface is used to transfer information, and/or messages, and/or data between the device and other devices.
  • the memory is used for storing computer-executable instructions, and when the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus executes the first aspect or any one of the first aspect or the second aspect.
  • the above-mentioned third aspect or any design of the third aspect, the fourth aspect or the method of any design of the fourth aspect are examples of any design of the fourth aspect.
  • the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute the first aspect or any one of the design, The method of the second aspect or any design of the second aspect, the above-mentioned third aspect or any design of the third aspect, the fourth aspect or any design of the fourth aspect.
  • the present application also provides a computer program product comprising instructions that, when run on a computer, cause the computer to execute the first aspect or any design of the first aspect, the second aspect or any of the second aspects.
  • the present application further provides a communication system, which includes a sending node and a receiving node, wherein the sending node can perform the corresponding functions in the first aspect, and the receiving node can perform the corresponding functions in the third aspect.
  • the present application further provides a communication system, which includes a sending node and a receiving node, wherein the sending node can perform the corresponding functions in the second aspect, and the receiving node can perform the corresponding functions in the fourth aspect.
  • an embodiment of the present application provides a chip.
  • the chip includes at least one processor and a communication interface.
  • the processor is coupled to a memory and is configured to read a computer program stored in the memory to execute the first aspect of the embodiment of the present application. Or any design of the first aspect, the method of the second aspect or any design of the second aspect, any design of the third aspect or the third aspect, the fourth aspect or any design of the fourth aspect.
  • an embodiment of the present application provides a chip, including a communication interface and at least one processor, where the processor runs to execute the first aspect or any design of the first aspect, the second aspect or the A method of any design of the second aspect, the above-mentioned third aspect or any of the third aspects, the fourth aspect or any design of the fourth aspect.
  • Coupled in the embodiments of the present application means that two components are directly or indirectly combined with each other.
  • FIG. 1 is a schematic diagram of a 64B/66B line coding provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a 64B/65B line coding provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a line coding method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a coding block indicator bit provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a data frame transmission provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a control coding block transmission provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a CRC block provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an intermittent testing process provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a hibernation process provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a link retraining process provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a coding block sub-indication bit provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a CRC field provided by an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of another line coding method provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a coding block provided by an embodiment of the present application.
  • FIG. 15 is a schematic diagram of a data frame transmission provided by an embodiment of the present application.
  • FIG. 16 is a schematic diagram of encoding block transmission carrying control information according to an embodiment of the present application.
  • FIG. 17 is a schematic diagram of a CRC field provided by an embodiment of the present application.
  • FIG. 18 is a schematic diagram of another CRC field provided by an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
  • the embodiments of the present application can be applied to wired high-speed point-to-point transmission, such as image and control transmission from a camera to a multi-domain controller (MDC) of an autonomous driving platform, a vehicle-mounted camera or a cockpit domain controller (cockpit domain controller or control domain cockpit) , CDC) and other in-vehicle equipment to the large screen image transmission, etc.
  • MDC multi-domain controller
  • CDC cockpit domain controller
  • the communication device involved in the embodiments of the present application may be a device capable of sending information (such as data frames, control information, etc.) to other devices, such as a camera, a LiDAR and other vehicle-mounted image sensors, or may also be an MDC, CDC, etc.
  • An image processing device, or an image display device such as a large screen.
  • the communication device involved in the embodiments of the present application may also be other transmission devices other than the vehicle-mounted device.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, it can indicate that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be single or multiple.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, and timing of multiple objects , priority or importance, etc.
  • first data packet and the second data packet are only names given for convenience of description, and the two data packets may be the same data packet or may be different data packets.
  • line coding methods such as 8B/10B
  • 8B/10B can ensure that the number of 0s and 1s in the bit stream is equal, so as to maintain DC balance and improve the transmission quality of signals on the cable, but the overhead is relatively large, reaching 20%.
  • Low-overhead line coding such as 64B/66B+ scrambling code and 64B/65B+ scrambling code gradually replaces 8B/10B and becomes the mainstream line coding scheme.
  • the scrambling code is used for DC balance, and 64B/66B and 64B/65B are mainly used to distinguish data and control.
  • 64B/66B and 64B/65B can reduce the overhead to 1.5% to 3%.
  • the 64B/66B line coding block is similar to the 64B/65B line coding block, except that each 64B/66B line coding block consists of a 2-bit sync word and a 64-bit payload.
  • the 64-bit payload is data information, such as media access control (MAC) data; when the sync word is 10, 64 bits contain control information. The other two states of the sync word, 00 and 11, are not used. If the synchronization word of the coded block is 10, that is, when the 64-bit payload of the coded block contains control information, the first 8 bits of the 64-bit payload of the coded block are the block type field.
  • 64B/66B line coding can be shown in Figure 1.
  • Each 64B/65B line coding block consists of a 1-bit sync word and a 64-bit payload.
  • the 64-bit payload is data information, such as MAC data; when the sync word is 1, the 64 bits contain control information.
  • the synchronization word of the coded block is 1, that is, when the 64-bit payload of the coded block contains control information, the first 8 bits of the 64-bit payload of the coded block are the block type field.
  • 64B/65B line coding can be shown in Figure 2.
  • C represents control information
  • D represents data information
  • O represents sequence sequence
  • S represents the start of a data frame
  • T Indicates the end of the data frame.
  • the corresponding relationship between the block type field and the payload format in the 64B/66B line coding block is the same as the corresponding relationship between the block type field and the payload format in the 64B/65B line coding block.
  • the block type field is described below by taking the 64B/66B line coding block as an example.
  • each 7-bit sub-block carries a control information, such as padding.
  • the block type field When the block type field is 0x2d, it indicates that the position of O 4 D 5 D 6 D 7 indicates that the sending node has a receiving abnormality.
  • the block type field When the block type field is 0x33, it indicates that D 5 D 6 D 7 is data, and D 5 is the first slice of the data frame. 0x78 indicates that D1 ⁇ D7 are data, and D1 is the beginning of the data frame.
  • the block type field When the block type field is 0x87, 0x99 to 0xff, it indicates the last slice of the data frame, and according to different types, indicates the end position of the last slice of the data frame.
  • the value of the block type field may also be other values not shown in FIG. 1 , which will not be described one by one here.
  • the receiving node determines the coded block whose payload carries S (used to indicate the first slice of the data frame), the coded block whose payload is data information, and the payload carries T (used to indicate the data frame) through the value of the block type field.
  • the coding block of the last fragment sequentially extract the data information carried by the splicing coding block to obtain a complete data frame.
  • the sending node sends code blocks 1 to 7 in sequence to the receiving node, wherein the synchronization word of code block 1 is 10 and the value of the block type field is 0x78, the synchronization word of code blocks 2-6 is 01, and the value of code block 7 is 0x78.
  • the sync word is 10 and the value of the block type field is 0xe1.
  • the receiving node determines that D 1 carried by the payload of coding block 1 is the first fragment of the data frame according to the values of the synchronization word and the block type field, and the payloads of coding blocks 2 to 6 respectively carry a fragment of the data frame.
  • the D5 carried by the payload of the coding block 7 is the last slice of the data frame.
  • the receiving node can transfer D 1 to D 7 carried by the payload of coding block 1, D 0 ⁇ D 7 carried by the payload of coding block 2, D 0 ⁇ D 7 carried by the payload of coding block 3, and the data of coding block 4.
  • D 0 -D 7 carried by the payload, D 0 -D 7 carried by the payload of the coding block 6, and D 0 -D 5 carried by the payload of the coding block 7 are spliced in sequence to obtain a data frame.
  • the start and end indication of the data frame relies on further parsing of the block type field. Since the synchronization word indicates that the 64-bit payload of the coding block contains control information, the format of the payload of the coding block has various states, and the processing complexity is relatively high, resulting in a relatively long wire transmission delay. If there is an error in the block type field, it may cause the loss of the starting position of the data frame.
  • the embodiments of the present application provide a line coding method and apparatus, which are used to solve the problems of high processing complexity, large delay and low accuracy of data frames in the above line coding method.
  • the method and the device are based on the same technical concept. Since the principles of the method and the device for solving 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 a line coding method and apparatus, which can be applied to an in-vehicle network, especially an in-vehicle network of an autonomous vehicle, and can also be applied to other wired transmission devices.
  • the present application provides a line coding method, which can be applied to a wired transmission system. As shown in Figure 3, the method includes:
  • the sending node generates a target coding block, where the target coding block includes an indicator bit and a load, and the indicator bit includes a first value, a second value, a third value, and a fourth value.
  • the first value is used to indicate that the load includes the first slice of the data frame, that is, when the indicator bit is the first value, it can indicate that the data carried by the coding block is the beginning of the data frame.
  • a data frame generally refers to a message having a specific frame format, for example, an Ethernet MAC frame, an IP frame, etc., and the embodiment of the present application does not restrict the specific type of the data frame.
  • the second value is used to indicate that the payload includes the middle fragment of the data frame, that is, when the indicator bit is the second value, it can indicate that the data carried by the coding block is the middle part of the data frame.
  • the third value indicates that the payload includes the last fragment of the data frame, that is, when the indicator bit is the third value, it can indicate that the data carried by the coding block is the end part of the data frame.
  • the fourth value is used to indicate that the payload includes non-data information, that is, when the indicator bit is the fourth value, it can indicate that the coding block carries non-data information, such as physical layer padding bits, sub-indication bits, and control information.
  • the indication bits may include 2 bits, and the 4 values of the 2 bits indicate respectively: the load includes the first fragment of the data frame, the load includes the middle fragment of the data frame, and the load includes the data frame.
  • the number of bits included in the indicator bits may also be other bits, such as 3 bits, 4 bits, etc., which are not specifically limited here. If the number of bits included in the indicator bit is greater than 2, other values of the indicator bit may also be used to indicate other content, or may also be reserved, which is not specifically limited here.
  • the number of bits included in the payload may be Y, where Y is an integer greater than 0, for example, Y may be 64 or the like.
  • the first fragment (that is, the beginning of the data frame), the last fragment (that is, the end of the data frame), and the middle fragment (that is, the continuation of the data frame) of the data frame are directly indicated by the indicator bits , compared with the way of indicating the data/control by the synchronization word and the format of the load indicated by the block type field, the data frame start and end positions are decoupled from the block type field and directly indicated by the indicator bit, which can simplify data processing. complexity, thereby reducing the complexity and time delay of wired transmission.
  • the coding block whose load includes data information is hereinafter referred to as the data coding block, that is, the coding block when the indicator bit takes the value of the first value, the second value or the third value is called the data coding block
  • the coding block whose load includes non-data information is called the control coding block, that is, the coding block when the indicator bit takes the fourth value is called the control coding block.
  • the following takes the target coding block as the data coding block, that is, the load of the target coding block includes data information, that is, the indicator bit of the target coding block takes the first value, the second value or the third value as an example. coding blocks are described.
  • the sending node when it generates the target coding block, it can divide the data frame into N fragments, where N is an integer greater than 1, and encode the N fragments to obtain N data coding blocks, wherein, A data encoding block can carry a slice of a data frame.
  • the N data coding blocks include the target coding block.
  • the indicator bit of the target coding block is the first value; if the load of the target coding block includes N For the nth slice in the number of slices, the indicator bit of the target coding block is the second value, and n is an integer greater than 1 and less than N; if the load of the target coding block includes the Nth slice among the N slices slice, the indicator bit of the target coding block is the third value.
  • the data frame when the data frame is segmented, the data frame may be divided into equal length segments, that is, the data frame is divided into N segments of equal length.
  • the data frame may be divided into N slices of Y bits, where the Y bits are the length of the payload.
  • the coding process of the data frame is exemplified by taking the indication bit including 2 bits and the load including 64 bits as an example:
  • the sending node divides the first data frame into N pieces of 64 bits.
  • the sending node encodes N fragments to obtain N data coding blocks, wherein the indicator bit of the first data coding block is 01 and the payload carries the first fragment of the first data frame, and the second The indicator bits of the data coding block to the N-1 th data coding block are 00, and the payloads of the second data coding block to the N-1 th data coding block respectively carry the second data of the first data frame.
  • the indicator bit of the N th data coding block is 10 and the payload carries the N th slice of the first data frame, as shown in FIG. 5 .
  • the N data coding blocks may be sent continuously or discontinuously, that is, the control coding blocks may be interspersed between any two coding blocks in the N coding blocks and sent, for example, as As shown in FIG. 6, the control coding block can be sent between the second data coding block and the third data coding block.
  • the load (64B) of the control coding block may carry physical layer padding bits, or may also carry control information, or may also carry a second data frame, and the second data frame is a complete (unsliced) data frame,
  • the second data frame and the first data frame may come from different interfaces, for example, the first data frame comes from a MAC layer interface, and the second data frame comes from an IP layer interface.
  • FIG. 6 is only an exemplary illustration, and does not specifically limit the number and transmission positions of the control coding blocks that are interspersed and sent in the data coding blocks.
  • the target coding block is described below by taking the target coding block as the control coding block, that is, the load of the target coding block includes non-data information, that is, the indicator bit of the target coding block takes the fourth value as an example.
  • the indication bit may be a fourth value.
  • the payload of the target coding block includes the sub-indicator bits
  • the first X bits of the payload of the target coding block are sub-indicator bits.
  • the first 8 bits of the payload are sub-indicator bits.
  • the sub-indication bits can be respectively indicated by different values: the load carries the physical layer padding bits, the load carries the control information, and the load carries the data frame.
  • the sub-indication bit can indicate that the load carries physical layer padding bits, wherein the physical layer padding bits carried by the load can be used for matching rate, and can be discarded by the receiving node after receiving.
  • the sub-indication bit may indicate that the load carries control information.
  • the sub-indication bit may further indicate the type of control information carried by the payload.
  • the type of control information may include at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • different types can be indicated by different values of the sub-indication bits.
  • the block identification information may be control information of a cyclic redundancy check (cyclic redundancy check, CRC) block (such as the CRC block number, whether to support retransmission, etc.), wherein the CRC block may be composed of block identification information, multiple coding blocks , CRC checksum.
  • CRC cyclic redundancy check
  • the CRC block can use one coding block to carry the control information of the CRC block.
  • the control information of the CRC block may be carried in the payload of the first coding block or the last coding block of the CRC block. For example, as shown in Figure 7.
  • Transmission acknowledgment information can be used to indicate whether the CRC block was received correctly.
  • Intermittent test information is used to control the device to enter/exit online test mode. Through the online test, the device can temporarily suspend data transmission, send the agreed sequence, and perform interference detection, bit error ratio (BER), block error ratio (BLER) and other tests. After exiting the online test, the device can quickly resume data transfer.
  • the intermittent test information may include the following information: the type of the intermittent test information, such as the intermittent test request information, the intermittent test response information, the intermittent test start information, the intermittent test end information, etc.; the start time of the intermittent test, such as how many code blocks the intermittent test is in.
  • the batch testing process may be as shown in FIG. 8 .
  • Sleep information is used to control entry/exit of low power modes. When data transmission is not required, the device can enter a low-power mode to save power consumption. When transmission is needed again, the device can exit low-power mode with a wake-up message.
  • the sleep information may include: the type of sleep information, such as sleep request, sleep response, sleep start, wake-up, etc.; the time to enter the low power mode, such as how many coding blocks or how many CRC blocks to enter the low power mode, where , the time to enter the low power consumption mode can be carried in the sleep information of the sleep start type.
  • the hibernation process may be as shown in FIG. 9 .
  • Link retraining information is used to control incoming link retraining. As the transmission channel changes with time, temperature and other environmental conditions, the link quality deteriorates. By retraining, the device can obtain better transmission quality.
  • the link retraining information may include: the type of link retraining information, such as retraining request, retraining response, retraining start, etc.; retraining start time, such as how many coding blocks or how many CRC blocks to start the chain after Road weight training. Exemplarily, the link retraining process may be shown in FIG. 10 .
  • the payload may carry a complete data frame, that is, a data frame without fragmentation. It should be understood that the number of bits of the data frame is not greater than the number of bits included in the payload.
  • the 7 bits of the 8 bits can be used.
  • the values respectively indicate: the load carries the physical layer padding bits, the load carries the data frame, the load carries the link retraining information, the load carries the sleep information, the load carries the intermittent test information, the load carries the block identification information, and the load carries the transmission confirmation information.
  • the indication load carries physical layer padding bits; if the sub-indication bit is 0x2d, the indication load carries the data frame; if the sub-indication bit is 0x33, the indication load carries the link retraining information; if the sub-indication bit is 0x4b, it indicates that the load carries dormancy information; if the sub-indication bit is 0x66, it indicates that the load carries intermittent test information; if the sub-indication bit is 0x78, it indicates that the load carries block identification information; if the sub-indication bit is 0x87, Indicates that the payload carries transmission acknowledgment information.
  • sub-indication bits are used as an example for description.
  • the number of bits included in the sub-indication bits may also be other bits, such as 7 bits, 9 bits, etc., which are not specifically limited here. If the state value of the sub-indication bit is greater than 7, other state values of the indicator bit may also be used to indicate other content, or may also be reserved, which is not specifically limited here.
  • the content indicated by the sub-indication bits in the embodiments of the present application is only an exemplary illustration.
  • the content indicated by the sub-indication bits may include all or part of the above-mentioned content, and in addition, the sub-indication bits may also indicate Other contents are not listed here.
  • the payload can carry various control information, a complete data frame with a small amount of data, padding, etc., and the sub-indication bits can further indicate the content carried by the payload, so that the coding block can support complex control information, and The flexibility of instructions can be improved.
  • the load supports carrying a complete data frame with a small amount of data, thereby reducing the transmission overhead of a data frame with a small amount of data, enabling the insertion of a complete data frame with a small amount of data between the data frame fragments, reducing the amount of data.
  • the transmission delay of a complete data frame with a small amount of data is thereby reducing the transmission overhead of a data frame with a small amount of data, enabling the insertion of a complete data frame with a small amount of data between the data frame fragments, reducing the amount of data.
  • the transmission delay of a complete data frame with a small amount of data is a small amount of data.
  • the payload may further include a CRC field, and the CRC field may be used to verify and protect the control information.
  • the CRC field may be 8 bits or 16 bits.
  • the indicator bits include 2 bits and the payload includes 64 bits.
  • the CRC field can be the last 8 bits or 16 bits of the payload. , as shown in Figure 12.
  • the sending node sends the target coding block.
  • the receiving node receives the target coded block.
  • the receiving node parses the target coding block.
  • the receiving node may determine the content carried by the payload according to the value of the indication bit of the target coding block. Specifically, for the indication bit of the target coding block and the load of the target coding block, reference may be made to the relevant description of the target coding block, which will not be repeated here.
  • the receiving node can determine the position of the fragment carried by the payload in the data frame according to the value of the indicator bit. For example, when the indicator bit is the first value, the The fragment is the first fragment of the data frame, which is the beginning of the data frame. When the indicator bit is the second value, the fragment carried by the payload is the middle fragment of the data frame, that is, the continuation of the data frame. When the indicator bit is the third value, the fragment carried by the payload is the last fragment of the data frame, that is, the end of the data frame.
  • the receiving node can splicing the received fragments according to the positions of the fragments carried by the load in the data frame, so as to obtain a complete data frame.
  • the first fragment (that is, the beginning of the data frame), the last fragment (that is, the end of the data frame), and the middle fragment (that is, the continuation of the data frame) of the data frame are directly indicated by the indicator bits , compared with the way of indicating the data/control by the synchronization word and the format of the load indicated by the block type field, the data frame start and end positions are decoupled from the block type field and directly indicated by the indicator bit, which can simplify data processing. complexity, thereby reducing the complexity and time delay of wired transmission.
  • the payload can carry various control information, a complete data frame with a small amount of data, padding, etc., so that the coding block can support complex control information and improve the flexibility of indication.
  • the load supports carrying a complete data frame with a small amount of data, thereby reducing the transmission overhead of a data frame with a small amount of data, enabling the insertion of a complete data frame with a small amount of data between the data frame fragments, reducing the amount of data.
  • the transmission delay of a complete data frame with a small amount of data is the fourth value.
  • the payload carries the control information
  • the reliability of the control information can be ensured, thereby avoiding erroneous control.
  • the present application provides another line coding method, which can be applied to a wired transmission system. As shown in Figure 13, the method includes:
  • the sending node generates a target coding block, where the target coding block includes an indication bit and a payload, and the indication bit includes a first value and a second value, wherein the first value is used to indicate that the payload includes a slice of the first data frame , and the second value is used to indicate that the load includes non-data information.
  • a data frame generally refers to a message having a specific frame format, for example, an Ethernet MAC frame, an IP frame, etc., and the embodiment of the present application does not restrict the specific type of the data frame.
  • the indication bit may include 1 bit, and the two values of the 1 bit respectively indicate that the payload includes a slice of the first data frame, and the payload includes non-data information. For example, when the indication bit is 0, the indication payload includes one fragment of the first data frame. When the indicator bit is 1, it indicates that the payload includes non-data information.
  • the number of bits included in the indicator bit can also be other bits, such as 2 bits, 5 bits, etc., which are not specifically limited here. If the number of bits included in the indicator bit is greater than 1, other values of the indicator bit may also be used to indicate other content, or may be reserved, which is not specifically limited here.
  • the number of bits included in the payload may be Y, where Y is an integer greater than 0, for example, Y may be 64 or the like.
  • the payload includes a sub-indication bit, and the sub-indication bit is used to indicate at least one of the following information: the next encoding block of the target encoding block carries the first slice of the first data frame, the target encoding The previous coding block of the block carries the last slice of the first data frame, the bits carried by the payload of the target coding block are physical layer padding bits, the payload of the target coding block carries control information, and the payload of the target coding block carries the first data frame. , a first data frame and at least one second data frame are concatenated.
  • the sub-indicator bit indicates the start or end of the data frame, which can reduce the overhead of the indicator bit, and by inserting a code indicating the start of the data frame before the first slice of the data frame and after the last slice respectively Blocks and coding blocks indicating the end of the data frame, compared with the way that the format of the payload is indicated by the block type field, the sub-indication bit directly indicates the start or end of the data frame, which can simplify the complexity of data processing and reduce the complexity of wired transmission. and delay.
  • the bits carried by the payload of the target coding block are physical layer padding bits, and the sub-indicator bits indicate the next coding of the target coding block.
  • the block carries the first slice of the first data frame.
  • the sub-indicator bit indicates that the last encoding block of the target encoding block carries the last slice of the first data frame
  • the The bits carried by the payload are physical layer stuffing bits.
  • the sub-indication bit indicates that the bits carried in the payload of the target coding block are physical layer padding bits.
  • the sub-indication bit indicates that the payload carries control information, and may further indicate the type of control information.
  • control information reference may be made to the relevant description of the control information in step S301, which will not be repeated here.
  • the sub-indication bit indicates that the payload of the target coding block carries the first data frame.
  • the sub-indication bit indicates that the first data frame and at least one second data frame are concatenated.
  • the sub-indication bit indicates the splicing of the first data frame and the at least one second data frame, and specifically may indicate the boundary position of the first data frame and the at least one second data frame in the payload.
  • the positions of the first data frame and the at least one second data frame in the load may refer to the boundary of the first data frame, that is, the position where the first data frame ends, and the boundary of at least one second data frame, that is, at least one second data frame. The starting position and ending position of the data frame.
  • the load of the target coding block is exemplified by taking the splicing of a first data frame and a second data frame as an example.
  • the load of the target coding block includes the first slice of the second data frame and the first data frame, wherein the first slice is after the first data frame.
  • the first data frame is a complete data frame, that is, a data frame without fragmentation.
  • the load of the target coding block includes the first slice of the second data frame and the last slice of the first data frame, where the first slice is after the last slice.
  • the load of the target coding block includes the last slice of the first data frame and the second data frame, wherein the second data frame is after the last slice.
  • the second data frame is a complete data frame, that is, a data frame without fragmentation.
  • the load of the target coding block includes a first data frame and a second data frame, wherein the second data frame is after the first data frame.
  • the first data frame and the second data frame are complete data frames, that is, data frames without fragmentation.
  • an inter-frame interval exists between two adjacent data frames in the first data frame and at least one second data frame.
  • the inter-frame space may function as an inter-frame buffer.
  • the inter-frame space may be 8-bit padding, and the receiving node may directly discard it.
  • the sub-indicator bit is the first 8 bits of the load
  • 9 values of the 8 bits can be used to indicate respectively: the lower part of the target coding block
  • One coding block carries the first slice of the first data frame
  • the previous coding block of the target coding block carries the last slice of the first data frame
  • the bits carried by the payload of the target coding block are physical layer padding bits
  • the target coding The load of the block carries the first data frame
  • the load of the target coding block carries the first data frame
  • the load of the target coding block carries the link retraining information
  • the load of the target coding block carries the sleep information
  • the load of the target coding block carries the intermittent test information
  • the load of the target coding block carries the block identification information
  • the load of the target coding block carries the transmission confirmation information
  • the other 6 values of the 8 bits are used to indicate the splicing of the first
  • the sub-indication bit is 0x1e, it indicates that the load of the target coding block carries the physical layer padding bits; if the sub-indication bit is 0x2d, it indicates that the load of the target coding block carries the first data frame; if the sub-indication bit is When 0x33, it indicates that the load of the target coding block carries link retraining information; if the sub-indication bit is 0x4b, it indicates that the load of the target coding block carries dormancy information; if the sub-indication bit is 0x66, it indicates that the load of the target coding block carries intermittent test information ; If the sub-indication bit is 0x78, it indicates that the load of the target coding block carries the block identification information; if the sub-indication bit is 0x87, it indicates that the load of the target coding block carries transmission confirmation information; if the sub-indication bit is 0x99, it indicates the lower
  • a coding block carries the first fragment of the first data frame; if the sub-indication bit is 0xAA, it indicates that the previous coding block of the target coding block carries the last fragment of the first data frame; if the sub-indication bit is 0xE1 ⁇ 0xE6 , indicating the splicing of the first data frame and at least one second data frame, the positions of the first data frame and at least one second data frame in the load are 1 byte, 2 bytes, 3 bytes of the load, respectively, 4 bytes, 5 bytes, and 6 bytes, that is, the last fragment of the first data frame is 1 to 6 bytes respectively.
  • sub-indication bits are used as an example for description.
  • the number of bits included in the sub-indication bits may also be other bits, such as 7 bits, 9 bits, etc., which are not specifically limited here. If the state value of the sub-indication bit is greater than 10, other state values of the indicator bit can also be used to indicate other content, or can also be reserved, which is not specifically limited here.
  • the content indicated by the sub-indication bits in the embodiments of the present application is only an exemplary illustration.
  • the content indicated by the sub-indication bits may include all or part of the above-mentioned content, and in addition, the sub-indication bits may also indicate Other contents are not listed here.
  • the code block whose load includes data information is hereinafter referred to as the data code block, that is, the code block when the indicator bit value is the first value is called the data code block, and the code block whose load includes non-data information is referred to as the data code block.
  • a control coding block that is, the coding block when the indicator bit takes the second value is called a control coding block.
  • the first data frame may be divided into N slices, where N is an integer greater than 1. and encode the N data blocks to obtain N+2 coding blocks, wherein the N+2 coding blocks include the target coding block, if the target coding block is the first coding block in the N+2 coding blocks, the target coding block
  • the indicator bit of the coding block is the second value and the sub-indication bit is used to indicate that the next coding block of the target coding block carries the first slice of the first data frame; if the target coding block is one of the N+2 coding blocks
  • the indicator bit of the target coding block is the first value, and n is an integer greater than 1 and less than N+2; if the target coding block is the N+2th coding block among the N+2 coding blocks , the indication bit of the target coding block is the second value and the sub-indication bit is used to indicate that the last coding block of the
  • the data frame when the data frame is segmented, the data frame may be divided into equal length segments, that is, the data frame is divided into N segments of equal length.
  • the data frame may be divided into N slices of Y bits, where the Y bits are the length of the payload.
  • the coding process of the data frame is exemplarily described below with reference to the coding block structure shown in FIG. 14 , assuming that the payload includes 64 bits:
  • the sending node divides the data frame 1 into N pieces of 64 bits.
  • the sending node encodes the N slices to obtain N+2 encoding blocks, wherein the indicator bit of the first encoding block takes the value of 1, the sub-indicator bit takes the value of 0x99, and the payload carries the physical layer padding bits,
  • the indicator bits of the 2nd data coding block to the N-1 th data coding block are set to 0, and the payloads of the 2nd data coding block to the N+1 th data coding block respectively carry the first data of the data frame 1.
  • the indicator bit of the N+2th data coding block takes the value of 1
  • the sub-indication bit takes the value of 0xAA
  • the payload carries the physical layer padding bits, as shown in Figure 15.
  • the N+2 coding blocks may be sent continuously or discontinuously, that is, the control coding block may be interspersed between any two coding blocks in the N+2 coding blocks and sent, As shown in Figure 16.
  • the load of the control coding block may carry physical layer padding bits, or may also carry control information, or may also carry a second data frame, where the second data frame is a complete (unsliced) data frame, optional , the second data frame and the first data frame may come from different interfaces, for example, the first data frame comes from a MAC layer interface, the second data frame comes from an IP layer interface, and so on.
  • FIG. 16 is only an exemplary illustration, and does not specifically limit the number and sending positions of other coding blocks that carry control information.
  • the receiving node can simply and directly determine the start and end of the data frame.
  • the data/control is indicated by the sync word
  • the format of the payload is indicated by the block type field, so as to simplify the complexity of data processing, thereby reducing the complexity and time delay of wired transmission.
  • the payload may include a CRC field, and the CRC field is used to perform verification protection on the control information.
  • the sub-indicator bit indicates that the next encoding block of the target encoding block carries the first slice of the first data frame, or, the sub-indicator bit indicates that the previous encoding block of the target encoding block carries the last slice of the first data frame, or , the sub-indication bit indicates that the payload of the target coding block carries physical layer padding bits, and the payload may also include a CRC field.
  • the CRC field may be 8 bits or 16 bits.
  • the payload includes 64 bits
  • the sub-indicator bits are the first 8 bits of the payload
  • the CRC field can be the last 8 bits or 16 bits of the payload, as shown in Fig. 17 or Fig. 18 .
  • the sending node sends the target coding block.
  • the receiving node receives the target coded block.
  • the receiving node parses the target coding block.
  • the receiving node can determine the content carried by the payload according to the value of the indicator bit of the target coding block and the value of the sub-indicator bit. Specifically, for the indication bit, load, and sub-indication bit of the target coding block, reference may be made to the relevant description of the target coding block in S1301, which will not be repeated here.
  • the receiving node can perform the data according to the indication bits of the second coding block before the first coding block and the third coding block after the first coding block.
  • the value and the value of the sub-indicator bit determine the position of the slice carried by the payload of the first coding block in the data frame. For example, if the indicator bit of the second coding block is the second value and the sub-indication bit indicates the coding block
  • the next coding block of the data frame carries the first fragment of the data frame, and the fragment carried by the payload of the first coding block is the first fragment of the data frame, that is, the beginning of the data frame.
  • the fragment carried by the payload of the first coding block is the last fragment of the data frame A slice is the end of the data frame. If the indicator bits of the second coding block and the third coding block both take the first value, the fragment carried by the payload of the first coding block is the middle fragment of the data frame, that is, the continuation of the data frame.
  • the receiving node can splicing the received fragments according to the positions of the fragments carried by the payload of the first coding block in the data frame, so as to obtain a complete data frame.
  • the sub-indicator bit indicates the start or end of the data frame, which can reduce the overhead of the indicator bit, and by inserting a code indicating the start of the data frame before the first slice of the data frame and after the last slice respectively Blocks and coding blocks indicating the end of the data frame, compared with the way that the format of the payload is indicated by the block type field, the sub-indication bit directly indicates the start or end of the data frame, which can simplify the complexity of data processing and reduce the complexity of wired transmission. and delay.
  • the payload can carry various control information, a complete data frame with a small amount of data, padding, etc., so that the coding block can support complex control information and improve the flexibility of indication.
  • the load supports carrying a complete data frame with a small amount of data, thereby reducing the transmission overhead of a data frame with a small amount of data.
  • the load supports the splicing of two or more data frames, so that the flexibility of data transmission can be improved.
  • the reliability of the control information can be ensured, so that erroneous control can be avoided.
  • the embodiments of the present application provide a communication device.
  • the structure of the apparatus may be as shown in FIG. 19 , including a processing unit 1901 and a transceiver unit 1902 .
  • the communication apparatus may be specifically used to implement the methods performed by the sending node in the embodiments of FIG. 3 to FIG. 12 , and the apparatus may be the sending node itself, or a chip or a chipset or a chip in the sending node. Used to perform part of the function of the associated method.
  • the processing unit 1901 is configured to generate a target coding block, the target coding block includes an indicator bit and a load, and the indicator bit includes a first value, a second value, a third value and a fourth value, wherein the first value The value is used to indicate that the load includes the first fragment of the data frame, the second value is used to indicate that the load includes the middle fragment of the data frame, the third value indicates that the load includes the last fragment of the data frame, and the fourth value It is used to indicate that the payload includes non-data information; the transceiver unit 1902 is used to send the target coding block.
  • the processing unit 1901 is specifically configured to: divide the data frame into N slices, where N is an integer greater than 1; encode the N slices to obtain N coding blocks, wherein the N coding blocks Including the target coding block, if the load of the target coding block includes the first slice in the N slices, the indicator bit of the target coding block is the first value; if the load of the target coding block includes the first slice in the N slices n slices, the indicator bit of the target coding block is the second value, and n is an integer greater than 1 and less than N; if the load of the target coding block includes the Nth slice among the N slices, the The indicator bit is the third value.
  • the non-data information includes at least one of the following: padding bits, sub-indication bits, and control information.
  • the indication bit is the fourth value.
  • the sub-indication bit is used to indicate that the load carries physical layer padding bits; or, the sub-indication bit is used to indicate that the load carries control information; or, the sub-indication bit is used to indicate that the load carries a data frame.
  • control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the payload if the payload carries control information, the payload also includes a CRC field for checking protection.
  • the communication apparatus may be specifically used to implement the methods performed by the sending node in the embodiments of FIG. 13 to FIG. 18 , and the apparatus may be the sending node itself, or may be a chip or a chipset or a chip in the sending node The part of the function used to perform the related method.
  • the processing unit 1901 is configured to generate a target coding block, the target coding block includes an indicator bit and a load, the indicator bit includes a first value and a second value, wherein the first value is used to indicate that the load includes the first data frame The second value is used to indicate that the payload includes non-data information; if the indication bit is the second value, the payload includes sub-indication bits.
  • the sub-indication bit is used to indicate at least one of the following information:
  • the next coding block of the target coding block carries the first slice of the first data frame
  • the last encoding block of the target encoding block carries the last slice of the first data frame
  • the bits carried by the payload of the target coding block are physical layer padding bits
  • the payload of the target coding block carries control information
  • the payload of the target coding block carries the first data frame
  • the first data frame and at least one second data frame are concatenated in the payload of the target coding block.
  • the transceiver unit 1902 is used for sending the target coding block.
  • the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the next coding block of the target coding block carries the first fragment.
  • the first slice of the data frame if the next coding block of the target coding block carries the first slice of the first data frame, the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the next coding block of the target coding block carries the first fragment. The first slice of the data frame.
  • the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the previous coding block of the target coding block carries the first data frame.
  • the last shard if the previous coding block of the target coding block carries the last slice of the first data frame, the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the previous coding block of the target coding block carries the first data frame. The last shard.
  • the sub-indication bit indicates that the bits carried in the payload of the target coding block are physical layer padding bits.
  • the sub-indication bit indicates that the payload carries the control information, and optionally, the sub-control bit further indicates the type of the control information.
  • the sub-indication bit indicates that the payload of the target coding block carries the first data frame.
  • the sub-indication bit indicates that the first data frame and at least one second data frame are concatenated.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the processing unit 1901 is specifically configured to: divide the first data frame into N slices, where N is an integer greater than 1; encode the N data blocks to obtain N+2 encoded blocks, wherein, The N+2 coding blocks include the target coding block. If the target coding block is the first coding block in the N+2 coding blocks, the indicator bit of the target coding block is the second value and the sub-indication bit is used to indicate the target coding The next coding block of the block carries the first slice of the first data frame; if the target coding block is the nth coding block in the N+2 coding blocks, the indicator bit of the target coding block is the first value, n is an integer greater than 1 and less than N+2; if the target coding block is the N+2th coding block in the N+2 coding blocks, the indicator bit of the target coding block is the second value and the sub-indication bit is used to indicate The previous coding block of the target coding block carries the last slice of the first data frame.
  • the payload includes a CRC field for checking protection; and/or, if the sub-indication bit indicates that the next coding block of the target coding block carries the first data
  • the first slice of the frame, or the sub-indicator bit indicates that the last coded block of the target coded block carries the last slice of the first data frame, and the payload includes a CRC field for check protection.
  • the sub-indication bit indicates the splicing of the first data frame and the at least one second data frame, including: the sub-indication bit further indicates the boundary position of the first data frame and the at least one second data frame in the payload.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first slice of a second data frame and the first data frame, wherein, The first shard is after the first data frame.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the last fragment of the first data frame, wherein, The first shard comes after the last shard.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame including: the last slice of the first data frame and at least one second data frame, wherein at least one second data frame The frame comes after the last fragment.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame including: the first data frame and at least one second data frame, wherein the at least one second data frame is in the first data frame frame after.
  • an inter-frame interval exists between two adjacent data frames in the first data frame and at least one second data frame.
  • the communication apparatus may be specifically used to implement the method performed by the receiving node in the embodiments of FIG. 3 to FIG. 12 , and the apparatus may be the receiving node itself, or a chip or a chipset or a chip in the receiving node. The part of the function used to perform the related method.
  • the transceiver unit 1902 is configured to receive a target coding block, the target coding block includes an indication bit and a load, and the indication bit includes a first value, a second value, a third value and a fourth value, wherein the first value The value is used to indicate that the load includes the first fragment of the data frame, the second value is used to indicate that the load includes the middle fragment of the data frame, the third value indicates that the load includes the last fragment of the data frame, and the fourth value It is used to indicate that the payload includes non-data information; the processing unit 1901 is used to parse the target coding block.
  • the processing unit 1901 is specifically configured to: if the indication bit of the target coding block is the first value, determine that the slice carried by the payload of the target coding block is the data The first slice of the frame; if the indicator bit of the target coding block is the second value, it is determined that the slice carried by the payload of the target coding block is the middle slice of the data frame ; if the indicator bit of the target coding block is the third value, determine that the fragment carried by the payload of the target coding block is the last fragment of the data frame.
  • the non-data information includes at least one of the following: padding bits, sub-indication bits, and control information.
  • the indication bit is the fourth value.
  • the sub-indication bit is used to indicate that the load carries physical layer padding bits; or, the sub-indication bit is used to indicate that the load carries control information; or, the sub-indication bit is used to indicate that the load carries a data frame.
  • control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the payload if the payload carries control information, the payload also includes a CRC field for checking protection.
  • the communication apparatus may be specifically used to implement the methods performed by the receiving node in the embodiments of FIG. 13 to FIG. 18 , and the apparatus may be the receiving node itself, or a chip or a chipset or a chip in the receiving node.
  • the transceiver unit 1902 is configured to receive a target coding block, the target coding block includes an indication bit and a load, and the indication bit includes a first value and a second value, wherein the first value is used to indicate that the load includes the first data frame The second value is used to indicate that the payload includes non-data information; if the indication bit is the second value, the payload includes sub-indication bits.
  • the sub-indication bit is used to indicate at least one of the following information:
  • the next coding block of the target coding block carries the first slice of the first data frame
  • the last encoding block of the target encoding block carries the last slice of the first data frame
  • the bits carried by the payload of the target coding block are physical layer padding bits
  • the payload of the target coding block carries control information
  • the payload of the target coding block carries the first data frame
  • the first data frame and at least one second data frame are concatenated in the payload of the target coding block.
  • the processing unit 1901 is configured to parse the target coding block.
  • the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the next coding block of the target coding block carries the first fragment.
  • the first slice of the data frame if the next coding block of the target coding block carries the first slice of the first data frame, the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the next coding block of the target coding block carries the first fragment. The first slice of the data frame.
  • the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the previous coding block of the target coding block carries the first data frame.
  • the last shard if the previous coding block of the target coding block carries the last slice of the first data frame, the bits carried by the payload are physical layer padding bits, and the sub-indication bit indicates that the previous coding block of the target coding block carries the first data frame. The last shard.
  • the sub-indication bit indicates that the bits carried in the payload of the target coding block are physical layer padding bits.
  • the sub-indication bit indicates that the payload carries the control information, and optionally, the sub-control bit further indicates the type of the control information.
  • the sub-indication bit indicates that the payload of the target coding block carries the first data frame.
  • the sub-indication bit indicates that the first data frame and at least one second data frame are concatenated.
  • the type of control information includes at least one of the following: block identification information, transmission confirmation information, intermittent test information, sleep information, and link retraining information.
  • the processing unit 1901 is specifically configured to: if the indication bit of the target coding block is the second value and the sub-indication bit is used to indicate the next coding block of the target coding block Carrying the first slice of the first data frame, it is determined that the slice carried by the next encoding block of the target encoding block is the first slice of the first data frame; The indication bit is the first value, and it is determined that the slice carried by the load of the target coding block is the middle slice of the first data frame; if the indication bit of the target coding block is the The second value and the sub-indication bit are used to indicate that the last coding block of the target coding block carries the last slice of the first data frame, and determine the fragment carried by the last coding block of the target coding block.
  • a slice is the last slice of the first data frame.
  • the payload includes a CRC field for checking protection; and/or, if the sub-indication bit indicates that the next coding block of the target coding block carries the first data
  • the first slice of the frame, or the sub-indicator bit indicates that the last coded block of the target coded block carries the last slice of the first data frame, and the payload includes a CRC field for check protection.
  • the sub-indication bit indicates the splicing of the first data frame and the at least one second data frame, including: the sub-indication bit further indicates the boundary position of the first data frame and the at least one second data frame in the payload.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first slice of a second data frame and the first data frame, wherein, The first shard is after the first data frame.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame include: the first fragment of a second data frame and the last fragment of the first data frame, wherein, The first shard comes after the last shard.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame including: the last slice of the first data frame and at least one second data frame, wherein at least one second data frame The frame comes after the last fragment.
  • all or part of the data of the first data frame and all or part of the data of at least one second data frame including: the first data frame and at least one second data frame, wherein the at least one second data frame is in the first data frame frame after.
  • an inter-frame interval exists between two adjacent data frames in the first data frame and at least one second data frame.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit. In the device, it can also exist physically alone, or two or more modules can be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It can be understood that, for the functions or implementations of each module in the embodiments of the present application, further reference may be made to the related descriptions of the method embodiments.
  • the communication apparatus may be as shown in FIG. 20 , and the apparatus may be a sending node or a chip in the sending node.
  • the apparatus may include a processor 2001 , a communication interface 2002 , and a memory 2003 .
  • the processing unit 1901 may be the processor 2001 .
  • the transceiver unit 1902 may be the communication interface 2002 .
  • the processor 2001 may be a CPU, or a digital processing unit or the like.
  • the communication interface 2002 may be a transceiver, an interface circuit such as a transceiver circuit, etc., or a transceiver chip or the like.
  • the apparatus further includes: a memory 2003 for storing programs executed by the processor 2001 .
  • the memory 2003 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may be a volatile memory (volatile memory), such as a random access memory (random access memory) -access memory, RAM).
  • Memory 2003 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the processor 2001 is configured to execute the program code stored in the memory 2003, and is specifically configured to execute the actions of the above-mentioned processing unit 1901, which will not be repeated in this application.
  • the communication interface 2002 is specifically configured to perform the actions of the above-mentioned transceiver unit 1902, and details are not described herein again in this application.
  • connection medium between the communication interface 2002 , the processor 2001 , and the memory 2003 is not limited in the embodiments of the present application.
  • the memory 2003, the processor 2001, and the communication interface 2002 are connected through a bus 2004 in FIG. 20.
  • the bus is represented by a thick line in FIG. 20.
  • 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 presentation, only one thick line is shown in FIG. 20, but it does not mean that there is only one bus or one type of bus.
  • Embodiments of the present application further provide a communication system, including a communication device for implementing the function of a sending node in the embodiments of FIG. 3 to FIG. 12 and a communication device for implementing the function of a receiving node in the embodiments of FIG. 3 to FIG. 12 .
  • An embodiment of the present application further provides a communication system, including a communication device for implementing the function of a sending node in the embodiments of FIG. 13 to FIG. 18 and a communication device for implementing the function of a receiving node in the embodiment of FIG. 13 to FIG. 18 .
  • Embodiments of the present application further provide a computer-readable storage medium for storing computer software instructions that need to be executed to execute the above-mentioned processor, which includes a program to be executed to execute the above-mentioned processor.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

本申请公开了一种线路编码方法及装置,用于解决目前线路编码方式中数据帧的处理复杂度较高,时延较大且准确性较低的问题。该方法包括:生成并发送目标编码块。其中,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值,其中,第一取值用于指示负荷包括数据帧的第一个分片,第二取值用于指示负荷包括数据帧的中间分片,第三取值指示负荷包括数据帧的最后一个分片,第四取值用于指示负荷包括非数据信息。本申请实施例中,将数据帧开始、结束的位置与块类型字段解耦,直接由指示位进行指示,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。

Description

一种线路编码方法及装置 技术领域
本申请涉及通信技术领域,尤其涉及一种线路编码方法及装置。
背景技术
有线传输中,常使用线路编码,用于指示码块数据的类型、位置等。如64比特(bit,B)/66B编码方式、64B/65B编码方式等。
经过64B/66B、64B/65B等线路编码的编码块,通过同步字段指示后面的64B是否携带控制信息,若携带控制信息,则该64B中通过8B的块类型字段指示另外56B的格式,例如,块类型字段取值为0x1e时,该56B包括8个大小为7B的控制子块,每个控制子块用于携带一个控制信息。又例如,块类型字段取值为0x33时,56B包括4个大小为7B的控制子块,以及3个大小为8B的数据子块,数据子块用于携带数据信息,且第一个数据子块为数据帧的开始。再例如,块类型字段取值为0x78时,该56B包括7个大小为8B的数据子块,且第一个数据子块为数据帧的开始。例如,块类型字段取值为0xff时,该56B包括7个大小为8B的数据子块,且最后一个数据子块为数据帧的结束。
在目前的线路编码方式中,数据帧的开始结束指示依赖对块类型字段的进一步解析。由于块类型字段有多种取值状态,处理的复杂度高于数据,并且,如果块类型字段存在错误,可能导致数据帧起始位置的丢失。
发明内容
本申请提供一种线路编码方法及装置,用于解决目前线路编码方式中数据帧的处理复杂度较高,时延较大且准确性较低的问题。
第一方面,本申请实施例提供了线路编码方法,包括:生成并发送目标编码块。其中,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值,其中,第一取值用于指示负荷包括数据帧的第一个分片,第二取值用于指示负荷包括数据帧的中间分片,第三取值指示负荷包括数据帧的最后一个分片,第四取值用于指示负荷包括非数据信息。数据帧是泛指具有特定帧格式的报文,比如,以太网(Ethernet)媒体接入控制(media access control,MAC)帧、互联网协议(internet protocol,IP)帧,等等,本申请实施例不约束数据帧的具体类型。
本申请实施例中,数据帧的第一个分片(即数据帧的开始)、最后一个分片(即数据帧的结束)以及中间分片(即数据帧的延续)直接由指示位进行指示,与通过同步字指示数据/控制,再由块类型字段指示负荷的格式的方式相比,将数据帧开始、结束的位置与块类型字段解耦,直接由指示位进行指示,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,生成目标编码块时,可以将数据帧划分成N个分片,N为大于1的整数。并对N个分片进行编码,得到N个编码块。其中,N个编码块包括目标编码块,若目标编码块的负荷包括N个分片中的第一个分片,目标编码块的指示位为第一取值;若目标编码块的负荷包括N个分片中的第n个分片,目标编码块的指示位为第二取值,n为 大于1且小于N的整数;若目标编码块的负荷包括N个分片中的第N个分片,目标编码块的指示位为第三取值。上述设计中,在发送数据帧的各个分片时,通过携带各个分片的编码块的指示位的取值,使得接收节点可以确定该编码块所携带分片在数据帧中的位置,从而可以对接收到的分片进行拼接,获得完整的数据帧。
在一种可能的设计中,该N个分片可以是等长度的。
在一种可能的设计中,非数据信息包括如下至少一项:填充比特、子指示位、控制信息。上述设计中,负荷可以承载多种控制信息、Padding等,从而编码块可以支持复杂的控制信息。
在一种可能的设计中,若负荷携带的比特为填充比特,指示位为第四取值。
在一种可能的设计中,指示位为第四取值,负荷携带子指示位。子指示位用于指示负荷携带物理层填充比特;或者,子指示位用于指示负荷携带控制信息;或者,子指示位用于指示负荷携带数据帧。上述设计中,负荷可以承载多种控制信息、数据量较小的完整数据帧、Padding等,并且可以通过子指示位进一步指示负荷携带的内容,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。并且,负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
在一种可能的设计中,子指示位可以进一步指示负荷携带的控制信息的类型。上述设计中,可以通过子指示位进一步指示负荷携带的内容,可以提高指示的灵活性。
在一种可能的设计中,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
在一种可能的设计中,若负荷携带控制信息,负荷中还包括用于检验保护的循环冗余校验CRC字段。上述设计中,通过CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
第二方面,本申请实施例提供了一种线路编码方法,包括:生成并发送目标编码块。其中,目标编码块包括指示位以及负荷,指示位包括第一取值和第二取值,其中,第一取值用于指示负荷包括第一数据帧的一个分片,第二取值用于指示负荷包括非数据信息;若指示位为第二取值,负荷包括子指示位,子指示位用于指示如下信息中至少一项:目标编码块的下一个编码块携带第一数据帧的第一个分片、目标编码块的上一个编码块携带第一数据帧的最后一个分片、目标编码块的负荷携带的比特为物理层填充比特、目标编码块的负荷携带控制信息、目标编码块的负荷携带第一数据帧、所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中拼接。数据帧是泛指具有特定帧格式的报文,比如,Ethernet MAC帧、IP帧,等等,本申请实施例不约束数据帧的具体类型。
本申请实施例中,通过子指示位指示数据帧开始或结束,可以降低指示位的开销,并通过在数据帧的第一个分片之前、最后一个分片之后分别***指示数据帧开始的编码块和指示数据帧结束的编码块,与由块类型字段指示负荷的格式的方式相比,由子指示位直接指示数据帧开始或结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的下一个编码块携带第一数据帧的第一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片。上述设计中,通过在携带第一个分片的编码块之前***一个编码块, 该编码块可以通过子指示位的取值指示数据帧的开始,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。上述设计中,通过在携带最后一个分片的编码块之前***一个编码块,该编码块可以通过子指示位的取值指示数据帧的结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的负荷携带的比特为物理层填充比特。
在一种可能的设计中,若目标编码块的负荷携带控制信息,子指示位指示负荷携带控制信息。上述设计中,负荷可以承载多种控制信息,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。
在一种可能的设计中,子控制位进一步指示控制信息的类型。上述设计中,可以通过子指示位进一步指示负荷携带的内容,可以提高指示的灵活性。
在一种可能的设计中,若目标编码块的负荷携带第一数据帧,子指示位指示目标编码块的负荷携带第一数据帧。通过上述设计,负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
在一种可能的设计中,若目标编码块的负荷携带第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,子指示位指示第一数据帧和至少一个第二数据帧拼接。通过上述设计,负荷支持两个或多个数据帧的拼接,从而可以提高数据传输的灵活性。
在一种可能的设计中,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
在一种可能的设计中,生成目标编码块时,可以将第一数据帧划分成N个分片,N为大于1的整数;对N个数据块进行编码,得到N+2个编码块,其中,N+2个编码块包括目标编码块,若目标编码块为N+2个编码块中的第一个编码块,目标编码块的指示位为第二取值且子指示位用于指示目标编码块的下一个编码块携带第一数据帧的第一个分片;若目标编码块为N+2个编码块中的第n个编码块,目标编码块的指示位为第一取值,n为大于1且小于N+2的整数;若目标编码块为N+2个编码块中的第N+2个编码块,目标编码块的指示位为第二取值且子指示位用于指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。
上述设计中,在发送数据帧的各个分片时,通过携带各个分片的编码块的指示位的取值以及前后编码块的子指示位的取值,使得接收节点可以确定该编码块所携带分片在数据帧中的位置,从而可以对接收到的分片进行拼接,获得完整的数据帧。
在一种可能的设计中,该N个分片可以是等长度的。
在一种可能的设计中,若子指示位指示目标编码块的负荷携带控制信息,负荷包括用于检验保护的CRC字段。上述设计中,通过负荷中包括CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
在一种可能的设计中,若子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片,或者,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个 分片,负荷包括用于检验保护的CRC字段。上述设计中,通过负荷中包括CRC字段,可以确保指示数据帧开始、结束的编码块的可靠性,从而可以避免错误指示。
在一种可能的设计中,子指示位指示第一数据帧和至少一个第二数据帧拼接,包括:子指示位还指示第一数据帧和至少一个第二数据帧在负荷中的分界位置。通过上述设计,可以提高数据传输的准确性。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧,其中,第一个分片在第一数据帧之后。通过上述设计,可以支持一个完整的数据帧拼接另一个数据帧的第一个分片。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧的最后一个分片,其中,第一个分片在最后一个分片之后。通过上述设计,可以支持一个数据帧的最后一个分片拼接另一个数据帧的第一个分片。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧的最后一个分片和至少一个第二数据帧,其中,该至少一个第二数据帧在最后一个分片之后。通过上述设计,可以支持一个数据帧的最后一个分片拼接另一个完整的数据帧。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧和至少一个第二数据帧,其中,该至少一个第二数据帧在第一数据帧之后。通过上述设计,可以支持一个完整的数据帧拼接另一个完整的数据帧。
在一种可能的设计中,第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。通过上述设计,可以使拼接的两个数据帧之间存在一个缓冲,从而可以提高数据传输的准确性。
第三方面,本申请实施例提供了线路编码方法,包括:接收并解析目标编码块。其中,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值,其中,第一取值用于指示负荷包括数据帧的第一个分片,第二取值用于指示负荷包括数据帧的中间分片,第三取值指示负荷包括数据帧的最后一个分片,第四取值用于指示负荷包括非数据信息。数据帧是泛指具有特定帧格式的报文,比如,Ethernet MAC帧、IP帧,等等,本申请实施例不约束数据帧的具体类型。
本申请实施例中,数据帧的第一个分片(即数据帧的开始)、最后一个分片(即数据帧的结束)以及中间分片(即数据帧的延续)直接由指示位进行指示,与通过同步字指示数据/控制,再由块类型字段指示负荷的格式的方式相比,将数据帧开始、结束的位置与块类型字段解耦,直接由指示位进行指示,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,对目标编码块进行解析时,若目标编码块的指示位为第一取值,则可以确定目标编码块的负荷携带的分片为数据帧的第一个分片;若目标编码块的指示位为第二取值,则可以确定目标编码块的负荷携带的分片为数据帧的中间分片;若目标编码块的指示位为第三取值,则可以确定目标编码块的负荷携带的分片为数据帧的最后一个分片。上述设计中,在发送数据帧的各个分片时,通过携带各个分片的编码块的指示位的取值,使得接收节点可以确定该编码块所携带分片在数据帧中的位置,从而可以对接收到的 分片进行拼接,获得完整的数据帧。
在一种可能的设计中,该N个分片可以是等长度的。
在一种可能的设计中,非数据信息包括如下至少一项:填充比特、子指示位、控制信息。上述设计中,负荷可以承载多种控制信息、Padding等,从而编码块可以支持复杂的控制信息。
在一种可能的设计中,若负荷携带的比特为填充比特,指示位为第四取值。
在一种可能的设计中,指示位为第四取值,负荷携带子指示位。子指示位用于指示负荷携带物理层填充比特;或者,子指示位用于指示负荷携带控制信息;或者,子指示位用于指示负荷携带数据帧。上述设计中,负荷可以承载多种控制信息、数据量较小的完整数据帧、Padding等,并且可以通过子指示位进一步指示负荷携带的内容,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。并且,负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
在一种可能的设计中,子指示位可以进一步指示负荷携带的控制信息的类型。上述设计中,可以通过子指示位进一步指示负荷携带的内容,可以提高指示的灵活性。
在一种可能的设计中,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
在一种可能的设计中,若负荷携带控制信息,负荷中还包括用于检验保护的循环冗余校验CRC字段。上述设计中,通过CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
第四方面,本申请实施例提供了一种线路编码方法,包括:接收并解析目标编码块。其中,目标编码块包括指示位以及负荷,指示位包括第一取值和第二取值,其中,第一取值用于指示负荷包括第一数据帧的一个分片,第二取值用于指示负荷包括非数据信息;若指示位为第二取值,负荷包括子指示位,子指示位用于指示如下信息中至少一项:目标编码块的下一个编码块携带第一数据帧的第一个分片、目标编码块的上一个编码块携带第一数据帧的最后一个分片、目标编码块的负荷携带的比特为物理层填充比特、目标编码块的负荷携带控制信息、目标编码块的负荷携带第一数据帧、第一数据帧和至少一个第二数据帧在目标编码块的负荷中拼接。数据帧是泛指具有特定帧格式的报文,比如,Ethernet MAC帧、IP帧,等等,本申请实施例不约束数据帧的具体类型。
本申请实施例中,通过子指示位指示数据帧开始或结束,可以降低指示位的开销,并通过在数据帧的第一个分片之前、最后一个分片之后分别***指示数据帧开始的编码块和指示数据帧结束的编码块,与由块类型字段指示负荷的格式的方式相比,由子指示位直接指示数据帧开始或结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的下一个编码块携带第一数据帧的第一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片。上述设计中,通过在携带第一个分片的编码块之前***一个编码块,该编码块可以通过子指示位的取值指示数据帧的开始,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的上一个编码块携带第一数据帧的最后一个分片, 负荷携带的比特为物理层填充比特,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。上述设计中,通过在携带最后一个分片的编码块之前***一个编码块,该编码块可以通过子指示位的取值指示数据帧的结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
在一种可能的设计中,若目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的负荷携带的比特为物理层填充比特。
在一种可能的设计中,若目标编码块的负荷携带控制信息,子指示位指示负荷携带控制信息。上述设计中,负荷可以承载多种控制信息,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。
在一种可能的设计中,子控制位进一步指示控制信息的类型。上述设计中,可以通过子指示位进一步指示负荷携带的内容,可以提高指示的灵活性。
在一种可能的设计中,若目标编码块的负荷携带第一数据帧,子指示位指示目标编码块的负荷携带第一数据帧。通过上述设计,负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
在一种可能的设计中,若目标编码块的负荷携带第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,子指示位指示第一数据帧和至少一个第二数据帧拼接。通过上述设计,负荷支持两个或多个数据帧的拼接,从而可以提高数据传输的灵活性。
在一种可能的设计中,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
在一种可能的设计中,对目标编码块进行解析时,若目标编码块的指示位为第二取值且子指示位用于指示目标编码块的下一个编码块携带第一数据帧的第一个分片,则可以确定目标编码块的下一个编码块携带的分片为第一数据帧的第一个分片;若目标编码块的指示位为第一取值,则可以确定目标编码块的负荷携带的分片为第一数据帧的中间分片;若目标编码块的指示位为第二取值且子指示位用于指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,则可以确定目标编码块的上一个编码块携带的分片为第一数据帧的最后一个分片。
上述设计中,在发送数据帧的各个分片时,通过携带各个分片的编码块的指示位的取值以及前后编码块的子指示位的取值,使得接收节点可以确定该编码块所携带分片在数据帧中的位置,从而可以对接收到的分片进行拼接,获得完整的数据帧。
在一种可能的设计中,该N个分片可以是等长度的。
在一种可能的设计中,若子指示位指示目标编码块的负荷携带控制信息,负荷包括用于检验保护的CRC字段。上述设计中,通过负荷中包括CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
在一种可能的设计中,若子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片,或者,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷包括用于检验保护的CRC字段。上述设计中,通过负荷中包括CRC字段,可以确保指示数据帧开始、结束的编码块的可靠性,从而可以避免错误指示。
在一种可能的设计中,子指示位指示第一数据帧和至少一个第二数据帧拼接,包括:子指示位还指示第一数据帧和至少一个第二数据帧在负荷中的分界位置。通过上述设计, 可以提高数据传输的准确性。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧,其中,第一个分片在第一数据帧之后。通过上述设计,可以支持一个完整的数据帧拼接另一个数据帧的第一个分片。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧的最后一个分片,其中,第一个分片在最后一个分片之后。通过上述设计,可以支持一个数据帧的最后一个分片拼接另一个数据帧的第一个分片。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧的最后一个分片和至少一个第二数据帧,其中,该至少一个第二数据帧在最后一个分片之后。通过上述设计,可以支持一个数据帧的最后一个分片拼接另一个完整的数据帧。
在一种可能的设计中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧和至少一个第二数据帧,其中,该至少一个第二数据帧在第一数据帧之后。通过上述设计,可以支持一个完整的数据帧拼接另一个完整的数据帧。
在一种可能的设计中,第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。通过上述设计,可以使拼接的两个数据帧之间存在一个缓冲,从而可以提高数据传输的准确性。
第五方面,本申请提供一种线路编码装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组,通信设备可以是发送节点,也可以是接收节点。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第一方面中相应的功能或上述第二方面中相应的功能,或者,以执行上述第三方面中相应的功能或上述第四方面中相应的功能。当该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第一方面中相应的功能或者上述第二方面中相应的功能,或者,以执行上述第三方面中相应的功能或上述第四方面中相应的功能。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。
第六方面,本申请提供了一种线路编码装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计、上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。
第七方面,本申请还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计、上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。
第八方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计、上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。
第九方面,本申请还提供一种通信***,该***包括发送节点和接收节点,其中,发送节点可以执行上述第一方面中相应的功能,接收节点可以执行上述第三方面中相应的功能。
第十方面,本申请还提供一种通信***,该***包括发送节点和接收节点,其中,发送节点可以执行上述第二方面中相应的功能,接收节点可以执行上述第四方面中相应的功能。
第十一方面,本申请实施例提供的一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行本申请实施例第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法、上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计。
第十二方面,本申请实施例提供一种芯片,包括通信接口和至少一个处理器,所述处理器运行以执行本申请实施例第一方面或第一方面中任一设计、第二方面或第二方面中任一设计、上述第三方面或第三方面中任一设计、第四方面或第四方面中任一设计的方法。
需要说明的是,本申请实施例中“耦合”是指两个部件彼此直接或间接地结合。
附图说明
图1为本申请实施例提供的一种64B/66B线路编码示意图;
图2为本申请实施例提供的一种64B/65B线路编码示意图;
图3为本申请实施例提供的一种线路编码方法的流程示意图;
图4为本申请实施例提供的一种编码块指示位示意图;
图5为本申请实施例提供的一种数据帧传输示意图;
图6为本申请实施例提供的一种控制编码块传输示意图;
图7为本申请实施例提供的一种CRC块示意图;
图8为本申请实施例提供的一种间歇测试过程示意图;
图9为本申请实施例提供的一种休眠过程示意图;
图10为本申请实施例提供的一种链路重训练过程示意图;
图11为本申请实施例提供的一种编码块子指示位示意图;
图12为本申请实施例提供的一种CRC字段示意图;
图13为本申请实施例提供的另一种线路编码方法的流程示意图;
图14为本申请实施例提供的一种编码块示意图;
图15为本申请实施例提供的一种数据帧传输示意图;
图16为本申请实施例提供的一种携带控制信息的编码块传输示意图;
图17为本申请实施例提供的一种CRC字段示意图;
图18为本申请实施例提供的另一种CRC字段示意图;
图19为本申请实施例提供的一种通信装置的结构示意图;
图20为本申请实施例提供的另一种通信装置的结构示意图。
具体实施方式
本申请实施例的说明书和权利要求书及附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本申请实施例可以适用于有线高速点对点传输,如摄像头到自动驾驶平台多域控制器(multi domain controller,MDC)的图像和控制传输,车载摄像头或座舱域控制器(cockpit domain controller或control domain cockpit,CDC)等车载设备到大屏的图像传输等。
例如,本申请实施例涉及的通信装置可以是能够向其他设备发送信息(如数据帧、控制信息等)的设备,例如为摄像头、激光雷达等车载图像传感器,或者,也可以为MDC、CDC等图像处理设备,或者还可以为大屏等图像显示设备。又例如,本申请实施例涉及的通信装置还可以是除了车载装置之外的其他传输设备。
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,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可以是单个,也可以是多个。
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的大小、内容、顺序、时序、优先级或者重要程度等。例如,第一数据包和第二数据包,只是为了便于描述而给予的名称,这两个数据包可能是同一个数据包,或者也可能是不同的数据包。
下面介绍本申请实施例涉及的技术特征。
在有线传输中,常使用线路编码方式,如8B/10B,对数据、控制信息等进行编码。8B/10B能够保证比特流中0、1个数相当,从而保持直流平衡,提升信号在线缆上的传输质量,但开销较大,达到20%。
随着有线传输速率的提升,有线信道的工作频率提升变得困难,64B/66B+扰码、64B/65B+扰码等低开销线路编码,逐渐取代8B/10B,成为主流的线路编码方案。其中,扰码用于直流平衡,64B/66B、64B/65B主要用于区分数据和控制。相较8B/10B,64B/66B、64B/65B可以将开销降低到1.5%~3%。
64B/66B线路编码块与64B/65B线路编码块类似,区别在于:每个64B/66B线路编码块,由2比特同步字和64比特净荷组成。同步字为01时,64比特净荷为数据信息,例如媒体介入控制(media access control,MAC)数据;同步字为10时,64比特包含控制信息。同步字的另外两种状态,00和11不使用。若编码块的同步字为10,即编码块的64比特的净荷包含控制信息时,编码块的64比特的净荷的前8个比特为块类型字段。64B/66B线路编码可以如图1所示。
每个64B/65B线路编码块,由1比特同步字和64比特净荷组成。同步字为0时,64比特净荷为数据信息,例如MAC数据;同步字为1时,64比特包含控制信息。若编码块的同步字为1,即编码块的64比特的净荷包含控制信息时,编码块的64比特的净荷的前 8个比特为块类型字段。64B/65B线路编码可以如图2所示。
其中,图1所示的64B/66B线路编码块、图2所示的64B/65B线路编码块中,C表示控制信息,D表示数据信息,O表示顺序序列,S表示数据帧的开始,T表示数据帧的结束。
64B/66B线路编码块中块类型字段与净荷格式的对应关系与64B/65B线路编码块中块类型字段与净荷格式的对应关系相同。
下面以64B/66B线路编码块为例对块类型字段进行介绍。
当块类型字段为0x1e时,之后的56比特为8个7比特的子块,每个7比特的子块携带一个控制信息,如填充(Padding)。
当块类型字段为0x2d时,表示O 4D 5D 6D 7位置指示发送节点存在接收异常。
当块类型字段为0x33时,表示D 5D 6D 7为数据,且D 5为数据帧的第一个分片。0x78表示D1~D7为数据,且D1为数据帧的开始。
当块类型字段为0x87、0x99到0xff时,指示数据帧的最后一个分片,并根据类型的不同,指示数据帧的最后一个分片结束的位置。
应理解,块类型字段的取值还可以为图1未示出的其他取值,这里不再一一说明。
接收节点通过块类型字段的取值确定净荷携带S(用于指示数据帧的第一个分片)的编码块、净荷为数据信息的编码块、净荷携带T(用于指示数据帧的最后一个分片)的编码块,顺序抽取拼接编码块携带的数据信息,获得完整的数据帧。例如,发送节点向接收节点依次发送编码块1~7,其中,编码块1的同步字为10且块类型字段的取值为0x78,编码块2-6的同步字为01,编码块7的同步字为10且块类型字段的取值为0xe1。接收节点根据同步字和块类型字段的取值确定编码块1的净荷携带的D 1为数据帧的第一个分片,编码块2~6的净荷分别携带数据帧的一个分片,编码块7的净荷携带的D 5为数据帧的最后一个分片。接收节点可以将编码块1的净荷携带的D 1~D 7、编码块2的净荷携带的D 0~D 7、编码块3的净荷携带的D 0~D 7、编码块4的净荷携带的D 0~D 7、……、编码块6的净荷携带的D 0~D 7、编码块7的净荷携带的D 0~D 5按照先后顺序进行拼接得到数据帧。
在64B/66B线路编码、64B/65B线路编码中,数据帧的开始结束指示依赖于对块类型字段的进一步解析。由于同步字指示编码块的64比特的净荷包含控制信息,编码块的净荷的格式存在多种状态,处理的复杂度比较高,导致有线传输的时延较大。如果块类型字段存在错误,可能导致数据帧起始位置的丢失。
基于此,本申请实施例提供一种线路编码方法及装置,用于解决上述线路编码方式中数据帧的处理复杂度较高,时延较大且准确性较低的问题。其中,方法和装置是基于同一技术构思的,由于方法及设备解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。本申请实施例提供一种线路编码方法及装置,可以应用于车内网,特别是自动驾驶汽车车内网,也可以应用于其它有线传输设备。
下面将结合附图,对本申请实施例进行详细描述。
本申请提供一种线路编码方法,该方法可以应用于有线传输***。如图3所示,该方法包括:
S301,发送节点生成目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值。
其中,第一取值用于指示负荷包括数据帧的第一个分片,即指示位为第一取值时可以 指示该编码块携带的数据为数据帧的开始部分。
本申请实施例中,数据帧是泛指具有特定帧格式的报文,比如,Ethernet MAC帧、IP帧,等等,本申请实施例不约束数据帧的具体类型。
第二取值用于指示负荷包括数据帧的中间分片,即指示位为第二取值时可以指示该编码块携带的数据为数据帧的中间部分。
第三取值指示负荷包括数据帧的最后一个分片,即指示位为第三取值时可以指示该编码块携带的数据为数据帧的结束部分。
第四取值用于指示负荷包括非数据信息,即指示位为第四取值时可以指示该编码块携带非数据信息,例如物理层填充比特、子指示位、控制信息等。
一种可能的实施方式中,指示位可以包括2比特,该2比特的4种取值分别指示:负荷包括数据帧的第一个分片、负荷包括数据帧的中间分片、负荷包括数据帧的最后一个分片、负荷包括非数据信息。例如,如图4所示,指示位为00时,指示负荷包括数据帧的中间分片。指示位为01时,指示负荷包括数据帧的第一个分片。指示位为10时,指示数据帧的最后一个分片。指示位为11时,指示负荷包括非数据信息。
应理解,这里仅以2比特的指示位为例进行说明,在具体实施中,指示位包括的比特数量也可以为其他,例如3比特、4比特等,这里不做具体限定。若指示位包括的比特数大于2个,该指示位的其他取值也可以用来指示其他内容,或者也可以预留,这里不做具体限定。
本申请实施例中,负荷包括的比特数可以为Y个,Y为大于0的整数,例如,Y可以为64等。
本申请实施例中,数据帧的第一个分片(即数据帧的开始)、最后一个分片(即数据帧的结束)以及中间分片(即数据帧的延续)直接由指示位进行指示,与通过同步字指示数据/控制,再由块类型字段指示负荷的格式的方式相比,将数据帧开始、结束的位置与块类型字段解耦,直接由指示位进行指示,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
为了描述上的方便,下面将负荷包括数据信息的编码块称为数据编码块,即指示位取值为第一取值、第二取值或者第三取值时的编码块称为数据编码块,将负荷包括非数据信息的编码块称为控制编码块,即指示位取值为第四取值时的编码块称为控制编码块。
下面以目标编码块为数据编码块,即目标编码块的负荷包括数据信息,也就是目标编码块的指示位取值为第一取值、第二取值或者第三取值为例,对目标编码块进行说明。
一种实现方式中,发送节点生成目标编码块时,可以将数据帧划分成N个分片,N为大于1的整数,并对N个分片进行编码,得到N个数据编码块,其中,一个数据编码块可以携带数据帧的一个分片。该N个数据编码块包括目标编码块,若目标编码块的负荷包括N个分片中的第一个分片,目标编码块的指示位为第一取值;若目标编码块的负荷包括N个分片中的第n个分片,目标编码块的指示位为第二取值,n为大于1且小于N的整数;若目标编码块的负荷包括N个分片中的第N个分片,目标编码块的指示位为第三取值。
一种示例性中,在对数据帧进行分片时,可以将数据帧等长度的进行划分,即将数据帧划分为N个等长度的分片。例如,可以将数据帧划分为N个Y比特的分片,其中,Y比特为负荷的长度。
为了便于对方案的理解,下面结合图4所示的编码块结构,以指示位包括2比特、负 荷包括64比特为例,对数据帧的编码过程进行示例性说明:
A1,发送节点将第一数据帧划分为N个64比特的分片。
A2,发送节点将N个分片进行编码,得到N个数据编码块,其中,第1个数据编码块的指示位取值为01且负荷携带第一数据帧的第1个分片,第2个数据编码块~第N-1个数据编码块的指示位取值为00,且第2个数据编码块~第N-1个数据编码块的负荷分别携带第一数据帧的第2个分片~第N-1个分片,第N个数据编码块的指示位取值为10且负荷携带第一数据帧的第N个分片,如图5所示。
需要说明的是,该N个数据编码块可以是连续发送的,也可以是不连续的发送的,即控制编码块可以穿插在该N个编码块中任意两个编码块中间发送,例如,如图6所示,控制编码块可以在第2个数据编码块和第3个数据编码块之间发送。其中,该控制编码块的负荷(64B)可以携带物理层填充比特,或者也可以携带控制信息,或者还可以携带第二数据帧,第二数据帧为一个完整(未分片)的数据帧,可选的,第二数据帧与第一数据帧可以来自不同的接口,例如,第一数据帧来自MAC层接口,第二数据帧来自IP层接口等。
应理解,图6仅是一种示例性说明,并不对在数据编码块中穿插发送的控制编码块的数量、发送位置进行具体限定。
下面以目标编码块为控制编码块,即目标编码块的负荷包括非数据信息,也就是目标编码块的指示位取值为第四取值为例,对目标编码块进行说明。
一种示例性说明中,若目标编码块的负荷携带的比特为物理层填充比特,指示位可以为第四取值。
另一种示例性说明中,若指示位为第四取值,或者,若负荷携带物理层填充比特、负荷携带控制信息、负荷携带数据帧等非数据信息,目标编码块的负荷包括子指示位,例如,目标编码块的负荷的前X个比特为子指示位。例如,负荷的前8比特为子指示位。
子指示位可以通过不同取值分别指示:负荷携带物理层填充比特、负荷携带控制信息、负荷携带数据帧。
其中,若负荷携带物理层填充比特,子指示位可以指示负荷携带物理层填充比特,其中,负荷携带物理层填充比特可以是用于匹配速率,接收节点收到后可以丢弃。
若负荷携带控制信息,子指示位可以指示负荷携带控制信息。
可选的,子指示位还可以进一步指示负荷携带的控制信息的类型。示例性的,控制信息的类型可以包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。其中,不同类型可以通过子指示位的不同取值进行指示。
其中,块标识信息可以为循环冗余校验(cyclic redundancy check,CRC)块的控制信息(如CRC块编号,是否支持重传等),其中,CRC块可以由块标识信息、多个编码块、CRC校验构成的。CRC块可以采用一个编码块承载CRC块的控制信息。示例性的,可以在CRC块的第一个编码块或者最后一个编码块的负荷携带CRC块的控制信息。例如,如图7所示。
传输确认信息可以用于指示CRC块是否被正确接收。
间歇测试信息用于控制设备进入/退出在线测试模式。通过在线测试,设备可以短暂暂停数据传输,发送约定好的序列,进行干扰检测、误比特率(bit error ratio,BER)、误块率(block error ratio,BLER)等测试。退出在线测试后,设备可以快速恢复数据传输。间歇测试信息可以包括如下信息:间歇测试信息的类型,例如间歇测试请求信息、间隙测试 响应信息、间歇测试开始信息、间歇测试结束信息等;间歇测试启动的时间,比如间歇测试在多少个编码块或者多少个CRC块之后启动,其中,在间歇测试启动的时间可以在间歇测试开始类型的间歇测试信息中携带;间歇测试的持续时间,该持续时间可以是一个固定时长,或在请求消息中指示;在线测试退出,例如到时退出,又例如使用间歇测试结束退出等。示例性的,间歇测试过程可以如图8所示。
休眠信息用于控制进入/退出低功耗模式。在不需要进行数据传输时,设备可以进入低功耗模式,节省功耗。重新需要传输时,设备可以通过唤醒信息退出低功耗模式。休眠信息可以包括:休眠信息的类型,例如休眠请求、休眠响应、休眠开始、唤醒等;进入低功耗模式的时间,比如在多少个编码块或者多少个CRC块之后进入低功耗模式,其中,进入低功耗模式的时间可以在休眠开始类型的休眠信息中携带。示例性的,休眠过程可以如图9所示。
链路重训练信息用于控制进入链路重训练。由于传输信道随时间、温度等环境状态发生变化,链路质量变差。通过重训练,设备可获得更好的传输质量。链路重训练信息可以包括:链路重训练信息的类型,例如重训练请求、重训练响应、重训练开始等;重训练启动的时间,比如在多少个编码块或者多少个CRC块之后启动链路重训练。示例性的,链路重训练过程可以如图10所示。
若子指示位指示负荷携带数据帧,负荷可以携带一个完整的数据帧,即没有分片的数据帧,应理解,该数据帧的比特数不大于负荷包括的比特数。
为了便于对方案的理解,下面结合图4所示的编码块结构,以指示位包括2比特、负荷包括64比特为例,假设子指示位为负荷的前8比特,可以采用该8比特的7个取值分别指示:负荷携带物理层填充比特、负荷携带数据帧、负荷携带链路重训练信息、负荷携带休眠信息、负荷携带间歇测试信息、负荷携带块标识信息、负荷携带传输确认信息。例如,如图11所示,若子指示位为0x1e时,指示负荷携带物理层填充比特;若子指示位为0x2d时,指示负荷携带数据帧;若子指示位为0x33时,指示负荷携带链路重训练信息;若子指示位为0x4b时,指示负荷携带休眠信息;若子指示位为0x66时,指示负荷携带间歇测试信息;若子指示位为0x78时,指示负荷携带块标识信息;若子指示位为0x87时,指示负荷携带传输确认信息。
应理解,这里仅以8比特的子指示位为例进行说明,在具体实施中,子指示位包括的比特数量也可以为其他,例如7比特、9比特等,这里不做具体限定。若子指示位的状态值大于7个,该指示位的其他状态值也可以用来指示其他内容,或者也可以预留,这里不做具体限定。
应理解,本申请实施例中子指示位指示的内容仅是一种示例性说明,在具体实施中,子指示位指示的内容可以包括上述内容的全部或部分,此外,子指示位还可以指示其他内容,这里不再一一列举。
本申请实施例中,负荷可以承载多种控制信息、数据量较小的完整数据帧、Padding等,并且可以通过子指示位进一步指示负荷携带的内容,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。并且,本申请实施例中负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
在一些实施例中,若负荷携带控制信息,即指示位为第四取值,负荷中还可以包括CRC 字段,该CRC字段可以用于对控制信息进行校验保护。示例性的,CRC字段可以为8比特或者16比特。
例如,以图4所示的编码块结构,以指示位包括2比特、负荷包括64比特为例,假设子指示位为负荷的前8比特,该CRC字段可以为负荷的最后8比特或者16比特,如图12所示。
上述设计中,通过CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
S302,发送节点发送目标编码块。相应的,接收节点接收目标编码块。
S303,接收节点对目标编码块进行解析。
一种实现方式中,接收节点可以根据目标编码块的指示位的取值确定负荷携带的内容。其中,目标编码块的指示位、目标编码块的负荷具体可以参阅上述目标编码块的相关描述,这里不再重复赘述。
一个示例中,若负荷携带数据帧的一个分片,接收节点可以根据指示位的取值确定负荷携带的分片在数据帧中的位置,例如,指示位为第一取值时,负荷携带的分片为数据帧的第一个分片,即为数据帧的开始。指示位为第二取值时,负荷携带的分片为数据帧的中间分片,即为数据帧的延续。指示位为第三取值时,负荷携带的分片为数据帧的最后一个分片,即为数据帧的结束。接收节点根据负荷携带的分片在数据帧中的位置可以对接收到分片进行拼接,从而可以获得完整的数据帧。
本申请实施例中,数据帧的第一个分片(即数据帧的开始)、最后一个分片(即数据帧的结束)以及中间分片(即数据帧的延续)直接由指示位进行指示,与通过同步字指示数据/控制,再由块类型字段指示负荷的格式的方式相比,将数据帧开始、结束的位置与块类型字段解耦,直接由指示位进行指示,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
进一步的,若指示位为第四取值,负荷可以承载多种控制信息、数据量较小的完整数据帧、Padding等,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。并且,本申请实施例中负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销,使能在数据帧分片间***数据量较小的完整数据帧,降低数据量较小的完整数据帧的传输时延。
此外,在负荷携带控制信息时,通过负荷中包括CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
本申请提供另一种线路编码方法,该方法可以应用于有线传输***。如图13所示,该方法包括:
S1301,发送节点生成目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值和第二取值,其中,第一取值用于指示负荷包括第一数据帧的一个分片,第二取值用于指示负荷包括非数据信息。
本申请实施例中,数据帧是泛指具有特定帧格式的报文,比如,Ethernet MAC帧、IP帧,等等,本申请实施例不约束数据帧的具体类型。
一种可能的实施方式中,指示位可以包括1比特,该1比特的2种取值分别指示:负荷包括第一数据帧的一个分片、负荷包括非数据信息。例如,指示位为0时,指示负荷包括第一数据帧的一个分片。指示位为1时,指示负荷包括非数据信息。
应理解,这里仅以1比特的指示位为例进行说明,在具体实施中,指示位包括的比特 数量也可以为其他,例如2比特、5比特等,这里不做具体限定。若指示位包括的比特数大于1个,该指示位的其他取值也可以用来指示其他内容,或者也可以预留,这里不做具体限定。
本申请实施例中,负荷包括的比特数可以为Y个,Y为大于0的整数,例如,Y可以为64等。
若指示位为第二取值,负荷包括子指示位,子指示位用于指示如下信息中至少一项:目标编码块的下一个编码块携带第一数据帧的第一个分片、目标编码块的上一个编码块携带第一数据帧的最后一个分片、目标编码块的负荷携带的比特为物理层填充比特、目标编码块的负荷携带控制信息、目标编码块的负荷携带第一数据帧、第一数据帧和至少一个第二数据帧拼接。
本申请实施例中,通过子指示位指示数据帧开始或结束,可以降低指示位的开销,并通过在数据帧的第一个分片之前、最后一个分片之后分别***指示数据帧开始的编码块和指示数据帧结束的编码块,与由块类型字段指示负荷的格式的方式相比,由子指示位直接指示数据帧开始或结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
示例性的,若目标编码块的下一个编码块携带第一数据帧的第一个分片,目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片。
或者,若目标编码块的上一个编码块携带第一数据帧的最后一个分片,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,且目标编码块的负荷携带的比特为物理层填充比特。
或者,若目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的负荷携带的比特为物理层填充比特。
或者,若目标编码块的负荷携带控制信息,子指示位指示负荷携带控制信息,可进一步指示控制信息的类型。其中,控制信息具体可以参阅步骤S301中的控制信息的相关描述,这里不再重复赘述。
或者,若目标编码块的负荷携带第一数据帧,子指示位指示目标编码块的负荷携带第一数据帧。
或者,若目标编码块的负荷携带第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,子指示位指示第一数据帧和至少一个第二数据帧拼接。一种示例中,子指示位指示第一数据帧和至少一个第二数据帧拼接,具体可以指示第一数据帧和至少一个第二数据帧在负荷中的分界位置。其中,第一数据帧和至少一个第二数据帧在负荷中的位置可以指第一数据帧的边界,即第一数据帧结束的位置,至少一个第二数据帧的边界,即至少一个第二数据帧开始的位置、结束的位置。
以第一数据帧和一个第二数据帧拼接为例对目标编码块的负荷进行示例性说明。
示例一,目标编码块的负荷包括第二数据帧的第一个分片和第一数据帧,其中,第一个分片在第一数据帧之后。其中,第一数据帧为一个完整的数据帧,即没有分片的数据帧。
示例二,目标编码块的负荷包括第二数据帧的第一个分片和第一数据帧的最后一个分片,其中,第一个分片在最后一个分片之后。
示例三,目标编码块的负荷包括第一数据帧的最后一个分片和第二数据帧,其中,第 二数据帧在最后一个分片之后。其中,第二数据帧为一个完整的数据帧,即没有分片的数据帧。
示例四,目标编码块的负荷包括第一数据帧和第二数据帧,其中,第二数据帧在第一数据帧之后。其中,第一数据帧、第二数据帧为完整的数据帧,即没有分片的数据帧。
一种可能的实施方式中,第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。该帧间间隔可以具有帧间缓冲作用,示例性的,帧间间隔可以是8比特的填充,接收节点可以直接丢弃。
为了便于对方案的理解,以指示位包括1比特、负荷包括64比特为例,假设子指示位为负荷的前8比特,可以采用该8比特的9个取值分别指示:目标编码块的下一个编码块携带第一数据帧的第一个分片、目标编码块的上一个编码块携带第一数据帧的最后一个分片、目标编码块的负荷携带的比特为物理层填充比特、目标编码块的负荷携带第一数据帧、目标编码块的负荷携带第一数据帧、目标编码块的负荷携带链路重训练信息、目标编码块的负荷携带休眠信息、目标编码块的负荷携带间歇测试信息、目标编码块的负荷携带块标识信息、目标编码块的负荷携带传输确认信息,采用该8比特的另外6个取值,指示第一数据帧和至少一个第二数据帧拼接,以及第一数据帧和至少一个第二数据帧在负荷中的不同拼接位置。
例如,如图14所示,若子指示位为0x1e时,指示目标编码块的负荷携带物理层填充比特;若子指示位为0x2d时,指示目标编码块的负荷携带第一数据帧;若子指示位为0x33时,指示目标编码块的负荷携带链路重训练信息;若子指示位为0x4b时,指示目标编码块的负荷携带休眠信息;若子指示位为0x66时,指示目标编码块的负荷携带间歇测试信息;若子指示位为0x78时,指示目标编码块的负荷携带块标识信息;若子指示位为0x87时,指示目标编码块的负荷携带传输确认信息;若子指示位为0x99时,指示目标编码块的下一个编码块携带第一数据帧的第一个分片;若子指示位为0xAA时,指示目标编码块的上一个编码块携带第一数据帧的最后一个分片;若子指示位为0xE1~0xE6时,指示第一数据帧和至少一个第二数据帧拼接,第一数据帧和至少一个第二数据帧在负荷中的位置分别为负荷的1个字节,2个字节,3个字节,4个字节,5个字节,6个字节,即第一数据帧的最后一个分片分别为1~6字节。
需要说明的是,这里仅以8比特的子指示位为例进行说明,在具体实施中,子指示位包括的比特数量也可以为其他,例如7比特、9比特等,这里不做具体限定。若子指示位的状态值大于10个,该指示位的其他状态值也可以用来指示其他内容,或者也可以预留,这里不做具体限定。
应理解,本申请实施例中子指示位指示的内容仅是一种示例性说明,在具体实施中,子指示位指示的内容可以包括上述内容的全部或部分,此外,子指示位还可以指示其他内容,这里不再一一列举。
为了描述上的方便,下面将负荷包括数据信息的编码块称为数据编码块,即指示位取值为第一取值时的编码块称为数据编码块,将负荷包括非数据信息的编码块称为控制编码块,即指示位取值为第二取值时的编码块称为控制编码块。
一种实现方式中,发送节点生成目标编码块时,可以将第一数据帧划分成N个分片,N为大于1的整数。并对N个数据块进行编码,得到N+2个编码块,其中,N+2个编码块包括目标编码块,若目标编码块为N+2个编码块中的第一个编码块,目标编码块的指示 位为第二取值且子指示位用于指示目标编码块的下一个编码块携带第一数据帧的第一个分片;若目标编码块为N+2个编码块中的第n个编码块,目标编码块的指示位为第一取值,n为大于1且小于N+2的整数;若目标编码块为N+2个编码块中的第N+2个编码块,目标编码块的指示位为第二取值且子指示位用于指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。
一种示例性中,在对数据帧进行分片时,可以将数据帧等长度的进行划分,即将数据帧划分为N个等长度的分片。例如,可以将数据帧划分为N个Y比特的分片,其中,Y比特为负荷的长度。
为了便于对方案的理解,下面结合图14所示的编码块结构,假设负荷包括64比特,对数据帧的编码过程进行示例性说明:
B1,发送节点将数据帧1划分为N个64比特的分片。
B2,发送节点将N个分片进行编码,得到N+2个编码块,其中,第1个编码块的指示位取值为1、子指示位取值为0x99且负荷携带物理层填充比特,第2个数据编码块~第N-1个数据编码块的指示位取值为0,且第2个数据编码块~第N+1个数据编码块的负荷分别携带数据帧1的第1个分片~第N个分片,第N+2个数据编码块的指示位取值为1、子指示位取值为0xAA且负荷携带物理层填充比特,如图15所示。
需要说明的是,该N+2个编码块可以是连续发送的,也可以是不连续的发送的,即控制编码块可以穿插在该N+2个编码块中任意两个编码块中间发送,如图16所示。其中,该控制编码块的负荷可以携带物理层填充比特,或者也可以携带控制信息,或者还可以携带第二数据帧,第二数据帧为一个完整(未分片)的数据帧,可选的,第二数据帧与第一数据帧可以来自不同的接口,例如,第一数据帧来自MAC层接口,第二数据帧来自IP层接口等。
应理解,图16仅是一种示例性说明,并不对携带控制信息的其他编码块的数量、发送位置进行具体限定。
上述设计中,通过在数据帧的第一个分片之前以及最后一个分片之后分别***一个编码块来指示数据帧的开始和结束,接收节点可以简单直接的确定数据帧的开始和结束,与通过同步字指示数据/控制,再由块类型字段指示负荷的格式的方式相比,以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
示例性的,若子指示位指示目标编码块的负荷携带控制信息,即负荷携带控制信息,负荷可以包括CRC字段,该CRC字段用于对控制信息进行校验保护。
若子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片,或者,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,或者,子指示位指示目标编码块的负荷携带物理层填充比特,负荷也可以包括CRC字段。
示例性的,CRC字段可以为8比特或者16比特。
例如,以图14所示的编码块结构,假设负荷包括64比特,子指示位为负荷的前8比特,该CRC字段可以为负荷的最后8比特或者16比特,如图17或图18所示。
上述设计中,通过CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
S1302,发送节点发送目标编码块。相应的,接收节点接收目标编码块。
S1303,接收节点对目标编码块进行解析。
一种实现方式中,接收节点可以根据目标编码块的指示位的取值以及子指示位的取值 确定负荷携带的内容。其中,目标编码块的指示位、负荷、子指示位具体可以参阅上述S1301中目标编码块的相关描述,这里不再重复赘述。
一个示例中,若第一编码块的负荷携带数据帧的一个分片,接收节点可以根据该第一编码块之前的第二编码块、该第一编码块之后的第三编码块的指示位的取值以及子指示位的取值确定第一编码块的负荷携带的分片在数据帧中的位置,例如,若第二编码块的指示位为第二取值且子指示位指示该编码块的下一个编码块携带数据帧的第一个分片,第一编码块的负荷携带的分片为数据帧的第一个分片,即为数据帧的开始。若第三编码块的指示位为第二取值且子指示位指示该编码块的上一个编码块携带数据帧的最后一个分片,第一编码块的负荷携带的分片为数据帧的最后一个分片,即为数据帧的结束。若第二编码块和第三编码块的指示位均为第一取值,第一编码块的负荷携带的分片为数据帧的中间分片,即为数据帧的延续。接收节点根据第一编码块的负荷携带的分片在数据帧中的位置可以对接收到的分片进行拼接,从而可以获得完整的数据帧。
本申请实施例中,通过子指示位指示数据帧开始或结束,可以降低指示位的开销,并通过在数据帧的第一个分片之前、最后一个分片之后分别***指示数据帧开始的编码块和指示数据帧结束的编码块,与由块类型字段指示负荷的格式的方式相比,由子指示位直接指示数据帧开始或结束,可以简化数据处理复杂度,从而可以降低有线传输的复杂度以及时延。
此外,若指示位为第二取值,负荷可以承载多种控制信息、数据量较小的完整数据帧、Padding等,从而编码块可以支持复杂的控制信息,并且可以提高指示的灵活性。并且,本申请实施例中负荷支持承载数据量较小的完整数据帧,从而降低数据量较小的数据帧传输开销。而且,本申请实施例中负荷支持两个或两个以上数据帧的拼接,从而可以提高数据传输的灵活性。
此外,通过负荷中包括CRC字段,可以确保控制信息的可靠性,从而可以避免错误控制。
基于与方法实施例的同一技术构思,本申请实施例提供一种通信装置。该装置的结构可以如图19所示,包括处理单元1901以及收发单元1902。
一种实现方式中,通信装置具体可以用于实现图3至图12的实施例中发送节点执行的方法,该装置可以是发送节点本身,也可以是发送节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,处理单元1901,用于生成目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值,其中,第一取值用于指示负荷包括数据帧的第一个分片,第二取值用于指示负荷包括数据帧的中间分片,第三取值指示负荷包括数据帧的最后一个分片,第四取值用于指示负荷包括非数据信息;收发单元1902,用于发送目标编码块。
一个实施例中,处理单元1901,具体用于:将数据帧划分成N个分片,N为大于1的整数;对N个分片进行编码,得到N个编码块,其中,N个编码块包括目标编码块,若目标编码块的负荷包括N个分片中的第一个分片,目标编码块的指示位为第一取值;若目标编码块的负荷包括N个分片中的第n个分片,目标编码块的指示位为第二取值,n为大于1且小于N的整数;若目标编码块的负荷包括N个分片中的第N个分片,目标编码块的指示位为第三取值。
示例性的,非数据信息包括如下至少一项:填充比特、子指示位、控制信息。
可选的,若负荷携带的比特为填充比特,指示位为第四取值。
可选的,子指示位用于指示负荷携带物理层填充比特;或者,子指示位用于指示负荷携带控制信息;或者,子指示位用于指示负荷携带数据帧。
示例性的,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
一种示例性说明中,若负荷携带控制信息,负荷中还包括用于检验保护的CRC字段。
另一种实现方式中,通信装置具体可以用于实现图13至图18的实施例中发送节点执行的方法,该装置可以是发送节点本身,也可以是发送节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,处理单元1901,用于生成目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值和第二取值,其中,第一取值用于指示负荷包括第一数据帧的一个分片,第二取值用于指示负荷包括非数据信息;若指示位为第二取值,负荷包括子指示位。
子指示位用于指示如下信息中至少一项:
目标编码块的下一个编码块携带第一数据帧的第一个分片;
目标编码块的上一个编码块携带第一数据帧的最后一个分片;
目标编码块的负荷携带的比特为物理层填充比特;
目标编码块的负荷携带控制信息;
目标编码块的负荷携带第一数据帧;
所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中拼接。
收发单元1902,用于发送目标编码块。
示例性的,若目标编码块的下一个编码块携带第一数据帧的第一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片。
或者,若目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。
或者,若目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的负荷携带的比特为物理层填充比特。
或者,若目标编码块的负荷携带控制信息,子指示位指示负荷携带控制信息,可选的,子控制位进一步指示控制信息的类型。
或者,若目标编码块的负荷携带第一数据帧,子指示位指示目标编码块的负荷携带第一数据帧。
或者,若目标编码块的负荷携带第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,子指示位指示第一数据帧和至少一个第二数据帧拼接。
可选的,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
一个实施例中,处理单元1901,具体用于:将第一数据帧划分成N个分片,N为大于1的整数;对N个数据块进行编码,得到N+2个编码块,其中,N+2个编码块包括目标编码块,若目标编码块为N+2个编码块中的第一个编码块,目标编码块的指示位为第二取值且子指示位用于指示目标编码块的下一个编码块携带第一数据帧的第一个分片;若目标编 码块为N+2个编码块中的第n个编码块,目标编码块的指示位为第一取值,n为大于1且小于N+2的整数;若目标编码块为N+2个编码块中的第N+2个编码块,目标编码块的指示位为第二取值且子指示位用于指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。
示例性的,若子指示位指示目标编码块的负荷包含的控制信息的类型,负荷包括用于检验保护的CRC字段;和/或,若子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片,或者,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷包括用于检验保护的CRC字段。
可选的,子指示位指示第一数据帧和至少一个第二数据帧拼接,包括:子指示位还指示第一数据帧和至少一个第二数据帧在负荷中的分界位置。
一种示例性说明中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧,其中,第一个分片在第一数据帧之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧的最后一个分片,其中,第一个分片在最后一个分片之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧的最后一个分片和至少一个第二数据帧,其中,至少一个第二数据帧在最后一个分片之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧和至少一个第二数据帧,其中,至少一个第二数据帧在第一数据帧之后。
可选的,第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。
再一种实现方式中,通信装置具体可以用于实现图3至图12的实施例中接收节点执行的方法,该装置可以是接收节点本身,也可以是接收节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元1902,用于接收目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值、第二取值、第三取值以及第四取值,其中,第一取值用于指示负荷包括数据帧的第一个分片,第二取值用于指示负荷包括数据帧的中间分片,第三取值指示负荷包括数据帧的最后一个分片,第四取值用于指示负荷包括非数据信息;处理单元1901,用于对所述目标编码块进行解析。
一个实施例中,处理单元1901,具体用于:若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的第一个分片;若所述目标编码块的所述指示位为所述第二取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的中间分片;若所述目标编码块的所述指示位为所述第三取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的最后一个分片。
示例性的,非数据信息包括如下至少一项:填充比特、子指示位、控制信息。
可选的,若负荷携带的比特为填充比特,指示位为第四取值。
可选的,子指示位用于指示负荷携带物理层填充比特;或者,子指示位用于指示负荷携带控制信息;或者,子指示位用于指示负荷携带数据帧。
示例性的,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
一种示例性说明中,若负荷携带控制信息,负荷中还包括用于检验保护的CRC字段。
又一种实现方式中,通信装置具体可以用于实现图13至图18的实施例中接收节点执行的方法,该装置可以是接收节点本身,也可以是接收节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元1902,用于接收目标编码块,目标编码块包括指示位以及负荷,指示位包括第一取值和第二取值,其中,第一取值用于指示负荷包括第一数据帧的一个分片,第二取值用于指示负荷包括非数据信息;若指示位为第二取值,负荷包括子指示位。
子指示位用于指示如下信息中至少一项:
目标编码块的下一个编码块携带第一数据帧的第一个分片;
目标编码块的上一个编码块携带第一数据帧的最后一个分片;
目标编码块的负荷携带的比特为物理层填充比特;
目标编码块的负荷携带控制信息;
目标编码块的负荷携带第一数据帧;
所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中拼接。
处理单元1901,用于对所述目标编码块进行解析。
示例性的,若目标编码块的下一个编码块携带第一数据帧的第一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的下一个编码块携带第一数据帧的第一个分片。
或者,若目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷携带的比特为物理层填充比特,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片。
或者,若目标编码块的负荷携带的比特为物理层填充比特,子指示位指示目标编码块的负荷携带的比特为物理层填充比特。
或者,若目标编码块的负荷携带控制信息,子指示位指示负荷携带控制信息,可选的,子控制位进一步指示控制信息的类型。
或者,若目标编码块的负荷携带第一数据帧,子指示位指示目标编码块的负荷携带第一数据帧。
或者,若目标编码块的负荷携带第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,子指示位指示第一数据帧和至少一个第二数据帧拼接。
可选的,控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
一个实施例中,处理单元1901,具体用于:若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,确定所述目标编码块的下一个编码块携带的分片为所述第一数据帧的第一个分片;若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的负荷携带的分片为所述第一数据帧的中间分片;若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,确定所述目标编码块的上一个编码块携带的分片为所述第一数据帧的最后一个分片。
示例性的,若子指示位指示目标编码块的负荷包含的控制信息的类型,负荷包括用于检验保护的CRC字段;和/或,若子指示位指示目标编码块的下一个编码块携带第一数据 帧的第一个分片,或者,子指示位指示目标编码块的上一个编码块携带第一数据帧的最后一个分片,负荷包括用于检验保护的CRC字段。
可选的,子指示位指示第一数据帧和至少一个第二数据帧拼接,包括:子指示位还指示第一数据帧和至少一个第二数据帧在负荷中的分界位置。
一种示例性说明中,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧,其中,第一个分片在第一数据帧之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和第一数据帧的最后一个分片,其中,第一个分片在最后一个分片之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧的最后一个分片和至少一个第二数据帧,其中,至少一个第二数据帧在最后一个分片之后。
或者,第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:第一数据帧和至少一个第二数据帧,其中,至少一个第二数据帧在第一数据帧之后。
可选的,第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可以理解的是,本申请实施例中各个模块的功能或者实现可以进一步参考方法实施例的相关描述。
一种可能的方式中,通信装置可以如图20所示,该装置可以是发送节点或者发送节点中的芯片。该装置可以包括处理器2001,通信接口2002,存储器2003。其中,处理单元1901可以为处理器2001。收发单元1902可以为通信接口2002。
处理器2001,可以是一个CPU,或者为数字处理单元等等。通信接口2002可以是收发器、也可以为接口电路如收发电路等、也可以为收发芯片等等。该装置还包括:存储器2003,用于存储处理器2001执行的程序。存储器2003可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器2003是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。
处理器2001用于执行存储器2003存储的程序代码,具体用于执行上述处理单元1901的动作,本申请在此不再赘述。通信接口2002具体用于执行上述收发单元1902的动作,本申请在此不再赘述。
本申请实施例中不限定上述通信接口2002、处理器2001以及存储器2003之间的具体连接介质。本申请实施例在图20中以存储器2003、处理器2001以及通信接口2002之间通过总线2004连接,总线在图20中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图20中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本申请实施例还提供一种通信***,包括用于实现图3至图12的实施例中发送节点 功能的通信装置和用于实现图3至图12的实施例中接收节点功能的通信装置。
本申请实施例还提供一种通信***,包括用于实现图13至图18的实施例中发送节点功能的通信装置和用于实现图13至图18的实施例中接收节点功能的通信装置。
本申请实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (40)

  1. 一种线路编码方法,其特征在于,所述方法包括:
    生成目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值、第二取值、第三取值以及第四取值,其中,所述第一取值用于指示所述负荷包括数据帧的第一个分片,所述第二取值用于指示所述负荷包括所述数据帧的中间分片,所述第三取值指示所述负荷包括所述数据帧的最后一个分片,所述第四取值用于指示所述负荷包括非数据信息;
    发送所述目标编码块。
  2. 如权利要求1所述的方法,其特征在于,所述生成目标编码块,包括:
    将所述数据帧划分成N个分片,所述N为大于1的整数;
    对所述N个分片进行编码,得到N个编码块,其中,所述N个编码块包括所述目标编码块,若所述目标编码块的所述负荷包括所述N个分片中的第一个分片,所述目标编码块的所述指示位为所述第一取值;若所述目标编码块的所述负荷包括所述N个分片中的第n个分片,所述目标编码块的所述指示位为所述第二取值,所述n为大于1且小于N的整数;若所述目标编码块的所述负荷包括所述N个分片中的第N个分片,所述目标编码块的所述指示位为所述第三取值。
  3. 如权利要求1所述的方法,其特征在于,所述非数据信息包括如下至少一项:填充比特、子指示位、控制信息。
  4. 如权利要求3所述的方法,其特征在于,若所述负荷携带的比特为所述填充比特,所述指示位为所述第四取值。
  5. 如权利要求3所述的方法,其特征在于,所述子指示位用于指示所述负荷携带物理层填充比特;
    或者,所述子指示位用于指示所述负荷携带所述控制信息;
    或者,所述子指示位用于指示所述负荷携带所述数据帧。
  6. 如权利要求5所述的方法,其特征在于,所述控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
  7. 如权利要求5或6所述的方法,其特征在于,若所述负荷携带控制信息,所述负荷中还包括用于检验保护的循环冗余校验CRC字段。
  8. 一种线路编码方法,其特征在于,所述方法包括:
    生成目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值和第二取值,其中,所述第一取值用于指示所述负荷包括第一数据帧的一个分片,所述第二取值用于指示所述负荷包括非数据信息;若所述指示位为所述第二取值,所述负荷包括子指示位,所述子指示位用于指示如下信息中至少一项:
    所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    所述目标编码块的负荷携带的比特为物理层填充比特;
    所述目标编码块的负荷携带控制信息;
    所述目标编码块的负荷携带所述第一数据帧;
    所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中拼接;
    发送所述目标编码块。
  9. 如权利要求8所述的方法,其特征在于,若所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    或者,若所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    或者,若所述目标编码块的所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的负荷携带的比特为物理层填充比特;
    或者,若所述目标编码块的所述负荷携带控制信息,所述子指示位指示所述目标编码块的负荷携带控制信息;
    或者,若所述目标编码块的所述负荷携带所述第一数据帧,所述子指示位指示所述目标编码块的负荷携带所述第一数据帧;
    或者,若所述目标编码块的所述负荷携带所述第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,所述子指示位指示所述第一数据帧和所述至少一个第二数据帧拼接。
  10. 如权利要求8或9所述的方法,其特征在于,所述控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
  11. 如权利要求8-10任一项所述的方法,其特征在于,所述生成目标编码块,包括:
    将所述第一数据帧划分成N个分片,所述N为大于1的整数;
    对所述N个数据块进行编码,得到N+2个编码块,其中,所述N+2个编码块包括所述目标编码块,若所述目标编码块为所述N+2个编码块中的第一个编码块,所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;若所述目标编码块为所述N+2个编码块中的第n个编码块,所述目标编码块的所述指示位为所述第一取值,所述n为大于1且小于N+2的整数;若所述目标编码块为所述N+2个编码块中的第N+2个编码块,所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片。
  12. 如权利要求8-11任一项所述的方法,其特征在于,若所述子指示位指示所述目标编码块的负荷携带控制信息,所述负荷包括用于检验保护的循环冗余校验CRC字段;
    和/或
    若所述子指示位指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,或者,所述子指示位指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,所述负荷包括用于检验保护的CRC字段。
  13. 如权利要求8-12任一项所述的方法,其特征在于,所述子指示位指示所述第一数据帧和至少一个第二数据帧拼接,包括:所述子指示位还指示所述第一数据帧和所述至少一个第二数据帧在所述负荷中的分界位置。
  14. 如权利要求9所述的方法,其特征在于,所述第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:
    一个第二数据帧的第一个分片和所述第一数据帧,其中,所述第一个分片在所述第一 数据帧之后;或者,
    一个第二数据帧的第一个分片和所述第一数据帧的最后一个分片,其中,所述第一个分片在所述最后一个分片之后;或者
    所述第一数据帧的最后一个分片和至少一个第二数据帧,其中,所述至少一个第二数据帧在所述最后一个分片之后;或者
    所述第一数据帧和至少一个第二数据帧,其中,所述至少一个第二数据帧在所述第一数据帧之后。
  15. 如权利要求8-14任一项所述的方法,其特征在于,所述第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。
  16. 一种线路编码方法,其特征在于,所述方法包括:
    接收目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值、第二取值、第三取值以及第四取值,其中,所述第一取值用于指示所述负荷包括数据帧的第一个分片,所述第二取值用于指示所述负荷包括所述数据帧的中间分片,所述第三取值指示所述负荷包括所述数据帧的最后一个分片,所述第四取值用于指示所述负荷包括非数据信息;
    对所述目标编码块进行解析。
  17. 如权利要求16所述的方法,其特征在于,所述对所述目标编码块进行解析,包括:
    若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的第一个分片;
    若所述目标编码块的所述指示位为所述第二取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的中间分片;
    若所述目标编码块的所述指示位为所述第三取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的最后一个分片。
  18. 一种线路编码方法,其特征在于,所述方法包括:
    接收目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值和第二取值,其中,所述第一取值用于指示所述负荷包括第一数据帧的一个分片,所述第二取值用于指示所述负荷包括非数据信息;若所述指示位为所述第二取值,所述负荷包括子指示位,所述子指示位用于指示如下信息中至少一项:
    所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    所述目标编码块的负荷携带的比特为物理层填充比特;
    所述目标编码块的负荷携带控制信息;
    所述目标编码块的负荷携带所述第一数据帧;
    所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中拼接;
    对所述目标编码块进行解析。
  19. 如权利要求18所述的方法,其特征在于,所述对所述目标编码块进行解析,包括:
    若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,则确定所述目标编码块的下一 个编码块携带的分片为所述第一数据帧的第一个分片;
    若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的负荷携带的分片为所述第一数据帧的中间分片;
    若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,确定所述目标编码块的上一个编码块携带的分片为所述第一数据帧的最后一个分片。
  20. 一种通信装置,其特征在于,所述装置包括:
    处理单元,用于生成目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值、第二取值、第三取值以及第四取值,其中,所述第一取值用于指示所述负荷包括数据帧的第一个分片,所述第二取值用于指示所述负荷包括所述数据帧的中间分片,所述第三取值指示所述负荷包括所述数据帧的最后一个分片,所述第四取值用于指示所述负荷包括非数据信息;
    收发单元,用于发送所述目标编码块。
  21. 如权利要求20所述的装置,其特征在于,所述处理单元,具体用于:
    将所述数据帧划分成N个分片,所述N为大于1的整数;
    对所述N个分片进行编码,得到N个编码块,其中,所述N个编码块包括所述目标编码块,若所述目标编码块的所述负荷包括所述N个分片中的第一个分片,所述目标编码块的所述指示位为所述第一取值;若所述目标编码块的所述负荷包括所述N个分片中的第n个分片,所述目标编码块的所述指示位为所述第二取值,所述n为大于1且小于N的整数;若所述目标编码块的所述负荷包括所述N个分片中的第N个分片,所述目标编码块的所述指示位为所述第三取值。
  22. 如权利要求20所述的装置,其特征在于,所述非数据信息包括如下至少一项:填充比特、子指示位、控制信息。
  23. 如权利要求22所述的装置,其特征在于,若所述负荷携带的比特为所述填充比特,所述指示位为所述第四取值。
  24. 如权利要求22所述的装置,其特征在于,所述子指示位用于指示所述负荷携带物理层填充比特;
    或者,所述子指示位用于指示所述负荷携带所述控制信息;
    或者,所述子指示位用于指示所述负荷携带所述数据帧。
  25. 如权利要求24所述的装置,其特征在于,所述控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
  26. 如权利要求24或25所述的装置,其特征在于,若所述负荷携带控制信息,所述负荷中还包括用于检验保护的循环冗余校验CRC字段。
  27. 一种通信装置,其特征在于,所述装置包括:
    处理单元,用于生成目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值和第二取值,其中,所述第一取值用于指示所述负荷包括第一数据帧的一个分片,所述第二取值用于指示所述负荷包括非数据信息;若所述指示位为所述第二取值,所述负荷包括子指示位,所述子指示位用于指示如下信息中至少一项:
    所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    所述目标编码块的负荷携带的比特为物理层填充比特;
    所述目标编码块的负荷携带所述控制信息;
    所述目标编码块的负荷携带所述第一数据帧;
    所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中进行拼接;
    收发单元,用于发送所述目标编码块。
  28. 如权利要求27所述的装置,其特征在于,若所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    或者,若所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    或者,若所述目标编码块的所述负荷携带的比特为物理层填充比特,所述子指示位指示所述目标编码块的负荷携带的比特为物理层填充比特;
    或者,若所述目标编码块的所述负荷携带控制信息,所述子指示位指示所述目标编码块的负荷携带控制信息;
    或者,若所述目标编码块的所述负荷携带所述第一数据帧,所述子指示位指示所述目标编码块的负荷携带所述第一数据帧;
    或者,若所述目标编码块的所述负荷携带所述第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,所述子指示位指示所述第一数据帧和所述至少一个第二数据帧拼接。
  29. 如权利要求27或28所述的装置,其特征在于,所述控制信息的类型包括如下至少一项:块标识信息、传输确认信息、间歇测试信息,休眠信息、链路重训练信息。
  30. 如权利要求27-29任一项所述的装置,其特征在于,所述处理单元,具体用于:
    将所述第一数据帧划分成N个分片,所述N为大于1的整数;
    对所述N个数据块进行编码,得到N+2个编码块,其中,所述N+2个编码块包括所述目标编码块,若所述目标编码块为所述N+2个编码块中的第一个编码块,所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;若所述目标编码块为所述N+2个编码块中的第n个编码块,所述目标编码块的所述指示位为所述第一取值,所述n为大于1且小于N+2的整数;若所述目标编码块为所述N+2个编码块中的第N+2个编码块,所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片。
  31. 如权利要求27-30任一项所述的装置,其特征在于,若所述子指示位指示所述目标编码块的负荷携带控制信息,所述负荷包括用于检验保护的循环冗余校验CRC字段;
    和/或
    若所述子指示位指示所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片,或者,所述子指示位指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,所述负荷包括用于检验保护的CRC字段。
  32. 如权利要求27-31任一项所述的装置,其特征在于,所述子指示位指示所述第一数据帧和至少一个第二数据帧拼接,包括:所述子指示位还指示所述第一数据帧和所述至 少一个第二数据帧在所述负荷中的分界位置。
  33. 如权利要求28所述的装置,其特征在于,所述第一数据帧的全部或部分数据以及至少一个第二数据帧的全部或部分数据,包括:一个第二数据帧的第一个分片和所述第一数据帧,其中,所述第一个分片在所述第一数据帧之后;或者
    一个第二数据帧的第一个分片和所述第一数据帧的最后一个分片,其中,所述第一个分片在所述最后一个分片之后;或者
    所述第一数据帧的最后一个分片和至少一个第二数据帧,其中,所述至少一个第二数据帧在所述最后一个分片之后;或者
    所述第一数据帧和至少一个第二数据帧,其中,所述至少一个第二数据帧在所述第一数据帧之后。
  34. 如权利要求27-33任一项所述的装置,其特征在于,所述第一数据帧和至少一个第二数据帧中相邻的两个数据帧之间存在帧间间隔。
  35. 一种通信装置,其特征在于,所述装置包括:
    收发单元,用于接收目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值、第二取值、第三取值以及第四取值,其中,所述第一取值用于指示所述负荷包括数据帧的第一个分片,所述第二取值用于指示所述负荷包括所述数据帧的中间分片,所述第三取值指示所述负荷包括所述数据帧的最后一个分片,所述第四取值用于指示所述负荷包括非数据信息;
    处理单元,用于对所述目标编码块进行解析。
  36. 如权利要求35所述的装置,其特征在于,所述处理单元,具体用于:
    若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的第一个分片;
    若所述目标编码块的所述指示位为所述第二取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的中间分片;
    若所述目标编码块的所述指示位为所述第三取值,确定所述目标编码块的所述负荷携带的分片为所述数据帧的最后一个分片。
  37. 一种通信装置,其特征在于,所述装置包括:
    收发单元,用于接收目标编码块,所述目标编码块包括指示位以及负荷,所述指示位包括第一取值和第二取值,其中,所述第一取值用于指示所述负荷包括第一数据帧的一个分片,所述第二取值用于指示所述负荷包括非数据信息;若所述指示位为所述第二取值,所述负荷包括子指示位,所述子指示位用于指示如下信息中至少一项:
    所述目标编码块的下一个编码块携带所述第一数据帧的第一个分片;
    所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片;
    所述目标编码块的负荷携带的比特为物理层填充比特;
    所述目标编码块的负荷携带控制信息;
    所述目标编码块的负荷携带所述第一数据帧;
    所述第一数据帧和至少一个第二数据帧在所述目标编码块的负荷中进行拼接;
    处理单元,用于对所述目标编码块进行解析。
  38. 如权利要求37所述的装置,其特征在于,所述处理单元,具体用于:
    若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标 编码块的下一个编码块携带所述第一数据帧的第一个分片,确定所述目标编码块的下一个编码块携带的分片为所述第一数据帧的第一个分片;
    若所述目标编码块的所述指示位为所述第一取值,确定所述目标编码块的负荷携带的分片为所述第一数据帧的中间分片;
    若所述目标编码块的所述指示位为所述第二取值且所述子指示位用于指示所述目标编码块的上一个编码块携带所述第一数据帧的最后一个分片,确定所述目标编码块的上一个编码块携带的分片为所述第一数据帧的最后一个分片。
  39. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储程序或指令,所述程序或所述指令在被一个或多个处理器读取并执行时可实现权利要求1至15任一项所述的方法,或者,所述程序或所述指令在被一个或多个处理器读取并执行时可实现权利要求16至19任一项所述的方法。
  40. 一种计算机程序产品,其特征在于,当所述计算机程序产品在设备上运行时,使得所述设备执行权利要求1至7任一项所述的方法,或者,使得所述设备执行权利要求8至15任一项所述的方法,或者,使得所述设备执行权利要求16或17所述的方法,或者,使得所述设备执行权利要求18或19所述的方法。
PCT/CN2020/116325 2020-09-18 2020-09-18 一种线路编码方法及装置 WO2022056884A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
PCT/CN2020/116325 WO2022056884A1 (zh) 2020-09-18 2020-09-18 一种线路编码方法及装置
KR1020237012838A KR20230069206A (ko) 2020-09-18 2020-09-18 라인 코딩 방법 및 장치
CN202080015095.8A CN113454935B (zh) 2020-09-18 2020-09-18 一种线路编码方法及装置
EP20953742.2A EP4203354A4 (en) 2020-09-18 2020-09-18 ONLINE CODING METHOD AND DEVICE
CA3195727A CA3195727A1 (en) 2020-09-18 2020-09-18 Line coding method and apparatus
BR112023005028A BR112023005028A2 (pt) 2020-09-18 2020-09-18 Método e aparelho de codificação de linha
CN202211141026.9A CN115694728A (zh) 2020-09-18 2020-09-18 一种线路编码方法及装置
JP2023518275A JP2023541710A (ja) 2020-09-18 2020-09-18 ラインコーディング方法および装置
US18/185,949 US20230396360A1 (en) 2020-09-18 2023-03-17 Line Coding Method and Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/116325 WO2022056884A1 (zh) 2020-09-18 2020-09-18 一种线路编码方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/185,949 Continuation US20230396360A1 (en) 2020-09-18 2023-03-17 Line Coding Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2022056884A1 true WO2022056884A1 (zh) 2022-03-24

Family

ID=77808754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/116325 WO2022056884A1 (zh) 2020-09-18 2020-09-18 一种线路编码方法及装置

Country Status (8)

Country Link
US (1) US20230396360A1 (zh)
EP (1) EP4203354A4 (zh)
JP (1) JP2023541710A (zh)
KR (1) KR20230069206A (zh)
CN (2) CN115694728A (zh)
BR (1) BR112023005028A2 (zh)
CA (1) CA3195727A1 (zh)
WO (1) WO2022056884A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692633A (zh) * 2009-09-10 2010-04-07 中兴通讯股份有限公司 一种编码/解码的方法及装置
US20160182084A1 (en) * 2013-08-30 2016-06-23 Huawei Technologies Co.,Ltd. Physical layer encoding and decoding method and apparatuses thereof
WO2019184998A1 (zh) * 2018-03-30 2019-10-03 华为技术有限公司 一种通信方法、通信设备及存储介质
CN111147185A (zh) * 2015-01-22 2020-05-12 华为技术有限公司 一种利用以太网信道传输业务信号的方法及通信设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1998239B (zh) * 2004-07-01 2011-11-30 奥伊加梅克拉斯特公司 向解码器提供数据的方法和设备
CN101494655B (zh) * 2009-03-12 2012-06-27 中国电信股份有限公司 Rtp分布式流媒体服务***及方法
CN102595495A (zh) * 2012-02-07 2012-07-18 北京新岸线无线技术有限公司 一种数据发送、接收方法和装置
WO2017206306A1 (zh) * 2016-06-01 2017-12-07 华为技术有限公司 一种数据帧发送、接收的方法和设备
CN108289007B (zh) * 2017-01-10 2022-04-15 中兴通讯股份有限公司 数据包传输方法及装置
CN110890936B (zh) * 2018-09-07 2021-12-14 华为技术有限公司 一种码块生成方法、接收方法和装置
CN110971352B (zh) * 2018-09-30 2021-01-26 大唐移动通信设备有限公司 一种上行增强rlc分片的harq重传处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692633A (zh) * 2009-09-10 2010-04-07 中兴通讯股份有限公司 一种编码/解码的方法及装置
US20160182084A1 (en) * 2013-08-30 2016-06-23 Huawei Technologies Co.,Ltd. Physical layer encoding and decoding method and apparatuses thereof
CN111147185A (zh) * 2015-01-22 2020-05-12 华为技术有限公司 一种利用以太网信道传输业务信号的方法及通信设备
WO2019184998A1 (zh) * 2018-03-30 2019-10-03 华为技术有限公司 一种通信方法、通信设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4203354A4 *

Also Published As

Publication number Publication date
KR20230069206A (ko) 2023-05-18
CN113454935A (zh) 2021-09-28
CA3195727A1 (en) 2022-03-24
US20230396360A1 (en) 2023-12-07
CN115694728A (zh) 2023-02-03
JP2023541710A (ja) 2023-10-03
EP4203354A1 (en) 2023-06-28
BR112023005028A2 (pt) 2023-04-18
CN113454935B (zh) 2022-09-23
EP4203354A4 (en) 2023-11-22

Similar Documents

Publication Publication Date Title
US11296807B2 (en) Techniques to operate a time division multiplexing(TDM) media access control (MAC)
US11429553B2 (en) Flit-based packetization
US7693090B1 (en) Systems and methods for discovering PME bonding groups
US20130205053A1 (en) Pci express tunneling over a multi-protocol i/o interconnect
CN111010253B (zh) 一种基于hinoc协议的himac拆帧***、方法
US8649398B2 (en) Packet network interface apparatus and method
US20100070825A1 (en) Fast Low-Density Parity-Check Code Encoder
EP2006777A1 (en) Bus inverting code generating apparatus and method of generating bus inverting code using the same
KR101743779B1 (ko) 매체 접근 제어 프로토콜 데이터 유닛에 제어정보를 인코딩 및 디코딩하는 장치 및 방법
US9485053B2 (en) Long-distance RapidIO packet delivery
JP3780419B2 (ja) データ転送制御装置及び電子機器
WO2022056884A1 (zh) 一种线路编码方法及装置
EP1988470A2 (en) Network device and transmission method thereof
EP2201740B1 (en) High speed packet processing in a wireless network
WO2012149775A1 (zh) 数据处理的方法和装置
WO2018133415A1 (zh) 一种物理编码子层的数据编解码方法和装置、存储介质
CN117897697A (zh) 用于芯片到芯片接口的按需分组化
EP2337017B1 (en) A packet structure for a mobile display digital interface
US20140089529A1 (en) Management Data Input/Output Protocol With Page Write Extension
KR102670789B1 (ko) Mipi a-phy rts 계층 설계 및 구현
CN117914444A (zh) 一种ib网络数据包crc计算的硬件实现方法和装置
CN113395285B (zh) 一种cpu与fpga间的网络层通信方法
TWI678627B (zh) 高效單線通信資料傳輸方法及利用其之通信系統
CN118245004A (zh) 接口装置和显示***
CN115086192A (zh) 一种数据处理方法、装置、***及监控卡

Legal Events

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

Ref document number: 20953742

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3195727

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2023518275

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2020953742

Country of ref document: EP

Effective date: 20230322

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112023005028

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20237012838

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112023005028

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20230317

NENP Non-entry into the national phase

Ref country code: DE