WO2018214610A1 - 一种发送和接收数据包的方法、设备及系统 - Google Patents

一种发送和接收数据包的方法、设备及系统 Download PDF

Info

Publication number
WO2018214610A1
WO2018214610A1 PCT/CN2018/077935 CN2018077935W WO2018214610A1 WO 2018214610 A1 WO2018214610 A1 WO 2018214610A1 CN 2018077935 W CN2018077935 W CN 2018077935W WO 2018214610 A1 WO2018214610 A1 WO 2018214610A1
Authority
WO
WIPO (PCT)
Prior art keywords
time information
data packet
time
offset
protocol layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/077935
Other languages
English (en)
French (fr)
Inventor
林高全
兰宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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
Priority claimed from CN201710977122.XA external-priority patent/CN108934034A/zh
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP18805843.2A priority Critical patent/EP3611955A4/en
Publication of WO2018214610A1 publication Critical patent/WO2018214610A1/zh
Priority to US16/695,818 priority patent/US20200100200A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method, device, and system for transmitting and receiving data packets.
  • the channel environment may change with time and space.
  • the transmission delay of data packets between devices may be affected.
  • the base station passes the measurement terminal device.
  • the transmission delay between the packets is used to evaluate the reliability of the transmission of the data packets by the terminal device.
  • the new Radio (NR) system requires higher transmission delay and reliability between the base station and the terminal equipment.
  • the method of measuring the transmission delay in the prior art is no longer applicable to the NR system.
  • the embodiments of the present application provide a method, device, and system for transmitting and receiving data packets, which are useful for improving the accuracy of measuring the transmission delay of data packets in the NR system.
  • a method of transmitting a data packet including:
  • the data packet sent by the second device, where the data packet includes the first time information of the Packet Data Convergence Protocol (PDCP) layer of the second device, and determining that the data packet leaves the first The second time information of the PDCP layer of the device, and then determining the transmission delay of the data packet between the second device and the first device according to the first time information and the second time information.
  • PDCP Packet Data Convergence Protocol
  • the first time information and the second time information are used in the embodiment of the present application to determine a transmission delay between the second device and the first device, and the data packet is determined in the second device in the embodiment of the present application.
  • the transmission delay between the first device and the first device is consistent with the transmission delay of the data packet defined in the NR system. Therefore, when the technical solution of the embodiment of the present application is applied to the NR system, the transmission delay of the measurement data packet is improved. The accuracy.
  • the first device is the receiving end, and the second device is the transmitting end, where the PDCP layer of the data packet reaching the second device refers to the PDCP layer of the second device.
  • the received upper layer of the PDCP layer of the second device processes the data packet that needs to be sent to the first device; the PDCP layer of the data packet leaving the first device means that after the PDCP layer of the first device processes the data packet,
  • the data packet is sent to the upper layer of the PDCP layer of the first device.
  • the upper layer of the PDCP layer is an Internet Protocol (IP)/User Datagram Protocol (UDP)/other layer.
  • IP Internet Protocol
  • UDP User Datagram Protocol
  • the first time information includes first absolute time information or first relative time information; and the second time information includes second absolute time information or second relative time information.
  • the first time information is the first relative time information and the second time information is the second relative time information, it helps to reduce the number of bytes used to represent the first time information and the second time information, thereby contributing to improvement The transmission efficiency of the data packet.
  • the first time information and the second time information may be implemented in the form of a time stamp.
  • the first relative time information may be the first frame information, and/or the second relative time information is the second frame information.
  • the first frame information may be frame information of the data packet when the PDCP layer of the second device receives the data packet, such as a radio frame number, a subframe number, an offset, or the like, or identifies the radio frame number and the subframe number. And other identification information of the offset, which is not limited herein.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet,
  • the first offset is used to indicate an offset of the data packet in the subframe identified by the first subframe number.
  • the time when the PDCP layer of the second device receives the data packet can be indicated by the offset, the radio frame number, and the subframe number.
  • the first relative time information is used to indicate that the first time offsets the size of the first target time, and the first time is the time that the PDCP layer of the second device receives the data packet,
  • a target moment is a start time of a period in which the first moment is located, and a duration of the period in which the first moment is located is a preset duration.
  • Determining the first relative time information in a predefined manner helps to reduce the number of bytes representing the first time information, thereby improving the transmission efficiency of the data packet.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used by the PDCP layer of the first device to transmit the data packet,
  • the second offset is used to indicate the offset of the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • SFN 1 is the first radio frame number
  • SSFN 1 is the first subframe number
  • SOFF 1 is the first offset
  • SFN 2 is the second radio frame number
  • SSFN 2 is the second subframe number
  • SOFF 2 is The second offset
  • T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the transmission delay of the data packet between the second device and the first device can be accurately determined.
  • the second relative time information is used to indicate that the second time is different from the second target time, and the second time is the time when the PDCP layer of the first device sends the data packet, and the second time.
  • the target time is the start time of the period in which the second time is located, and the duration of the second time time is the preset time length.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • T 1 is the first relative time information
  • T 2 is the second relative time information
  • T z is the preset duration
  • the complexity of determining the transmission delay of the data packet can be reduced on the basis of accurately determining the transmission delay between the data packet between the second device and the first device.
  • the data packet further includes a first identifier; wherein the first identifier is used to identify a format used by the first time information;
  • the first device determines that the data packet leaves the second time information of the PDCP layer of the first device, and may be implemented in the following manner:
  • the first device determines, according to a format adopted by the first time information that is identified by the first identifier, that the data packet leaves the second time information of the PDCP layer of the first device.
  • the manner of determining the transmission delay of the data packet between the first device and the second device is simplified.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the first device when the first device is the terminal device and the second device is the network device, the first device further sends the transmission delay to the second device.
  • the first device When the first device is the terminal device and the second device is the network device, the first device also sends a transmission delay to the second device, which helps the network device to evaluate the reliability of the data packet in the terminal device communication.
  • the first device may send the transmission delay to the second device after determining the transmission delay of the data packet.
  • the first device may send the preset time duration to the second device every preset time period.
  • the transmission delay of all the data packets determined by the first device; the first device may further send a transmission delay of the preset number of data packets to the second device after determining the transmission delay of the preset number of data packets.
  • the first device sends a transmission delay of the data packet to the second device triggered by an event, for example, the determined transmission delay of the data packet is greater than a specific threshold.
  • the first device may also send an average value of the transmission delays of all data packets determined by the preset duration statistics to the second device, or the first device determines the transmission of the preset number of data packets. After the delay, the transmission delay of the preset number of data packets is counted, for example, the average value of the transmission delay of the preset number of data packets is determined, and the statistical result of the transmission delay of the statistical data packet is sent. Give the second device.
  • the embodiment of the present application provides a method for sending a data packet, including:
  • the second device determines the first time information that the data packet arrives at the PDCP layer of the second device, and sends the data packet to the first device, where the data packet includes the first time information, so that the first device determines the first time information according to the first time information.
  • the first time information is introduced, so that the first device can determine the transmission delay of the data packet according to the first time information, and the determining is performed in the embodiment of the present application.
  • the manner of the data packet transmission delay is consistent with the definition of the transmission delay of the data packet in the NR system. Therefore, when the technical solution of the embodiment of the present application is applied to the NR system, the accuracy of the transmission delay of the measurement data packet is improved. .
  • the first time information includes first absolute time information or first relative time information.
  • the first time information is the first relative time information and the second time information is the second relative time information, it helps to reduce the number of bytes used to represent the first time information and the second time information, thereby contributing to improvement The transmission efficiency of the data packet.
  • the first time information can be implemented in the form of a time stamp.
  • the first relative time information may be the first frame information.
  • the first frame information may be frame information of the data packet when the PDCP layer of the second device receives the data packet, such as a radio frame number, a subframe number, an offset, or the like, or identifies the radio frame number and the subframe number. And other identification information of the offset, which is not limited herein.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet,
  • the first offset is used to indicate an offset of the data packet in the subframe identified by the first subframe number.
  • the time when the PDCP layer of the second device receives the data packet can be indicated by the offset, the radio frame number, and the subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time, and the first time is the time when the PDCP layer of the second device receives the data packet, first The target time is the start time of the period in which the first time is located, and the time period of the first time period is the preset time length.
  • Determining the first relative time information in a predefined manner helps to reduce the number of bytes representing the first time information, thereby improving the transmission efficiency of the data packet.
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information.
  • the second device may notify the first device of the format adopted by the first time information by using the foregoing technical solution, so that the first device may adopt the same format as the first time information when determining the second time information, which is helpful. Simplifying the manner in which the transmission delay of the data packet between the first device and the second device is determined.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the second device when the first device is the terminal device, and the second device is the network device, the second device further receives the data packet sent by the first device between the second device and the first device.
  • the transmission delay and the transmission delay in the form of a log or a message.
  • the second device When the first device is the terminal device and the second device is the network device, the second device further receives the transmission delay from the first device, which helps the network device to evaluate the reliability of the data packet in the terminal device communication.
  • the transmission delay of the data packet is sent to the second device, and the second device directly receives the transmission delay of the data packet
  • the second device may periodically receive the transmission delay of the data packet sent by the first device, and further After determining, by the first device, the transmission delay of the preset number of data packets, sending, by the second device, a transmission delay of the preset number of data packets, and the second device may receive the preset number of transmission delays, Or, the first device sends a transmission delay of the data packet to the second device, for example, the transmission delay of the determined data packet is greater than a specific threshold, and the like.
  • the first device may also send an average value of the transmission delays of all data packets determined by the preset duration statistics to the second device, or the first device determines the transmission of the preset number of data packets. After the delay, the transmission delay of the preset number of data packets is counted, for example, the average value of the transmission delay of the preset number of data packets is determined, and the statistical result of the transmission delay of the statistical data packet is sent. Give the second device.
  • an embodiment of the present application provides a device for receiving a data packet, where the device includes: a transceiver and a processor, where the transceiver is configured to receive a data packet sent by the second device, where the data packet includes the data packet reaching the second a first time information of a PDCP layer of a packet data fusion protocol of the device; a second time information used by the processor to determine that the data packet leaves the PDCP layer of the device, and determining that the data packet is in the second according to the first time information and the second time information The transmission delay between the device and the device.
  • the first time information includes first absolute time information or first relative time information; and the second time information includes second absolute time information or second relative time information.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet,
  • the first offset is used to indicate an offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time, and the first time is the time when the PDCP layer of the second device receives the data packet, first The target time is the start time of the period in which the first time is located, and the time period of the first time period is the preset time length.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used by the PDCP layer of the device to send the data packet,
  • the second offset is used to indicate the offset of the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the device satisfies the following expression:
  • SFN 1 is the first radio frame number
  • SSFN 1 is the first subframe number
  • SOFF 1 is the first offset
  • SFN 2 is the second radio frame number
  • SSFN 2 is the second subframe number
  • SOFF 2 is The second offset
  • T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the second relative time information is used to indicate that the second moment deviates from the second target moment, and the second moment is the time when the PDCP layer of the device sends the data packet, and the second target The time is the starting time of the period in which the second time is located, and the time period of the second time is the preset time length.
  • the transmission delay T of the data packet between the second device and the device satisfies the following expression:
  • T 1 is the first relative time information
  • T 2 is the second relative time information
  • T z is the preset duration
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information;
  • the processor is configured to determine second time information that the data packet leaves the PDCP layer of the device, and specifically includes:
  • a processor configured to determine, according to a format adopted by the first time information identified by the first identifier, second time information of the PDCP layer of the data packet leaving the device.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the transceiver is further configured to: send a transmission delay to the second device.
  • the embodiment of the present application further provides an apparatus for receiving a data packet, including a transceiver unit and a processing unit, where the transceiver unit is configured to receive a data packet sent by the second device, where the data packet includes the data packet reaching the second device.
  • the first time information of the PDCP layer of the packet data fusion protocol; the processing unit is configured to determine second time information of the PDCP layer of the data packet leaving the device, and determine, according to the first time information and the second time information, that the data packet is in the second The transmission delay between the device and the device.
  • the first time information includes first absolute time information or first relative time information
  • the second time information includes second absolute time information or second relative time information
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet,
  • the first offset is used to indicate an offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first moment deviates from the first target moment, and the first moment is a time when the PDCP layer of the second device receives the data packet, first The target time is the start time of the period in which the first time is located, and the time period of the first time period is the preset time length.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used by the PDCP layer of the device to send the data packet,
  • the second offset is used to indicate the offset of the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the device satisfies the following expression:
  • SFN 1 is the first radio frame number
  • SSFN 1 is the first subframe number
  • SOFF 1 is the first offset
  • SFN 2 is the second radio frame number
  • SSFN 2 is the second subframe number
  • SOFF 2 is The second offset
  • T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the second relative time information is used to indicate that the second moment deviates from the second target moment, and the second moment is the time when the PDCP layer of the device sends the data packet, and the second target The time is the starting time of the period in which the second time is located, and the time period of the second time is the preset time length.
  • the transmission delay T of the data packet between the second device and the device satisfies the following expression:
  • T 1 is the first relative time information
  • T 2 is the second relative time information
  • T z is the preset duration
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information;
  • the processing unit is configured to determine second time information that the data packet leaves the PDCP layer of the device, and specifically includes:
  • the processing unit is configured to determine, according to a format adopted by the first time information that is identified by the first identifier, second time information of the PDCP layer of the data packet leaving the device.
  • the first time information and the first identity are carried in a PDCP header of the data packet.
  • the transceiver unit is further configured to: send a transmission delay to the second device.
  • Yet another aspect of the present application provides a computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • a further aspect of the present application provides a chip, wherein the chip is coupled to a memory for reading program instructions in the memory, and implementing the first aspect and the technical solution of any of the designs provided by the first aspect.
  • an embodiment of the present application provides a device for sending a data packet, where the device includes: a processor and a transceiver, where the processor is configured to determine a first time information of a packet data fusion protocol PDCP layer of the data packet arriving at the device; The device is configured to send a data packet to the first device, where the data packet includes the first time information, so that the first device determines, according to the first time information, a transmission delay between the data packet and the first device.
  • the first time information includes first absolute time information or first relative time information.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used by the PDCP layer of the device to receive the data packet, first The offset is used to indicate the offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first moment deviates from the first target moment, and the first moment is a time when the PDCP layer of the device receives the data packet, and the first target The time is the starting time of the period in which the first moment is located, and the duration of the period in which the first moment is located is the preset duration.
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the transceiver is further configured to: receive the data packet sent by the first device in the first device and the second device The transmission delay between the two, and the transmission delay is presented in the form of a log or a message.
  • the embodiment of the present application further provides an apparatus for sending a data packet, where the apparatus includes a processing unit and a transceiver unit, where the processing unit is configured to determine a first time information of a packet data fusion protocol PDCP layer of the data packet arriving at the device;
  • the transceiver unit is configured to send a data packet to the first device, where the data packet includes the first time information, so that the first device determines, according to the first time information, a transmission delay between the device and the first device.
  • the first time information includes first absolute time information or first relative time information.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used by the PDCP layer of the device to receive the data packet, first The offset is used to indicate the offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first moment deviates from the first target moment, and the first moment is a time when the PDCP layer of the device receives the data packet, and the first target The time is the starting time of the period in which the first moment is located, and the duration of the period in which the first moment is located is the preset duration.
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the transceiver unit is further configured to: receive the data packet sent by the first device in the first device and the second device The transmission delay between the two, and the transmission delay is presented in the form of a log or a message.
  • Yet another aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • a further aspect of the present application further provides a chip, wherein the chip is connected to a memory for reading program instructions in the memory, and implementing the technical solutions of any of the second aspect and the second aspect.
  • the embodiment of the present application further provides a communication system, including the device of any one of the third aspect and the third aspect, and the device of any of the fifth and fifth aspects.
  • a seventh aspect of the present disclosure provides a method for receiving a data packet, including:
  • Receiving, by the first device, the data packet sent by the second device, the data packet includes the first time information, and determining the second time information, and then determining, according to the first time information and the second time information, the data packet in the second device and the first device
  • the transmission delay between the first time information is used to indicate the time when the data packet arrives at the first radio protocol layer, the first radio protocol layer is located in the user plane protocol stack of the second device, and the header of the data packet is the first a header of the radio protocol layer
  • the second time information is used to indicate the time when the data packet leaves the second radio protocol layer, the second radio protocol layer is located in the user plane protocol stack of the first device, and the data packet is parsed in the second radio protocol layer Header.
  • the first time information and the second time information are used in the embodiment of the present application to determine a transmission delay between the second device and the first device, and the data packet is determined in the second device in the embodiment of the present application.
  • the transmission delay between the first device and the first device is consistent with the transmission delay of the data packet defined in the NR system. Therefore, when the technical solution of the embodiment of the present application is applied to the NR system, the transmission delay of the measurement data packet is improved. The accuracy.
  • the first radio protocol layer is the PDCP layer of the second device, and the second radio protocol layer is the PDCP layer of the first device; or the first radio protocol layer is the service data adaptation of the second device.
  • the protocol SDAP layer, the second radio protocol layer is the SDAP layer of the first device.
  • the first time information includes first absolute time information or first relative time information
  • the second time information includes second absolute time information or second relative time information
  • the first time information is the first relative time information and the second time information is the second relative time information, it helps to reduce the number of bytes used to represent the first time information and the second time information, thereby contributing to improvement The transmission efficiency of the data packet.
  • the first time information and the second time information may be implemented in the form of a time stamp.
  • the first relative time information includes a first offset, a first radio frame number used by the first radio protocol layer to receive the data packet, and a first subframe number, where the first offset is used.
  • the offset indicating the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the first wireless protocol layer receives the data packet
  • the first target time is the first time.
  • the duration of the period in which the first moment is located is the preset duration. Determining the first relative time information in the above manner helps to reduce the number of bytes representing the first time information, thereby improving the transmission efficiency of the data packet.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used when the second radio protocol layer transmits the data packet, and the second offset is used.
  • the offset indicating the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • SFN 1 for the first radio protocol layer upon receiving a first radio frame number used for the data packet SSFN 1 for the first radio protocol layer when receiving the first sub-frame number used for the data packet
  • SOFF 1 is a first partial The shift
  • the first offset is used to indicate the offset of the data packet in the subframe identified by the first subframe number
  • the SFN 2 is the second wireless frame number used by the second wireless protocol layer to send the data packet.
  • SSFN 2 is a second subframe number used when the second wireless protocol layer sends a data packet
  • SOFF 2 is a second offset
  • the second offset is used to indicate that the data packet is identified by the second subframe number.
  • the offset in the subframe T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the second relative time information is used to indicate the second time offset from the second target time
  • the second time is the time when the second wireless protocol layer sends the data packet
  • the second target time is the second time
  • the duration of the period in which the second time is located is the preset duration.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • T 1 is the first relative time information, relative time information for indicating a first time offset from the first time the size of the first object, a first time for a first time radio protocol layer receives data packets, the first target time for The start time of the period in which the first time is located, the duration of the period in which the first time is located is T z , and T 2 is the second relative time information, and the second relative time information is used to indicate the size of the second time from the second target time.
  • time for the second time two radio protocol layer data packet transmission, a second target time as a starting time point where the second time period, the length of the second time period length is preset where T z, T z.
  • the complexity of determining the transmission delay of the data packet can be reduced on the basis of accurately determining the transmission delay between the data packet between the second device and the first device.
  • the data packet further includes a first identifier; the first identifier is used to identify a format used by the first time information; in a specific implementation, the following manner may be adopted:
  • the first device determines the second time information according to a format adopted by the first time information identified by the first identifier.
  • the format adopted by the first time information and the second time information is the same, thereby simplifying the manner of determining the transmission delay of the data packet between the first device and the second device.
  • the embodiment of the present application provides a method for sending a data packet, including:
  • the second device determines the first time information, and sends a data packet to the first device, where the data packet includes first time information, where the first time information is used to indicate a time when the data packet arrives at the first wireless protocol layer, where the data packet includes the first
  • the wireless protocol layer is located in the user plane protocol stack of the second device, and the header of the data packet is the header of the first wireless protocol layer.
  • the first time information is introduced, so that the first device can determine the transmission delay of the data packet according to the first time information, and the determining is performed in the embodiment of the present application.
  • the manner of the data packet transmission delay is consistent with the definition of the transmission delay of the data packet in the NR system. Therefore, when the technical solution of the embodiment of the present application is applied to the NR system, the accuracy of the transmission delay of the measurement data packet is improved. .
  • the first radio protocol layer is a packet data fusion protocol PDCP layer of the second device; or the first radio protocol layer is a SDAP layer of the second device.
  • the first time information includes first absolute time information or first relative time information.
  • first time information is the first relative time information and the second time information is the second relative time information, it helps to reduce the number of bytes used to represent the first time information and the second time information, thereby contributing to improvement The transmission efficiency of the data packet.
  • the first time information can be implemented in the form of a time stamp.
  • the first relative time information includes a first offset, a first radio frame number used by the first radio protocol layer to receive the data packet, and a first subframe number, where the first offset is used.
  • the offset indicating the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the first wireless protocol layer receives the data packet
  • the first target time is the first time.
  • the duration of the period in which the first moment is located is the preset duration. Determining the first relative time information in the above manner helps to reduce the number of bytes representing the first time information, thereby improving the transmission efficiency of the data packet.
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information.
  • the second device may notify the first device of the format adopted by the first time information, so that the first device may adopt the same format as the first time information when determining the second time information, thereby facilitating simplification. The manner in which the transmission delay of the data packet between the first device and the second device is determined.
  • a first device provided by the embodiment of the present application includes: a processor and a transceiver, where the transceiver is configured to receive a data packet sent by the second device, where the data packet includes first time information, where the first time information is used.
  • the first radio protocol layer is located in the user plane protocol stack of the second device, and the header of the data packet is a header of the first radio protocol layer, and the processor is configured to determine the second time.
  • the second radio protocol layer is located in the user plane protocol stack of the first device, and the data packet parses the header at the second radio protocol layer.
  • the first radio protocol layer is a packet data fusion protocol PDCP layer of the second device, and the second radio protocol layer is a PDCP layer of the first device; or the first radio protocol layer is a second device
  • the service data adaptation protocol SDAP layer, and the second wireless protocol layer is the SDAP layer of the first device.
  • the first time information includes first absolute time information or first relative time information
  • the second time information includes second absolute time information or second relative time information
  • the first relative time information includes a first offset, a first radio frame number used by the first radio protocol layer to receive the data packet, and a first subframe number, where the first offset is used.
  • the offset indicating the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the first wireless protocol layer receives the data packet, and the first target time is the first time.
  • the duration of the period in which the first moment is located is the preset duration.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used when the second radio protocol layer transmits the data packet, and the second offset is used.
  • the offset indicating the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • SFN 1 for the first radio protocol layer upon receiving a first radio frame number used for the data packet SSFN 1 for the first radio protocol layer when receiving the first sub-frame number used for the data packet
  • SOFF 1 is a first partial The shift
  • the first offset is used to indicate the offset of the data packet in the subframe identified by the first subframe number
  • the SFN 2 is the second wireless frame number used by the second wireless protocol layer to send the data packet.
  • SSFN 2 is a second subframe number used when the second wireless protocol layer sends a data packet
  • SOFF 2 is a second offset
  • the second offset is used to indicate that the data packet is identified by the second subframe number.
  • the offset in the subframe T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the second relative time information is used to indicate the second time offset from the second target time
  • the second time is the time when the second wireless protocol layer sends the data packet
  • the second target time is the second time
  • the duration of the period in which the second time is located is the preset duration.
  • the transmission delay T of the data packet between the second device and the first device satisfies the following expression:
  • T 1 is the first relative time information, relative time information for indicating a first time offset from the first time the size of the first object, a first time for a first time radio protocol layer receives data packets, the first target time for The start time of the period in which the first time is located, the duration of the period in which the first time is located is T z , and T 2 is the second relative time information, and the second relative time information is used to indicate the size of the second time from the second target time.
  • time for the second time two radio protocol layer data packet transmission, a second target time as a starting time point where the second time period, the length of the second time period length is preset where T z, T z.
  • the data packet further includes a first identifier; the first identifier is used to identify a format used by the first time information;
  • the processor is configured to determine the second time information, and one possible specific implementation manner is:
  • the processor is configured to determine the second time information according to a format adopted by the first time information identified by the first identifier.
  • a second device provided by the embodiment of the present application includes: a processor and a transceiver, where the processor is configured to determine first time information, where the first time information is used to indicate that the data packet arrives at the first wireless protocol layer.
  • the data packet includes a first radio protocol layer located in a user plane protocol stack of the second device, and the header of the data packet is a header of the first radio protocol layer; the transceiver is configured to send the data packet to the first device, where the data packet includes First time information.
  • the first radio protocol layer is a packet data fusion protocol PDCP layer of the second device; or the first radio protocol layer is a service data adaptation protocol SDAP layer of the second device.
  • the first time information includes first absolute time information or first relative time information.
  • the first relative time information includes a first offset, a first radio frame number used by the first radio protocol layer to receive the data packet, and a first subframe number, where the first offset is used.
  • the offset indicating the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the first wireless protocol layer receives the data packet, and the first target time is the first time.
  • the duration of the period in which the first moment is located is the preset duration.
  • Yet another aspect of the present application provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform any of the seventh or seventh aspects described above The method described in the design.
  • Yet another aspect of the present application provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform any of the above eighth or eighth aspects The method described in the design.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in any of the possible aspects of the seventh aspect or the seventh aspect described above.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in any of the possible aspects of the eighth aspect or the eighth aspect.
  • a further aspect of the present application further provides a chip, wherein the chip is connected to a memory for reading program instructions in the memory, and implementing the technical solutions of any of the seventh aspect and the seventh aspect.
  • a further aspect of the present application further provides a chip, wherein the chip is connected to a memory for reading program instructions in the memory, and implementing the technical solutions of any of the designs provided in the eighth aspect and the eighth aspect.
  • the embodiment of the present application further provides a communication system, including the device of any design provided by the ninth aspect and the ninth aspect, and the device of any of the tenth and tenth aspects.
  • FIG. 1a and 1b are schematic diagrams showing transmission delays in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for sending and receiving a data packet according to an embodiment of the present application
  • 3a to 3c are respectively schematic structural diagrams of first time information according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of first relative time information in an embodiment of the present application.
  • 6a and 6b are schematic diagrams showing the structure of a data packet according to an embodiment of the present application.
  • FIG. 7a is a schematic diagram of a cloud scenario in an embodiment of the present application.
  • FIG. 7b is a schematic diagram of a non-cloud scene in the embodiment of the present application.
  • FIG. 8 is a schematic diagram of a transmission delay calculation process in an embodiment of the present application.
  • 9a and 9b are schematic structural diagrams of an apparatus for receiving a data packet in an embodiment of the present application.
  • FIG. 10a and FIG. 10b are schematic structural diagrams of an apparatus for transmitting a data packet according to an embodiment of the present application
  • FIG. 11 is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • the transmission delay of the data packet between the base station and the terminal device in the communication protocol is defined as: in the uplink communication direction or the downlink communication direction, the data packet or information succeeds from the wireless protocol layer 2 or the wireless protocol layer 3
  • SDU Service Data Unit
  • DRX Discontinuous Reception
  • the first radio protocol layer in the user plane protocol stack is used as the SDU entry point
  • the second radio protocol layer in the user plane protocol stack is used as the SDU exit point
  • the first radio protocol layer and the second radio protocol layer may be the same radio protocol layer, or may be defined as different radio protocol layers, and may be correspondingly set according to actual conditions.
  • the user plane protocol stack includes a Media Access Control (MAC) layer, a Radio Link Control (RLC) layer, and a PDCP layer.
  • the service data is located on the PDCP layer.
  • the Service Data Adaptation Protocol (SDAP) layer as shown in FIG. 1b, when the data packet passes through the SDAP layer, and the header of the data packet changes to the header of the SDAP layer, optionally, the first wireless protocol layer is SDAP.
  • SDAP Service Data Adaptation Protocol
  • the second radio protocol layer is the SDAP layer; when the header of the data packet passes through the SDAP layer, the header of the data packet is also the header of the PDCP layer, that is, the data packet is transparently transmitted at the SDAP layer, optionally, the first wireless protocol
  • the layer is a PDCP layer, and the second wireless protocol layer is also a PDCP layer.
  • first radio protocol layer being the PDCP layer and the second radio protocol layer being the PDCP layer, where the first radio protocol layer is the SDAP layer, the second radio protocol layer is the SDAP layer, or the first radio protocol layer.
  • first radio protocol layer is the SDAP layer
  • second radio protocol layer is the SDAP layer
  • first radio protocol layer is the first radio protocol layer
  • first radio protocol layer is the SDAP layer
  • first radio protocol layer is the SDAP layer
  • first radio protocol layer is the SDAP layer
  • the transmission delay between the base station and the terminal device in the communication protocol is defined as shown in FIG. 1a: in the uplink communication direction or the downlink communication direction, the data packet or information succeeds from the wireless protocol layer 2 or The time taken by the Service Data Unit (SDU) entry point of the radio protocol layer 3 to transmit to the SDU exit point of the radio protocol layer 2 or the radio protocol layer 3, regardless of whether the terminal device or the base station is discontinuously received (Discontinuous Reception) , DRX) restrictions.
  • SDU Service Data Unit
  • the SDU entry point of the radio protocol layer 2 or the radio protocol layer 3 is the PDCP layer of the terminal device shown in FIG. 1a, and the SDU exit point of the radio protocol layer 2 or the radio protocol layer 3 is a picture.
  • the SDU exit point of the wireless protocol layer 2 or the wireless protocol layer 3 is the PDCP layer of the terminal device shown in Fig. 1a.
  • the second device when the first device is a network device, the second device is a terminal device; when the first device is a terminal device, the second device is a network device.
  • the network device in the embodiment of the present application may be a base station, or an access point, or may refer to a device in the access network that communicates with the wireless terminal through one or more sectors on the air interface.
  • the base station can be used to convert the received air frame with the IP packet as a router between the wireless terminal and the rest of the access network, wherein the rest of the access network can include an IP network.
  • the base station can also be used to coordinate attribute management of the air interface.
  • the base station may be a Base Transceiver Station (BTS) in a GSM or CDMA system, or may be a Node B (NodeB) in Wideband Code Division Multiple Access (WCDMA), or may be an LTE system.
  • BTS Base Transceiver Station
  • NodeB Node B
  • WCDMA Wideband Code Division Multiple Access
  • the eNB in the present application is not limited in this embodiment.
  • the terminal device in the embodiment of the present application may be a device for providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or other processing device connected to a wireless modem.
  • the terminal may also be a wireless terminal, wherein the wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN), and the wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" A "telephone", or a computer having a mobile terminal, for example, a computer having a mobile terminal can be a portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile device that exchanges language and/or data with the wireless access network.
  • RAN Radio Access Network
  • the wireless terminal can also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a personal digital assistant. (Personal Digital Assistant, PDA) and other devices.
  • a wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, and an AP. ), remote terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent), user equipment (User Device), or user equipment (User Equipment), etc., implementation of the present application The example is not limited.
  • the method for sending and receiving a data packet in the embodiment of the present application includes:
  • Step 200 The second device determines that the data packet reaches the first time information of the PDCP layer of the second device.
  • Step 210 The second device sends a data packet to the first device, where the data packet includes first time information.
  • Step 220 After receiving the data packet, the first device determines that the data packet leaves the second time information of the PDCP layer of the first device.
  • Step 230 The first device determines, according to the first time information and the second time information, a transmission delay between the second device and the first device.
  • the transmission delay of the data packet between the second device and the first device in the embodiment of the present application is consistent with the transmission delay of the data packet defined in the NR system. Therefore, the technical solution of the embodiment of the present application is applied to the NR system. It helps to improve the accuracy of the transmission delay of measurement packets.
  • the first time information and the second time information may be implemented in the form of a timestamp, or other forms, which are not limited in the embodiment of the present application.
  • first time information in the embodiment of the present application includes first absolute time information or first relative time information
  • second time information includes second absolute time information or second relative time information
  • the relative time information may be indicated by frame information, such as a radio frame number, a subframe number, and an offset, where the relative time information may include a radio frame number, a subframe number, and an offset, and the relative time information may also be used for Other information, such as a sequence, indicating a radio frame number, a sub-frame number, and an offset is not limited in this embodiment of the present application.
  • the format adopted by the first time information in the embodiment of the present application is shown in FIG. 3a to FIG. 3c.
  • the first time information includes a first offset, and a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet, where the first offset is used. Indicates the offset of the data packet in the subframe identified by the first subframe number.
  • subframe identified by the first subframe number is located in the radio frame identified by the first radio frame number.
  • the position order of the first offset, the first subframe number, and the first radio frame number is not limited, and the format of the first time information shown in FIG. 3a is merely an example.
  • the specific 1s includes 1024 radio frames, where each radio frame corresponds to the radio frame number 0 to 1023.
  • Each radio frame includes 7 subframes, and each subframe corresponds to the subframe number 0 to 7 one by one. If the subframe with the subframe number 0 in the radio frame identified by the radio frame number 5 is used, the data packet is sent, where The starting position of the bearer in the subframe is A1, and A0 is the starting position of the subframe with the subframe number 0. The size between A1 and A0 is the first offset.
  • A0 is separated from A1 by 50 microseconds ( ⁇ s), and the first offset can be directly expressed as 50 microseconds ( ⁇ s), and can also be an identifier, wherein the identifier corresponds to 50 ⁇ s, for example, the identifier can be a positive integer. .
  • the identifier may also be other information. When the identifier is other information, it is similar to the identifier as a positive integer, and will not be further described herein.
  • the format of the first time information may also be as shown in FIG. 3b, where the first time information is the first absolute time information of the PDCP layer of the second device receiving the data packet.
  • the first absolute time information may be a specific moment, for example, May 10, 2017, 12:00:00
  • the first absolute time information may also be an identifier.
  • the identifier may be a positive integer, in advance. Configuring a correspondence rule between a positive integer and a specific time, so that after determining the specific time of receiving the data packet by the PDCP layer of the second device, determining a positive integer corresponding to the specific time, and sending the positive integer to the first The device reduces the number of bits of the first time information compared to directly transmitting the specific time to the first device.
  • the identifier may be other information, such as a sequence. When the identifier is other information, it is similar to the implementation of the identifier as a positive integer, and will not be further described herein.
  • the format of the first time information may also be as shown in FIG. 3c, where the first time information is first relative time information, where the first relative time information is used to indicate that the first time is different from the first target time, the first time
  • the time at which the PDCP layer of the second device receives the data packet, the first target time is the start time of the period in which the first time is located, and the duration of the period in which the first time is located is a preset duration.
  • the size of the preset duration may be specifically configured according to actual conditions, and is not limited herein.
  • the time when the PDCP layer of the second device receives the data packet is the time when the PDCP layer of the second device receives the data packet sent by the upper layer of the second device.
  • the preset duration is 10s
  • the first time is A1
  • the first relative time information is the size of A1 relative to A2
  • A2 is the starting time of the period T0 where A1 is located.
  • the first relative time information may be the actual size of the A2 distance A1. For example, if the distance between A2 and A1 is 1 s, the first relative time information may be 1 s, or the first relative time information may be an identifier.
  • the identifier may be A positive integer, where A2 and A1 are separated by 1 s, and 1 s corresponds to a positive integer N0, the first relative time information is N0, wherein a corresponding rule of a positive integer and a relative time can be pre-configured, when the identifier is other information, Similar to the identification as a positive integer, it will not be repeated here.
  • the data packet further includes a first identifier, where the first identifier is used to identify a format used by the first time information.
  • the first identifier is a positive integer
  • the first time information includes a radio frame number, a subframe number, and an offset
  • the first identifier is 0
  • the first time information is the first absolute time information
  • the first identifier is 1
  • the first time information is the first relative time information
  • the first identifier is 2.
  • the first identifier may also be other information such as a sequence, and will not be further described herein.
  • the first time information and the first identifier are carried in a PDCP header of the data packet.
  • the data packet in the embodiment of the present application is a PDCP Protocol Data Unit (PDU). Therefore, the PDCP Header is also called a PDCP PDU Header.
  • PDU Packet Data Unit
  • the PDCP Header is also called a PDCP PDU Header.
  • the PDCP sequence number in the data packet is a short sequence.
  • the format of the data packet can be as shown in FIG. 6a.
  • the PDCP serial number in the data packet is a long serial number
  • the format of the data packet can be as shown in FIG. 6b.
  • the first time information and the first identifier may also be carried in the payload portion of the data packet.
  • the second time information is similar to the specific implementation manner of the first time information.
  • the first time information includes the first offset, and the PDCP layer of the second device.
  • the second time information includes a second offset, and a second radio frame number used by the PDCP layer of the first device to send the data packet.
  • the second time information is the second absolute time information of the data packet sent by the PDCP layer of the first device, and the second time information is the second relative time when the first time information is the first relative time information.
  • the information, the second relative time information is used to indicate the second time to deviate from the second target time, the second time is the time when the PDCP layer of the first device sends the data packet, and the second target time is the start of the second time Time ,
  • the duration time period of the second predetermined length is located should be noted that the same as a preset length of the first and second devices used.
  • the PDCP layer of the first device sends a data packet, that is, the PDCP layer of the first device sends the data packet to the upper layer of the PDCP layer of the first device.
  • the specific implementation manners of the first time information and the second time information may be different.
  • the first device may be based on The following manners are used to determine the transmission delay of the data packet according to the first time information and the second time information. Specifically, the first device determines, according to the first time information, an absolute time of receiving the data packet by the PDCP layer of the second device, and according to the second time. After the information determines the absolute time of the PDCP layer of the first device to send the data packet, the transmission delay between the second device and the first device is determined.
  • the PDCP layer of the base station and the Radio Link Control (RLC) layer.
  • the media access control (MAC) layer and the physical layer are separated, wherein the entity of the PDCP layer is a central unit (CU), an RLC layer, a MAC layer, and a PHY layer.
  • the entity is a distributed unit (DU).
  • the PDCP layer Since the PDCP layer is separated from the MAC layer, the PDCP layer cannot sense the radio frame number, subframe number, and offset used to send or receive the data packet, so when the second device When the base station is a base station, the first time information may be absolute time information, and may be pre-defined relative time information. When the first device is a base station, the second time information may be absolute time information, and may also be a predefined relative time. information.
  • the PDCP layer of the base station is not separated from the RLC layer, the MAC layer, and the PHY layer. Therefore, the PDCP layer of the base station can sense the radio frame number used to send or receive the data packet. The subframe number and the offset.
  • the first time information may be a radio frame number, a subframe number, and an offset used by the data packet, and may be absolute time information, and may also be
  • the second time information may be a radio frame number, a subframe number, and an offset used when the data packet is sent by the PDCP layer of the first device, and may be absolute.
  • Time information can also be predefined relative time information.
  • the first device may determine, according to the following manner, that the data packet is between the second device and the first device. Transmission delay:
  • T is the transmission delay between the second device and the first device
  • SFN 1 is the first radio frame number
  • SSFN 1 is the first subframe number
  • SOFF 1 is the first offset
  • SFN 2 For the second radio frame number
  • SSFN 2 is the second subframe number
  • SOFF 2 is the second offset
  • T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the loop of the radio frame number.
  • the period in which the SFN 2 is located is different from the period in which the SFN 1 is located by one cycle.
  • the phase difference between the SFN 2 and the SFN 1 is greater than one cycle, The first device is very likely to be unable to receive the data packet.
  • the parameter of the radio frame number period is carried in the data packet, for example, by The parameter of the radio frame number period is added to the first time information.
  • the first device may determine, according to the following manner, that the data packet is in the second device and the first device. Transmission delay between:
  • T is the transmission delay between the second device and the first device
  • T 1 is the first relative time information
  • T 2 is the second relative time information
  • T z is the preset duration
  • T 1 is the first relative time information
  • T 2 is the second relative time information.
  • the second target time B is the first ( The starting time of N+1) cycles
  • the second target time is the starting time of the Nth cycle, wherein the duration of the cycle is a preset duration, which can be set according to actual conditions.
  • the transmission delay between the second device and the first device is:
  • T T 2 -T 1 ;
  • T is the air interface delay of the data packet
  • T 1 is the first absolute time information
  • T 2 is the second absolute time information
  • the second device is a base station
  • the first device is a terminal device
  • the terminal device reports the transmission delay of the data packet to the base station
  • the specific terminal device may report the packet at the service packet level, or may periodically report the event or the event, for example, the service packet.
  • the terminal device may report the transmission delay of the data packet to the base station after determining the transmission delay of one data packet; when periodically reporting, the terminal device may report the data packet determined by the terminal device once every preset time period.
  • the terminal device can report the transmission delay of each data packet to the base station after the terminal device determines the transmission delay of the data packet that meets the preset number, and further, when reporting the event statistics
  • the terminal device can also report the transmission delay of the data packet to the base station under the trigger of a specific event, for example, the terminal device is continuous. Determining a transmission delay between packets within a time period no greater than a certain threshold, etc., wherein a particular threshold may be sent by a network device to the terminal device, it may be set in advance in a terminal device, which is not defined.
  • the base station performs statistics on the transmission delay of the data packet in the uplink communication direction or the downlink communication direction, and can be presented through the log or the data system.
  • the device of the present application further provides an apparatus for receiving a data packet, where the device is used to perform the action or function of the first device in the foregoing method embodiment.
  • an apparatus for transmitting a data packet is provided in the embodiment of the present application, where the device is used to perform the action or function of the second device in the foregoing method embodiment.
  • the embodiment of the present application further provides a communication system, including the device for sending a data packet and the device for receiving a data packet in the foregoing embodiment.
  • the content of the device part can be specifically seen in the method embodiment, and the repeated description will not be repeated.
  • the device 900a for receiving a data packet in the embodiment of the present application includes: a transceiver unit 910a and a processing unit 920a, wherein the transceiver unit 910a is configured to receive a data packet sent by the second device, where the data packet includes a data packet arrival number.
  • the transmission delay between the second device and the device includes: a transceiver unit 910a and a processing unit 920a, wherein the transceiver unit 910a is configured to receive a data packet sent by the second device, where the data packet includes a data packet arrival number.
  • the first time information of the PDCP layer of the packet data fusion protocol of the second device; the processing unit 920a is configured to determine second time information of the PDCP
  • the first time information includes first absolute time information or first relative time information
  • the second time information includes second absolute time information or second relative time information
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used when the PDCP layer of the second device receives the data packet, and the first offset Used to indicate the offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the PDCP layer of the second device receives the data packet, and the first target time is the first time.
  • the starting time of the period in which the time is located, and the duration of the period in which the first time is located is the preset duration.
  • the second relative time information includes a second offset, a second radio frame number and a second subframe number used by the PDCP layer of the device 900a to transmit a data packet, and a second offset. Used to indicate the offset of the data packet in the subframe identified by the second subframe number.
  • the transmission delay T of the data packet between the second device and the device 900a satisfies the following expression:
  • SFN 1 is the first radio frame number
  • SSFN 1 is the first subframe number
  • SOFF 1 is the first offset
  • SFN 2 is the second radio frame number
  • SSFN 2 is the second subframe number
  • SOFF 2 is The second offset
  • T f is the duration of one radio frame
  • T sf is the duration of one subframe
  • T 0 is the duration used for the loop of the radio frame number.
  • the second relative time information is used to indicate the second time offset from the second target time
  • the second time is the time when the PDCP layer of the device sends the data packet
  • the second target time is the second time
  • the duration of the period in which the second time is located is the preset duration.
  • the transmission delay T of the data packet between the second device and the device 900a satisfies the following expression:
  • T 1 is the first relative time information
  • T 2 is the second relative time information
  • T z is the preset duration
  • the data packet further includes a first identifier; the first identifier is used to identify a format used by the first time information;
  • the processing unit 920a is configured to determine, according to a format adopted by the first time information that is identified by the first identifier, second time information of the PDCP layer of the data packet leaving the device.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the transceiver unit 910a is further configured to send a transmission delay to the second device.
  • the processing unit 920a may be implemented by a processor, and the transceiver unit 910a may be implemented by a transceiver.
  • the specific transceiver includes a receiver and a transmitter, where the receiver is configured to receive signals or data, and the transmitter is used by the transmitter. Send a signal or data.
  • a hardware structure diagram of a device 900b for receiving a data packet in the embodiment of the present application where the device 900b may include a processor 910b, a transceiver 920b, and a memory 930b.
  • the memory 930b may be used to store a program/code pre-installed when the device 900b is shipped from the factory, or may store a code or the like for execution of the processor 910b.
  • the processor 910b may be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for performing related operations.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the device 900b shown in FIG. 9b only shows the processor 910b, the transceiver 920b, and the memory 930b, in a specific implementation process, those skilled in the art will appreciate that the device 900b also includes a normal operation. Other devices that are required. At the same time, those skilled in the art will appreciate that the device 900b may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the device 900b may also only include the devices or modules necessary to implement the embodiments of the present application, and does not necessarily include all of the devices shown in Figure 9b.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the device 1000a for transmitting a data packet includes: a processing unit 1010a and a transceiver unit 1020a, wherein the processing unit 1010a is configured to determine a packet data fusion protocol PDCP layer first time information of a data packet arriving at a device.
  • the transceiver unit 1020a is configured to send a data packet to the first device, where the data packet includes the first time information, so that the first device determines, according to the first time information, a transmission delay between the device and the first device.
  • the first time information includes first absolute time information or first relative time information.
  • the first relative time information includes a first offset, a first radio frame number and a first subframe number used by the PDCP layer of the device to receive the data packet, and the first offset is used for the first offset. Indicates the offset of the data packet in the subframe identified by the first subframe number.
  • the first relative time information is used to indicate that the first time is different from the first target time.
  • the first time is the time when the PDCP layer of the device receives the data packet, and the first target time is the first time.
  • the duration of the period in which the first moment is located is the preset duration.
  • the data packet further includes a first identifier; the first identifier is used to identify a format used by the first time information.
  • the first time information and the first identity are carried in the PDCP Header of the data packet.
  • the transceiver unit 1020a is further configured to: receive, when the data packet sent by the first device is transmitted between the first device and the second device, Deferred, and the transmission delay is presented in the form of a log or an utterance.
  • the processing unit 1010a may be implemented by a processor, and the transceiver unit 1020a may be implemented by a transceiver.
  • the specific transceiver includes a receiver and a transmitter, where the receiver is used to receive signals or data, and the transmitter is used by the transmitter. Send a signal or data.
  • FIG. 10b a hardware structure diagram of a device 1000b for transmitting a data packet in the embodiment of the present application, where the device 1000b may include a processor 1010b, a transceiver 1020b, and a memory 1030b.
  • the memory 1030b may be used to store a program/code pre-installed by the device 1000b, or may store a code or the like for execution of the processor 1010b.
  • the processor 1010b may be a general-purpose CPU, a microprocessor, an ASIC, or one or more integrated circuits for performing related operations to implement the technical solutions provided by the embodiments of the present application.
  • the device 1000b shown in FIG. 10b only shows the processor 1010b, the transceiver 1020b, and the memory 1030b, in a specific implementation process, those skilled in the art will appreciate that the device 1000b also includes a normal operation. Other devices that are required. At the same time, those skilled in the art will appreciate that the device 1000b may also include hardware devices that implement other additional functions, depending on the particular needs. Moreover, those skilled in the art will appreciate that the device 1000b may also only include the devices or modules necessary to implement the embodiments of the present application, and does not necessarily include all of the devices shown in FIG. 10b.
  • the above storage medium may be a magnetic disk, an optical disk, a ROM, a RAM, or the like.
  • the communication system 1100 of the embodiment of the present application includes a device 900a as shown in FIG. 9a and a device 1000a as shown in FIG. 10a.
  • the device shown in FIG. 9a, FIG. 9b, FIG. 10a, and FIG. 10b is specifically described by taking the first radio protocol layer as the PDCP layer and the second radio protocol layer as the PDCP layer, and the first radio protocol layer is the SDAP layer.
  • the second radio protocol layer is the SDAP layer, or the first radio protocol layer and the second radio protocol layer are other layers, the manner of determining the air interface delay is similar, and details are not described herein again.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can 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.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种发送和接收数据包的方法、设备及系统,涉及通信技术领域,其中该方法包括第二设备确定第一时间信息,并向第一设备发送数据包,该数据包中包括第一时间信息,第一设备在接收到第二设备发送的数据包后,确定第二时间信息,然后根据第一时间信息和第二时间信息,确定数据包在第二设备和第一设备之间的传输时延,第一时间信息用于指示数据包到达第二设备的用户面协议栈中的第一无线协议层的时间,数据包的报头为第一无线协议层的报头,第二时间信息用于指示数据包离开第一设备的用户面协议栈中的第二无线协议层的时间,且在第二无线协议层解析数据包的报头。由于引入了第一时间信息和第二时间信息,从而实现了对NR系统中数据包的传输时延的测量。

Description

一种发送和接收数据包的方法、设备及系统
本申请中要求在2017年05月26日提交中国专利局、申请号为201710385247.3、申请名称为“一种发送和接收数据包的方法、设备及系统”的中国专利申请的优先权,以及要求在2017年10月19日提交中国专利局、申请号为201710977122.X、申请名称为“一种发送和接收数据包的方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别涉及一种发送和接收数据包的方法、设备及系统。
背景技术
在无线通信系统中,由于信道环境会随着时间和空间的变化可能会发生变化,在信道环境发生变化时,会影响设备之间数据包的传输时延,通常情况下,基站通过测量终端设备之间的数据包的传输时延来评估终端设备传输数据包的可靠性。
新的无线通信(New Radio,NR)系统对数据包在基站和终端设备间的传输时延和可靠性要求更高,现有技术中测量传输时延的方式不再适用于NR系统。
发明内容
本申请实施例提供了一种发送和接收数据包的方法、设备及系统,有助于提高测量NR系统中数据包的传输时延的准确性。
第一方面,提供了一种发送数据包的方法,包括:
第一设备接收第二设备发送的数据包,该数据包包括数据包到达第二设备的分组数据融合协议(Packet Data Convergence Protocol,PDCP)层的第一时间信息,并确定该数据包离开第一设备的PDCP层的第二时间信息,然后根据第一时间信息和第二时间信息,确定数据包在第二设备和第一设备之间的传输时延。
由于本申请实施例中通过引入第一时间信息和第二时间信息,来确定数据包在第二设备和第一设备之间的传输时延,而本申请实施例中确定数据包在第二设备和第一设备之间的传输时延符合NR系统中定义的数据包的传输时延,因此,将本申请实施例的技术方案应用于NR系统时,有助于提高测量数据包的传输时延的准确性。
需要说明的是,在本申请实施例中对于数据来说,第一设备为接收端,第二设备为发送端,其中,数据包到达第二设备的PDCP层指的是,第二设备PDCP层接收到的第二设备的PDCP层的上层在处理完需要发送给第一设备的数据包;数据包离开第一设备的PDCP层指的是,第一设备的PDCP层在处理完数据包后,向第一设备的PDCP层的上层发送该数据包。以图1为例,假设第一设备为eNB,则PDCP层的上层为网络协议(Internet Protocol,IP)/用户数据报协议(User Datagram Protocol,UDP)/other(其它)层。
基于第一方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
当第一时间信息为第一相对时间信息,第二时间信息为第二相对时间信息时,有助于降低用于表示第一时间信息和第二时间信息的字节数,因而有助于提高数据包的传输效 率。
示例的,第一时间信息和第二时间信息可以以时间戳的形式实现。
基于第一方面,在一种可能的设计中,第一相对时间信息可以为第一帧信息,和/或第二相对时间信息为第二帧信息。
其中,第一帧信息可以为第二设备的PDCP层接收到数据包时承载数据包的帧信息,例如无线帧号、子帧号、偏移量等信息或者是标识无线帧号、子帧号和偏移量的其它标识信息,在此不进行限定。
基于第一方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
由于通信系统中可以通过无线帧来传输数据包,因此可以通过偏移量、无线帧号和子帧号来指示第二设备的PDCP层接收到数据包的时间。
基于第一方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏移第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
通过预定义的方式来确定第一相对时间信息,有助于降低表示第一时间信息的字节数,从而提高数据包的传输效率。
基于第一方面,在一种可能的设计中,第二相对时间信息包括第二偏移量、第一设备的PDCP层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
基于第一方面,在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000001
其中,SFN 1为第一无线帧号,SSFN 1为第一子帧号,SOFF 1为第一偏移量,SFN 2为第二无线帧号,SSFN 2为第二子帧号,SOFF 2为第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
通过上述技术方案,能够准确的确定数据包在第二设备和第一设备之间传输时延。
基于第一方面,在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第一设备的PDCP层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
基于第一方面,在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000002
其中,T 1为第一相对时间信息,T 2为第二相对时间信息,T z为预设时长。
通过上述技术方案,能够在准确的确定数据包在第二设备和第一设备之间传输时延基础上,降低确定数据包的传输时延的复杂度。
基于第一方面,在一种可能设计中,数据包中还包括第一标识;其中第一标识用于标 识第一时间信息所采用的格式;
第一设备确定所述数据包离开所述第一设备的PDCP层的第二时间信息,在具体实现时可采用下列方式:
第一设备根据第一标识所标识的第一时间信息所采用的格式,确定数据包离开第一设备的PDCP层的第二时间信息。
由于通过上述技术方案,第一时间信息和第二时间信息所采用的格式相同,从而简化了确定数据包在第一设备和第二设备之间的传输时延的方式。
基于第一方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第一方面,在一种可能的设计中,第一设备为终端设备、第二设备为网络设备时,第一设备还向第二设备发送该传输时延。
由于当第一设备为终端设备、第二设备为网络设备时,第一设备还向第二设备发送传输时延,有助于网络设备对终端设备通信中数据包的可靠性进行评估。
示例的,第一设备可以每次在确定数据包的传输时延后,向第二设备发送该传输时延;或者,第一设备可以每隔预设时长向第二设备发送该预设时长内第一设备确定的所有数据包的传输时延;此外第一设备还可以每确定预设个数的数据包的传输时延后,向第二设备发送预设个数的数据包的传输时延,亦或是,第一设备在某一事件的触发下,向第二设备发送数据包的传输时延,例如确定的数据包的传输时延大于特定的阈值等。还需要说明的是,第一设备还可以每隔预设时长统计确定的所有数据包的传输时延的平均值发送给第二设备,或者第一设备每确定预设个数的数据包的传输时延后,对预设个数的数据包的传输时延进行统计,例如确定预设个数的数据包的传输时延的平均值等,将统计的数据包的传输时延的统计结果发送给第二设备。
第二方面,本申请实施例提供了一种发送数据包的方法,包括:
第二设备确定数据包到达第二设备的PDCP层的第一时间信息,并向第一设备发送数据包,该数据包中包括第一时间信息,以使得第一设备根据第一时间信息确定该数据包在第二设备和第一设备之间的传输时延。
由于本申请实施例中在第二设备发送数据包时,引入第一时间信息,从而使得第一设备能够根据第一时间信息确定该数据包的传输时延,而本申请实施例中这种确定数据包传输时延的方式符合NR系统中对数据包的传输时延的定义,因此将本申请实施例的技术方案应用于NR系统时,有助于提高测量数据包的传输时延的准确性。
基于第二方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。
当第一时间信息为第一相对时间信息,第二时间信息为第二相对时间信息时,有助于降低用于表示第一时间信息和第二时间信息的字节数,因而有助于提高数据包的传输效率。
示例的,第一时间信息可以以时间戳的形式实现。
基于第二方面,在一种可能的设计中,第一相对时间信息可以为第一帧信息。
其中,第一帧信息可以为第二设备的PDCP层接收到数据包时承载数据包的帧信息,例如无线帧号、子帧号、偏移量等信息或者是标识无线帧号、子帧号和偏移量的其它标识信息,在此不进行限定。
基于第二方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
由于通信系统中可以通过无线帧来传输数据包,因此可以通过偏移量、无线帧号和子帧号来指示第二设备的PDCP层接收到数据包的时间。
基于第二方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
通过预定义的方式来确定第一相对时间信息,有助于降低表示第一时间信息的字节数,从而提高数据包的传输效率。
基于第二方面,在一种可能的设计中,数据包中还包括第一标识,第一标识用于标识第一时间信息所采用的格式。
由于通过上述技术方案,第二设备可通知第一设备第一时间信息所采用的格式,从而使得第第一设备在确定第二时间信息时可采用与第一时间信息相同的格式,有助于简化确定数据包在第一设备和第二设备之间的传输时延的方式。
基于第二方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第二方面,在一种可能的设计中,第一设备为终端设备、第二设备为网络设备时,第二设备还接收第一设备发送的数据包在第二设备和第一设备之间的传输时延,并以日志或话统的形式呈现传输时延。
由于当第一设备为终端设备、第二设备为网络设备时,第二设备还接收第一设备发送传输时延,有助于网络设备对终端设备通信中数据包的可靠性进行评估。
示例的,当第一设备每次在确定数据包的传输时延后,向第二设备发送该数据包的传输时延,第二设备直接接收该数据包的传输时延,当第一设备每隔预设时长向第二设备发送该预设时长内第一设备确定的所有数据包的传输时延时,则第二设备可以周期性的接收第一设备发送的数据包的传输时延,此外第一设备确定预设个数的数据包的传输时延后,向第二设备发送预设个数的数据包的传输时延,第二设备可以接收到预设个数的传输时延,亦或是,第一设备在某一事件的触发下,向第二设备发送数据包的传输时延,例如确定的数据包的传输时延大于特定的阈值等。还需要说明的是,第一设备还可以每隔预设时长统计确定的所有数据包的传输时延的平均值发送给第二设备,或者第一设备每确定预设个数的数据包的传输时延后,对预设个数的数据包的传输时延进行统计,例如确定预设个数的数据包的传输时延的平均值等,将统计的数据包的传输时延的统计结果发送给第二设备。
第三方面,本申请实施例提供了一种接收数据包的设备,该设备包括:收发器和处理器,其中,收发器用于接收第二设备发送的数据包,数据包包括数据包到达第二设备的分组数据融合协议PDCP层的第一时间信息;处理器用于确定数据包离开该设备的PDCP层的第二时间信息,以及根据第一时间信息和第二时间信息,确定数据包在第二设备和该设备之间的传输时延。
基于第三方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
基于第三方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
基于第三方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
基于第三方面,在一种可能的设计中,第二相对时间信息包括第二偏移量、该设备的PDCP层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
基于第三方面,在一种可能的设计中,数据包在第二设备和该设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000003
其中,SFN 1为第一无线帧号,SSFN 1为第一子帧号,SOFF 1为第一偏移量,SFN 2为第二无线帧号,SSFN 2为第二子帧号,SOFF 2为第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
基于第三方面,在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为该设备的PDCP层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
基于第三方面,在一种可能的设计中,数据包在第二设备和该设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000004
其中,T 1为第一相对时间信息,T 2为第二相对时间信息,T z为预设时长。
基于第三方面,在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式;
处理器,用于确定数据包离开设备的PDCP层的第二时间信息,具体包括:
处理器,用于根据第一标识所标识的第一时间信息所采用的格式,确定数据包离开设备的PDCP层的第二时间信息。
基于第三方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第三方面,在一种可能的设计中,该设备为终端设备、第二设备为网络设备时,收发器还用于:向第二设备发送传输时延。
第四方面,本申请实施例还提供了一种接收数据包的设备,包括收发单元和处理单元,其中,收发单元用于接收第二设备发送的数据包,数据包包括数据包到达第二设备的分组数据融合协议PDCP层的第一时间信息;处理单元用于确定数据包离开该设备的PDCP层的第二时间信息,以及根据第一时间信息和第二时间信息,确定数据包在第二设备和该设备之间的传输时延。
基于第四方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相 对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
基于第四方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
基于第四方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
基于第四方面,在一种可能的设计中,第二相对时间信息包括第二偏移量、该设备的PDCP层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
基于第四方面,在一种可能的设计中,数据包在第二设备和该设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000005
其中,SFN 1为第一无线帧号,SSFN 1为第一子帧号,SOFF 1为第一偏移量,SFN 2为第二无线帧号,SSFN 2为第二子帧号,SOFF 2为第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
基于第四方面,在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为该设备的PDCP层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
基于第四方面,在一种可能的设计中,数据包在第二设备和该设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000006
其中,T 1为第一相对时间信息,T 2为第二相对时间信息,T z为预设时长。
基于第四方面,在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式;
处理单元,用于确定数据包离开设备的PDCP层的第二时间信息,具体包括:
处理单元,用于根据第一标识所标识的第一时间信息所采用的格式,确定数据包离开设备的PDCP层的第二时间信息。
基于第四方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第四方面,在一种可能的设计中,该设备为终端设备、第二设备为网络设备时,收发单元还用于:向第二设备发送传输时延。
本申请的又一方面提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
本申请的又一方面还提供了一种芯片,其中该芯片与存储器相连,用于读取存储器中 的程序指令,实现第一方面以及第一方面提供的任一设计的技术方案。
第五方面,本申请实施例提供了一种发送数据包的设备,该设备包括:处理器和收发器,其中处理器用于确定数据包到达设备的分组数据融合协议PDCP层第一时间信息;收发器用于向第一设备发送数据包,数据包包括第一时间信息,以使得第一设备根据第一时间信息确定数据包在设备和第一设备之间的传输时延。
基于第五方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。
基于第五方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
基于第五方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为该设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
基于第五方面,在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式。
基于第五方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第五方面,在一种可能的设计中,第一设备为终端设备、该设备为网络设备时,收发器还用于:接收第一设备发送的数据包在第一设备和第二设备之间的传输时延,并以日志或话统的形式呈现传输时延。
第六方面,本申请实施例还提供了一种发送数据包的设备,该设备包括处理单元和收发单元,其中处理单元用于确定数据包到达设备的分组数据融合协议PDCP层第一时间信息;收发单元用于向第一设备发送数据包,数据包包括第一时间信息,以使得第一设备根据第一时间信息确定数据包在设备和第一设备之间的传输时延。
基于第六方面,在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。
基于第六方面,在一种可能的设计中,第一相对时间信息包括第一偏移量、设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
基于第六方面,在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为该设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
基于第六方面,在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式。
基于第六方面,在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
基于第六方面,在一种可能的设计中,第一设备为终端设备、该设备为网络设备时,收发单元还用于:接收第一设备发送的数据包在第一设备和第二设备之间的传输时延,并以日志或话统的形式呈现传输时延。
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储 有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
本申请的又一方面还提供了一种芯片,其中该芯片与存储器相连,用于读取存储器中的程序指令,实现第二方面以及第二方面提供的任一设计的技术方案。
本申请实施例还提供了一种通信系统,包括第三方面和第三方面提供的任一设计的设备、以及第五方面和第五方面提供的任一设计的设备。
第七方面,本申请实施例提供的一种接收数据包的方法,包括:
第一设备接收第二设备发送的数据包,该数据包包括第一时间信息,并确定第二时间信息,然后根据第一时间信息和第二时间信息确定数据包在第二设备和第一设备之间的传输时延,其中第一时间信息用于指示数据包到达第一无线协议层的时间,第一无线协议层位于第二设备的用户面协议栈中,且数据包的报头为第一无线协议层的报头;第二时间信息用于指示数据包离开第二无线协议层的时间,第二无线协议层位于第一设备的用户面协议栈中,且在第二无线协议层解析数据包的报头。
由于本申请实施例中通过引入第一时间信息和第二时间信息,来确定数据包在第二设备和第一设备之间的传输时延,而本申请实施例中确定数据包在第二设备和第一设备之间的传输时延符合NR系统中定义的数据包的传输时延,因此,将本申请实施例的技术方案应用于NR系统时,有助于提高测量数据包的传输时延的准确性。
在一种可能的设计中,第一无线协议层为第二设备的PDCP层,第二无线协议层为第一设备的PDCP层;或者,第一无线协议层为第二设备的业务数据适配协议SDAP层,第二无线协议层为第一设备的SDAP层。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
当第一时间信息为第一相对时间信息,第二时间信息为第二相对时间信息时,有助于降低用于表示第一时间信息和第二时间信息的字节数,因而有助于提高数据包的传输效率。
示例的,第一时间信息和第二时间信息可以以时间戳的形式实现。
在一种可能的设计中,第一相对时间信息包括第一偏移量、第一无线协议层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。通过上述方式来确定第一相对时间信息,有助于降低表示第一时间信息的字节数,从而提高数据包的传输效率。
在一种可能的设计中,第二相对时间信息包括第二偏移量、第二无线协议层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000007
其中,SFN 1为第一无线协议层接收数据包时所使用的第一无线帧号,SSFN 1为第一无线协议层接收数据包时所使用的第一子帧号,SOFF 1为第一偏移量,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量,SFN 2为第二无线协议层发送数据包时所使用的第二无线帧号,SSFN 2为第二无线协议层发送数据包时所使用的第二子帧号,SOFF 2为第二偏移量,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
通过上述技术方案,有助于准确的确定数据包在第二设备和第一设备之间传输时延。
在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第二无线协议层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000008
其中,T 1为第一相对时间信息,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为T z,T 2为第二相对时间信息,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第二无线协议层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为T z,T z为预设时长。
通过上述技术方案,能够在准确的确定数据包在第二设备和第一设备之间传输时延基础上,降低确定数据包的传输时延的复杂度。
在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式;在具体实现时可采用下列方式:
第一设备根据第一标识所标识的第一时间信息所采用的格式,确定第二时间信息。通过上述技术方案,使得第一时间信息和第二时间信息所采用的格式相同,从而简化了确定数据包在第一设备和第二设备之间的传输时延的方式。
第八方面,本申请实施例提供了一种发送数据包的方法,包括:
第二设备确定第一时间信息,并向第一设备发送数据包,数据包中包括第一时间信息,第一时间信息用于指示数据包到达第一无线协议层的时间,数据包包括第一无线协议层位于第二设备的用户面协议栈中,且数据包的报头为第一无线协议层的报头。
由于本申请实施例中在第二设备发送数据包时,引入第一时间信息,从而使得第一设备能够根据第一时间信息确定该数据包的传输时延,而本申请实施例中这种确定数据包传输时延的方式符合NR系统中对数据包的传输时延的定义,因此将本申请实施例的技术方案应用于NR系统时,有助于提高测量数据包的传输时延的准确性。
在一种可能的设计中,第一无线协议层为第二设备的分组数据融合协议PDCP层;或者,第一无线协议层为第二设备的SDAP层。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。当 第一时间信息为第一相对时间信息,第二时间信息为第二相对时间信息时,有助于降低用于表示第一时间信息和第二时间信息的字节数,因而有助于提高数据包的传输效率。
示例的,第一时间信息可以以时间戳的形式实现。
在一种可能的设计中,第一相对时间信息包括第一偏移量、第一无线协议层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。通过上述方式来确定第一相对时间信息,有助于降低表示第一时间信息的字节数,从而提高数据包的传输效率。
在一种可能的设计中,数据包中还包括第一标识,第一标识用于标识第一时间信息所采用的格式。通过上述技术方案,第二设备可通知第一设备第一时间信息所采用的格式,从而使得第第一设备在确定第二时间信息时可采用与第一时间信息相同的格式,有助于简化确定数据包在第一设备和第二设备之间的传输时延的方式。
第九方面,本申请实施例提供的一种第一设备,包括:处理器和收发器,其中收发器用于接收第二设备发送的数据包,数据包包括第一时间信息,第一时间信息用于指示数据包到达第一无线协议层的时间,第一无线协议层位于第二设备的用户面协议栈中,且数据包的报头为第一无线协议层的报头;处理器用于确定第二时间信息,并根据第一时间信息和第二时间信息,确定数据包在第二设备和第一设备之间的传输时延,第二时间信息用于指示数据包离开第二无线协议层的时间,第二无线协议层位于第一设备的用户面协议栈中,且数据包在第二无线协议层解析报头。
在一种可能的设计中,第一无线协议层为第二设备的分组数据融合协议PDCP层,第二无线协议层为第一设备的PDCP层;或者,第一无线协议层为第二设备的业务数据适配协议SDAP层,第二无线协议层为第一设备的SDAP层。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
在一种可能的设计中,第一相对时间信息包括第一偏移量、第一无线协议层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
在一种可能的设计中,第二相对时间信息包括第二偏移量、第二无线协议层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000009
其中,SFN 1为第一无线协议层接收数据包时所使用的第一无线帧号,SSFN 1为第一无 线协议层接收数据包时所使用的第一子帧号,SOFF 1为第一偏移量,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量,SFN 2为第二无线协议层发送数据包时所使用的第二无线帧号,SSFN 2为第二无线协议层发送数据包时所使用的第二子帧号,SOFF 2为第二偏移量,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第二无线协议层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
在一种可能的设计中,数据包在第二设备和第一设备之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000010
其中,T 1为第一相对时间信息,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为T z,T 2为第二相对时间信息,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第二无线协议层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为T z,T z为预设时长。
在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式;
处理器,用于确定第二时间信息,一种可能的具体实现方式为:
处理器,用于根据第一标识所标识的第一时间信息所采用的格式,确定第二时间信息。
第十方面,本申请实施例提供的一种第二设备,包括:处理器和收发器,其中处理器用于确定第一时间信息,第一时间信息用于指示数据包到达第一无线协议层的时间,数据包包括第一无线协议层位于第二设备的用户面协议栈中,且数据包的报头为第一无线协议层的报头;收发器用于向第一设备发送数据包,数据包中包括第一时间信息。
在一种可能的设计中,第一无线协议层为第二设备的分组数据融合协议PDCP层;或者,第一无线协议层为第二设备的业务数据适配协议SDAP层。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。
在一种可能的设计中,第一相对时间信息包括第一偏移量、第一无线协议层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第一无线协议层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第七方面或第七方面任一可能的设计中所述的方法。
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第八方面或第八方面任一可能的设 计中所述的方法。
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第七方面或第七方面任一可能的设计中所述的方法。
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第八方面或第八方面任一可能的设计中所述的方法。
本申请的又一方面还提供了一种芯片,其中该芯片与存储器相连,用于读取存储器中的程序指令,实现第七方面以及第七方面提供的任一设计的技术方案。
本申请的又一方面还提供了一种芯片,其中该芯片与存储器相连,用于读取存储器中的程序指令,实现第八方面以及第八方面提供的任一设计的技术方案。
本申请实施例还提供了一种通信系统,包括第九方面和第九方面提供的任一设计的设备、以及第十方面和第十方面提供的任一设计的设备。
附图说明
图1a和图1b分别为本申请实施例中传输时延的示意图;
图2为本申请实施例发送和接收数据包的方法的流程示意图;
图3a~图3c分别为本申请实施例第一时间信息的结构示意图;
图4为本申请实施例中偏移量的示意图;
图5为本申请实施例中第一相对时间信息的示意图;
图6a和图6b分别为本申请实施例数据包结构的示意图;
图7a为本申请实施例中云场景示意图;
图7b为本申请实施例中非云场景示意图;
图8为本申请实施例中传输时延计算过程示意图;
图9a和图9b分别为本申请实施例中接收数据包的设备的结构示意图;
图10a和图10b分别为本申请实施例中发送数据包的设备的结构示意图;
图11为本申请实施例的通信系统的结构示意图。
具体实施方式
下面结合说明书附图对本申请实施例进行相应的说明。
针对NR系统,通信协议中对数据包在基站和终端设备之间的传输时延定义为:在上行通信方向或者下行通信方向上,数据包或者信息成功从无线协议层2或无线协议层3的服务数据单元(Service Data Unit,SDU)入口点传输到无线协议层2或者无线协议层3的SDU出口点所花费的时间,无论终端设备还是基站是否受非连续接收(Discontinuous Reception,DRX)限制。
本申请实施例中为了便于确定数据包的空口时延,将用户面协议栈中的第一无线协议层作为SDU入口点,将用户面协议栈中的第二无线协议层作为SDU出口点,其中第一无线协议层和第二无线协议层可以为同一个无线协议层,也可以定义为不同的无线协议层,可以根据实际情况进行相应的设定。
示例的,通常情况下,如图1a所示,用户面协议栈中包括媒体访问控制(Media Access Control,MAC)层、无线链路协议控制层协议(Radio Link Control,RLC)层和PDCP层,数据包的报头PDCP层的报头,因此可选的,第一无线协议层为PDCP层,第二无线协议层 也为PDCP层;在5G中用户面协议栈引入了位于PDCP层之上业务数据适配协议(Service Data Adaptation Protocol,SDAP)层,如图1b所示,当数据包在经过SDAP层后,数据包的报头变为SDAP层的报头时,可选的,第一无线协议层为SDAP层,第二无线协议层为SDAP层;当数据包的报头在经过SDAP层后,数据包的报头还为PDCP层的报头,即数据包在SDAP层透传,可选的,第一无线协议层为PDCP层,第二无线协议层也为PDCP层。
下面以第一无线协议层为PDCP层、第二无线协议层为PDCP层为例进行具体说明,当第一无线协议层为SDAP层、第二无线协议层为SDAP层,或者第一无线协议层、第二无线协议层为其它层时确定空口时延的方式类似,在此不再一一赘述。
针对NR系统,由于通信协议中对数据包在基站和终端设备之间的传输时延定义如图1a所示:在上行通信方向或者下行通信方向上,数据包或者信息成功从无线协议层2或无线协议层3的服务数据单元(Service Data Unit,SDU)入口点传输到无线协议层2或者无线协议层3的SDU出口点所花费的时间,无论终端设备还是基站是否受非连续接收(Discontinuous Reception,DRX)限制。
具体的,在上行通信方向上,无线协议层2或无线协议层3的SDU入口点为图1a中所示的终端设备的PDCP层,无线协议层2或无线协议层3的SDU出口点为图1中所示的演进型基站(evolved Node B,eNB)的PDCP层;在下行通信方向上,无线协议层2或无线协议层3的SDU入口点为图1中所示的eNB的PDCP层,无线协议层2或无线协议层3的SDU出口点为图1a中所示的终端设备的PDCP层。
应理解,本申请实施例可以应用于但不限于NR系统。
应理解,在本申请实施例中当第一设备为网络设备时,第二设备为终端设备;当第一设备为终端设备时,第二设备为网络设备。
具体的,本申请实施例中的网络设备,可以是基站,或者接入点,或者可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。当网络设备为基站时,基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括IP网络。基站还可用于协调对空中接口的属性管理。例如,基站可以是GSM或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)中的节点B(NodeB),还可以是LTE系统中的eNB,本申请实施例并不限定。
本申请实施例中的终端设备可以为用于向用户提供语音和/或数据连通性的设备、具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。终端还可以为无线终端,其中,无线终端可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)、或具有移动终端的计算机,例如,具有移动终端的计算机可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,无线终端还可以为个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiation Protocol,SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point,AP)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户 代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)等,本申请实施例不做限定。
下面结合说明书附图对本申请实施例进行详细说明。
如图2所示,本申请实施例发送和接收数据包的方法,包括:
步骤200,第二设备确定数据包到达第二设备的PDCP层的第一时间信息。
步骤210,第二设备向第一设备发送数据包,其中该数据包中包括第一时间信息。
步骤220,第一设备在接收到数据包后,确定数据包离开第一设备的PDCP层的第二时间信息。
步骤230,第一设备根据第一时间信息和第二时间信息,确定数据包在第二设备和第一设备之间的传输时延。
由于本申请实施例中确定数据包在第二设备和第一设备之间的传输时延符合NR系统中定义的数据包的传输时延,因此,将本申请实施例的技术方案应用于NR系统时,有助于提高测量数据包的传输时延的准确性。
需要说明的是,在本申请实施例中第一时间信息和第二时间信息在具体实现时可以以时间戳的形式实现,或者其它形式,本申请实施例中对此不进行限定。
应理解,本申请实施例中的第一时间信息包括第一绝对时间信息或者第一相对时间信息,第二时间信息包括第二绝对时间信息或者第二相对时间信息。
其中相对时间信息可以以帧信息进行指示,例如无线帧号、子帧号、偏移量,其中相对时间信息可以包括无线帧号、子帧号、偏移量,相对时间信息还可以为用于指示无线帧号、子帧号、偏移量的其它信息,如序列等,本申请实施例对此不进行限定。
示例的,如图3a~如图3c所示,为本申请实施例中第一时间信息所采用的格式。
如图3a所示,第一时间信息包括第一偏移量、以及第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
需要说明的是,第一子帧号所标识的子帧位于第一无线帧号所标识的无线帧中。
还需要说明的是,本申请实施例中不限定第一偏移量、第一子帧号和第一无线帧号的位置顺序,图3a所示的第一时间信息的格式仅为举例说明。
假设通信系统中的时隙结构如图4所示,无线帧号1秒(s)循环一次,具体的1s包括1024个无线帧,其中每个无线帧与无线帧号0~1023一一对应,每个无线帧中包括7个子帧,每个子帧与子帧号0~7一一对应,若使用无线帧号为5所标识的无线帧中子帧号为0的子帧发送数据包,其中子帧中承载数据包的起始位置为A1,A0为子帧号为0的子帧的起始位置,则A1与A0之间的大小则为第一偏移量,在具体实现中,若A0与A1相距50微秒(μs),则第一偏移量可以直接表示为50微秒(μs),还可以为一个标识,其中该标识与50μs相对应,例如该标识可以为一个正整数。除此之外,标识还可以为其它信息,当标识为其它信息时,与标识为正整数类似,在此不再一一赘述。
第一时间信息的格式还可以如图3b所示,第一时间信息为第二设备的PDCP层接收数据包的第一绝对时间信息。应理解,第一绝对时间信息可以为具体的时刻,例如2017年5月10号12:00:00,第一绝对时间信息还可以为一个标识,示例的,该标识可以为一个正整数,预先配置正整数与具体时刻的对应关系规则,这样就可以在确定了第二设备的PDCP层接收数据包的具体时间后,确定与该具体时间对应的正整数,并将该正整数发送 给第一设备,与直接向第一设备发送具体时刻相比,降低了第一时间信息的比特数。除此之外,标识还可以为其它信息,如序列等,当标识为其它信息时,与标识为正整数的实现方式类似,在此不再一一赘述。
此外,第一时间信息的格式还可以如图3c所示,第一时间信息为第一相对时间信息,其中第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在的周期的时长为预设时长。需要说明的是预设时长的大小可以根据实际情况进行具体配置,在此不做限定。还需要说明的是,本申请实施例中第二设备的PDCP层接收数据包的时间,即为第二设备的PDCP层接收到第二设备的上层发送的数据包的时间。
示例的,如图5所示,预设时长为10s,第一时刻为A1,第一相对时间信息为A1相对于A2的大小,A2为A1所在周期T0的起始时刻,在具体实现时,第一相对时间信息可以为A2距离A1的实际大小,例如,A2与A1之间相距1s,则第一相对时间信息可以为1s,或者,第一相对时间信息为一个标识,例如该标识可以为一个正整数,其中A2与A1之间相距1s时,1s对应正整数N0,则第一相对时间信息为N0,其中可以预先配置好正整数与相对时间的对应规则,当标识为其它信息时,与标识为正整数类似,在此不再一一赘述。
为了使得第一设备能够知道第一时间信息所采用的格式,可选的,数据包中还包括第一标识,第一标识用于标识第一时间信息所采用的格式。
例如,假设第一标识为正整数,当第一时间信息包括无线帧号、子帧号和偏移量时,则第一标识为0;当第一时间信息为第一绝对时间信息时,则第一标识为1;当第一时间信息为第一相对时间信息时,第一标识为2。除此之外,第一标识还可以为序列等其它信息,在此不再一一赘述。
可选的,第一时间信息和第一标识携带在数据包的PDCP Header中。
具体的,在本申请实施例中的数据包为PDCP协议数据单元(Protocol Data Unit,PDU),因此,PDCP Header又称为PDCP PDU Header,示例的,当数据包中的PDCP序列号为短序列号时,数据包的格式可以如图6a所示,当数据包中的PDCP序列号为长序列号时,数据包的格式可以如图6b所示。需要说明的是,在本申请实施例中第一时间信息和第一标识也可以携带在数据包的载荷部分。
其中,第二时间信息与第一时间信息的具体实现方式类似,可选的,为了便于计算数据包的传输时延,在第一时间信息包括第一偏移量、以及第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号时,第二时间信息包括第二偏移量、以及第一设备的PDCP层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量;当第一时间信息为第二设备的PDCP层接收数据包的第一绝对时间信息时,第二时间信息为第一设备的PDCP层发送数据包的第二绝对时间信息;当第一时间信息为第一相对时间信息时,第二时间信息为第二相对时间信息,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为第一设备的PDCP层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长,需要说明的是第一设备和第二设备所使用的预设时长相同。
应理解,在申请实施例中第一设备的PDCP层发送数据包指的是第一设备的PDCP层将数据包发送给第一设备的PDCP层的上层。
需要说明的是,在本申请实施例中,第一时间信息和第二时间信息的具体实现方式可以不相同,示例的,在第一时间信息和第二时间信息不同时,第一设备可以基于下列方式根据第一时间信息和第二时间信息确定数据包的传输时延:具体的,第一设备根据第一时间信息确定第二设备的PDCP层接收数据包的绝对时间,以及根据第二时间信息确定第一设备的PDCP层发送数据包的绝对时间后,来确定数据包在第二设备和第一设备之间的传输时延。
此外,由于在NR系统中,包括云化部署场景和非云化部署场景,在云化部署场景中,如图7a所示,基站的PDCP层和无线链路控制协议(Radio LinkControl,RLC)层、介质访问控制(Media Access Control,MAC)层以及物理层(Physical Layer,PHY层)分离,其中PDCP层为的实体为中心单元(Central Unit,CU),RLC层、MAC层以及PHY层组成的实体为分布式单元(Distributed Unit,DU),由于PDCP层与MAC层分离,因此PDCP层无法感知发送或接收数据包所使用的无线帧号、子帧号和偏移量,因此当第二设备为基站时,第一时间信息可以为绝对时间信息,还可以为预定义的相对时间信息,当第一设备为基站时,第二时间信息可以为绝对时间信息,还可以为预定义的相对时间信息。在非云化部署场景中,如图7b所示,基站的PDCP层与和RLC层、MAC层以及PHY层未分离,因此,基站的PDCP层可以感知发送或接收数据包所使用的无线帧号、子帧号和偏移量,因此当第二设备为基站时,第一时间信息可以为发送数据包所使用的无线帧号、子帧号和偏移量,可以为绝对时间信息,还可以为预定义的相对时间信息,当第一设备为基站时,第二时间信息可以为第一设备的PDCP层发送数据包时所使用的无线帧号、子帧号和偏移量,可以为绝对时间信息,还可以为预定义的相对时间信息。
示例的,当第一时间信息和第二时间信息均采用无线帧号、子帧号和偏移量表示时,第一设备可以基于下列方式确定数据包在第二设备和第一设备之间的传输时延:
Figure PCTCN2018077935-appb-000011
其中,T为数据包在第二设备和第一设备之间的传输时延,SFN 1为第一无线帧号,SSFN 1为第一子帧号,SOFF 1为第一偏移量,SFN 2为第二无线帧号,SSFN 2为第二子帧号,SOFF 2为第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长;
例如,当SFN 1=4、SSFN 1=3、SOFF 1=0、SFN 2=6、SSFN 2=4、SOFF 2=0,则第一设备确认无线帧号SFN 1和无线帧号SFN 2在一个无线帧号的循环周期内,则T=(6-4)×T f+(4-3)×T sf+(0-0)=2T f+T sf;当SFN 1=4、SSFN 1=3、SOFF 1=0、SFN 2=2、SSFN 2=4、SOFF 2=0时,第一设备确认无线帧号SFN 1和无线帧号SFN 2分别在两个个无线帧号的循环周期内,则在T=T 0+(2-4)×T f+(4-3)×T sf+(0-0)=T 0-2T f+T sf
需要说明的是,通常情况下,当第一设备在SFN 2<SFN 1时,认为SFN 2所在的周期与SFN 1所在的周期相差一个周期,当SFN 2与SFN 1相差周期大于一个周期时,第一设备很大可能就无法接收到数据包,为了使得第一设备更加准确的确认SFN 2与SFN 1所在的无线帧号的周期,在数据包中携带无线帧号周期的参数,例如通过在第一时间信息中增加无线帧 号周期的参数。
当第一时间信息和第二时间信息采用预定义的相对时间信息表示时,若相对时间信息为时间偏移量,则第一设备可以基于下列方式确定数据包在第二设备和第一设备之间的传输时延:
Figure PCTCN2018077935-appb-000012
其中,T为数据包在第二设备和第一设备之间的传输时延,T 1为所述第一相对时间信息,T 2为所述第二相对时间信息,T z为所述预设时长。
示例的,如图8所示,每隔T z循环一次,T 1为第一相对时间信息,T 2为第二相对时间信息,当T 2≤T 1时,第二目标时刻B为第(N+1)个周期的起始时刻,当T 2>T 1时,第二目标时刻为第N个周期的起始时刻,其中周期的时长为预设时长,可根据实际情况进行设定。
当第一时间信息和第二时间信息均采用绝对时间表示时,则数据包在第二设备和第一设备之间的传输时延为:
T=T 2-T 1
其中,T为数据包的空口时延,T 1为第一绝对时间信息,T 2为第二绝对时间信息。
此外,需要说明的是,在下行通信方向,第二设备为基站,第一设备为终端设备,终端设备在确认数据包在第二设备和第一设备之间的传输时延后,为了便于基站进行下行数据包传输时延的评估,终端设备向基站上报数据包的传输时延,具体的终端设备可以以业务包级上报,也可以是周期性或者事件统计性上报,示例的,以业务包级上报时,终端设备可以每确定一个数据包的传输时延后即向基站上报数据包的传输时延;在周期性上报时,终端设备可以每隔预设时长上报一次终端设备确定的数据包的传输时延;在事件统计性上报时,终端设备可以在终端设备确定满足预设个数的数据包的传输时延后向基站上报各个数据包的传输时延,此外,在事件统计上报时,终端设备还可以在某一特定事件的触发下向基站上报数据包的传输时延,例如终端设备连续一段时间内确定数据包的传输时延不大于特定阈值等,其中特定阈值可以由网络设备发送给终端设备,也可以预先设置在终端设备中,在此不做限定。
基站对上行通信方向或下行通信方向的数据包的传输时延进行统计,可通过日志或者话统进行呈现。
基于同一构思,本申请实施例中还提供了一种接收数据包的设备,该设备用于执行上述方法实施例中的第一设备的动作或功能。
基于同一构思,本申请实施例中还提供了一种发送数据包的设备,该设备用于执行上述方法实施例中第二设备的动作或功能。
本申请实施例还提供一种通信系统,包括上述实施例中的发送数据包的设备与接收数据包的设备。
为了节省篇幅,装置部分的内容可以具体能见方法实施例,重复之处不再赘述。
如图9a所示,本申请实施例接收数据包的设备900a,包括:收发单元910a和处理单元920a,其中,收发单元910a用于接收第二设备发送的数据包,数据包包括数据包到达第二设备的分组数据融合协议PDCP层的第一时间信息;处理单元920a用于确定数据包离开该设备的PDCP层的第二时间信息,以及根据第一时间信息和第二时间信息,确定数据 包在第二设备和该设备之间的传输时延。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息;第二时间信息包括第二绝对时间信息或第二相对时间信息。
在一种可能的设计中,第一相对时间信息包括第一偏移量、第二设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为第二设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
在一种可能的设计中,第二相对时间信息包括第二偏移量、该设备900a的PDCP层发送数据包时所使用的第二无线帧号和第二子帧号,第二偏移量用于指示数据包在第二子帧号所标识的子帧中的偏移量。
在一种可能的设计中,数据包在第二设备和设备900a之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000013
其中,SFN 1为第一无线帧号,SSFN 1为第一子帧号,SOFF 1为第一偏移量,SFN 2为第二无线帧号,SSFN 2为第二子帧号,SOFF 2为第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
在一种可能的设计中,第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,第二时刻为该设备的PDCP层发送数据包的时间,第二目标时刻为第二时刻所在周期的起始时刻,第二时刻所在周期的时长为预设时长。
在一种可能的设计中,数据包在第二设备和设备900a之间的传输时延T满足下列表达式:
Figure PCTCN2018077935-appb-000014
其中,T 1为第一相对时间信息,T 2为第二相对时间信息,T z为预设时长。
在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式;
处理单元920a用于根据第一标识所标识的第一时间信息所采用的格式,确定数据包离开设备的PDCP层的第二时间信息。
在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
在一种可能的设计中,该设备900a为终端设备、第二设备为网络设备时,收发单元910a还用于向第二设备发送传输时延。
应注意,本申请实施例中,处理单元920a可以由处理器实现,收发单元910a可以由收发器实现,具体的收发器包括接收器和发射器,其中接收器用于接收信号或数据,发射器用于发送信号或数据。
如图9b所示,本申请实施例中接收数据包的设备900b的硬件结构示意图,其中设备900b可以包括处理器910b、收发器920b和存储器930b。其中,存储器930b可以用于存 储设备900b出厂时预装的程序/代码,也可以存储用于处理器910b执行时的代码等。
其中,处理器910b可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关操作,以实现本申请实施例所提供的技术方案。
应注意,尽管图9b所示的设备900b仅仅示出了处理器910b、收发器920b和存储器930b,但是在具体实现过程中,本领域的技术人员应当明白,该设备900b还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,该设备900b还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,该设备900b也可仅仅包含实现本申请实施例所必须的器件或模块,而不必包含图9b中所示的全部器件。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁盘、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
如图10a所示,本申请实施例的发送数据包的设备1000a,包括:处理单元1010a和收发单元1020a,其中处理单元1010a用于确定数据包到达设备的分组数据融合协议PDCP层第一时间信息;收发单元1020a用于向第一设备发送数据包,数据包包括第一时间信息,以使得第一设备根据第一时间信息确定数据包在设备和第一设备之间的传输时延。
在一种可能的设计中,第一时间信息包括第一绝对时间信息或第一相对时间信息。
在一种可能的设计中,第一相对时间信息包括第一偏移量、设备的PDCP层接收数据包时所使用的第一无线帧号和第一子帧号,第一偏移量用于指示数据包在第一子帧号所标识的子帧中的偏移量。
在一种可能的设计中,第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,第一时刻为该设备的PDCP层接收数据包的时间,第一目标时刻为第一时刻所在周期的起始时刻,第一时刻所在周期的时长为预设时长。
在一种可能的设计中,数据包中还包括第一标识;第一标识用于标识第一时间信息所采用的格式。
在一种可能的设计中,第一时间信息和第一标识携带在数据包的PDCP Header中。
在一种可能的设计中,第一设备为终端设备、该设备为网络设备时,收发单元1020a还用于:接收第一设备发送的数据包在第一设备和第二设备之间的传输时延,并以日志或话统的形式呈现传输时延。
应注意,本申请实施例中,处理单元1010a可以由处理器实现,收发单元1020a可以由收发器实现,具体的收发器包括接收器和发射器,其中接收器用于接收信号或数据,发射器用于发送信号或数据。
如图10b所示,本申请实施例发送数据包的设备1000b的硬件结构示意图,其中设备1000b可以包括处理器1010b、收发器1020b和存储器1030b。其中,存储器1030b可以用于存储设备1000b出厂时预装的程序/代码,也可以存储用于处理器1010b执行时的代码等。
其中,处理器1010b可以采用通用的CPU,微处理器,ASIC,或者一个或多个集成电路,用于执行相关操作,以实现本申请实施例所提供的技术方案。
应注意,尽管图10b所示的设备1000b仅仅示出了处理器1010b、收发器1020b和存储器1030b,但是在具体实现过程中,本领域的技术人员应当明白,该设备1000b还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,该设备1000b还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,该设备1000b也可仅仅包含实现本申请实施例所必须的器件或模块,而不必包含图10b中所示的全部器件。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁盘、光盘、ROM或RAM等。
如图11所示,本申请实施例的通信系统1100,包括如图9a所示的设备900a和如图10a所示的设备1000a。
图9a、图9b、图10a和图10b所示的设备是以第一无线协议层为PDCP层、第二无线协议层为PDCP层为例进行具体说明的,当第一无线协议层为SDAP层、第二无线协议层为SDAP层,或者第一无线协议层、第二无线协议层为其它层时确定空口时延的方式类似,在此不再一一赘述。
本领域内的技术人员应明白,本申请实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请中一些可能的实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括本申请实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和 范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (31)

  1. 一种接收数据包的方法,其特征在于,包括:
    第一设备接收第二设备发送的数据包,所述数据包包括第一时间信息,所述第一时间信息用于指示所述数据包到达第一无线协议层的时间,所述第一无线协议层位于所述第二设备的用户面协议栈中,且所述数据包的报头为所述第一无线协议层的报头;
    所述第一设备确定第二时间信息,所述第二时间信息用于指示所述数据包离开第二无线协议层的时间,所述第二无线协议层位于所述第一设备的用户面协议栈中,且在所述第二无线协议层解析所述数据包的报头;
    所述第一设备根据所述第一时间信息和所述第二时间信息,确定所述数据包在所述第二设备和所述第一设备之间的传输时延。
  2. 如权利要求1所述的方法,其特征在于,所述第一无线协议层为所述第二设备的分组数据融合协议PDCP层,所述第二无线协议层为所述第一设备的PDCP层;或者,
    所述第一无线协议层为所述第二设备的业务数据适配协议SDAP层,所述第二无线协议层为所述第一设备的SDAP层。
  3. 如权利要求1或2所述的方法,其特征在于,所述第一时间信息包括第一绝对时间信息或第一相对时间信息;所述第二时间信息包括第二绝对时间信息或第二相对时间信息。
  4. 如权利要求3所述的方法,其特征在于,所述第一相对时间信息包括第一偏移量、所述第一无线协议层接收所述数据包时所使用的第一无线帧号和第一子帧号,所述第一偏移量用于指示所述数据包在所述第一子帧号所标识的子帧中的偏移量。
  5. 如权利要求3所述的方法,其特征在于,所述第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,所述第一时刻为所述第一无线协议层接收所述数据包的时间,所述第一目标时刻为所述第一时刻所在周期的起始时刻,所述第一时刻所在周期的时长为预设时长。
  6. 如权利要求3至5任一所述的方法,其特征在于,所述第二相对时间信息包括第二偏移量、所述第二无线协议层发送所述数据包时所使用的第二无线帧号和第二子帧号,所述第二偏移量用于指示所述数据包在所述第二子帧号所标识的子帧中的偏移量。
  7. 如权利要求1至6任一所述的方法,其特征在于,所述数据包在所述第二设备和所述第一设备之间的传输时延T满足下列表达式:
    Figure PCTCN2018077935-appb-100001
    其中,SFN 1为所述第一无线帧号,SSFN 1为所述第一子帧号,SOFF 1为所述第一偏移量,SFN 2为所述第二无线帧号,SSFN 2为所述第二子帧号,SOFF 2为所述第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
  8. 如权利要求3至5任一所述的方法,其特征在于,所述第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,所述第二时刻为所述第二无线协议层发送所述数据包的时间,所述第二目标时刻为所述第二时刻所在周期的起始时刻,所述第二时刻所在周期的时长为所述预设时长。
  9. 如权利要求1至3、5和8任一所述的方法,其特征在于,所述数据包在所述第二 设备和所述第一设备之间的传输时延T满足下列表达式:
    Figure PCTCN2018077935-appb-100002
    其中,T 1为所述第一相对时间信息,T 2为所述第二相对时间信息,T z为所述预设时长。
  10. 如权利要求1至9任一所述的方法,其特征在于,所述数据包中还包括第一标识;所述第一标识用于标识所述第一时间信息所采用的格式;
    所述第一设备确定所述第二时间信息,包括:
    所述第一设备根据所述第一标识所标识的所述第一时间信息所采用的格式,确定所述第二时间信息。
  11. 一种发送数据包的方法,其特征在于,包括:
    第二设备确定第一时间信息,所述第一时间信息用于指示数据包到达第一无线协议层的时间,所述数据包包括第一无线协议层位于所述第二设备的用户面协议栈中,且所述数据包的报头为所述第一无线协议层的报头;
    所述第二设备向第一设备发送所述数据包,所述数据包中包括所述第一时间信息。
  12. 如权利要求11所述的方法,其特征在于,所述第一无线协议层为所述第二设备的分组数据融合协议PDCP层;或者,
    所述第一无线协议层为所述第二设备的业务数据适配协议SDAP层。
  13. 如权利要求11或12所述的方法,其特征在于,所述第一时间信息包括第一绝对时间信息或第一相对时间信息。
  14. 如权利要求13所述的方法,其特征在于,所述第一相对时间信息包括第一偏移量、所述第一无线协议层接收所述数据包时所使用的第一无线帧号和第一子帧号,所述第一偏移量用于指示所述数据包在所述第一子帧号所标识的子帧中的偏移量。
  15. 如权利要求13所述的方法,其特征在于,所述第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,所述第一时刻为所述第一无线协议层接收所述数据包的时间,所述第一目标时刻为所述第一时刻所在周期的起始时刻,所述第一时刻所在周期的时长为预设时长。
  16. 一种第一设备,其特征在于,包括:
    收发器,用于接收第二设备发送的数据包,所述数据包包括第一时间信息,所述第一时间信息用于指示所述数据包到达第一无线协议层的时间,所述第一无线协议层位于所述第二设备的用户面协议栈中,且所述数据包的报头为所述第一无线协议层的报头;
    处理器,用于确定第二时间信息,并根据所述第一时间信息和所述第二时间信息,确定所述数据包在所述第二设备和所述第一设备之间的传输时延,所述第二时间信息用于指示所述数据包离开第二无线协议层的时间,所述第二无线协议层位于所述第一设备的用户面协议栈中,且所述数据包在所述第二无线协议层解析所述报头。
  17. 如权利要求16所述的第一设备,其特征在于,所述第一无线协议层为所述第二设备的分组数据融合协议PDCP层,所述第二无线协议层为所述第一设备的PDCP层;或者,
    所述第一无线协议层为所述第二设备的业务数据适配协议SDAP层,所述第二无线协议层为所述第一设备的SDAP层。
  18. 如权利要求16或17所述的第一设备,其特征在于,所述第一时间信息包括第一绝对时间信息或第一相对时间信息;所述第二时间信息包括第二绝对时间信息或第二相对时间信息。
  19. 如权利要求18所述的第一设备,其特征在于,所述第一相对时间信息包括第一偏移量、所述第一无线协议层接收所述数据包时所使用的第一无线帧号和第一子帧号,所述第一偏移量用于指示所述数据包在所述第一子帧号所标识的子帧中的偏移量。
  20. 如权利要求18所述的第一设备,其特征在于,所述第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,所述第一时刻为所述第一无线协议层接收所述数据包的时间,所述第一目标时刻为所述第一时刻所在周期的起始时刻,所述第一时刻所在周期的时长为预设时长。
  21. 如权利要求18至20任一所述的第一设备,其特征在于,所述第二相对时间信息包括第二偏移量、所述第二无线协议层发送所述数据包时所使用的第二无线帧号和第二子帧号,所述第二偏移量用于指示所述数据包在所述第二子帧号所标识的子帧中的偏移量。
  22. 如权利要求16至21任一所述的第一设备,其特征在于,所述数据包在所述第二设备和所述第一设备之间的传输时延T满足下列表达式:
    Figure PCTCN2018077935-appb-100003
    其中,SFN 1为所述第一无线帧号,SSFN 1为所述第一子帧号,SOFF 1为所述第一偏移量,SFN 2为所述第二无线帧号,SSFN 2为所述第二子帧号,SOFF 2为所述第二偏移量,T f为一个无线帧的时长,T sf一个子帧的时长,T 0为无线帧号的循环一次所用的时长。
  23. 如权利要求18至20任一所述的第一设备,其特征在于,所述第二相对时间信息用于指示第二时刻偏离第二目标时刻的大小,所述第二时刻为所述第二无线协议层发送所述数据包的时间,所述第二目标时刻为所述第二时刻所在周期的起始时刻,所述第二时刻所在周期的时长为所述预设时长。
  24. 如权利要求16至18、20和23任一所述的第一设备,其特征在于,所述数据包在所述第二设备和所述第一设备之间的传输时延T满足下列表达式:
    Figure PCTCN2018077935-appb-100004
    其中,T 1为所述第一相对时间信息,T 2为所述第二相对时间信息,T z为所述预设时长。
  25. 如权利要求16至24任一所述的第一设备,其特征在于,所述数据包中还包括第一标识;所述第一标识用于标识所述第一时间信息所采用的格式;
    所述处理器,用于确定所述第二时间信息,具体包括:
    所述处理器,用于根据所述第一标识所标识的所述第一时间信息所采用的格式,确定所述第二时间信息。
  26. 一种第二设备,其特征在于,包括:
    处理器,用于确定第一时间信息,所述第一时间信息用于指示数据包到达第一无线协议层的时间,所述数据包包括第一无线协议层位于所述第二设备的用户面协议栈中,且所述数据包的报头为所述第一无线协议层的报头;
    收发器,用于向第一设备发送所述数据包,所述数据包中包括所述第一时间信息。
  27. 如权利要求26所述的第二设备,其特征在于,所述第一无线协议层为所述第二设备的分组数据融合协议PDCP层;或者,
    所述第一无线协议层为所述第二设备的业务数据适配协议SDAP层。
  28. 如权利要求26或27所述的第二设备,其特征在于,所述第一时间信息包括第一绝对时间信息或第一相对时间信息。
  29. 如权利要求28所述的第二设备,其特征在于,所述第一相对时间信息包括第一偏移量、所述第一无线协议层接收所述数据包时所使用的第一无线帧号和第一子帧号,所述第一偏移量用于指示所述数据包在所述第一子帧号所标识的子帧中的偏移量。
  30. 如权利要求28所述的第二设备,其特征在于,所述第一相对时间信息用于指示第一时刻偏离第一目标时刻的大小,所述第一时刻为所述第一无线协议层接收所述数据包的时间,所述第一目标时刻为所述第一时刻所在周期的起始时刻,所述第一时刻所在周期的时长为预设时长。
  31. 一种通信系统,其特征在于,包括如权利要求16至25任一所述的第一设备和如权利要求26至30任一所述的第二设备。
PCT/CN2018/077935 2017-05-26 2018-03-02 一种发送和接收数据包的方法、设备及系统 Ceased WO2018214610A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18805843.2A EP3611955A4 (en) 2017-05-26 2018-03-02 METHOD, DEVICE AND SYSTEM FOR SENDING AND RECEIVING A MESSAGE PACKET
US16/695,818 US20200100200A1 (en) 2017-05-26 2019-11-26 Method, device, and system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710385247 2017-05-26
CN201710385247.3 2017-05-26
CN201710977122.XA CN108934034A (zh) 2017-05-26 2017-10-19 一种发送和接收数据包的方法、设备及系统
CN201710977122.X 2017-10-19

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/695,818 Continuation US20200100200A1 (en) 2017-05-26 2019-11-26 Method, device, and system

Publications (1)

Publication Number Publication Date
WO2018214610A1 true WO2018214610A1 (zh) 2018-11-29

Family

ID=64396213

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077935 Ceased WO2018214610A1 (zh) 2017-05-26 2018-03-02 一种发送和接收数据包的方法、设备及系统

Country Status (1)

Country Link
WO (1) WO2018214610A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987848A (zh) * 2021-10-15 2023-04-18 大唐移动通信设备有限公司 时延测量方法、装置、通信设备和存储介质
CN116248885A (zh) * 2021-12-03 2023-06-09 维沃移动通信有限公司 信息传输方法、装置、终端及网络侧设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016159541A1 (en) * 2015-04-03 2016-10-06 Lg Electronics Inc. Method for performing a packet delay calculation in a pdcp entity in a wireless communication system and a device therefor
CN106162685A (zh) * 2015-03-31 2016-11-23 中兴通讯股份有限公司 一种获取接入技术网络间传输时延的方法及系统
CN106162728A (zh) * 2015-04-01 2016-11-23 中兴通讯股份有限公司 一种接入网间数据传输时延的测量和上报方法及终端
CN106464398A (zh) * 2014-07-03 2017-02-22 高通股份有限公司 网络时钟比较的系统和方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106464398A (zh) * 2014-07-03 2017-02-22 高通股份有限公司 网络时钟比较的系统和方法
CN106162685A (zh) * 2015-03-31 2016-11-23 中兴通讯股份有限公司 一种获取接入技术网络间传输时延的方法及系统
CN106162728A (zh) * 2015-04-01 2016-11-23 中兴通讯股份有限公司 一种接入网间数据传输时延的测量和上报方法及终端
WO2016159541A1 (en) * 2015-04-03 2016-10-06 Lg Electronics Inc. Method for performing a packet delay calculation in a pdcp entity in a wireless communication system and a device therefor

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987848A (zh) * 2021-10-15 2023-04-18 大唐移动通信设备有限公司 时延测量方法、装置、通信设备和存储介质
CN116248885A (zh) * 2021-12-03 2023-06-09 维沃移动通信有限公司 信息传输方法、装置、终端及网络侧设备

Similar Documents

Publication Publication Date Title
US20200100200A1 (en) Method, device, and system
CN111787566B (zh) 一种信息传输方法及装置、通信设备
JP5912086B2 (ja) 通信システムでの通信階層とサブ階層との相互作用を介した通信システムの正確なクロック同期化のための方法及びシステム
EP3860194B1 (en) Delay measurement using frame number and subcarrier spacing
CN116097874B (zh) 服务质量和体验质量监控
CN108886478B (zh) 通信方法和通信设备
CN111277390B (zh) 下行反馈信息的传输方法、基站以及终端设备
CN108347763A (zh) 授时的方法、终端设备和网络设备
US11412403B2 (en) Benchmarking of delay estimates in a 5G network for quality of service flow setup and monitoring
CN111447026B (zh) 处理数据的方法和处理数据的装置
WO2021051364A1 (zh) 一种通信方法、装置及设备
CN104904282B (zh) 用户设备直连通信的信号传输方法和用户设备
CN103797836B (zh) 调度方法和基站
JP4853625B2 (ja) 伝搬遅延時間測定方法、同期方法、及び無線lanシステム
CN108934079B (zh) 资源调度方法、终端设备和网络侧设备
CN104349450A (zh) 一种时钟同步的方法及装置
CN114745776A (zh) 基于无线网络的时钟同步方法、装置、设备及介质
TW202418788A (zh) 使用者設備輔助報告方法與使用者設備
CN115134871B (zh) 数据传输方法、装置、iab节点及可读存储介质
CN120077622A (zh) 无线通信方法和设备
CN116438861A (zh) 一种通信方法及装置
CN121925898A (zh) 通信方法及通信设备
CN117939514A (zh) 用户设备辅助报告方法和用户设备
CN122053477A (zh) 一种数据传输的方法和通信装置
WO2016188233A1 (zh) 数据包处理方法、装置及通信系统、计算机存储介质

Legal Events

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

Ref document number: 18805843

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018805843

Country of ref document: EP

Effective date: 20191112

NENP Non-entry into the national phase

Ref country code: DE