WO2022170561A1 - 一种信息传输方法及装置 - Google Patents

一种信息传输方法及装置 Download PDF

Info

Publication number
WO2022170561A1
WO2022170561A1 PCT/CN2021/076521 CN2021076521W WO2022170561A1 WO 2022170561 A1 WO2022170561 A1 WO 2022170561A1 CN 2021076521 W CN2021076521 W CN 2021076521W WO 2022170561 A1 WO2022170561 A1 WO 2022170561A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data packet
data packets
frame
packet
Prior art date
Application number
PCT/CN2021/076521
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 EP21925224.4A priority Critical patent/EP4280488A4/en
Priority to CN202310745403.8A priority patent/CN117255069A/zh
Priority to PCT/CN2021/076521 priority patent/WO2022170561A1/zh
Priority to CN202180001448.3A priority patent/CN113170500B/zh
Publication of WO2022170561A1 publication Critical patent/WO2022170561A1/zh
Priority to US18/232,255 priority patent/US20230389003A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0044Arrangements for allocating sub-channels of the transmission path allocation of payload
    • H04L5/0046Determination of how many bits are transmitted on different sub-channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • H04L5/0085Timing of allocation when channel conditions change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the field of communication technologies, and in particular, to an information transmission method and device.
  • the sizes of data packets corresponding to information of different service types may be different.
  • Information of different business types can also be configured with different priorities. For example, for the data frame of image type in the scene of in-car camera data transmission, the size of a data packet is about 2000 bytes, and a lower priority is configured.
  • I2C integrated circuit bus
  • general-purpose input/output general-purpose input/output, GPIO
  • serial peripheral interface serial peripheral interface, SPI
  • a packet size about 10 bytes, the priority of the configuration is higher than the priority of the data frame of the image type in the data transmission scene of the in-car camera.
  • control information such as retraining, sleep, etc.
  • the size of a data packet is less than 8 bytes, and the priority of configuration is higher than that of I2C, GPIO, SPI and other types of control information.
  • Data packets with higher priority require lower transmission delay and jitter.
  • priority scheduling and transmission of control information with a length of less than 64 bytes can be achieved.
  • the transmission cannot be scheduled in time, resulting in large delay and high jitter of these information. .
  • the present application provides an information transmission method and device, which are used to solve the problem that data frames with higher priority cannot be scheduled and transmitted in time, resulting in larger delay and higher jitter of the information.
  • an embodiment of the present application provides an information transmission method, including: sending N1 first data packets of a first data frame; when a first condition is satisfied, sending N2 first data packets of the first data frame Before one data packet, send M second data packets of the second data frame; the first condition includes that the priority of the second data frame is higher than the priority of the first data frame; the first data frame The frame includes the N1 first data packets and the N2 first data packets, and the N1, N2, and M are respectively positive integers.
  • the first condition further includes data frame truncation being turned on.
  • the first device can insert high-priority data frames in the transmission process of low-priority data frames when data frame truncation is enabled.
  • the second condition when the second condition is satisfied, after the N2 first data packets are sent, M second data packets of the second data frame are sent; the second condition includes the data frame Truncation is off and/or the priority of the first data frame is not lower than the priority of the first data frame.
  • the first data packet includes an indicator bit and a payload, wherein the payload of the first data packet carries one of a start fragment, an intermediate fragment or an end fragment of the first data frame,
  • the indicator bit of the first data packet indicates one of the start fragment, the middle fragment or the end fragment of the first data frame
  • the second data packet includes the indicator bit and the load, wherein the load of the second data packet is respectively Carry one of the start fragment, middle fragment or end fragment of the second data frame, and the indicator bit of the second data packet indicates the start fragment, middle fragment or end fragment of the first data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment
  • the second first data packet in the N1 first data packets The indicator bits of the first to N1th first data packets and the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • the N2 first data packets The indicator bit of the N2-th first data packet of the data packet indicates that the N2-th first data packet is an end fragment
  • the indicator bit of the first second data packet in the M second data packets indicates the first second data packet
  • the packet is the initial fragment
  • the indicator bits of the second to (M-1)th second data packets respectively indicate that the second data packet is an intermediate fragment
  • the indicator bits of the Mth second data packet indicate the Mth
  • the second data packet is the end fragment.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start/end fragment of the low-priority data frame
  • the N2 first data packets are The indicator bit of the N2-th first data packet in the first data packet indicates that the N2-th first data packet is the start/end fragment of the low-priority data frame
  • the second to The indicator bits of the N1 th first data packet and the first to (N2-1) th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • M second data packets The indicator bit of the first second data packet in The data packet is the start/end fragment of the high-priority data frame
  • the indicator bits of the second to (M-1)th second data packets in the M second data packets respectively indicate that the second data packet is the middle Fragmentation.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the N1 first data packets The indicator bits of the second to N1 first data packets and the N2 first data packets in the data packets respectively indicate that the first data packet is an intermediate fragment
  • the first second data packet in the M second data packets Indicates that the first second data packet is the start fragment of the high-priority data frame
  • the indicator bits of the second to Mth second data packets respectively indicate that the second data packet is an intermediate fragment.
  • the method further includes: after sending M second data packets of the second data frame, sending a third data packet, where the third data packet includes an indicator bit and a load, and the indicator bit of the third data packet Indicate that the third data packet is non-data information, and the load of the third data packet indicates the end of data frame transmission; after sending N2 first data packets of the first data frame, a fourth data packet is sent, and the fourth data packet includes The indicator bit and the load, the indicator bit of the fourth data packet indicates that the fourth data packet is non-data information, and the load of the fourth data packet indicates the end of the data frame transmission.
  • K fifth data packets of non-data information may also be sent, wherein the fifth data packet includes an indicator bit and a payload, wherein the indicator bit of the fifth data packet indicates the fifth data packet is non-data information, the payload of the fifth data packet carries a fragment of non-data information, and K is an integer greater than 0.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame, and the N1 first data packets
  • the indicator bits of the 2nd to N1th first data packets and the N2 first data packets in the data packets respectively indicate that the first data packet is an intermediate fragment of a low-priority data frame
  • the indicator bit of the first second data packet indicates that the first second data packet is the starting fragment of the high-priority data frame, and the second to M second data packets in the M second data packets
  • the indicator bits respectively indicate that the second data packet is the middle fragment of the high-priority data frame.
  • the high-priority data frame is a data information frame or a non-data information frame.
  • a sixth data packet is sent, wherein the sixth data packet includes an indication bit and a payload, and the indication bit of the sixth data packet indicates that the sixth data packet is the start fragment of the high-priority data frame,
  • the payload of the sixth data packet indicates that the sixth data packet is a non-data information frame.
  • an embodiment of the present application provides an information transmission method, including: receiving N1 first data packets; when a first condition is satisfied, before receiving N2 first data packets, receiving M second data packets ;
  • the first condition includes that the priority of the second data frame is higher than the priority of the first data frame, and the N1, N2, and M are respectively positive integers; according to the N1 first data packets and The N2 first data packets determine the first data frame; the second data frame is determined according to the M second data packets, wherein the priority of the second data frame is higher than the priority of the first data frame class.
  • the first condition further includes data frame truncation being turned on.
  • the first device can insert high-priority data frames in the transmission process of low-priority data frames when data frame truncation is enabled.
  • the second condition when the second condition is satisfied, after the N2 first data packets are received, M second data packets of the second data frame are received; the second condition includes the data frame Truncation is off and/or the priority of the first data frame is not lower than the priority of the first data frame.
  • the first data packet includes an indicator bit and a payload, wherein the payload of the first data packet carries one of a start fragment, an intermediate fragment or an end fragment of the first data frame,
  • the indicator bit of the first data packet indicates one of the start fragment, the middle fragment or the end fragment of the first data frame
  • the second data packet includes the indicator bit and the load, wherein the load of the second data packet is respectively Carry one of the start fragment, middle fragment or end fragment of the second data frame, and the indicator bit of the second data packet indicates the start fragment, middle fragment or end fragment of the first data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment
  • the second first data packet in the N1 first data packets The indicator bits of the first to N1th first data packets and the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • the N2 first data packets The indicator bit of the N2-th first data packet of the data packet indicates that the N2-th first data packet is an end fragment
  • the indicator bit of the first second data packet in the M second data packets indicates the first second data packet
  • the packet is the initial fragment
  • the indicator bits of the second to (M-1)th second data packets respectively indicate that the second data packet is an intermediate fragment
  • the indicator bits of the Mth second data packet indicate the Mth
  • the second data packet is the end fragment.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start/end fragment of the low-priority data frame
  • the N2 first data packets are The indicator bit of the N2-th first data packet in the first data packet indicates that the N2-th first data packet is the start/end fragment of the low-priority data frame
  • the second to The indicator bits of the N1 th first data packet and the first to (N2-1) th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • M second data packets The indicator bit of the first second data packet in The data packet is the start/end fragment of the high-priority data frame
  • the indicator bits of the second to (M-1)th second data packets in the M second data packets respectively indicate that the second data packet is the middle Fragmentation.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the N1 first data packets The indicator bits of the second to N1 first data packets and the N2 first data packets in the data packets respectively indicate that the first data packet is an intermediate fragment
  • the first second data packet in the M second data packets Indicates that the first second data packet is the start fragment of the high-priority data frame
  • the indicator bits of the second to Mth second data packets respectively indicate that the second data packet is an intermediate fragment.
  • the method further includes: receiving a third data packet, the third data packet includes an indication bit and a payload, and an indication bit of the third data packet indicates the third data packet The data packet is non-data information, and the load of the third data packet indicates the end of the data frame transmission; after receiving the N2 first data packets, the method further includes: receiving a fourth data packet, the fourth data packet includes an indication bit and a load, and the first data packet is The indication bits of the four data packets indicate that the fourth data packet is non-data information, and the load of the fourth data packet indicates the end of the transmission of the data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start fragment of the low-priority data frame and the first first data packet
  • the payload of a data packet indicates the length of the first data frame
  • the indicator bits of the 2nd to N1th first data packets and the N2 first data packets in the N1 first data packets respectively indicate that the first data packet is in the middle Fragmentation
  • the indicator bit of the first second data packet in the M second data packets indicates that the first second data packet is the start fragment of the high-level data frame and the load of the first second data packet Indicates the length of the second data frame
  • the indication bits of the second to Mth second data packets in the M second data packets respectively indicate that the second data packet is an intermediate fragment.
  • K fifth data packets are received, and each of the K fifth data packets includes an indicator bit and a payload, wherein the indicator bits of the K fifth data packets indicate that the fifth data packet is non-data information, K is an integer greater than 0, and the payload of the fifth data packet carries a fragment of non-data information; the non-data information is determined according to the K fifth data packets.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame, and the N1 first data packets
  • the indicator bits of the 2nd to N1th first data packets and the N2 first data packets in the data packets respectively indicate that the first data packet is an intermediate fragment of a low-priority data frame
  • the indicator bit of the first second data packet indicates that the first second data packet is the starting fragment of the high-priority data frame, and the second to M second data packets in the M second data packets
  • the indicator bits respectively indicate that the second data packet is the middle fragment of the high-priority data frame.
  • the high-priority data frame is a data information frame or a non-data information frame.
  • a sixth data packet is received, and the sixth data packet includes an indication bit and a payload, wherein the sixth data packet includes an indication bit and a payload, and the indication bit of the sixth data packet indicates that the sixth data packet is high
  • the first fragment of the priority data frame, the load of the sixth data packet indicates that the sixth data packet is a non-data information frame; the non-data information is determined according to the sixth data packet.
  • the present application provides an information transmission 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
  • the transceiver unit may be a transceiver;
  • the apparatus may further include a storage module, which may be a memory; the storage module is used for storing instructions, and the processing unit
  • the instructions stored in the storage module are executed to execute the first aspect or the method corresponding to any design of the first aspect, or to execute the second aspect or the method corresponding to any design of the second aspect.
  • the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage module to A method corresponding to the above-mentioned first aspect or any design of the first aspect is performed, or, to perform the above-mentioned second aspect or a method corresponding to any design of the second aspect.
  • the storage module may be a storage module (eg, register, cache, etc.) within the chip or chipset, or may be a storage module (eg, read-only memory, random access memory, etc.) located outside the chip or chipset within the communication device memory, etc.).
  • the present application provides an information transmission 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. or the method designed in any one of the second aspects.
  • an embodiment of the present application provides an information transmission system, including the information transmission apparatus in the above-mentioned third aspect, and the information transmission apparatus in the above-mentioned fourth aspect.
  • the embodiments of the present application further provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer can execute the first aspect or any one of the first aspects.
  • the embodiments of the present application further provide a computer program product including instructions, which, when run on a computer, enables the computer to execute any design, the second aspect or the second aspect in the first aspect or the first aspect any of the designed methods.
  • an embodiment of the present application further provides a communication system, the system includes a sending node and a receiving node, wherein the sending node can execute the first aspect or the corresponding method in any design of the first aspect, and the receiving node can execute The above second aspect or any one of the second aspect designs a corresponding method.
  • a ninth aspect a chip provided by an embodiment of the present application, the chip includes at least one processor and a communication interface, the processor is coupled to a memory, and is used for reading a computer program stored in the memory to execute the first aspect of the embodiment of the present application or A method of any design of the first aspect, the second aspect, or any design of the second aspect.
  • an embodiment of the present application provides a chip, including a communication interface and at least one processor, where the processor operates to execute the first aspect or any design, the second aspect or the first aspect of the embodiments of the present application The method of any one of the two aspects.
  • an embodiment of the present application provides a vehicle, the vehicle includes a first device and/or a second device, the first device is used for executing the first aspect or the method designed in any one of the first aspects, the second device is Apparatus for carrying out the method of the preceding second aspect or any one of the designs of the second 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 flowchart of an information transmission method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of transmission of a data frame provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of transmission of a data frame provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of transmission of a data frame according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of transmission of a data frame provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of transmission of non-data information provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of transmission of non-data information provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of transmission of non-data information according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of transmission of non-data information provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of transmission of a data frame provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of transmission of non-data information according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • the embodiments of the present application may be applicable to wired transmission, for example, may be applicable to wired point-to-point high-speed transmission, such as image and control transmission 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
  • other in-vehicle equipment to the large screen image transmission, etc.
  • the communication device involved in this embodiment of the present application may be a device capable of sending information (such as data frames, control information, etc.) to other devices, such as a camera, a lidar, or other vehicle-mounted image sensor, or may also be an MDC, CDC, etc.
  • An image processing device, or an image display device such as a large screen.
  • the communication device involved in the embodiments of the present application may also be other transmission devices other than the vehicle-mounted device.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, it can indicate that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be single or multiple.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, and timing of multiple objects , priority or importance, etc.
  • first data packet and the second data packet are only names given for convenience of description, and the two data packets may be the same data packet or may be different data packets.
  • the sizes of data packets corresponding to information of different service types may be different.
  • Information of different business types can also be configured with different priorities. For example, for the data frame of image type in the scene of in-car camera data transmission, the size of a data packet is about 2000 bytes, and a lower priority is configured.
  • I2C integrated circuit bus
  • general-purpose input/output general-purpose input/output, GPIO
  • serial peripheral interface serial peripheral interface, SPI
  • a packet size about 10 bytes, the priority of the configuration is higher than the priority of the data frame of the image type in the data transmission scene of the in-car camera.
  • control information such as retraining, sleep, etc.
  • the size of a data packet is less than 8 bytes, and the priority of configuration is higher than that of I2C, GPIO, SPI and other types of control information.
  • Data packets with higher priority require lower transmission delay and jitter.
  • priority scheduling and transmission of control information with a length of less than 64 bytes can be achieved.
  • the transmission cannot be scheduled in time, resulting in large delay and high jitter of these information. .
  • the embodiments of the present application provide an information transmission method and apparatus, which are used to solve the problems that data frames with higher priority cannot be scheduled and transmitted in time, resulting in larger delay and higher jitter of these information.
  • 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 an information transmission method and device, which can be applied to an in-vehicle network, especially an in-vehicle network of a smart car, and can also be applied to other wired transmission devices.
  • the present application provides an information transmission method, which can be applied to an information transmission system. As shown in Figure 1, the method includes:
  • the sending node sends N1 first data packets of the first data frame.
  • the receiving node receives N1 first data packets of the first data frame.
  • N1 is an integer greater than or equal to 1.
  • the sending node when the first condition is satisfied, sends M second data packets of the second data frame.
  • the receiving node receives M second data packets of the second data frame.
  • the first condition may include that the priority of the second data frame is higher than the priority of the first data frame.
  • the first condition may further include enabling data frame truncation.
  • the data frame truncation off may mean that the high-priority data frame cannot interrupt the transmission of the low-priority data frame, that is, the high-priority data frame is not allowed to be inserted during the transmission of the low-priority data frame.
  • Data frame truncation enabled may mean that high-priority data frames can interrupt the transmission of low-priority data frames, that is, one or more high-priority data frames are allowed to be inserted during the transmission of low-priority data frames.
  • the sending node when the first condition is met, can preferentially send the M second data packets of the second data frame, that is, it can send the second data frame before sending the N2 first data packets of the first data frame of M second packets.
  • the first device when the second condition is satisfied, sends M second data packets of the second data frame after sending the N2 first data packets.
  • the second condition may include that data frame truncation is turned off and/or the priority of the first data frame is not lower than the priority of the first data frame.
  • the sending node sends N2 first data packets of the first data frame.
  • the receiving node receives N2 first data packets of the first data frame.
  • the first data frame includes N1 first data packets and N2 first data packets, and N2 is an integer greater than or equal to 0.
  • the receiving node determines a first data frame according to the N1 first data packets and the N2 first data packets.
  • the receiving node determines a second data frame according to the M second data packets.
  • step S105 may also be executed before step S103.
  • the first data packet may include an indication bit and a load, wherein the load of the first data packet carries one of the start fragment, the middle fragment, or the end fragment of the first data frame.
  • the indication bit of the first data packet indicates one of the start fragment, the middle fragment or the end fragment of the first data frame.
  • the second data packet may include an indicator bit and a payload, wherein the payload of the second data packet respectively carries one of the start fragment, the middle fragment or the end fragment of the second data frame, and the indicator bit of the second data packet Indicates one of the start fragment, middle fragment or end fragment of the first data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment, and the second to N1th in the N1 first data packets
  • the first data packet and the indicator bits of the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment, and the N2th of the N2 first data packets
  • the indicator bit of the first data packet indicates that the N2th first data packet is the end fragment
  • the indicator bit of the first second data packet in the M second data packets indicates that the first second data packet is the start fragment slice
  • the indicator bits of the 2nd to (M-1)th second data packets respectively indicate that the second data packets are intermediate fragments
  • the indicator bits of the Mth second data packets indicate that the Mth second data packets are End sharding.
  • the receiving node After receiving the data packet with two indication bits indicating the starting fragment, the receiving node can determine that the data packet with the second indicating bit indicating the starting fragment is the first data packet of the second data frame, and the first indicating bit indicating The data packet of the starting fragment is the first data packet of the first data frame. In addition, the receiving node receives the data packet with the two indication bits indicating the end of the fragmentation after receiving the data packet with the two indication bits indicating the start of the fragmentation. The receiving node determines that the data packet whose first indication bit indicates that the fragmentation ends is the last data packet of the second data frame, and the second indication bit that indicates that the data packet that ends the fragmentation is the last data packet of the first data frame.
  • the receiving node determines that the intermediate data packet of the second data frame includes: the second indication bit indicates that the data packet of the initial fragmentation and the first indication bit indicates that the data packet of the end fragmentation is indicated by the indication bit in the data packet.
  • the data packet of the intermediate fragmentation, the intermediate data packet of the first data frame includes: the first indication bit indicates the data packet of the initial fragmentation and the second indicator bit indicates the data packet of the initial fragmentation.
  • the indicator bit indicates the data packet of the middle fragment, and the indicator bit indicates the data of the middle fragment in the data packet between the data packet of the first indicator bit indicating the end fragment and the data packet of the second indicator bit indicating the end fragment Bag.
  • the indicator bit of the data packet carrying the starting fragment may be the first value
  • the indicator bit of the data packet carrying the intermediate fragment may be the second value
  • the indicator bit of the data packet carrying the end fragment may be the first value.
  • the indication bit of the data packet carrying the non-data information may be a fourth value, and the fourth value is used to indicate the non-data information.
  • the indication bit of the first data packet in the N1 first data packets may be the first value, the second to N1 first data packets and the N2 first data packets in the N1 first data packets
  • the indicator bits of the first to (N2-1)th first data packets in the data packets may be the second value, and the indicator bits of the N2th first data packet of the N2 first data packets may be the third value.
  • the indicator bits of the first second data packet in the M second data packets may be the first value, the indicator bits of the second to (M-1)th second data packets may be the second value, and the Mth
  • the indicator bit of the second data packet may be a third value.
  • the size of the first data frame is 64B ⁇ 250, and the size of the second data frame is 64B ⁇ 4.
  • the sending node after sending the 3 data packets of the first data frame, the sending node sends 4 data packets of the second data frame, and continues to send the first data packet after sending the 4 data packets of the second data frame. 247 packets of data frames not sent.
  • the receiving node may consider that the second data packet with the indication bit of 01 is the first data packet of the second data frame.
  • the second data frame includes: the second data packet with the indication bit 01, the data with the indication bit 00 in the data packet between the second data packet with the indication bit 01 and the first data packet with the indication bit 10 packet, and the first data packet with an indicator bit of 10.
  • the first data frame includes: the first data packet with the indication bit 01, the data with the indication bit 00 in the data packet between the first data packet with the indication bit 01 and the second data packet with the indication bit 01 Packet, the first data packet with 10 indicating bit and the second data packet with 10 indicating bit being 00, and the second data packet with 10 indicating bit.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start/end fragment of the low-priority data frame, and among the N2 first data packets
  • the indicator bit of the N2-th first data packet indicates that the N2-th first data packet is the start/end fragment of the low-priority data frame, the 2nd to the N1-th first data packet in the N1-th
  • the indicator bits of the data packets and the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment; the first in the M second data packets
  • the indicator bit of the second data packet indicates that the first second data packet is the start/end fragment of the high-priority data frame, and the indicator bit of the M-th second data packet indicates that the M-th second data packet is high-priority
  • the receiving node may determine that the first data frame includes: the first indication bit indicates the data packet of the start/end fragmentation of the low priority data frame, the first indication bit indicates the start/end fragmentation of the low priority data frame
  • the indicator bit in the data packet between the data packet of the start/end fragmentation of the data frame and the data packet of the start/end fragmentation of the low-priority data frame indicated by the second indicator bit indicates the data packet of the middle fragmentation
  • the second indicator bit indicates the start/end fragmented data packet of the low priority data frame.
  • the second data frame includes: the first indicator bit indicates the data packet of the start/end fragmentation of the high-priority data frame, the first indicator bit indicates the data packet of the start/end fragmentation of the high-priority data frame, and The second indicator bit indicates the data packet between the start/end fragmented data packets of the high-priority data frame.
  • the indicator bit indicates the middle fragmented data packet, and the second indicator bit indicates the Start/end fragmented packets.
  • the indicator bit of the data packet carrying the start/end fragment of the first data frame may be the first value
  • the indicator bit of the data packet carrying the middle fragment may be the second value
  • the indicator bit of the data packet carrying the second data frame may be the first value.
  • the indication bit of the data packet of the start/end fragmentation may be a third value, wherein the first value is used to indicate the start fragmentation of the low-priority data frame, the second value is used to indicate the middle fragmentation, and the third value Used to indicate the start/end fragmentation of high priority data frames.
  • the indication bit of the data packet carrying the non-data information may be a fourth value, and the fourth value is used to indicate the non-data information.
  • the indication bit of the first data packet in the N1 first data packets may be the first value, the second to N1 first data packets and the N2 first data packets in the N1 first data packets
  • the indicator bits of the first to (N2-1)th first data packets in the data packets may be the second value, and the indicator bits of the N2th first data packet of the N2 first data packets may be the first value.
  • the indicator bit of the first second data packet in the M second data packets may be the third value, and the indicator bits of the second to (M-1)th second data packets may be the second value, and the Mth
  • the indicator bit of the second data packet may be a third value.
  • the size of the first data frame is 64B ⁇ 250, and the size of the second data frame is 64B ⁇ 4.
  • the sending node after sending the three data packets of the first data frame, the sending node sends 4 data packets of the second data frame, and continues to send the first data packet after sending the 4 data packets of the second data frame. 247 packets of data frames not sent.
  • a third data frame may also be sent, where the size of the third data frame is 64B ⁇ 3.
  • the receiving node can determine that the second data frame includes: the first data packet with the indication bit 10, the indication bit in the data packet between the first data packet with the indication bit 10 and the second data packet with the indication bit 10 A packet of 01, and a second packet of 10.
  • the first data frame includes: the first data packet with the indication bit 00, the data with the indication bit 01 in the data packet between the first data packet with the indication bit 00 and the first data packet with the indication bit 10 A packet, a data packet with an indication bit of 01 in the data packet between the second data packet with an indication bit of 10 and a data packet with a second indication bit of 00, and a data packet with the second indication bit of 00.
  • the third data frame is the data packet with the third indication bit as 00, the data packet with the indication bit as 01 in the data packet between the data packet with the third indication bit as 00 and the fourth data packet with the indication bit as 00 , and the fourth indicator bit is 00 packets.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame, and the first first data packet in the N1 first data packets is the first fragment.
  • the indicator bits of the 2 to N1 first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment; the first second data packet in the M second data packets indicates the first The two data packets are the initial fragmentation of the high-priority data frame, and the indicator bits of the second to the Mth second data packets respectively indicate that the second data packets are intermediate fragments.
  • the sending node may send a third data packet, where the third data packet includes an indication bit and a load, and the indication bit of the third data packet indicates non-data information,
  • the payload of the third data packet indicates the end of the transmission of the data frame.
  • a fourth data packet may be sent, the fourth data packet includes an indication bit and a payload, the indication bit of the fourth data packet indicates non-data information, and the payload of the fourth data packet Indicates the end of data frame transmission.
  • the manner in which the third data packet and the fourth data packet indicate the end of the data frame transmission may be the same or different, which is not specifically limited here.
  • the receiving node may determine that the first data frame includes: a data packet whose indicator bit indicates the starting fragment of the low-priority data frame, a data packet whose indicator bit indicates the starting fragment of the low-priority data frame, and the indicator bit indicates a high-priority data packet.
  • the indicator bit indicates the data packet of the intermediate fragmentation
  • the first indicator bit indicates the non-data information
  • the load indicates the data packet of the end of the data frame transmission (that is, the third data packet).
  • the indicator bit in the data packet between the data packet (ie, the fourth data packet) in which the second indicator bit indicates non-data information and the load indicates the end of data frame transmission indicates the intermediate fragmented data packet.
  • the second data frame includes: an indicator bit indicates a data packet of a starting fragment of a high-priority data frame, an indicator bit indicates a data packet of a start fragment of a high-priority data frame, and the first indicator bit indicates non-data information and
  • the indicator bits in the data packets between the data packets (ie, the third data packet) whose load indicates the end of the transmission of the data frame indicate the data packets of the intermediate fragmentation.
  • the indicator bit of the data packet carrying the start fragment of the first data frame may be the first value
  • the indicator bit of the data packet carrying the middle/end fragment may be the second value
  • the indicator bit of the data packet carrying the second data frame may be the first value
  • the indicator bit of the data packet of the starting fragment may be the third value
  • the indicator bit of the data packet carrying non-data information may be the fourth value, wherein the first value is used to indicate the initial fragmentation of the low-priority data frame , the second value is used to indicate the middle fragment, the third value is used to indicate the start fragment of the high-priority data frame, and the fourth value is used to indicate the non-data information.
  • the indication bit of the first data packet in the N1 first data packets may be the first value, the second to N1 first data packets and the N2 first data packets in the N1 first data packets
  • the indicator bit of the data packet may be the second value.
  • the indicator bit of the first second data packet in the M second data packets may be the third value, and the indicator bits of the second to Mth second data packets may be the second value.
  • the indicator bit of the third data packet and the indicator bit of the fourth data packet may be fourth values.
  • the size of the first data frame is 64B ⁇ 250, and the size of the second data frame is 64B ⁇ 4.
  • the sending node after sending the three data packets of the first data frame, the sending node sends 4 data packets of the second data frame, and continues to send the first data packet after sending the 4 data packets of the second data frame 247 packets of data frames not sent.
  • the receiving node may determine that the second data frame includes: a data packet with an indication bit of 10, a data packet with an indication bit of 10, and the first data packet with an indication bit of 11 and the load indicating the end of transmission of the data frame. Packets with bit 01.
  • the first data frame includes: a data packet with an indication bit of 00, a data packet with an indication bit of 01 in the data packet between the data packet with an indication bit of 00 and a data packet with an indication bit of 10, and the first indication bit of 11.
  • Example 4 The indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start fragment of the low-priority data frame and the load of the first first data packet is Indicate the length of the first data frame, the indicator bits of the 2nd to N1th first data packets and the N2 first data packets in the N1 first data packets respectively indicate that the first data packet is an intermediate fragment; M The indicator bit of the first second data packet in the second data packet indicates that the first second data packet is the starting fragment of the high-level data frame and the load of the first second data packet indicates the second data frame , the indicator bits of the 2nd to Mth second data packets in the M second data packets respectively indicate that the second data packets are intermediate fragments.
  • the indicator bit of the data packet carrying the start fragment of the first data frame may be the first value
  • the indicator bit of the data packet carrying the middle/end fragment may be the second value
  • the indicator bit of the data packet carrying the second data frame may be the first value
  • the indication bit of the data packet of the starting fragment may be a third value, wherein the first value is used to indicate the starting fragment of the low-priority data frame, the second value is used to indicate the middle fragment, and the third value is used for Indicates the starting fragment of a high-priority data frame.
  • the indication bit of the data packet carrying the non-data information may be a fourth value, and the fourth value is used to indicate the non-data information.
  • the size of the first data frame is 64B ⁇ 250, and the size of the second data frame is 64B ⁇ 4.
  • the sending node after sending the three data packets of the first data frame, the sending node sends 4 data packets of the second data frame, and continues to send the first data packet after sending the 4 data packets of the second data frame. 247 packets of data frames not sent.
  • the receiving node may determine that the first data frame includes: a data packet with an indication bit of 00, two data packets with an indication bit of 01 after the data packet with an indication bit of 10, and an indication bit of 01 in the data packet after the second data frame. There are 247 data packets of 01, and the second data frame includes a data packet with an indication bit of 10, and 3 data packets with an indication bit of 01 in the data packets following the data packet with the indication bit of 10.
  • the sending node may also send K fifth data packets of non-data information, wherein the fifth data packet includes an indication bit and a load, wherein the indication bit of the fifth data packet indicates that the fifth data packet is non-data information.
  • the payload of the fifth data packet carries a fragment of non-data information, and K is an integer greater than 0.
  • the non-data information may be sent after any data packet of the first data frame and the second data frame or before any data packet.
  • the sending method of the non-data information can be as shown in Fig. 6.
  • the transmission mode of non-data information may be as shown in FIG. 7 .
  • the transmission mode of non-data information may be as shown in FIG. 8 .
  • the sending method of non-data information may be as shown in FIG. 9 .
  • the receiving node may determine that the first data frame includes: an indicator bit indicates a data packet of a start fragment of the low-priority data frame, and an indicator bit indicates a data packet of a middle fragment of the low-priority data frame.
  • the second data frame includes: an indicator bit indicates a data packet of the starting fragment of the high-priority data frame and the data packet is not non-data information, and the indicator bit indicates a data packet of a middle fragment of the high-priority data frame.
  • the indicator bit of the data packet carrying the start fragment of the first data frame may be the first value
  • the indicator bit of the data packet carrying the middle/end fragment may be the second value
  • the indicator bit of the data packet carrying the second data frame may be the first value
  • the indicator bit of the data packet of the starting fragment may be the third value
  • the indicator bit of the data packet carrying the intermediate/end fragment may be the fourth value
  • the indicator bit of the data packet carrying the non-data information may be the third value.
  • the first value is used to indicate the starting fragment of the low-priority data frame
  • the second value is used to indicate the middle fragment of the low-priority data frame
  • the third value is used to indicate the starting fragment of the high-priority data frame.
  • slice the fourth value is used to indicate the middle slice of the high-priority data frame.
  • the indication bit of the first data packet in the N1 first data packets may be the first value, the second to N1 first data packets and the N2 first data packets in the N1 first data packets
  • the indicator bit of the data packet may be the second value.
  • the indicator bit of the first second data packet may be the third value, and the indicator bits of the second to Mth second data packets may be the fourth value.
  • the indicator bit of the data packet of non-data information may be a third value.
  • the size of the first data frame is 64B ⁇ 250, and the size of the second data frame is 64B ⁇ 4.
  • the sending node after sending the three data packets of the first data frame, the sending node sends 4 data packets of the second data frame, and continues to send the first data packet after sending the 4 data packets of the second data frame. 247 packets of data frames not sent.
  • the receiving node may determine that the second data frame includes: a data packet whose indication bit is 10 and the data packet is not non-data information, and a data packet whose indication bit is 11.
  • the first data frame includes: a data packet whose indication bit is 00 and a data packet whose indication bit is 01.
  • the receiving node may determine the end of the data frame in any of the following two ways:
  • the sending node may also send a seventh data packet, the seventh data packet includes an indication bit and a load, and the indication bit of the seventh data packet is the third value and The payload of the seventh data packet indicates the end of the data frame transmission.
  • an eighth data packet may be sent, where the eighth data packet includes an indication bit and a load, the indication bit of the eighth data packet is a third value and the load of the eighth data packet Indicates the end of data frame transmission.
  • the manner in which the seventh data packet and the eighth data packet indicate the end of the data frame transmission may be the same or different, which is not specifically limited here. In the above manner, after receiving the seventh data packet, the second data frame can determine that the transmission of the second data frame ends, and after receiving the eighth data frame, it can be determined that the transmission of the first data frame is complete.
  • the sending node may also send a sixth data packet carrying non-data information, where the sixth data packet includes an indication bit and a payload, and the indication bit of the sixth data packet indicates the start fragment of the high-priority data frame.
  • the payload of the first second data packet may indicate a data frame.
  • the payload of a data packet carrying non-data information may indicate non-data information.
  • the sixth data packet may be sent after any data packet of the first data frame and the second data frame or before any data packet.
  • the sending manner of non-data information may be as shown in FIG. 11 .
  • the non-data information may be, but not limited to, physical layer padding bits, sub-indication bits, control information, and the like.
  • the embodiments of the present application only take 2-bit indicator bits as an example for description.
  • 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 high-priority data frame is not allowed to be inserted.
  • data frame truncation is enabled, it is allowed to insert one or more high-priority data frames during the transmission of low-priority data frames.
  • the data frame truncation off may mean that the high-priority data frame cannot interrupt the transmission of the low-priority data frame, that is, the high-priority data frame is not allowed to be inserted during the transmission of the low-priority data frame.
  • Data frame truncation enabled may mean that high-priority data frames can interrupt the transmission of low-priority data frames, that is, one or more high-priority data frames are allowed to be inserted during the transmission of low-priority data frames.
  • the indicator bit when the indicator bit is 01, it indicates that the data packet carries the start fragment, that is, the data packet is the beginning of data frame transmission, and when the indicator bit is 10, it indicates that the data packet carries the end fragment, that is This packet is the end of the data frame transmission. If the data frame truncation is turned off, the data packet with the indication bit 01 and the data packet with the indication bit 10 can appear in pairs in sequence, that is, there is no other indication between the data packet with the indication bit 01 and the data packet with the indication bit 10 The data packet with the bit 01 and the data packet with the indicator bit 10 can ensure that the low-priority data frame can not be interrupted by the high-priority data frame.
  • data frame truncation If data frame truncation is enabled, it is allowed to insert one or more high-priority data frames during the transmission of low-priority data frames, so there can be other indicator bits between the data packet with the indicator bit 01 and the data packet with the indicator bit 10 A packet with a 01 and a packet with an indicator bit of 10, for example, as shown in Figure 2.
  • the indicator bit when the indicator bit is 00, it indicates that the data packet carries the start fragment or end fragment of the low-priority data frame, that is, the data packet is the start or end of the transmission of the low-priority data frame.
  • the indicator bit When the indicator bit is 10, it indicates that the data packet carries the start fragment or the end fragment of the high-priority data frame, that is, the data packet is the start or end of the transmission of the high-priority data frame. If the data frame truncation is turned off, the data packets with the indicator bit of 00 can appear in pairs in sequence, that is, there is no data packet with the indicator bit of 10 between the two data packets with the indicator bit of 00. In this way, the low priority can be guaranteed.
  • Data frames can be transmitted without being interrupted by high-priority data frames. If data frame truncation is enabled, it is allowed to insert one or more high-priority data frames during the transmission of low-priority data frames, so there can be a data packet with an indicator bit of 10 between two data packets with an indicator bit of 00. For example, As shown in Figure 3.
  • the indicator bit when the indicator bit is 00, it indicates that the data packet carries the starting fragment of the low-priority data frame, that is, the data packet is the beginning of the transmission of the low-priority data frame, and the indicator bit is 10.
  • the data packet carries the starting fragment of the high-priority data frame, that is, the data packet is the beginning of the transmission of the high-priority data frame, and when the indicator bit is 11, it indicates non-data information.
  • the data packet with the indication bit 00 and the data packet with the indication bit 11 and the load indicating the end of the data frame transmission can appear in pairs in sequence, that is, the data packet with the indication bit 00 and the indication bit 11 and the load indication
  • a data frame interrupts the transmission.
  • data frame truncation If data frame truncation is turned on, it is allowed to insert one or more high-priority data frames during the transmission of low-priority data frames. Therefore, the difference between the data packet whose indicator bit is 00 and the data packet whose indicator bit is 11 and whose load indicates the end of data frame transmission There may be a data packet with the indication bit 10 and a data packet with the indication bit 11 and the load indicating the end of the data frame transmission, for example, as shown in FIG. 4 .
  • This embodiment of the present application introduces the process of sending two data frames with different priorities. It should be understood that this method can also be applied to the sending of multiple data frames with different priorities. For example, it is assumed that a third data frame is to be sent, wherein, The priority of the third data frame is higher than the priority of the second data frame. The third data frame can be inserted into any data packet of the second data frame and sent. In this process, the sending process of the third data frame is the same as that of the second data frame.
  • the transmission process of the second data frame in the foregoing is similar, and the transmission process of the second data frame is similar to the transmission process of the first data frame in the foregoing, and the repetition is not repeated.
  • the transmission of high-priority data frames can be preferentially scheduled, thereby reducing the transmission delay and jitter.
  • the embodiments of the present application provide a communication device.
  • the structure of the apparatus may be shown in FIG. 12 , including a processing unit 1201 and a transceiver unit 1202 .
  • the communication device may be specifically used to implement the method performed by the sending node in the embodiments of FIG. 1 to FIG. 11 , and the device 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 transceiver unit 1202 is used for sending and receiving information;
  • the processing unit 1201 is used for: sending N1 first data packets of the first data frame through the transceiver unit 1202; 1202 sends M second data packets of the second data frame through the transceiver unit 1202 before sending the N2 first data packets of the first data frame.
  • the first condition includes that the priority of the second data frame is higher than the priority of the first data frame; the first data frame contains N1 first data packets and N2 first data packets, and the N1, N2, and M are respectively is a positive integer.
  • the first condition further includes enabling data frame truncation.
  • the second condition when the second condition is met, after the N2 first data packets are sent, M second data packets of the second data frame are sent; the second condition includes data frame truncation off and/or Or the priority of the first data frame is not lower than the priority of the first data frame.
  • the first data packet includes an indicator bit and a load, wherein the load of the first data packet carries one of the start fragment, the middle fragment or the end fragment of the first data frame, and the first data packet
  • the indicator bit of the first data frame indicates one of the start fragment, the middle fragment or the end fragment of the first data frame
  • the second data packet includes the indicator bit and the load, wherein the load of the second data packet carries the second data respectively.
  • One of the start fragment, the middle fragment or the end fragment of the frame, and the indicator bit of the second data packet indicates one of the start fragment, the middle fragment or the end fragment of the first data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment, and the second to N1th in the N1 first data packets
  • the indicator bits of the first data packets and the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment, and the first data packet of the N2 first data packets is an intermediate fragment.
  • the indicator bits of the N2 first data packets indicate that the N2th first data packet is the end fragment; the indicator bits of the first second data packet in the M second data packets indicate that the first second data packet is the start Fragmentation, the indicator bits of the 2nd to (M-1)th second data packets respectively indicate that the second data packets are intermediate fragments, and the indicator bits of the Mth second data packet indicate the Mth second data packet To end the fragmentation.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start/end fragment of the low-priority data frame
  • the N2 first data packets The indicator bit of the N2-th first data packet in the N2-th first data packet indicates that the N2-th first data packet is the start/end fragment of the low-priority data frame, and the 2nd to N1th in the N1-th first data packet.
  • a data packet and the indicator bits of the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment;
  • the indicator bit of the second data packet indicates that the first second data packet is the start/end fragment of the high-priority data frame, and the indicator bit of the M-th second data packet indicates that the M-th second data packet is high
  • the start/end fragment of the priority data frame, the indicator bits of the second to (M-1)th second data packets in the M second data packets respectively indicate that the second data packets are intermediate fragments.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the first data packet in the N1 first data packets is The indicator bits of the second to N1 first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • the first second data packet in the M second data packets indicates the first
  • the second data packet is the initial fragment of the high-priority data frame
  • the indicator bits of the second to M-th second data packets respectively indicate that the second data packet is an intermediate fragment.
  • the processing unit 1201 is further configured to: after sending the M second data packets of the second data frame through the transceiver unit 1202, send a third data packet, where the third data packet includes an indication bit and a load, and the third data packet The indicator bit of the packet indicates that the third data packet is non-data information, and the load of the third data packet indicates the end of the data frame transmission; after the N2 first data packets of the first data frame are sent through the transceiver unit 1202, the fourth data packet is sent , the fourth data packet includes an indicator bit and a load, the indicator bit of the fourth data packet indicates that the fourth data packet is non-data information, and the load of the fourth data packet indicates the end of the data frame transmission.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start fragment of the low-priority data frame and the The load indicates the length of the first data frame, and the indicator bits of the 2nd to N1th first data packets in the N1 first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment;
  • M The indicator bit of the first second data packet in the second data packet indicates that the first second data packet is the start fragment of the high-level data frame and the load of the first second data packet indicates the second data
  • the length of the frame, the indicator bits of the 2nd to Mth second data packets in the M second data packets respectively indicate that the second data packets are intermediate fragments.
  • the processing unit 1201 is further configured to: send K fifth data packets of non-data information through the transceiver unit 1202, wherein the fifth data packet includes an indication bit and a load, wherein the indication bit of the fifth data packet indicates that The fifth data packet is non-data information, the payload of the fifth data packet carries a fragment of the non-data information, and K is an integer greater than 0.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the first data packet in the N1 first data packets is The indicator bits of the 2nd to N1th first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment of a low-priority data frame
  • the indicator bits of the two data packets indicate that the first second data packet is the starting fragment of the high-priority data frame
  • the indicator bits of the second to M second data packets in the M second data packets respectively indicate The second data packet is the middle fragment of the high-priority data frame.
  • the high-priority data frame is a data information frame or a non-data information frame.
  • the processing unit 1201 is further configured to: send a sixth data packet carrying non-data information through the transceiver unit 1202, wherein the sixth data packet includes an indication bit and a load, and the indication bit of the sixth data packet indicates the sixth data
  • the packet is an initial fragment of a high-priority data frame, and the load of the sixth data packet indicates that the sixth data packet is a non-data information frame.
  • the communication device may be specifically used to implement the method performed by the receiving node in the embodiments of FIG. 1 to FIG. 11 , and the device may be the receiving node itself, or a chip or a chipset or a chip in the receiving node. Used to perform part of the function of the associated method.
  • the transceiver unit 1202 is configured to receive N1 first data packets; and, when the first condition is satisfied, receive M second data packets before receiving N2 first data packets, the first condition includes all
  • the priority of the second data frame is higher than the priority of the first data frame, and the N1, N2, and M are respectively positive integers;
  • the processing unit 1201 is used for according to N1 first data packets and N2 first data packets and N2 first data packets.
  • the data packets determine the first data frame; and the second data frame is determined according to the M second data packets.
  • the first condition further includes enabling data frame truncation.
  • the M second data packets are received; the second condition includes data frame truncation off and/or the first The priority of the data frame is not lower than the priority of the first data frame.
  • the first data packet includes an indicator bit and a load, wherein the load of the first data packet carries one of the start fragment, the middle fragment or the end fragment of the first data frame, and the first data packet
  • the indicator bit of the first data frame indicates one of the start fragment, the middle fragment or the end fragment of the first data frame
  • the second data packet includes the indicator bit and the load, wherein the load of the second data packet carries the second data respectively.
  • One of the start fragment, the middle fragment or the end fragment of the frame, and the indicator bit of the second data packet indicates one of the start fragment, the middle fragment or the end fragment of the first data frame.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment, and the second to N1th in the N1 first data packets
  • the indicator bits of the first data packets and the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment, and the first data packet of the N2 first data packets is an intermediate fragment.
  • the indicator bits of the N2 first data packets indicate that the N2th first data packet is the end fragment; the indicator bits of the first second data packet in the M second data packets indicate that the first second data packet is the start Fragmentation, the indicator bits of the 2nd to (M-1)th second data packets respectively indicate that the second data packets are intermediate fragments, and the indicator bits of the Mth second data packet indicate the Mth second data packet To end the fragmentation.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start/end fragment of the low-priority data frame
  • the N2 first data packets The indicator bit of the N2-th first data packet in the N2-th first data packet indicates that the N2-th first data packet is the start/end fragment of the low-priority data frame, and the 2nd to N1th in the N1-th first data packet.
  • a data packet and the indicator bits of the first to (N2-1)th first data packets in the N2 first data packets respectively indicate that the first data packet is an intermediate fragment;
  • the indicator bit of the second data packet indicates that the first second data packet is the start/end fragment of the high-priority data frame, and the indicator bit of the M-th second data packet indicates that the M-th second data packet is high
  • the start/end fragment of the priority data frame, the indicator bits of the second to (M-1)th second data packets in the M second data packets respectively indicate that the second data packets are intermediate fragments.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the first data packet in the N1 first data packets is The indicator bits of the second to N1 first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment
  • the first second data packet in the M second data packets indicates the first
  • the second data packet is the initial fragment of the high-priority data frame
  • the indicator bits of the second to M-th second data packets respectively indicate that the second data packet is an intermediate fragment.
  • the transceiver unit 1202 is further configured to: after receiving the M second data packets, receive a third data packet, where the third data packet includes an indication bit and a load, and the indication bit of the third data packet indicates the third data packet For non-data information, the load of the third data packet indicates the end of the data frame transmission; after receiving N2 first data packets, the fourth data packet is received, and the fourth data packet includes an indicator bit and a load, and the indicator bit of the fourth data packet Indicates that the fourth data packet is non-data information, and the load of the fourth data packet indicates the end of the data frame transmission.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the start fragment of the low-priority data frame and the The load indicates the length of the first data frame, and the indicator bits of the 2nd to N1th first data packets in the N1 first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment;
  • M The indicator bit of the first second data packet in the second data packet indicates that the first second data packet is the start fragment of the high-level data frame and the load of the first second data packet indicates the second data
  • the length of the frame, the indicator bits of the 2nd to Mth second data packets in the M second data packets respectively indicate that the second data packets are intermediate fragments.
  • the transceiver unit 1202 is further configured to: receive K fifth data packets, where the K fifth data packets each include an indication bit and a load, wherein the indication bits of the K fifth data packets indicate that the fifth data packet is Non-data information, K is an integer greater than 0, and the payload of the fifth data packet carries a fragment of non-data information; the non-data information is determined according to the K fifth data packets.
  • the indicator bit of the first first data packet in the N1 first data packets indicates that the first first data packet is the starting fragment of the low-priority data frame
  • the first data packet in the N1 first data packets is The indicator bits of the 2nd to N1th first data packets and the N2 first data packets respectively indicate that the first data packet is an intermediate fragment of a low-priority data frame
  • the indicator bits of the two data packets indicate that the first second data packet is the starting fragment of the high-priority data frame
  • the indicator bits of the second to M second data packets in the M second data packets respectively indicate The second data packet is the middle fragment of the high-priority data frame.
  • the high-priority data frame is a data information frame or a non-data information frame.
  • the transceiver unit 1202 is further configured to: receive a sixth data packet, where the sixth data packet includes an indication bit and a load, wherein the sixth data packet includes an indication bit and a load, and the indication bit of the sixth data packet indicates the sixth data packet.
  • the data packet is the initial fragment of the high-priority data frame, and the load of the sixth data packet indicates that the sixth data packet is a non-data information frame; the non-data information is determined according to the sixth data packet.
  • 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 device may be as shown in FIG. 13 , and the device may be a sending node or a chip in the sending node.
  • the apparatus may include a processor 1301 , a communication interface 1302 , and a memory 1303 .
  • the processing unit 1201 may be the processor 1301 .
  • the transceiver unit 1202 is the communication interface 1302 .
  • the processor 1301 may be a central processing unit (Central Processing Unit, CPU), or a digital processing unit or the like.
  • the communication interface 1302 may be a transceiver, an interface circuit such as a transceiver circuit, or a transceiver chip or the like.
  • the apparatus further includes: a memory 1303 for storing programs executed by the processor 1301 .
  • the memory 1303 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may be a volatile memory (volatile memory), such as random access memory (random access memory) -access memory, RAM).
  • Memory 1303 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 1301 is used for executing the program code stored in the memory 1303, and is specifically used for executing the actions of the above-mentioned processing unit 1201, which will not be repeated in this application.
  • the communication interface 1302 is specifically configured to perform the actions of the above-mentioned transceiver unit 1202, and details are not described herein again in this application.
  • the specific connection medium between the communication interface 1302 , the processor 1301 , and the memory 1303 is not limited in the embodiments of the present application.
  • the memory 1303, the processor 1301, and the communication interface 1302 are connected through a bus 1304 in FIG. 13.
  • the bus is represented by a thick line in FIG. 13, and the connection between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 13, 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 apparatus for implementing the function of a sending node in the embodiments of FIG. 1 to FIG. 11 and a communication apparatus for implementing the function of a receiving node in the embodiments of FIG. 1 to FIG. 11 .
  • Embodiments of the present application further provide a computer-readable storage medium for storing computer software instructions that need to be executed to execute the above-mentioned processor, which includes a program to be executed to execute the above-mentioned processor.
  • An embodiment of the present application further provides a vehicle, the vehicle includes a first device and/or a second device, and the first device and the second device are used to implement the information transmission method in FIG. 1 individually or jointly.
  • the first device and the second device may be the communication apparatus shown in FIG. 12 .
  • the embodiment of the present application further provides a chip, the chip includes at least one processor and a communication interface, the processor is coupled with the memory, and is used for reading a computer program stored in the memory to execute the method shown in FIG. 1 or implement the method shown in FIG. 2 to Figure 11 Functions in the embodiment.
  • Embodiments of the present application further provide a chip, including a communication interface and at least one processor, where the processor operates to execute the method shown in FIG. 1 or implement the functions in the embodiments of FIGS. 2 to 11 .
  • 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

本申请公开了一种信息传输方法及装置,用于解决优先级较高的数据帧等无法及时调度传输,造成这些信息的时延较大和抖动较高的问题。该方法包括:发送第一数据帧的N1个第一数据包;当满足第一条件时,在发送第一数据帧的N2个第一数据包之前,发送第二数据帧的M个第二数据包;第一条件包括第二数据帧的优先级高于第一数据帧的优先级;第一数据帧包含N1个第一数据包和N2个第一数据包,N1、N2、M分别为正整数。通过本申请实施例提供的方法可以优先调度高优先级数据帧传输,从而可以降低其传输时延和抖动。

Description

一种信息传输方法及装置 技术领域
本申请涉及通信技术领域,尤其涉及一种信息传输方法及装置。
背景技术
在通信系统中,不同业务类型的信息对应的数据包大小可以不同。不同业务类型的信息也可以配置不同的优先级。例如,对于车内摄像头数据传输场景中图像类型的数据帧,一个数据包大小约2000字节,配置较低的优先级。对于集成电路总线(inter-integrated circuit,I2C)、通用输入/输出(general-purpose input/output,GPIO)、串行外设接口(serial peripheral interface,SPI)等类型的控制信息,一个数据包大小约10字节,配置的优先级比车内摄像头数据传输场景中图像类型的数据帧的优先级高。此外,还有一些类型(如重训练、休眠等)的控制信息,一个数据包的大小小于8字节,配置的优先级比I2C、GPIO、SPI等类型的控制信息的优先级高。而优先级越高的数据包要求传输的时延和抖动越低。但是目前的信息传输机制中,只能实现长度低于64字节的控制信息的优先调度传输,对于优先级较高的数据帧,无法及时调度传输,造成这些信息的时延较大和抖动较高。
发明内容
本申请提供一种信息传输方法及装置,用于解决优先级较高的数据帧无法及时调度传输,造成这些信息的时延较大和抖动较高的问题。
第一方面,本申请实施例提供了一种信息传输方法,包括:发送第一数据帧的N1个第一数据包;当满足第一条件时,在发送所述第一数据帧的N2个第一数据包之前,发送第二数据帧的M个第二数据包;所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级;所述第一数据帧包含所述N1个第一数据包和所述N2个第一数据包,所述N1、N2、M分别为正整数。通过本申请实施例提供的方法可以优先调度高优先级数据帧传输,从而可以降低其传输时延和抖动。
在一种可能的设计中,所述第一条件还包括数据帧截断开启。通过上述设计,使得第一设备可以在数据帧截断开启时在低优先级数据帧的传输过程中插入高优先级数据帧。
在一种可能的设计中,当满足第二条件时,在发送所述N2个第一数据包后,发送所述第二数据帧的M个第二数据包;所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。通过上述设计,使得第一设备在数据帧截断关闭时不允许在低优先级数据帧的传输过程中插入高优先级数据帧。
在一种可能的设计中,第一数据包中包括指示位和负荷,其中,第一数据包的负荷携带第一数据帧的起始分片、中间分片或结束分片中的一项,第一数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项;第二数据包均包括指示位和负荷,其中,第二数据包的负荷分别携带第二数据帧的起始分片、中间分片或结束分片中的一项,第二数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。通过上述设计,接收节点可以根据指示位确定数据帧的开始、延续以及结尾。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第 一数据包为起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片,N2个第一数据包的第N2个第一数据包的指示位指示第N2个第一数据包为结束分片;M个第二数据包中第1个第二数据包的指示位指示第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片,第M个第二数据包的指示位指示第M个第二数据包为结束分片。通过上述设计,接收节点在接收到两个指示起始分片的数据包后可以确定第二个指示起始分片的数据包为第二数据帧的起始数据包。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始/结束分片,N2个第一数据包中的第N2个第一数据包的指示位指示第N2个第一数据包为低优先级数据帧的起始/结束分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示第M个第二数据包为高优先级数据帧的起始/结束分片,M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以区分第一数据帧和第二数据帧的数据包范围。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包指示第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以区分第一数据帧和第二数据帧的数据包范围。
在一种可能的设计中,方法还包括:在发送第二数据帧的M个第二数据包之后,发送第三数据包,第三数据包包括指示位和负荷,第三数据包的指示位指示所述第三数据包为非数据信息,第三数据包的负荷指示数据帧传输结束;在发送第一数据帧的N2个第一数据包之后,发送第四数据包,第四数据包包括指示位和负荷,第四数据包的指示位指示所述第四数据包为非数据信息,第四数据包的负荷指示数据帧传输结束。通过上述设计,可以确定第一数据帧和第二数据帧的结束。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片且第1个第一数据包的负荷指示第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高先级数据帧的起始分片且第1个第二数据包的负荷指示第二数据帧的长度,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以确定第一数据帧和第二数据帧的接收范围。
在一种可能的设计中,还可以发送非数据信息的K个第五数据包,其中,第五数据包包括指示位和负荷,其中,第五数据包的指示位指示所述第五数据包为非数据信息,第五数据包的负荷携带非数据信息的一个分片,K为大于0的整数。通过上述设计,可以实现非数据信息的发送,并且可以将非数据信息与数据帧进行区分。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第 一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为低优先级数据帧的中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始分片,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为高优先级数据帧的中间分片。通过上述设计,可以确定第一数据帧和第二数据帧的接收范围。
在一种可能的设计中,所述高优先级数据帧为数据信息帧或者非数据信息帧。
在一种可能的设计中,发送第六数据包,其中,第六数据包包括指示位和负荷,第六数据包的指示位指示第六数据包为高优先级数据帧的起始分片,第六数据包的负荷指示第六数据包为非数据信息帧。通过上述设计,可以实现非数据信息的发送,并且可以将非数据信息与数据帧进行区分。
第二方面,本申请实施例提供了一种信息传输方法,包括:接收N1个第一数据包;当满足第一条件时,在接收N2个第一数据包之前,接收M个第二数据包;所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级,所述N1、N2、M分别为正整数;根据所述N1个第一数据包以及所述N2个第一数据包确定第一数据帧;根据所述M个第二数据包确定第二数据帧,其中,所述第二数据帧的优先级高于所述第一数据帧的优先级。
通过本申请实施例提供的方法可以优先调度高优先级数据帧传输,从而可以降低其传输时延和抖动。
在一种可能的设计中,所述第一条件还包括数据帧截断开启。通过上述设计,使得第一设备可以在数据帧截断开启时在低优先级数据帧的传输过程中插入高优先级数据帧。
在一种可能的设计中,当满足第二条件时,在接收所述N2个第一数据包后,接收所述第二数据帧的M个第二数据包;所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。通过上述设计,使得第一设备在数据帧截断关闭时不允许在低优先级数据帧的传输过程中插入高优先级数据帧。
在一种可能的设计中,第一数据包中包括指示位和负荷,其中,第一数据包的负荷携带第一数据帧的起始分片、中间分片或结束分片中的一项,第一数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项;第二数据包均包括指示位和负荷,其中,第二数据包的负荷分别携带第二数据帧的起始分片、中间分片或结束分片中的一项,第二数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。通过上述设计,接收节点可以根据指示位确定数据帧的开始、延续以及结尾。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片,N2个第一数据包的第N2个第一数据包的指示位指示第N2个第一数据包为结束分片;M个第二数据包中第1个第二数据包的指示位指示第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片,第M个第二数据包的指示位指示第M个第二数据包为结束分片。通过上述设计,接收节点在接收到两个指示起始分片的数据包后可以确定第二个指示起始分片的数据包为第二数据帧的起始数据包。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第 一数据包为低优先级数据帧的起始/结束分片,N2个第一数据包中的第N2个第一数据包的指示位指示第N2个第一数据包为低优先级数据帧的起始/结束分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示第M个第二数据包为高优先级数据帧的起始/结束分片,M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以区分第一数据帧和第二数据帧的数据包范围。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包指示第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以区分第一数据帧和第二数据帧的数据包范围。
在一种可能的设计中,在接收M个第二数据包之后,方法还包括:接收第三数据包,第三数据包包括指示位和负荷,第三数据包的指示位指示所述第三数据包为非数据信息,第三数据包的负荷指示数据帧传输结束;在接收N2个第一数据包之后,方法还包括:接收第四数据包,第四数据包包括指示位和负荷,第四数据包的指示位指示所述第四数据包为非数据信息,第四数据包的负荷指示数据帧传输结束。通过上述设计,可以确定第一数据帧和第二数据帧的结束。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片且第1个第一数据包的负荷指示第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高先级数据帧的起始分片且第1个第二数据包的负荷指示第二数据帧的长度,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。通过上述设计,可以确定第一数据帧和第二数据帧的接收范围。
在一种可能的设计中,接收K个第五数据包,K个第五数据包均包括指示位和负荷,其中,K个第五数据包的指示位指示所述第五数据包为非数据信息,K为大于0的整数,第五数据包的负荷携带非数据信息的一个分片;根据K个第五数据包确定非数据信息。通过上述设计,可以实现非数据信息的发送,并且可以将非数据信息与数据帧进行区分。
在一种可能的设计中,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为低优先级数据帧的中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始分片,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为高优先级数据帧的中间分片。通过上述设计,可以确定第一数据帧和第二数据帧的接收范围。
在一种可能的设计中,所述高优先级数据帧为数据信息帧或者非数据信息帧。
在一种可能的设计中,接收第六数据包,第六数据包包括指示位和负荷,其中,第六 数据包包括指示位和负荷,第六数据包的指示位指示第六数据包为高优先级数据帧的起始分片,第六数据包的负荷指示第六数据包为非数据信息帧;根据第六数据包确定非数据信息。通过上述设计,可以实现非数据信息的发送,并且可以将非数据信息与数据帧进行区分。
第三方面,本申请提供一种信息传输装置,该装置可以是通信设备,也可以是通信设备内的芯片或芯片组,通信设备可以是发送节点,也可以是接收节点。该装置可以包括处理单元和收发单元。当该装置是通信设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理单元执行该存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计相应的方法,或者,以执行上述第二方面或第二方面任一设计相应的方法。当该装置是通信设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储模块所存储的指令,以执行上述第一方面或第一方面中任一设计相应的方法,或者,以执行上述第二方面或第二方面任一设计相应的方法。该存储模块可以是该芯片或芯片组内的存储模块(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储模块(例如,只读存储器、随机存取存储器等)。
第四方面,本申请提供了一种信息传输装置,包括:处理器,还可以包括通信接口和存储器。通信接口用于该装置与其它装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。
第五方面,本申请实施例提供了一种信息传输系统,包括上述第三方面中的信息传输装置,以及上述第四方面中的信息传输装置。
第六方面,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。
第七方面,本申请实施例还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。
第八方面,本申请实施例还提供一种通信系统,该系统包括发送节点和接收节点,其中,发送节点可以执行上述第一方面或第一方面中任一设计相应的方法,接收节点可以执行上述第二方面或第二方面任一设计相应的方法。
第九方面,本申请实施例提供的一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行本申请实施例第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。
第十方面,本申请实施例提供一种芯片,包括通信接口和至少一个处理器,所述处理器运行以执行本申请实施例第一方面或第一方面中任一设计、第二方面或第二方面中任一设计的方法。
第十一方面,本申请实施例提供一种车辆,该车辆包括第一设备和/或第二设备,第一设备用于执行前述第一方面或第一方面中任一设计的方法,第二设备用于执行前述第二方 面或第二方面中任一设计的方法。
需要说明的是,本申请实施例中“耦合”是指两个部件彼此直接或间接地结合。
附图说明
图1为本申请实施例提供的一种信息传输方法的流程示意图;
图2为本申请实施例提供的一种数据帧的传输示意图;
图3为本申请实施例提供的一种数据帧的传输示意图;
图4为本申请实施例提供的一种数据帧的传输示意图;
图5为本申请实施例提供的一种数据帧的传输示意图;
图6为本申请实施例提供的一种非数据信息的传输示意图;
图7为本申请实施例提供的一种非数据信息的传输示意图;
图8为本申请实施例提供的一种非数据信息的传输示意图;
图9为本申请实施例提供的一种非数据信息的传输示意图;
图10为本申请实施例提供的一种数据帧的传输示意图;
图11为本申请实施例提供的一种非数据信息的传输示意图;
图12为本申请实施例提供的一种通信装置的结构示意图;
图13为本申请实施例提供的一种通信装置的结构示意图。
具体实施方式
本申请实施例的说明书和权利要求书及附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本申请实施例可以适用于有线传输,例如可以适用于有线点对点高速传输,如摄像头到自动驾驶平台多域控制器(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可以是单个,也可以是多个。
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多 个对象进行区分,不用于限定多个对象的大小、内容、顺序、时序、优先级或者重要程度等。例如,第一数据包和第二数据包,只是为了便于描述而给予的名称,这两个数据包可能是同一个数据包,或者也可能是不同的数据包。
下面介绍本申请实施例涉及的技术特征。
在通信系统中,不同业务类型的信息对应的数据包大小可以不同。不同业务类型的信息也可以配置不同的优先级。例如,对于车内摄像头数据传输场景中图像类型的数据帧,一个数据包大小约2000字节,配置较低的优先级。对于集成电路总线(inter-integrated circuit,I2C)、通用输入/输出(general-purpose input/output,GPIO)、串行外设接口(serial peripheral interface,SPI)等类型的控制信息,一个数据包大小约10字节,配置的优先级比车内摄像头数据传输场景中图像类型的数据帧的优先级高。此外,还有一些类型(如重训练、休眠等)的控制信息,一个数据包的大小小于8字节,配置的优先级比I2C、GPIO、SPI等类型的控制信息的优先级高。而优先级越高的数据包要求传输的时延和抖动越低。但是目前的信息传输机制中,只能实现长度低于64字节的控制信息的优先调度传输,对于优先级较高的数据帧,无法及时调度传输,造成这些信息的时延较大和抖动较高。
基于此,本申请实施例提供一种信息传输方法及装置,用于解决优先级较高的数据帧等无法及时调度传输,造成这些信息的时延较大和抖动较高的问题。其中,方法和装置是基于同一技术构思的,由于方法及设备解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。本申请实施例提供一种信息传输方法及装置,可以应用于车内网,特别是智能汽车车内网,也可以应用于其它有线传输设备。
下面将结合图1,对本申请实施例进行详细描述。
本申请提供一种信息传输方法,该方法可以应用于信息传输系统。如图1所示,该方法包括:
S101,发送节点发送第一数据帧的N1个第一数据包。相应的,接收节点接收第一数据帧的N1个第一数据包。
其中,N1为大于或等于1的整数。
S102,当满足第一条件时,发送节点发送第二数据帧的M个第二数据包。相应的,接收节点接收第二数据帧的M个第二数据包。
第一条件可以包括所述第二数据帧的优先级高于所述第一数据帧的优先级。可选的,所述第一条件还可以包括数据帧截断开启。
其中,数据帧截断关闭可以指高优先级数据帧不可以打断低优先级数据帧的传输,也就是不允许在低优先级数据帧传输过程插入高优先级数据帧。数据帧截断开启可以指高优先级数据帧可以打断低优先级数据帧的传输,也就是允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧。
根据步骤S102,发送节点在满足第一条件时可以优先发送第二数据帧的M个第二数据包,也就是可以在发送第一数据帧的N2个第一数据包之前,发送第二数据帧的M个第二数据包。
一种可能的实施方式中,当满足第二条件时,第一设备在发送所述N2个第一数据包后,发送所述第二数据帧的M个第二数据包。第二条件可以包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
S103,发送节点发送第一数据帧的N2个第一数据包。相应的,接收节点接收第一数 据帧的N2个第一数据包。
其中,第一数据帧包含N1个第一数据包和N2个第一数据包,N2为大于或等于0的整数。
S104,接收节点根据所述N1个第一数据包以及所述N2个第一数据包确定第一数据帧。
S105,接收节点根据所述M个第二数据包确定第二数据帧。
需要说明的是,步骤S105也可以在步骤S103之前执行。
一种可能的实施方式中,第一数据包中可以包括指示位和负荷,其中,第一数据包的负荷携带第一数据帧的起始分片、中间分片或结束分片中的一项,第一数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。第二数据包可以包括指示位和负荷,其中,第二数据包的负荷分别携带第二数据帧的起始分片、中间分片或结束分片中的一项,第二数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。
示例一,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片,N2个第一数据包的第N2个第一数据包的指示位指示第N2个第一数据包为结束分片;M个第二数据包中第1个第二数据包的指示位指示第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片,第M个第二数据包的指示位指示第M个第二数据包为结束分片。
接收节点在接收两个指示位指示起始分片的数据包后可以确定第二个指示位指示起始分片的数据包为第二数据帧的第一个数据包,第一个指示位指示起始分片的数据包为第一数据帧的第一个数据包。并且,接收节点在接收两个指示位指示起始分片的数据包后接收两个指示位指示结束分片的数据包。接收节点确定第一个指示位指示结束分片的数据包为第二数据帧的最后一个数据包,第二个指示位指示结束分片的数据包为第一数据帧的最后一个数据包。且,接收节点确定第二数据帧的中间数据包包括:第二个指示位指示起始分片的数据包与第一个指示位指示结束分片的数据包之间的数据包中指示位指示中间分片的数据包,第一数据帧的中间数据包包括:第一个指示位指示起始分片的数据包与第二个指示位指示起始分片的数据包之间的数据包中指示位指示中间分片的数据包,以及第一个指示位指示结束分片的数据包与第二个指示位指示结束分片的数据包之间的数据包中指示位指示中间分片的数据包。
其中,两个指示位指示起始分片的数据包之间没有指示位指示结束分片的数据包。
举例说明中,携带起始分片的数据包的指示位可以为第一值,携带中间分片的数据包的指示位可以为第二值,携带结束分片的数据包的指示位可以为第三值,其中,第一值用于指示起始分片,第二值用于指示中间分片,第三值用于指示结束分片。可选的,携带非数据信息的数据包的指示位可以为第四值,第四值用于指示非数据信息。
因此,N1个第一数据包中的第1个第一数据包的指示位可以为第一值,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位可以为第二值,N2个第一数据包的第N2个第一数据包的指示位可以为第三值。M个第二数据包中第1个第二数据包的指示位可以为第一值,第2个至第(M-1)个第二数据包的指示位可以为第二值,第M个第二数据包的指示位可以为第三值。
以第一值为01,第二值为00,第三值为10,第四值为11为例,第一数据帧的大小为64B×250,第二数据帧的大小为64B×4。如图2所示,发送节点在发送了第一数据帧的3个数据包之后,发送第二数据帧的4个数据包,并在发送第二数据帧的4个数据包后继续发送第一数据帧未发送的247个数据包。
接收节点在接收两个指示位为01的数据包后可以认为第二个指示位为01的数据包为第二数据帧的第一个数据包。第二数据帧包括:第二个指示位为01的数据包、第二个指示位为01的数据包与第一个指示位为10的数据包之间的数据包中指示位为00的数据包、以及第一个指示位为10的数据包。第一数据帧包括:第一个指示位为01的数据包、第一个指示位为01的数据包与第二个指示位为01的数据包之间的数据包中指示位为00的数据包、第一个指示位为10的数据包与第二个指示位为10的数据包之间指示位为00的数据包、以及第二个指示位为10的数据包。
示例二,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始/结束分片,N2个第一数据包中的第N2个第一数据包的指示位指示第N2个第一数据包为低优先级数据帧的起始/结束分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示第M个第二数据包为高优先级数据帧的起始/结束分片,M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片。
接收节点可以确定第一数据帧包括:第一个指示位指示低优先级数据帧的起始/结束分片的数据包、第一个指示位指示低优先级数据帧的起始/结束分片的数据包与第一个指示位指示高优先级数据帧的起始/结束分片的数据包之间的数据包中指示位指示中间分片的数据包、第二个指示位指示高优先级数据帧的起始/结束分片的数据包与第二个指示位指示低优先级数据帧的起始/结束分片的数据包之间的数据包中指示位指示中间分片的数据包、以及第二个指示位指示低优先级数据帧的起始/结束分片的数据包。第二数据帧包括:第一个指示位指示高优先级数据帧的起始/结束分片的数据包、第一个指示位指示高优先级数据帧的起始/结束分片的数据包与第二个指示位指示高优先级数据帧的起始/结束分片的数据包之间的数据包中指示位指示中间分片的数据包、以及第二个指示位指示高优先级数据帧的起始/结束分片的数据包。
举例说明中,携带第一数据帧的起始/结束分片的数据包的指示位可以为第一值,携带中间分片的数据包的指示位可以为第二值,携带第二数据帧的起始/结束分片的数据包的指示位可以为第三值,其中,第一值用于指示低优先级数据帧的起始分片,第二值用于指示中间分片,第三值用于指示高优先级数据帧的起始/结束分片。可选的,携带非数据信息的数据包的指示位可以为第四值,第四值用于指示非数据信息。
因此,N1个第一数据包中的第1个第一数据包的指示位可以为第一值,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位可以为第二值,N2个第一数据包的第N2个第一数据包的指示位可以为第一值。M个第二数据包中第1个第二数据包的指示位可以为第三值,第2个至第(M-1)个第二数据包的指示位可以为第二值,第M个第二数据包的指示位可以为第三值。
以第一值为00,第二值为01,第三值为10,第四值为11为例,第一数据帧的大小为 64B×250,第二数据帧的大小为64B×4。如图3所示,发送节点在发送了第一数据帧的三个数据包之后,发送第二数据帧的4个数据包,并在发送第二数据帧的4个数据包后继续发送第一数据帧未发送的247个数据包。可选的,在发送第一数据帧之后还可以发送第三数据帧,其中第三数据帧的大小为64B×3。
接收节点可以确定第二数据帧包括:第一个指示位为10的数据包、第一个指示位为10的数据包与第二个指示位为10的数据包之间的数据包中指示位为01的数据包、以及第二个指示位为10的数据包。第一数据帧包括:第一个指示位为00的数据包、第一个指示位为00的数据包与第一个指示位为10的数据包之间的数据包中指示位为01的数据包、第二个指示位为10的数据包与第二个指示位为00的数据包之间的数据包中指示位为01的数据包、以及第二个指示位为00的数据包。第三数据帧为第三个指示位为00的数据包、第三个指示位为00的数据包与第四个指示位为00的数据包之间的数据包中指示位为01的数据包、以及第四个指示位为00的数据包。
示例三,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包指示第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
可选的,发送节点在发送第二数据帧的M个第二数据包之后,可以发送第三数据包,第三数据包包括指示位和负荷,第三数据包的指示位指示非数据信息,第三数据包的负荷指示数据帧传输结束。在发送第一数据帧的N2个第一数据包之后,可以发送第四数据包,第四数据包包括指示位和负荷,第四数据包的指示位指示非数据信息,第四数据包的负荷指示数据帧传输结束。其中,第三数据包与第四数据包指示数据帧传输结束的方式可以相同也可以不同,这里不做具体限定。
接收节点可以确定第一数据帧包括:指示位指示低优先级数据帧的起始分片的数据包、指示位指示低优先级数据帧的起始分片的数据包与指示位指示高优先级数据帧的起始分片的数据包之间的数据包中指示位指示中间分片的数据包、第一个指示位指示非数据信息且负荷指示数据帧传输结束的数据包(即第三数据包)与第二个指示位指示非数据信息且负荷指示数据帧传输结束的数据包(即第四数据包)之间的数据包中指示位指示中间分片的数据包。第二数据帧包括:指示位指示高优先级数据帧的起始分片的数据包、指示位指示高优先级数据帧的起始分片的数据包与第一个指示位指示非数据信息且负荷指示数据帧传输结束的数据包(即第三数据包)之间的数据包中指示位指示中间分片的数据包。
举例说明中,携带第一数据帧的起始分片的数据包的指示位可以为第一值,携带中间/结束分片的数据包的指示位可以为第二值,携带第二数据帧的起始分片的数据包的指示位可以为第三值,携带非数据信息的数据包的指示位可以为第四值,其中,第一值用于指示低优先级数据帧的起始分片,第二值用于指示中间分片,第三值用于指示高优先级数据帧的起始分片,第四值用于指示非数据信息。
因此,N1个第一数据包中的第1个第一数据包的指示位可以为第一值,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位可以为第二值。M个第二数据包中第1个第二数据包的指示位可以为第三值,第2个至第M个第二数据包的指示位可以为第二值。第三数据包的指示位和第四数据包的指示位可以为第四值。
以第一值为00,第二值为01,第三值为10,第四值为11为例,第一数据帧的大小为64B×250,第二数据帧的大小为64B×4。如图4所示,发送节点在发送了第一数据帧的三个数据包之后,发送第二数据帧的4个数据包,并在发送第二数据帧的4个数据包后继续发送第一数据帧未发送的247个数据包。
接收节点可以确定第二数据帧包括:指示位为10的数据包、指示位为10的数据包与第一个指示位为11且负荷指示数据帧传输结束的数据包之间的数据包中指示位为01的数据包。第一数据帧包括:指示位为00的数据包、指示位为00的数据包与指示位为10的数据包之间的数据包中指示位为01的数据包、第一个指示位为11且负荷指示数据帧传输结束的数据包与第二个指示位为11且负荷指示数据帧传输结束的数据包之间的数据包中指示位为01的数据包。
示例四,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片且第1个第一数据包的负荷指示第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高先级数据帧的起始分片且第1个第二数据包的负荷指示第二数据帧的长度,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
举例说明中,携带第一数据帧的起始分片的数据包的指示位可以为第一值,携带中间/结束分片的数据包的指示位可以为第二值,携带第二数据帧的起始分片的数据包的指示位可以为第三值,其中,第一值用于指示低优先级数据帧的起始分片,第二值用于指示中间分片,第三值用于指示高优先级数据帧的起始分片。
可选的,携带非数据信息的数据包的指示位可以为第四值,第四值用于指示非数据信息。
因此,N1个第一数据包中的第1个第一数据包的指示位可以为第一值,且该第1个第一数据包可以携带第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位可以为第二值。M个第二数据包中第1个第二数据包的指示位可以为第三值,且该第1个第二数据包可以携带第一数据帧的长度,第2个至第M个第二数据包的指示位可以为第二值。
以第一值为00,第二值为01,第三值为10,第四值为11为例,第一数据帧的大小为64B×250,第二数据帧的大小为64B×4。如图5所示,发送节点在发送了第一数据帧的三个数据包之后,发送第二数据帧的4个数据包,并在发送第二数据帧的4个数据包后继续发送第一数据帧未发送的247个数据包。
接收节点可以确定第一数据帧包括:指示位为00的数据包、指示位为10的数据包之后的指示位为01的2个数据包、以及第二数据帧之后的数据包中指示位为01的247个数据包,第二数据帧包括指示位为10的数据包、以及指示位为10的数据包之后的数据包中指示位为01的3个数据包。
可选的,发送节点还可以发送非数据信息的K个第五数据包,其中,第五数据包包括指示位和负荷,其中,第五数据包的指示位指示第五数据包为非数据信息,第五数据包的负荷携带非数据信息的一个分片,K为大于0的整数。
其中,非数据信息可以在第一数据帧和第二数据帧的任一数据包之后或者任一数据包之前发送。例如,以非数据信息的大小为64B为例,结合图2所示的信息传输方法,非数 据信息的发送方式可以如图6所示。结合图3所示的信息传输方法,非数据信息的发送方式可以如图7所示。结合图4所示的信息传输方法,非数据信息的发送方式可以如图8所示。结合图5所示的信息传输方法,非数据信息的发送方式可以如图9所示。
示例五,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为低优先级数据帧的中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始分片,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为高优先级数据帧的中间分片。其中,高优先级数据帧为数据信息帧或者非数据信息帧。
接收节点可以确定第一数据帧包括:指示位指示低优先级数据帧的起始分片的数据包、指示位指示低优先级数据帧的中间分片的数据包。第二数据帧包括:指示位指示高优先级数据帧的起始分片的数据包且该数据包不是非数据信息、指示位指示高优先级数据帧的中间分片的数据包。
举例说明中,携带第一数据帧的起始分片的数据包的指示位可以为第一值,携带中间/结束分片的数据包的指示位可以为第二值,携带第二数据帧的起始分片的数据包的指示位可以为第三值,携带中间/结束分片的数据包的指示位可以为第四值,携带非数据信息的数据包的指示位为第三值。其中,第一值用于指示低优先级数据帧的起始分片,第二值用于指示低优先级数据帧的中间分片,第三值用于指示高优先级数据帧的起始分片,第四值用于指示高优先级数据帧的中间分片。
因此,N1个第一数据包中的第1个第一数据包的指示位可以为第一值,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位可以为第二值。M个第二数据包中第1个第二数据包的指示位可以为第三值,第2个至第M个第二数据包的指示位可以为第四值。非数据信息的数据包的指示位可以为第三值。
以第一值为00,第二值为01,第三值为10,第四值为11为例,第一数据帧的大小为64B×250,第二数据帧的大小为64B×4。如图10所示,发送节点在发送了第一数据帧的三个数据包之后,发送第二数据帧的4个数据包,并在发送第二数据帧的4个数据包后继续发送第一数据帧未发送的247个数据包。
接收节点可以确定第二数据帧包括:指示位为10的数据包且该数据包不是非数据信息、指示位为11的数据包。第一数据帧包括:指示位为00的数据包、指示位为01的数据包。
可以理解的,上述第一值至第四值的取值,以及数据帧的大小仅为举例,本申请实施例对此不作限定。
可选的,在上述示例性说明中,接收节点可以通过如下两种方式中任一种方式确定数据帧的结束:
方式一,发送节点在发送第二数据帧的M个第二数据包之后,也可以发送第七数据包,第七数据包包括指示位和负荷,第七数据包的指示位为第三值且第七数据包的负荷指示数据帧传输结束。在发送第一数据帧的N2个第一数据包之后,可以发送第八数据包,第八数据包包括指示位和负荷,第八数据包的指示位为第三值且第八数据包的负荷指示数据帧传输结束。其中,第七数据包与第八数据包指示数据帧传输结束的方式可以相同也可以不同,这里不做具体限定。通过上述方式,第二数据帧在接收到第七数据包后可以确定第二 数据帧传输结束,在接收到第八数据帧后确定第一数据帧传输结束。
方式二,接收节点可以确定第一数据帧的结束数据包为第二个指示位为第一值的数据包的前一个数据包,第二数据帧的结束数据包为指示位为第二值的数据包的前一个数据包,其中,该指示位为第二值的数据包的接收时间晚于指示位为第三值的数据包的接收时间。
可选的,发送节点还可以发送携带非数据信息的第六数据包,其中,第六数据包包括指示位和负荷,第六数据包的指示位指示高优先级数据帧的起始分片。
可选的,第1个第二数据包的负荷可以指示数据帧。和/或,携带非数据信息的数据包的负荷可以指示非数据信息。通过上述方式可以区分高优先级数据帧的起始分片和非数据信息。
其中,第六数据包可以在第一数据帧和第二数据帧的任一数据包之后或者任一数据包之前发送。例如,结合图10所示的信息传输方法,非数据信息的发送方式可以如图11所示。
示例性的,非数据信息可以但不限于为物理层填充比特、子指示位、控制信息等。
应理解,本申请实施例仅以2比特的指示位为例进行说明,在具体实施中,指示位包括的比特数量也可以为其他,例如3比特、4比特等,这里不做具体限定。若指示位包括的比特数大于2个,该指示位的其他取值也可以用来指示其他内容,或者也可以预留,这里不做具体限定。
在一种可能的实施方式中,若数据帧截断关闭,在低优先级数据帧传输过程中,不允许插入高优先级数据帧。若数据帧截断开启,允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧。其中,数据帧截断关闭可以指高优先级数据帧不可以打断低优先级数据帧的传输,也就是不允许在低优先级数据帧传输过程插入高优先级数据帧。数据帧截断开启可以指高优先级数据帧可以打断低优先级数据帧的传输,也就是允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧。
结合上文中的示例一进行说明,指示位为01时指示数据包携带起始分片,也就是该数据包为数据帧传输的开始,指示位为10时指示数据包携带结束分片,也就是该数据包为数据帧传输的结束。若数据帧截断关闭,指示位为01的数据包和指示位为10的数据包可以顺序成对出现,即指示位为01的数据包和指示位为10的数据包之间不存在其他的指示位为01的数据包和指示位为10的数据包,通过这种方式可以保证低优先级数据帧可以不被高优先级数据帧打断传输。若数据帧截断开启,允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧,因此指示位为01的数据包和指示位为10的数据包之间可以存在其他的指示位为01的数据包和指示位为10的数据包,例如,如图2所示。
结合上文中的示例二进行说明,指示位为00时指示数据包携带低优先级数据帧的起始分片或者结束分片,也就是该数据包为低优先级数据帧传输的开始或者结束,指示位为10时指示数据包携带高优先级数据帧的起始分片或者结束分片,也就是该数据包为高优先级数据帧传输的开始或结束。若数据帧截断关闭,指示位为00的数据包可以顺序成对出现,即两个指示位为00的数据包之间不存在指示位为10的数据包,通过这种方式可以保证低优先级数据帧可以不被高优先级数据帧打断传输。若数据帧截断开启,允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧,因此两个指示位为00的数据包之间可以存在指示位为10的数据包,例如,如图3所示。
结合上文中的示例三进行说明,指示位为00时指示数据包携带低优先级数据帧的起 始分片,也就是该数据包为低优先级数据帧传输的开始,指示位为10时指示数据包携带高优先级数据帧的起始分片,也就是该数据包为高优先级数据帧传输的开始,指示位为11时指示非数据信息。若数据帧截断关闭,指示位为00的数据包和指示位为11且负荷指示数据帧传输结束的数据包可以顺序成对出现,即指示位为00的数据包和指示位为11且负荷指示数据帧传输结束的数据包之间不存在指示位为10的数据包和指示位为11且负荷指示数据帧传输结束的数据包,通过这种方式可以保证低优先级数据帧可以不被高优先级数据帧打断传输。若数据帧截断开启,允许在低优先级数据帧传输过程插入一个或多个高优先级数据帧,因此指示位为00的数据包和指示位为11且负荷指示数据帧传输结束的数据包之间可以存在指示位为10的数据包和指示位为11且负荷指示数据帧传输结束的数据包,例如,如图4所示。
本申请实施例介绍了两个优先级不同的数据帧的发送过程,应理解,该方法也可以适用于多个优先级不同的数据帧的发送,例如,假设第三数据帧待发送,其中,第三数据帧的优先级高于第二数据帧的优先级,第三数据帧可以插入到第二数据帧的任一数据包后进行发送,在该过程中,第三数据帧的发送过程与前文中第二数据帧的发送过程类似,而第二数据帧的发送过程与前文中第一数据帧的发送过程类似,重复之处不再赘述。
本申请实施例中,通过指示位取不同值时标识的意义不同,可以优先调度高优先级数据帧传输,从而可以降低其传输时延和抖动。
基于与方法实施例的同一技术构思,本申请实施例提供一种通信装置。该装置的结构可以如图12所示,包括处理单元1201以及收发单元1202。
一种实现方式中,通信装置具体可以用于实现图1至图11的实施例中发送节点执行的方法,该装置可以是发送节点本身,也可以是发送节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元1202,用于收发信息;处理单元1201,用于:通过收发单元1202发送第一数据帧的N1个第一数据包;以及,当满足第一条件时,在通过所述收发单元1202发送所述第一数据帧的N2个第一数据包之前,通过所述收发单元1202发送第二数据帧的M个第二数据包。所述第一条件包括第二数据帧的优先级高于第一数据帧的优先级;第一数据帧包含N1个第一数据包和N2个第一数据包,所述N1、N2、M分别为正整数。
可选的,所述第一条件还包括数据帧截断开启。
可选的,当满足第二条件时,在发送所述N2个第一数据包后,发送所述第二数据帧的M个第二数据包;所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
示例性的,第一数据包中包括指示位和负荷,其中,第一数据包的负荷携带第一数据帧的起始分片、中间分片或结束分片中的一项,第一数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项;第二数据包均包括指示位和负荷,其中,第二数据包的负荷分别携带第二数据帧的起始分片、中间分片或结束分片中的一项,第二数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片,N2个第一数据包的第N2个第一数据包的指示位指示第N2个第一数据包为结束分片;M个第二数据包 中第1个第二数据包的指示位指示第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片,第M个第二数据包的指示位指示第M个第二数据包为结束分片。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始/结束分片,N2个第一数据包中的第N2个第一数据包的指示位指示第N2个第一数据包为低优先级数据帧的起始/结束分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示第M个第二数据包为高优先级数据帧的起始/结束分片,M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包指示第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
可选的,处理单元1201,还用于:在通过收发单元1202发送第二数据帧的M个第二数据包之后,发送第三数据包,第三数据包包括指示位和负荷,第三数据包的指示位指示第三数据包为非数据信息,第三数据包的负荷指示数据帧传输结束;在通过收发单元1202发送第一数据帧的N2个第一数据包之后,发送第四数据包,第四数据包包括指示位和负荷,第四数据包的指示位指示第四数据包为非数据信息,第四数据包的负荷指示数据帧传输结束。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片且第1个第一数据包的负荷指示第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高先级数据帧的起始分片且第1个第二数据包的负荷指示第二数据帧的长度,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
可选的,处理单元1201,还用于:通过收发单元1202发送非数据信息的K个第五数据包,其中,第五数据包包括指示位和负荷,其中,第五数据包的指示位指示第五数据包为非数据信息,第五数据包的负荷携带非数据信息的一个分片,K为大于0的整数。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为低优先级数据帧的中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始分片,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为高优先级数据帧的中间分片。
示例性的,高优先级数据帧为数据信息帧或者非数据信息帧。
可选的,处理单元1201,还用于:通过收发单元1202发送携带非数据信息的第六数据包,其中,第六数据包包括指示位和负荷,第六数据包的指示位指示第六数据包为高优 先级数据帧的起始分片,第六数据包的负荷指示第六数据包为非数据信息帧。
一种实现方式中,通信装置具体可以用于实现图1至图11的实施例中接收节点执行的方法,该装置可以是接收节点本身,也可以是接收节点中的芯片或芯片组或芯片中用于执行相关方法功能的一部分。其中,收发单元1202,用于接收N1个第一数据包;以及,当满足第一条件时,在接收N2个第一数据包之前,接收M个第二数据包,所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级,所述N1、N2、M分别为正整数;处理单元1201,用于根据N1个第一数据包以及N2个第一数据包确定第一数据帧;以及,根据M个第二数据包确定第二数据帧。
可选的,所述第一条件还包括数据帧截断开启。
可选的,当满足第二条件时,在接收所述N2个第一数据包后,接收所述M个第二数据包;所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
示例性的,第一数据包中包括指示位和负荷,其中,第一数据包的负荷携带第一数据帧的起始分片、中间分片或结束分片中的一项,第一数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项;第二数据包均包括指示位和负荷,其中,第二数据包的负荷分别携带第二数据帧的起始分片、中间分片或结束分片中的一项,第二数据包的指示位指示第一数据帧的起始分片、中间分片或结束分片中的一项。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片,N2个第一数据包的第N2个第一数据包的指示位指示第N2个第一数据包为结束分片;M个第二数据包中第1个第二数据包的指示位指示第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片,第M个第二数据包的指示位指示第M个第二数据包为结束分片。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始/结束分片,N2个第一数据包中的第N2个第一数据包的指示位指示第N2个第一数据包为低优先级数据帧的起始/结束分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示第M个第二数据包为高优先级数据帧的起始/结束分片,M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示第二数据包为中间分片。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包指示第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
可选的,收发单元1202,还用于:在接收M个第二数据包之后,接收第三数据包,第三数据包包括指示位和负荷,第三数据包的指示位指示第三数据包为非数据信息,第三数据包的负荷指示数据帧传输结束;在接收N2个第一数据包之后,接收第四数据包,第 四数据包包括指示位和负荷,第四数据包的指示位指示第四数据包为非数据信息,第四数据包的负荷指示数据帧传输结束。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片且第1个第一数据包的负荷指示第一数据帧的长度,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高先级数据帧的起始分片且第1个第二数据包的负荷指示第二数据帧的长度,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为中间分片。
示例性的,收发单元1202,还用于:接收K个第五数据包,K个第五数据包均包括指示位和负荷,其中,K个第五数据包的指示位指示第五数据包为非数据信息,K为大于0的整数,第五数据包的负荷携带非数据信息的一个分片;根据K个第五数据包确定非数据信息。
示例性的,N1个第一数据包中的第1个第一数据包的指示位指示第1个第一数据包为低优先级数据帧的起始分片,N1个第一数据包中的第2个至第N1个第一数据包以及N2个第一数据包的指示位分别指示第一数据包为低优先级数据帧的中间分片;M个第二数据包中的第1个第二数据包的指示位指示第1个第二数据包为高优先级数据帧的起始分片,M个第二数据包中的第2个至第M个第二数据包的指示位分别指示第二数据包为高优先级数据帧的中间分片。
示例性的,高优先级数据帧为数据信息帧或者非数据信息帧。
可选的,收发单元1202,还用于:接收第六数据包,第六数据包包括指示位和负荷,其中,第六数据包包括指示位和负荷,第六数据包的指示位指示第六数据包为高优先级数据帧的起始分片,第六数据包的负荷指示第六数据包为非数据信息帧;根据第六数据包确定非数据信息。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可以理解的是,本申请实施例中各个模块的功能或者实现可以进一步参考方法实施例的相关描述。
一种可能的方式中,通信装置可以如图13所示,该装置可以是发送节点或者发送节点中的芯片。该装置可以包括处理器1301,通信接口1302,存储器1303。其中,处理单元1201可以为处理器1301。收发单元1202以为通信接口1302。
处理器1301,可以是一个中央处理单元(Central Processing Unit,CPU),或者为数字处理单元等等。通信接口1302可以是收发器、也可以为接口电路如收发电路等、也可以为收发芯片等等。该装置还包括:存储器1303,用于存储处理器1301执行的程序。存储器1303可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1303是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。
处理器1301用于执行存储器1303存储的程序代码,具体用于执行上述处理单元1201的动作,本申请在此不再赘述。通信接口1302具体用于执行上述收发单元1202的动作, 本申请在此不再赘述。
本申请实施例中不限定上述通信接口1302、处理器1301以及存储器1303之间的具体连接介质。本申请实施例在图13中以存储器1303、处理器1301以及通信接口1302之间通过总线1304连接,总线在图13中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本申请实施例还提供一种通信系统,包括用于实现图1至图11的实施例中发送节点功能的通信装置和用于实现图1至图11的实施例中接收节点功能的通信装置。
本申请实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。
本申请实施例还提供了一种车辆,该车辆包括第一设备和/或第二设备,第一设备和第二设备用于单独或共同实现图1中的信息传输方法。示例性的,第一设备和第二设备可以为图12所示的通信装置。
本申请实施例还提供了一种芯片,芯片包括至少一个处理器和通信接口,处理器与存储器耦合,用于读取存储器中存储的计算机程序以执行图1所示的方法或实现图2至图11实施例中的功能。
本申请实施例还提供了一种芯片,包括通信接口和至少一个处理器,所述处理器运行以执行图1所示的方法或实现图2至图11实施例中的功能。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (58)

  1. 一种信息传输方法,其特征在于,所述方法包括:
    发送第一数据帧的N1个第一数据包;
    当满足第一条件时,在发送所述第一数据帧的N2个第一数据包之前,发送第二数据帧的M个第二数据包;
    所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级;
    所述第一数据帧包含所述N1个第一数据包和所述N2个第一数据包,所述N1、N2、M分别为正整数。
  2. 如权利要求1所述的方法,其特征在于,所述第一条件还包括数据帧截断开启。
  3. 如权利要求1或2所述的方法,其特征在于,当满足第二条件时,在发送所述N2个第一数据包后,发送所述第二数据帧的M个第二数据包;
    所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
  4. 如权利要求1-3任一项所述的方法,其特征在于,
    所述第一数据包中包括指示位和负荷,其中,所述第一数据包的负荷携带所述第一数据帧的起始分片、中间分片或结束分片中的一项,所述第一数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项;
    所述第二数据包中包括指示位和负荷,其中,所述第二数据包的负荷携带所述第二数据帧的起始分片、中间分片或结束分片中的一项,所述第二数据包的指示位指示所述第二数据帧的起始分片、中间分片或结束分片中的一项。
  5. 如权利要求4所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片,所述N2个第一数据包的第N2个第一数据包的指示位指示所述第N2个第一数据包为结束分片;
    所述M个第二数据包中第1个第二数据包的指示位指示所述第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片,第M个第二数据包的指示位指示所述第M个第二数据包为结束分片。
  6. 如权利要求4所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始/结束分片,所述N2个第一数据包中的第N2个第一数据包的指示位指示所述第N2个第一数据包为低优先级数据帧的起始/结束分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示所述第M个第二数据包为高优先级数据帧的起始/结束分片,所述M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片。
  7. 如权利要求4所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据 包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包指示所述第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  8. 如权利要求7所述的方法,其特征在于,所述方法还包括:
    在发送第二数据帧的M个第二数据包之后,发送第三数据包,所述第三数据包包括指示位和负荷,所述第三数据包的指示位指示所述第三数据包为非数据信息,所述第三数据包的负荷指示数据帧传输结束;
    在发送所述第一数据帧的N2个第一数据包之后,发送第四数据包,所述第四数据包包括指示位和负荷,所述第四数据包的指示位指示所述第四数据包为非数据信息,所述第四数据包的负荷指示数据帧传输结束。
  9. 如权利要求4所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片且所述第1个第一数据包的负荷指示所述第一数据帧的长度,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高先级数据帧的起始分片且所述第1个第二数据包的负荷指示所述第二数据帧的长度,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  10. 如权利要求5-9任一项所述的方法,其特征在于,所述方法还包括:
    发送K个第五数据包,其中,所述第五数据包包括指示位和负荷,其中,所述第五数据包的指示位指示所述第五数据包为非数据信息,所述第五数据包的负荷携带所述非数据信息的一个分片,所述K为大于0的整数。
  11. 如权利要求4所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为低优先级数据帧的中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始分片,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为高优先级数据帧的中间分片。
  12. 如权利要求10所述的方法,其特征在于,所述高优先级数据帧为数据信息帧或者非数据信息帧。
  13. 如权利要求12所述的方法,其特征在于,所述方法还包括:
    发送第六数据包,其中,所述第六数据包包括指示位和负荷,所述第六数据包的指示位指示所述第六数据包为高优先级数据帧的起始分片,所述第六数据包的负荷指示所述第六数据包为非数据信息帧。
  14. 一种信息传输方法,其特征在于,所述方法包括:
    接收N1个第一数据包;
    当满足第一条件时,在接收N2个第一数据包之前,接收M个第二数据包;所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级,所述N1、N2、M分别为正整数;
    根据所述N1个第一数据包以及所述N2个第一数据包确定第一数据帧;
    根据所述M个第二数据包确定第二数据帧,其中,所述第二数据帧的优先级高于所述第一数据帧的优先级。
  15. 如权利要求14所述的方法,其特征在于,所述第一条件还包括数据帧截断开启。
  16. 如权利要求14或15所述的方法,其特征在于,当满足第二条件时,在接收所述N2个第一数据包后,接收所述M个第二数据包;
    所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
  17. 如权利要求14-16任一项所述的方法,其特征在于,
    所述第一数据包中包括指示位和负荷,其中,所述第一数据包的负荷携带所述第一数据帧的起始分片、中间分片或结束分片中的一项,所述第一数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项;
    所述第二数据包均包括指示位和负荷,其中,所述第二数据包的负荷分别携带所述第二数据帧的起始分片、中间分片或结束分片中的一项,所述第二数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项。
  18. 如权利要求17所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片,所述N2个第一数据包的第N2个第一数据包的指示位指示所述第N2个第一数据包为结束分片;
    所述M个第二数据包中第1个第二数据包的指示位指示所述第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片,第M个第二数据包的指示位指示所述第M个第二数据包为结束分片。
  19. 如权利要求17所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始/结束分片,所述N2个第一数据包中的第N2个第一数据包的指示位指示所述第N2个第一数据包为低优先级数据帧的起始/结束分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示所述第M个第二数据包为高优先级数据帧的起始/结束分片,所述M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片。
  20. 如权利要求17所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包指示所述第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  21. 如权利要求20所述的方法,其特征在于,所述方法还包括:
    在接收M个第二数据包之后,接收第三数据包,所述第三数据包包括指示位和负荷,所述第三数据包的指示位指示所述第三数据包为非数据信息,所述第三数据包的负荷指示数据帧传输结束;
    在接收N2个第一数据包之后,接收第四数据包,所述第四数据包包括指示位和负荷,所述第四数据包的指示位指示所述第四数据包为非数据信息,所述第四数据包的负荷指示数据帧传输结束。
  22. 如权利要求17所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片且所述第1个第一数据包的负荷指示所述第一数据帧的长度,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高先级数据帧的起始分片且所述第1个第二数据包的负荷指示所述第二数据帧的长度,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  23. 如权利要求17-22任一项所述的方法,其特征在于,所述方法还包括:
    接收K个第五数据包,所述K个第五数据包均包括指示位和负荷,其中,所述K个第五数据包的指示位指示所述第五数据包为非数据信息,所述K为大于0的整数,所述第五数据包的负荷携带所述非数据信息的一个分片;
    根据所述K个第五数据包确定非数据信息。
  24. 如权利要求17所述的方法,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为低优先级数据帧的中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始分片,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为高优先级数据帧的中间分片。
  25. 如权利要求24所述的方法,其特征在于,所述高优先级数据帧为数据信息帧或者非数据信息帧。
  26. 如权利要求24或25所述的方法,其特征在于,所述方法还包括:
    接收第六数据包,所述第六数据包包括指示位和负荷,其中,所述第六数据包的指示位指示所述第六数据包为高优先级数据帧的起始分片,所述第六数据包的负荷指示所述第六数据包为非数据信息帧;
    根据所述第六数据包确定非数据信息。
  27. 一种信息传输装置,其特征在于,所述装置包括:
    收发单元,用于收发信息;
    处理单元,用于:通过所述收发单元发送第一数据帧的N1个第一数据包;
    以及,当满足第一条件时,在通过所述收发单元发送所述第一数据帧的N2个第一数据包之前,通过所述收发单元发送第二数据帧的M个第二数据包;
    所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级;
    所述第一数据帧包含所述N1个第一数据包和所述N2个第一数据包,所述N1、N2、M分别为正整数。
  28. 如权利要求27所述的装置,其特征在于,所述第一条件还包括数据帧截断开启。
  29. 如权利要求27或28所述的装置,其特征在于,当满足第二条件时,在发送所述N2个第一数据包后,发送所述第二数据帧的M个第二数据包;
    所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
  30. 如权利要求27-29任一项所述的装置,其特征在于,所述第一数据包中包括指示位和负荷,其中,所述第一数据包的负荷携带所述第一数据帧的起始分片、中间分片或结束分片中的一项,所述第一数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项;
    所述第二数据包均包括指示位和负荷,其中,所述第二数据包的负荷分别携带所述第二数据帧的起始分片、中间分片或结束分片中的一项,所述第二数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项。
  31. 如权利要求30所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片,所述N2个第一数据包的第N2个第一数据包的指示位指示所述第N2个第一数据包为结束分片;
    所述M个第二数据包中第1个第二数据包的指示位指示所述第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片,第M个第二数据包的指示位指示所述第M个第二数据包为结束分片。
  32. 如权利要求30所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始/结束分片,所述N2个第一数据包中的第N2个第一数据包的指示位指示所述第N2个第一数据包为低优先级数据帧的起始/结束分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示所述第M个第二数据包为高优先级数据帧的起始/结束分片,所述M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片。
  33. 如权利要求30所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包指示所述第1个第二数据包为高优先级数 据帧的起始分片,第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  34. 如权利要求33所述的装置,其特征在于,所述处理单元,还用于:
    在通过所述收发单元发送第二数据帧的M个第二数据包之后,发送第三数据包,所述第三数据包包括指示位和负荷,所述第三数据包的指示位指示所述第三数据包为非数据信息,所述第三数据包的负荷指示数据帧传输结束;
    在通过所述收发单元发送所述第一数据帧的N2个第一数据包之后,发送第四数据包,所述第四数据包包括指示位和负荷,所述第四数据包的指示位指示所述第四数据包为非数据信息,所述第四数据包的负荷指示数据帧传输结束。
  35. 如权利要求30所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片且所述第1个第一数据包的负荷指示所述第一数据帧的长度,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高先级数据帧的起始分片且所述第1个第二数据包的负荷指示所述第二数据帧的长度,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  36. 如权利要求31-35任一项所述的装置,其特征在于,所述处理单元,还用于:
    通过所述收发单元发送K个第五数据包,其中,所述第五数据包包括指示位和负荷,其中,所述第五数据包的指示位指示所述第五数据包为非数据信息,所述第五数据包的负荷携带所述非数据信息的一个分片,所述K为大于0的整数。
  37. 如权利要求30所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为低优先级数据帧的中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始分片,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为高优先级数据帧的中间分片。
  38. 如权利要求37所述的装置,其特征在于,所述高优先级数据帧为数据信息帧或者非数据信息帧。
  39. 如权利要求37或38所述的装置,其特征在于,所述处理单元,还用于:
    通过所述收发单元发送携带非数据信息的第六数据包,其中,所述第六数据包包括指示位和负荷,所述第六数据包的指示位指示所述第六数据包为高优先级数据帧的起始分片,所述第六数据包的负荷指示所述第六数据包为非数据信息帧。
  40. 一种信息传输装置,其特征在于,所述装置包括:
    收发单元,用于接收N1个第一数据包;以及
    当满足第一条件时,在接收N2个第一数据包之前,接收M个第二数据包,所述第一条件包括所述第二数据帧的优先级高于所述第一数据帧的优先级,所述N1、N2、M分别为正整数;
    处理单元,用于根据所述N1个第一数据包以及所述N2个第一数据包确定第一数据帧; 以及
    根据所述M个第二数据包确定第二数据帧。
  41. 如权利要求40所述的装置,其特征在于,所述第一条件还包括数据帧截断开启。
  42. 如权利要求40或41所述的装置,其特征在于,当满足第二条件时,在接收所述N2个第一数据包后,接收所述M个第二数据包;
    所述第二条件包括数据帧截断关闭和/或所述第一数据帧的优先级不低于所述第一数据帧的优先级。
  43. 如权利要求40-42任一项所述的装置,其特征在于,所述第一数据包中包括指示位和负荷,其中,所述第一数据包的负荷携带所述第一数据帧的起始分片、中间分片或结束分片中的一项,所述第一数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项;
    所述第二数据包均包括指示位和负荷,其中,所述第二数据包的负荷分别携带所述第二数据帧的起始分片、中间分片或结束分片中的一项,所述第二数据包的指示位指示所述第一数据帧的起始分片、中间分片或结束分片中的一项。
  44. 如权利要求43所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片,所述N2个第一数据包的第N2个第一数据包的指示位指示所述第N2个第一数据包为结束分片;
    所述M个第二数据包中第1个第二数据包的指示位指示所述第1个第二数据包为起始分片,第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片,第M个第二数据包的指示位指示所述第M个第二数据包为结束分片。
  45. 如权利要求43所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始/结束分片,所述N2个第一数据包中的第N2个第一数据包的指示位指示所述第N2个第一数据包为低优先级数据帧的起始/结束分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包中第1个至第(N2-1)个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始/结束分片,第M个第二数据包的指示位指示所述第M个第二数据包为高优先级数据帧的起始/结束分片,所述M个第二数据包中的第2个至第(M-1)个第二数据包的指示位分别指示所述第二数据包为中间分片。
  46. 如权利要求43所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包指示所述第1个第二数据包为高优先级数据帧的起始分片,第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  47. 如权利要求46所述的装置,其特征在于,所述收发单元,还用于:
    在接收M个第二数据包之后,接收第三数据包,所述第三数据包包括指示位和负荷,所述第三数据包的指示位指示所述第三数据包为非数据信息,所述第三数据包的负荷指示数据帧传输结束;
    在接收N2个第一数据包之后,接收第四数据包,所述第四数据包包括指示位和负荷,所述第四数据包的指示位指示所述第四数据包为非数据信息,所述第四数据包的负荷指示数据帧传输结束。
  48. 如权利要求43所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片且所述第1个第一数据包的负荷指示所述第一数据帧的长度,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高先级数据帧的起始分片且所述第1个第二数据包的负荷指示所述第二数据帧的长度,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为中间分片。
  49. 如权利要求44-48任一项所述的装置,其特征在于,所述收发单元,还用于:
    接收K个第五数据包,所述K个第五数据包均包括指示位和负荷,其中,所述K个第五数据包的指示位指示所述第五数据包为非数据信息,所述K为大于0的整数,所述第五数据包的负荷携带所述非数据信息的一个分片;
    根据所述K个第五数据包确定非数据信息。
  50. 如权利要求43所述的装置,其特征在于,所述N1个第一数据包中的第1个第一数据包的指示位指示所述第1个第一数据包为低优先级数据帧的起始分片,所述N1个第一数据包中的第2个至第N1个第一数据包以及所述N2个第一数据包的指示位分别指示所述第一数据包为低优先级数据帧的中间分片;
    所述M个第二数据包中的第1个第二数据包的指示位指示所述第1个第二数据包为高优先级数据帧的起始分片,所述M个第二数据包中的第2个至第M个第二数据包的指示位分别指示所述第二数据包为高优先级数据帧的中间分片。
  51. 如权利要求50所述的装置,其特征在于,所述高优先级数据帧为数据信息帧或者非数据信息帧。
  52. 如权利要求50或51所述的装置,其特征在于,所述收发单元,还用于:
    接收第六数据包,所述第六数据包包括指示位和负荷,其中,所述第六数据包的指示位指示所述第六数据包为高优先级数据帧的起始分片,所述第六数据包的负荷指示所述第六数据包为非数据信息帧;
    根据所述第六数据包确定非数据信息。
  53. 一种通信设备,其特征在于,所述设备包括处理器和通信接口,所述通信接口,用于接收计算机程序代码或指令并传输至所述处理器;所述处理器运行所述计算机程序代码或指令以使得所述装置实现如权利要求1-13任一项所述的方法。
  54. 一种通信设备,其特征在于,所述设备包括处理器和通信接口,所述通信接口,用于接收计算机程序代码或指令并传输至所述处理器;所述处理器运行所述计算机程序代码或指令以使得所述装置实现如权利要求14-26任一项所述的方法。
  55. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储程序或指 令,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求1至13任一项所述的方法,或者,所述程序或所述指令在被一个或多个处理器读取并执行时实现权利要求14-26任一项所述的方法。
  56. 一种计算机程序产品,其特征在于,当所述计算机程序产品在设备上运行时,使得所述设备执行权利要求1至13任一项所述的方法,或者,使得所述设备执行权利要求14-26任一项所述的方法。
  57. 一种车辆,其特征在于,所述车辆包括第一设备和/或第二设备,所述第一设备用于执行如权利要求1至13任一项所述的方法,所述第二设备用于执行如权利要求14-26任一项所述的方法。
  58. 一种信息传输系统,其特征在于,所述系统包括如权利要求27-39任一项所述的装置,以及如权利要求40-52任一项所述的装置。
PCT/CN2021/076521 2021-02-10 2021-02-10 一种信息传输方法及装置 WO2022170561A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP21925224.4A EP4280488A4 (en) 2021-02-10 2021-02-10 INFORMATION TRANSMISSION METHOD AND DEVICE
CN202310745403.8A CN117255069A (zh) 2021-02-10 2021-02-10 一种信息传输方法及装置
PCT/CN2021/076521 WO2022170561A1 (zh) 2021-02-10 2021-02-10 一种信息传输方法及装置
CN202180001448.3A CN113170500B (zh) 2021-02-10 2021-02-10 一种信息传输方法及装置
US18/232,255 US20230389003A1 (en) 2021-02-10 2023-08-09 Information transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/076521 WO2022170561A1 (zh) 2021-02-10 2021-02-10 一种信息传输方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/232,255 Continuation US20230389003A1 (en) 2021-02-10 2023-08-09 Information transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2022170561A1 true WO2022170561A1 (zh) 2022-08-18

Family

ID=76876013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076521 WO2022170561A1 (zh) 2021-02-10 2021-02-10 一种信息传输方法及装置

Country Status (4)

Country Link
US (1) US20230389003A1 (zh)
EP (1) EP4280488A4 (zh)
CN (2) CN117255069A (zh)
WO (1) WO2022170561A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866185B (zh) * 2022-03-25 2023-08-29 天津瑞发科半导体技术有限公司 一种传输多优先级数据帧的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0512290A2 (en) * 1991-05-10 1992-11-11 International Business Machines Corporation Nested frame communication protocol
US20130182704A1 (en) * 2001-10-16 2013-07-18 Cisco Technology, Inc. Prioritization and preemption of data frames over a switching fabric
CN107258076A (zh) * 2015-02-26 2017-10-17 西门子公司 通信网络中的数据传输
CN108964823A (zh) * 2018-07-05 2018-12-07 湖南铁路科技职业技术学院 以太网双引擎数据处理方法、系统及装置
CN112311496A (zh) * 2019-07-26 2021-02-02 华为技术有限公司 数据传输方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141408A (zh) * 2007-10-22 2008-03-12 中兴通讯股份有限公司 一种网络多媒体数据包规整化的方法
EP2538619B1 (de) * 2011-06-22 2013-12-18 Siemens Aktiengesellschaft Verfahren zur Übertragung von Datenpaketen
US9166917B2 (en) * 2011-07-17 2015-10-20 Broadcom Corporation Link layer preemption
CN109151612B (zh) * 2017-06-27 2020-10-16 华为技术有限公司 一种视频传输方法、设备及系统
US10728134B2 (en) * 2018-11-14 2020-07-28 Keysight Technologies, Inc. Methods, systems, and computer readable media for measuring delivery latency in a frame-preemption-capable network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0512290A2 (en) * 1991-05-10 1992-11-11 International Business Machines Corporation Nested frame communication protocol
US20130182704A1 (en) * 2001-10-16 2013-07-18 Cisco Technology, Inc. Prioritization and preemption of data frames over a switching fabric
CN107258076A (zh) * 2015-02-26 2017-10-17 西门子公司 通信网络中的数据传输
CN108964823A (zh) * 2018-07-05 2018-12-07 湖南铁路科技职业技术学院 以太网双引擎数据处理方法、系统及装置
CN112311496A (zh) * 2019-07-26 2021-02-02 华为技术有限公司 数据传输方法及装置

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US20230389003A1 (en) 2023-11-30
CN113170500A (zh) 2021-07-23
EP4280488A4 (en) 2024-02-14
EP4280488A1 (en) 2023-11-22
CN113170500B (zh) 2023-06-23
CN117255069A (zh) 2023-12-19

Similar Documents

Publication Publication Date Title
US8085801B2 (en) Resource arbitration
EP1775897B1 (en) Interleaving in a NoC (Network on Chip) employing the AXI protocol
JP5429572B2 (ja) チェーン化デバイスシステムにおいてパラメータを設定し待ち時間を決定する方法
US8312187B2 (en) Input/output device including a mechanism for transaction layer packet processing in multiple processor systems
EP1835413A1 (en) Data communication circuit and arbitration method
JPH0865334A (ja) マルチメディア通信装置及び方法
EP2038744B1 (en) Method and system of grouping interrupts from a time-dependent data storage means
US10909655B2 (en) Direct memory access for graphics processing unit packet processing
TW200830109A (en) Controller link for manageability engine
WO2021017667A1 (zh) 业务数据的传输方法和装置
US8989220B2 (en) High speed variable bandwidth ring-based system
EP3461086B1 (en) Communication apparatus, communication method and computer-readable medium
CN109716311B (zh) 用于执行分布式仲裁的系统、装置和方法
US20110238869A1 (en) Autonomous Multi-Packet Transfer for Universal Serial Bus
WO2022170561A1 (zh) 一种信息传输方法及装置
US20090327545A1 (en) Method for transmitting a datum from a time-dependent data storage means
US9817784B2 (en) Multi-port transmitter device for transmitting at least partly redundant data, an associated control system, an associated method and an associated computer program product
US8281049B2 (en) Host-daughtercard configuration with double data rate bus
JP2011059979A (ja) データ転送装置、データ転送制御方法、データ転送制御プログラム及び記録媒体
EP2588965B1 (en) Method, apparatus and system for maintaining transaction coherecy in a multiple data bus platform
US20070143519A1 (en) Bus controller for transferring data
CN111124987B (zh) 一种基于pcie的数据传输控制系统和方法
WO2021181897A1 (ja) 通信装置、通信装置の制御方法、および集積回路
CN115378762A (zh) 一种总线传输性能动态调度方法及装置
JP2023553529A (ja) スイッチング機能を実行する方法及びスイッチング装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021925224

Country of ref document: EP

Effective date: 20230816

NENP Non-entry into the national phase

Ref country code: DE