WO2022068620A1 - Data transmission method and apparatus - Google Patents

Data transmission method and apparatus Download PDF

Info

Publication number
WO2022068620A1
WO2022068620A1 PCT/CN2021/119208 CN2021119208W WO2022068620A1 WO 2022068620 A1 WO2022068620 A1 WO 2022068620A1 CN 2021119208 W CN2021119208 W CN 2021119208W WO 2022068620 A1 WO2022068620 A1 WO 2022068620A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission delay
communication device
data packet
information
data packets
Prior art date
Application number
PCT/CN2021/119208
Other languages
French (fr)
Chinese (zh)
Inventor
王远
杨明月
周润泽
马景旺
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022068620A1 publication Critical patent/WO2022068620A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present application relates to the field of communications, and in particular, to a data transmission method and device.
  • the development of communication technology has further improved the experience of the new media industry, and video services have become the mainstream media form.
  • video services have become the mainstream media form.
  • These include 4K/8K and other ultra-high-definition videos, virtual reality (VR), augmented reality (AR) and other emerging multimedia services.
  • VR virtual reality
  • AR augmented reality
  • the user's VR device such as a wearable VR headset
  • the cloud server captures the user's motion information, such as head motion, hand motion, squatting/standing up, etc.
  • the cloud server the data transmission process, the data transmission from the user equipment to the network is called Uplink (UL), and the data transmission from the network to the user equipment is called Downlink (DL)).
  • UL Uplink
  • DL Downlink
  • the cloud server inputs the user's action information as input information into the VR application, uses the graphics processor (Graphics Processing Unit, GPU) in the server to render the generated picture, and then sends the computer animation (Computer Graphics, CG) picture through the communication network to the VR devices allow users to watch.
  • MTP Motion-to-Photon
  • a key requirement of VR services is called Motion-to-Photon (MTP) latency, which refers to the time from detecting head/hand motion to when the image engine renders a corresponding new image and displays it on the screen. time delay.
  • MTP delay is required to be within 20ms. If the MTP delay exceeds 20ms, the display screen will not be able to keep up with the user's head movement, causing the user to feel dizzy and greatly affecting the VR service experience.
  • the communication network needs to control the uplink and downlink data transmission of the VR service to ensure that the round-trip delay (Round-Trip Time, RTT) meets the requirements of the VR service.
  • the method of splitting the round-trip delay into uplink delay and downlink delay according to a fixed ratio is usually adopted.
  • the uplink delay accounts for 30% of the total round-trip delay
  • the downlink delay accounts for 30% of the total round-trip delay. than 70%.
  • the user plane function (User plane Function) UPF identifies the associated uplink and downlink packets according to the "uplink and downlink set identifier" carried in the Internet Protocol (Internet Protocol, IP) packet header, and then the UPF is based on the uplink packets. to dynamically set the transmission time of downlink packets.
  • the UPF marks the downlink delay through a Quality of Service Flow identifier (QFI).
  • QFI Quality of Service Flow identifier
  • the round-trip delay is divided into the uplink delay and the downlink delay according to a fixed ratio
  • the actual uplink transmission delay exceeds the preset value of the uplink delay
  • the actual downlink transmission still uses the previously set value
  • the downlink delay is fixed, it is easy to cause the RTT delay to fail to meet the requirements.
  • the standard-defined QFI is not accurate enough to indicate the transmission delay, the calculation of the downlink delay is not accurate enough, which reduces the user's sense of service experience.
  • the embodiments of the present application provide a data transmission method and apparatus, which are used to deliver the transmission delay along with the data packets, so as to realize fine dynamic adjustment of the transmission delay, and improve the user's sense of service experience.
  • an embodiment of the present application provides a data transmission method, which is specifically as follows: the first communication device receives a data packet from a first direction; then the first communication device obtains a first transmission of the data packet in the first direction delay; the first communication device then receives the data packet from the second direction, and determines the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay; finally, the first communication The device sends the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay, that is, the first communication device carries the second transmission delay with the packet.
  • the first direction is upward
  • the second direction is downward
  • the first direction is downward
  • the second direction is upward.
  • the first communication device when the first direction is uplink and the second direction is downlink, the first communication device is a core network device, and the second communication device is an access device; when the first direction is downlink, the When the second direction is uplink, the first communication device is a terminal device, and the second communication device is an access device.
  • the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Fine and dynamic adjustment of transmission delay is realized, which improves the user's service experience.
  • the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
  • the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
  • the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
  • the data packets in the first direction include first information, and the first information is used to indicate the sequence of the data packets in the first direction; the data packets in the second direction include second information, The second information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine the one-to-one correspondence between the data packets in the first direction and the data packets in the second direction . That is, if the uplink data packet is used to request A, A is carried in the downlink data packet.
  • the first information and the second information may be counters (ie, message counts), for example, the first information in the first uplink data packet is 1, and the downlink data corresponding to the first uplink data packet The second information in the packet is 1; the first information in the second uplink data packet is 2, and the second information in the downlink data packet corresponding to the second uplink data packet is 2. Therefore, when the first communication device determines the association between the uplink and downlink data packets, it can be determined according to whether the counters are the same.
  • the first communication device determining the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay includes: when the first transmission delay is greater than or equal to the first transmission delay When the threshold is preset, the first communication device determines the second transmission delay of the data packet in the second direction according to the difference between the round-trip delay and the first transmission delay. This can reduce the processing amount of the first communication device.
  • the first communication device obtains the average transmission delay of the data packets in the first direction; when the average transmission delay is greater than or equal to a second preset threshold, the first communication device obtains the round-trip The difference between the delay and the average transmission delay determines the second transmission delay of the data packets in the second direction.
  • the average transmission delay is obtained by the third communication device counting the transmission delays of data packets in the first direction reported by the first communication device within a preset time period; therefore, the average transmission delay is the third communication device The device sends to the first communication device.
  • the first communication device acquires the predicted transmission delay of the data packet in the second direction, and the predicted transmission delay is associated with the time period and/or the location information; in the time period and/or the location information, and the first communication device determines that the predicted transmission delay is the second transmission delay of the data packets in the second direction.
  • the predicted transmission delay is predicted by the fourth communication device according to the historical transmission delay of data packets in the first direction reported by the first communication device and the current state information, where the current state information includes current network parameters, The number of users, time period, and location information; therefore, the predicted transmission delay is sent by the fourth communication device to the first communication device.
  • the obtaining, by the first communication device, the first transmission delay of the data packets in the first direction includes: the first communication device calculates and obtains the first transmission delay according to the reception time and timestamp information, and the first transmission delay is obtained by the first communication device.
  • the reception time is used to indicate the time when the first communication device receives the data packet in the first direction
  • the timestamp information is used to indicate the transmission time of the data packet in the first direction; or, the first communication device according to the transmission time
  • the first transmission delay is obtained by calculating the first transmission delay with the timestamp information
  • the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server
  • the timestamp information is used to indicate the data packet in the first direction. The time when the packet was sent.
  • an embodiment of the present application provides a data transmission method, which specifically includes: a first communication device receives a data packet in a first direction, where the data packet in the first direction carries first information, where the first information is used to indicate the The sequence of the data packets in the first direction; the first communication device receives the data packets in the second direction, and the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction ; The first communication device determines that the data packets in the first direction and the data packets in the second direction correspond one-to-one according to the first information and the second information; if the first direction is uplink, then the second direction is Down; or, if the first direction is down, the second direction is up.
  • the first communication device when the first direction is uplink and the second direction is downlink, the first communication device is a core network device, and the second communication device is an access device; when the first direction is downlink, the When the second direction is uplink, the first communication device is a terminal device, and the second communication device is an access device.
  • the first communication device implements a one-to-one correspondence between the uplink and downlink data packets through the first information and the second information, which solves the problem of the disorder of the uplink and downlink data packets.
  • the first communication device may also acquire the first transmission delay of the data packets in the first direction; the first communication device determines the second direction according to the first transmission delay and the round-trip delay The second transmission delay of the data packet; the first communication device sends the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay.
  • the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Realize fine dynamic adjustment of transmission delay.
  • the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
  • the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
  • the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
  • the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
  • the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
  • the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
  • an embodiment of the present application provides a communication apparatus, where the apparatus has a function of implementing the behavior of the first communication device in the above-mentioned first aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the apparatus includes units or modules for performing the steps of the above first aspect.
  • the device includes: a receiving module for receiving data packets in a first direction; a processing module for acquiring a first transmission delay of the data packets in the first direction; according to the first transmission delay and round-trip delay determining the second transmission delay of the data packet in the second direction; the sending module is configured to send the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay; If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
  • a storage module is also included for storing necessary program instructions and data of the communication device.
  • the apparatus includes: a processor and a transceiver, where the processor is configured to support the communication apparatus to perform corresponding functions in the method provided in the first aspect.
  • the transceiver is used to instruct the communication between the first communication device, the second communication device and other network devices, and send the data packets involved in the above method to the second communication device.
  • the apparatus may further include a memory for coupling with the processor, which stores necessary program instructions and data for the communication apparatus.
  • the chip when the device is a chip in a communication device, the chip includes: a processing module and a transceiver module; the transceiver module may be, for example, an input/output interface, a pin or a circuit on the chip, etc. , used to receive the data packet in the first direction, and transmit the data packet to other chips or modules coupled with this chip; the processing module can be, for example, a processor, and the processor is used to obtain the data packet in the first direction The first transmission delay is determined according to the first transmission delay and the round-trip delay; the second transmission delay of the data packet in the second direction is determined.
  • the processing module can execute the computer-executed instructions stored in the storage unit, so as to support the communication apparatus to perform the method provided in the first aspect.
  • the storage unit can be a storage unit in the chip, such as a register, a cache, etc., and the storage unit can also be a storage unit located outside the chip, such as a read-only memory (read-only memory, ROM) or a memory unit.
  • ROM read-only memory
  • RAM random access memory
  • the apparatus includes: a processor, a baseband circuit, a radio frequency circuit and an antenna.
  • the processor is used to control the functions of each circuit part, and the baseband circuit is used to generate data packets, which are processed by analog conversion, filtering, amplification and frequency up-conversion through the radio frequency circuit, and then sent to the second communication device through the antenna.
  • the device further includes a memory, which stores necessary program instructions and data of the communication device.
  • the apparatus includes a communication interface and a logic circuit, where the communication interface is used for receiving data packets in the first direction; the logic circuit is used for acquiring the first transmission delay of the data packets in the first direction ; Determine the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay; the communication interface sends the data packet in the second direction to the second communication device, and the data packet in the second direction is sent to the second communication device.
  • the second transmission delay is carried in the data packet; if the first direction is uplink, the second direction is downlink; or, if the first direction is downlink, the second direction is uplink.
  • processors mentioned in any of the above may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more An integrated circuit for controlling program execution of the data transmission methods of the above aspects.
  • CPU Central Processing Unit
  • ASIC application-specific integrated circuit
  • an embodiment of the present application provides a communication apparatus, where the apparatus has a function of implementing the behavior of the first communication device in the second aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the apparatus includes units or modules for performing the steps of the second aspect above.
  • the device includes: a receiving module for receiving data packets in the first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction; Data packets in two directions, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the processing module is used for according to the first information and the second information.
  • the data packets in the first direction are in one-to-one correspondence with the data packets in the second direction; if the first direction is uplink, the second direction is downlink; or, if the first direction is downlink, the second direction The direction is upward.
  • a storage module is also included for storing necessary program instructions and data of the communication device.
  • the apparatus includes: a processor and a transceiver, where the processor is configured to support the communication apparatus to perform corresponding functions in the method provided in the second aspect.
  • the transceiver is used to instruct the communication between the first communication device, the second communication device and other network devices, and send the data packets involved in the above method to the second communication device.
  • the apparatus may further include a memory for coupling with the processor, which stores necessary program instructions and data for the communication apparatus.
  • the chip when the device is a chip in a communication device, the chip includes: a processing module and a transceiver module; the transceiver module may be, for example, an input/output interface, a pin or a circuit on the chip, etc. , for receiving the data packets in the first direction and the data packets in the second direction, and transmitting the data packets to other chips or modules coupled with this chip; the processing module can be, for example, a processor, and the processor is used to The first information and the second information determine that the data packets in the first direction are in one-to-one correspondence with the data packets in the second direction.
  • the processing module can execute the computer-executed instructions stored in the storage unit, so as to support the communication apparatus to perform the method provided in the first aspect.
  • the storage unit can be a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit can also be a storage unit located outside the chip, such as ROM or other types of static information and instructions that can store static information and instructions. storage, RAM, etc.
  • the apparatus includes: a processor, a baseband circuit, a radio frequency circuit and an antenna.
  • the processor is used to control the functions of each circuit part, and the baseband circuit is used to generate data packets, which are processed by analog conversion, filtering, amplification and frequency up-conversion through the radio frequency circuit, and then sent to other communication devices through the antenna.
  • the device further includes a memory, which stores necessary program instructions and data of the communication device.
  • the apparatus includes a communication interface and a logic circuit, where the communication interface is configured to receive data packets in a first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the The sequence of the data packets in the first direction; receiving the data packets in the second direction, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the logic circuit, for determining the one-to-one correspondence between the data packets in the first direction and the data packets in the second direction according to the first information and the second information; if the first direction is uplink, the second direction is downlink; or, If the first direction is downward, the second direction is upward.
  • processors mentioned in any of the above may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more An integrated circuit for controlling program execution of the data transmission methods of the above aspects.
  • CPU Central Processing Unit
  • ASIC application-specific integrated circuit
  • an embodiment of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer storage medium, and the computer instructions are used to execute the method in any possible implementation manner of any one of the foregoing aspects.
  • the embodiments of the present application provide a computer program product including instructions, which, when executed on a computer, cause the computer to execute the method in any one of the foregoing aspects.
  • the present application provides a chip system
  • the chip system includes a processor for supporting a communication device to implement the functions involved in the above aspects, such as generating or processing the data and/or information involved in the above methods.
  • the chip system further includes a memory for storing necessary program instructions and data of the communication device, so as to realize the function of any one of the above aspects.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of an embodiment of a communication system in an embodiment of the present application
  • FIG. 2 is a schematic diagram of an embodiment of a 5G network architecture in an embodiment of the application
  • FIG. 3 is a schematic diagram of an embodiment of a communication device in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an embodiment of a data transmission method in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application.
  • FIG. 7 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application.
  • FIG. 8 is a schematic diagram of an embodiment of a communication device in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another embodiment of the communication device in the embodiment of the present application.
  • the naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering, and the named or numbered process steps can be implemented according to the The technical purpose is to change the execution order, as long as the same or similar technical effects can be achieved.
  • the division of units in this application is a logical division. In practical applications, there may be other division methods. For example, multiple units may be combined or integrated into another system, or some features may be ignored. , or not implemented, in addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection between units may be electrical or other similar forms. There are no restrictions in the application.
  • units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed into multiple circuit units, and some or all of them may be selected according to actual needs. unit to achieve the purpose of the scheme of this application.
  • FIG. 1 exemplarily shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application.
  • the communication system 100 includes: a first communication device 101 and a second communication device 102 .
  • the first communication device 101 and the second communication device 102 may communicate directly or communicate through forwarding by other devices, which is not specifically limited in this embodiment of the present application.
  • the embodiments of the present application may provide two possible implementation manners.
  • the first direction is uplink
  • the second direction is downlink.
  • the first communication device 101 is configured to receive an uplink data packet (that is, a data packet in the first direction) sent by the second communication device, and calculate an uplink transmission delay (that is, a first transmission delay) of the uplink data packet, and calculate the downlink transmission delay of the downlink data packet (that is, the data packet in the second direction) corresponding to the uplink data packet according to the uplink transmission delay and the round-trip delay of the uplink data packet; finally, the first communication device 101 The data packet is sent to the second communication device 102, and the downlink transmission delay is carried in the downlink data packet, so that the second communication device 102 uses the downlink transmission delay to send the downlink data packet to the receiving end.
  • the first direction is downlink
  • the second direction is uplink.
  • the first communication device 101 is configured to receive a data packet from the downlink direction (that is, a data packet in the first direction), calculate the downlink transmission delay (that is, the first transmission delay) of the downlink data packet, and obtain the downlink transmission delay (that is, the first transmission delay) according to the The downlink transmission delay and round-trip delay of the downlink data packet are used to calculate the uplink transmission delay of the uplink data packet (that is, the data packet in the second direction) corresponding to the downlink data packet; finally, the first communication device 101 sends the uplink data packet to the second communication device 102, and carry the uplink transmission delay in the uplink data packet, so that the second communication device 102 uses the uplink transmission delay to send the uplink data packet.
  • the round-trip delay may be a service round-trip delay, that is, the total elapsed time from when the terminal device sends data to when the terminal device receives the data fed back by the application server.
  • the round-trip delay can also be the network round-trip delay, that is, the total time elapsed between sending data from the terminal device to the user plane function (UPF), and the terminal device receiving the data fed back by the UPF (that is, not counting UPF forwarding). data to the application server, and when the application server sends the data to the UPF).
  • the round-trip delay between the terminal device and the UPF is used for description.
  • the communication system 100 shown in FIG. 1 can be applied to various communication systems, such as a 5G communication system and a future wireless communication system, etc., which is not specifically limited here.
  • the communication system 100 shown in FIG. 1 is applied to the 5G network architecture shown in FIG. 2 , wherein the 5G network architecture includes a user equipment (user equipment, UE), a session management function entity (session management function entity).
  • management function, SMF user plane function entity
  • UPF user plane function
  • R access network node
  • application function entity application function, AF
  • data network data network
  • DN network data analytics function
  • NWDAF access and mobility management function
  • PCF policy control function
  • unified data Management function entity unified data management, UDM
  • authentication server function entity authentication server function, AUSF
  • network exposure function entity network exposure function, NEF.
  • the UE communicates with the AMF network element through the next generation network (next generation, N) 1 interface (referred to as N1), the RAN device communicates with the AMF network element through the N2 interface (referred to as N2), and the RAN device communicates with the AMF network element through the N3 interface (referred to as N3).
  • the UPF network element communicates with the DN through the N6 interface (N6 for short), and the SMF network element communicates with the UPF network element through the N4 interface (N4 for short).
  • the AMF network element shown in Figure 2 SMF network elements, UDM network elements, AUSF network elements, PCF network elements or AF network elements and other control plane network elements can also use service interfaces for interaction.
  • the service interface provided by the AMF network element can be Namf; the service interface provided by the SMF network element can be Nsmf; the service interface provided by the UDM network element can be Nudm; the PCF network element
  • the service interface provided externally can be Npcf, the service interface provided by the AUSF network element can be Nausf, the service interface provided by the AF network element can be Naf, and the service interface provided by the NWDAF network element can be Nnwdaf.
  • 5G system architecture 5G system architecture
  • SMF The main function is to control the establishment, modification and deletion of sessions, and the selection of user plane nodes.
  • UPF The main functions enable data packet routing and forwarding, mobility anchors, upstream classifiers to support routing traffic flows to the data network, branch points to support multi-homed packet data unit (PDU) sessions, etc.
  • PDU packet data unit
  • (R)AN The main function is to provide wireless connectivity, located between UE and core network nodes.
  • the main function is to interact with the core network to provide services to affect service flow routing, access network capability opening, and policy control.
  • DN eg carrier service, internet access or third party service.
  • NWDAF Provides network data collection and analysis functions based on technologies such as big data and artificial intelligence.
  • AMF The main functions include management of user registration, reachability detection, selection of SMF nodes, and management of mobility state transitions.
  • PCF The main function is a policy decision point, providing rules based on business data flow and application detection, gate control, QoS and flow-based charging control.
  • UDM The main function is to store user subscription data.
  • AUSF The main function is to provide authentication services.
  • NEF Securely open services and capabilities provided by 3GPP network functions, such as third parties, edge computing, AF, etc.
  • the first communication device in the technical solution provided by this application may be a core network device or a terminal device
  • the second communication device may be an access device (eg, a RAN).
  • the core network device receives the uplink data packet sent by the terminal device through the RAN or delivers the downlink data packet to the terminal device through the RAN; and the RAN receives the uplink data packet sent by the terminal device and receives the downlink data packet forwarded by the UPF .
  • the terminal device may also be a device used to implement a wireless communication function, such as a terminal or a chip that can be used in the terminal, and the like.
  • the terminal may be a user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile station in a 5G network or a future evolved public land mobile network (Public Land Mobile Network, PLMN) network , remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device, etc.
  • UE user equipment
  • PLMN Public Land Mobile Network
  • the access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices or wearable devices, virtual reality (VR) end devices, augmented reality (AR) end devices, industrial control (industrial) wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety Terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc. Terminals can be mobile or stationary.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • a wireless communication Functional handheld devices computing devices or other processing devices connected to wireless modems, in-vehicle devices or wearable devices, virtual reality (VR) end devices, augmented reality (AR) end devices, industrial control (industrial) wireless terminal in control), wireless terminal in self-driving,
  • the RAN refers to the equipment that accesses the core network, for example, it can be the Base Transceiver Station in the Global System of Mobile Communication (GSM) system and the Code Division Multiple Access (CDMA) system.
  • BTS can also be a base station (NodeB, NB) in a Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, or can be an evolved base station ( Evolutional Node B, eNB or eNodeB), or relay stations, access points, in-vehicle devices, wearable devices, and network-side devices in 5G networks or in future evolved Public Land Mobile Network (PLMN) networks network equipment, etc.
  • the core network device may be each network element in the network architecture as shown in FIG. 2 .
  • the first communication device and the second communication device in this embodiment of the present application may also be referred to as communication apparatuses, which may be a general-purpose device or a dedicated device, which is not specifically limited in this embodiment of the present application.
  • the related functions of the first communication device and the second communication device in this embodiment of the present application may be implemented by one device, or jointly implemented by multiple devices, or may be implemented by one or more functions in one device.
  • Module implementation which is not specifically limited in this embodiment of the present application. It is to be understood that the above-mentioned functions can be either network elements in hardware devices, or software functions running on dedicated hardware, or a combination of hardware and software, or instantiated on a platform (eg, a cloud platform). Virtualization capabilities.
  • FIG. 3 is a schematic structural diagram of a communication device 300 according to an embodiment of the present application.
  • the communication device 300 includes one or more processors 301, a communication line 302, and at least one communication interface (in FIG. 3, the communication interface 304 and one processor 301 are used as an example for illustration only), optional
  • the memory 303 may also be included.
  • the processor 301 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of the programs of the present application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication line 302 may include a path for connecting the various components.
  • the communication interface 304 can be a transceiver module for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (wireless local area networks, WLAN) and the like.
  • the transceiver module may be a device such as a transceiver or a transceiver.
  • the communication interface 304 may also be a transceiver circuit located in the processor 301 to implement signal input and signal output of the processor.
  • the memory 303 may be a device having a storage function. For example, it may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of storage devices that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this.
  • the memory may exist independently and be connected to the processor through communication line 302 .
  • the memory can also be integrated with the processor.
  • the memory 303 is used for storing computer-executed instructions for executing the solution of the present application, and the execution is controlled by the processor 301 .
  • the processor 301 is configured to execute the computer-executed instructions stored in the memory 303, thereby implementing the method for reporting session management information provided in the embodiments of the present application.
  • the processor 301 may also perform processing-related functions in the method for reporting session management information provided by the following embodiments of the present application, and the communication interface 304 is responsible for communicating with other devices or communication networks. communication, which is not specifically limited in this embodiment of the present application.
  • the computer-executed instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.
  • the processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3 .
  • the communication device 300 may include multiple processors, such as the processor 301 and the processor 307 in FIG. 3 .
  • processors can be a single-core processor or a multi-core processor.
  • the processor here may include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (MCU), or artificial intelligence Processors and other types of computing devices that run software, each computing device may include one or more cores for executing software instructions to perform operations or processing.
  • the communication device 300 may further include an output device 305 and an input device 306 .
  • the output device 305 is in communication with the processor 301 and can display information in a variety of ways.
  • the output device 305 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector (projector) Wait.
  • Input device 306 is in communication with processor 301 and can receive user input in a variety of ways.
  • the input device 306 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
  • the above-mentioned communication device 300 may also be sometimes referred to as a communication device, which may be a general-purpose device or a dedicated device.
  • the communication device 300 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, the above-mentioned terminal device, the above-mentioned network device, or a 3 devices of similar structure.
  • PDA personal digital assistant
  • This embodiment of the present application does not limit the type of the communication device 300 .
  • the first direction is uplink
  • the second direction is downlink
  • the first communication device is core network device
  • the second communication device is RAN for example, at this time
  • the data transmission method includes the following steps:
  • the first communication device receives a data packet in a first direction.
  • the first communication device receives an uplink data packet in the uplink direction sent by the terminal device through the RAN, wherein the uplink data packet also carries timestamp information, where the timestamp information is used to indicate the terminal The sending time when the device sends the upstream data packet.
  • the first communication device also sends the uplink data to the application server.
  • the first communication device acquires the first transmission delay of the data packet in the first direction.
  • the specific operations may be as follows:
  • the first communication device calculates and obtains the uplink transmission delay of the uplink data packet according to the reception time and time stamp information, and the reception time is used to indicate the moment when the first communication device receives the uplink data packet.
  • the timestamp information is used to indicate the sending moment of the uplink data packet. That is, when the first communication device receives the uplink data packet, it records the reception time of receiving the uplink data packet; then analyzes the uplink data to obtain the time stamp information used to indicate the transmission time of the uplink data packet; finally, according to the The uplink transmission delay of the uplink data packet is obtained by calculating the reception time and the timestamp information.
  • the first communication device calculates and obtains the uplink transmission delay of the uplink data packet according to the sending time and timestamp information, and the sending time is used to instruct the first communication device to send the uplink data packet to the application server.
  • the time stamp information is used to indicate the sending time of the uplink data packet. That is, when forwarding the uplink data packet to the application server, the first communication device records the sending time of sending the uplink data packet; at the same time, parses the uplink data to obtain the time stamp information for indicating the sending time of the uplink data packet; finally The uplink transmission delay of the uplink data packet is obtained by calculating according to the sending time and the timestamp information.
  • the uplink transmission delay is only used to indicate the uplink transmission delay of the uplink data packet sent by the terminal device to the core network device. If the uplink transmission delay also includes the interaction delay between the core network device and the application server and the data processing delay by the application server, the uplink transmission delay may be based on the first communication device receiving the downlink sent by the application server. The data packet receiving time is calculated from the sending time when the terminal device sends the uplink data packet.
  • the first communication device determines a second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay.
  • the first communication device After acquiring the uplink transmission delay of the uplink data packet, the first communication device uses the round-trip delay and the uplink transmission delay to determine the downlink transmission delay of the downlink data packet corresponding to the uplink data packet.
  • the first communication device can obtain the downlink transmission delay of the downlink data packet by adopting the following technical solutions:
  • the first communication device obtains the downlink transmission delay by calculating a difference between the round-trip delay and the uplink transmission delay.
  • the first communication device may adjust the downlink transmission delay when the uplink transmission delay is greater than or equal to a first preset threshold. That is, when the uplink transmission delay is greater than or equal to the first preset threshold, the first communication device obtains the downlink transmission delay by calculating the difference between the round-trip delay and the uplink transmission delay.
  • the first communication device may obtain the average transmission delay of the uplink transmission delay of the data packets in the upstream direction within a preset time period; when the average transmission delay is greater than or equal to the second preset time period When the threshold is set, the first communication device calculates the difference between the round-trip delay and the average transmission delay to obtain the downlink transmission delay.
  • the first communication device may acquire the predicted transmission delay of the data packet in the downlink direction, wherein the predicted transmission delay is associated with the time period and/or the location information; then, in the time period and /or the location information, the first communication device determines the predicted transmission delay as the downlink transmission delay.
  • the first communication device may receive a downlink data packet sent by the application server.
  • the first communication device sends the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
  • the first communication device sends data packets in the second direction (ie, downlink data packets) to the second communication device, wherein the data packets in the second direction carry the second transmission delay (ie, downlink transmission delay).
  • the data packets in the second direction carry the second transmission delay (ie, downlink transmission delay).
  • the first communication device includes first indication information in a packet header of the uplink data packet, where the first indication information is used to indicate the downlink transmission delay.
  • the first communication device may further include second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information (that is, (Packet Delay) indicated by using the QoS flow identifier. Budget, PDB) information).
  • packet delay budget information that is, (Packet Delay) indicated by using the QoS flow identifier. Budget, PDB) information.
  • the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
  • the second communication device sends the downlink data packet to the terminal device according to the downlink transmission delay.
  • the dotted line in FIG. 4 is used to indicate that this step is an optional step, which is the same below and will not be repeated here.
  • the first communication device may be A terminal device, the second communication device is a RAN.
  • the first communication device receives the downlink data packet sent by the core network device through the second communication device, and then calculates the downlink transmission delay of the downlink data packet; then calculates and obtains the downlink data according to the round-trip delay and the downlink transmission delay
  • the uplink transmission delay of the uplink data packet corresponding to the packet is carried, and the uplink transmission delay is carried into the uplink data packet and sent to the second communication device, so that the second communication device uses the uplink transmission delay to send the uplink data. Packet to core network equipment.
  • the uplink data packets also carry first information
  • the first information is used to indicate the sequence of the uplink data packets
  • the downlink data packets also carry the second information.
  • the second information is used to indicate the sequence of the downlink data packets, wherein the first information and the second information are used to determine that the uplink data packet and the downlink data packet are in a one-to-one correspondence. That is, if the uplink data packet is used to request A, A is carried in the downlink data packet.
  • the first information and the second information may be counters (ie, message counts), for example, the first information in the first uplink data packet is 1, and the downlink data corresponding to the first uplink data packet The second information in the packet is 1; the first information in the second uplink data packet is 2, and the second information in the downlink data packet corresponding to the second uplink data packet is 2. Therefore, when the first communication device determines the association between the uplink and downlink data packets, it can be determined according to whether the counters are the same.
  • the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Fine and dynamic adjustment of transmission delay is realized, which improves the user's service experience.
  • a one-to-one correspondence is implemented for the uplink and downlink data packets, which solves the disorder of the uplink and downlink data packets.
  • the first direction is the uplink
  • the second direction is the downlink
  • the first communication device is the UPF
  • the second communication device is the RAN. If the downlink transmission delay is calculated by the UPF, the data transmission
  • the method includes the following steps:
  • the terminal device sends an uplink data packet to the UPF through the RAN.
  • the terminal device if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 .
  • the data transmission is applied to a VR application
  • the VR on the terminal device after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device includes timestamp information for the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN.
  • the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
  • the uplink data packet may be an uplink IP data packet
  • the uplink IP data packet includes an IP packet header and an IP data payload.
  • the first information may be included in the IP header or in the IP data payload.
  • the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header.
  • the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
  • the UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
  • the UPF After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
  • DPI deep packet inspection
  • the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time
  • the UPF receives the downlink data packet sent by the application server.
  • the application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action.
  • the application server generates a downlink data packet from the screen data, and sends it to the UPF.
  • the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet.
  • the message count value is 1
  • the message count value is 2.
  • the UPF calculates the downlink transmission delay of the downlink data packet according to the round-trip delay and the uplink transmission delay of the uplink data packet.
  • the UPF receives the downlink IP data packet sent by the application server, and the UPF obtains the message count value contained in the downlink IP data packet through DPI.
  • UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it.
  • UPF subtracts the upstream transmission delay of the upstream IP data packet corresponding to the message count from the round-trip delay to obtain the required delay of the downstream IP data packet.
  • the UPF may recalculate the downlink transmission delay only when the uplink transmission delay is greater than or equal to the first preset threshold. If it is not greater than or equal to the first preset threshold, the UPF may directly use the configured downlink transmission delay as the downlink transmission delay of the downlink data packet. For example, assuming that the round-trip delay is 10 milliseconds, the first preset threshold is 5 milliseconds, the preconfigured uplink transmission delay is 5 milliseconds, and the downlink transmission delay is 5 milliseconds.
  • the UPF can determine the 5 milliseconds as the downlink transmission delay of the downlink data packet; if the uplink transmission delay is 6 milliseconds, that is When the value is greater than the first preset threshold, the UPF determines that the downlink transmission delay is 4 milliseconds according to the round-trip delay and the uplink transmission delay.
  • the UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
  • the UPF sends downlink packets to the RAN.
  • the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF.
  • GTP General Packet Radio Service Tunnelling Protocol
  • the GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay).
  • the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
  • the RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
  • the RAN may ignore the quality of service flow identifier carried in the downlink data packet.
  • PDB information equivalent to the fixed PDB failure indicated by the quality of service flow identifier
  • the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
  • the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier.
  • the RAN if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value.
  • the RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
  • the UPF marks the associated uplink and downlink data packets by increasing the message count, and the UPF identifies the message count in the application layer data through DPI to complete the correct association of the uplink and downlink data packets.
  • the UPF carries the dynamic PDB in the header of the downlink data packet to instruct the RAN node to schedule the downlink data packet according to the latest dynamic PDB value, so as to realize accurate and flexible scheduling of the downlink data packet.
  • the first direction is the uplink
  • the second direction is the downlink
  • the first communication device is the UPF
  • the second communication device is the RAN. If the downlink transmission delay is calculated by the SMF, the data transmission
  • the method includes the following steps:
  • the terminal device sends an uplink data packet to the UPF through the RAN.
  • the terminal device if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 .
  • the data transmission is applied to a VR application
  • the VR on the terminal device after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device adds timestamp information to the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN.
  • the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
  • the uplink data packet may be an uplink IP data packet
  • the uplink IP data packet includes an IP packet header and an IP data payload.
  • the first information may be included in the IP header or in the IP data payload.
  • the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header.
  • the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
  • the UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
  • the UPF After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
  • DPI deep packet inspection
  • the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time
  • the UPF reports the uplink transmission delay to the SMF.
  • the UPF reports the calculated uplink transmission delay to the SMF. It can be understood that the UPF may adopt the following scheme for delaying when reporting the uplink transmission:
  • the UPF may report the uplink transmission delay in real time, that is, the uplink transmission delay is reported once when an uplink transmission delay is calculated.
  • the UPF may accumulate the uplink transmission delays to a preset number or after the data transmission duration reaches the preset duration, and then report the calculated uplink transmission delays to the SMF in batches. For example, the UPF accumulates the upstream transmission delay of 100 upstream data packets, and then reports it to the SMF in a unified manner. Alternatively, the UPF accumulates the uplink transmission delay of the uplink data packets within 2 minutes, and then reports it to the SMF in a unified manner.
  • the SMF determines the downlink transmission delay according to the uplink transmission delay and the round-trip delay.
  • the SMF After receiving the uplink transmission delay, the SMF calculates the downlink transmission delay according to the round-trip delay and the uplink transmission delay.
  • the round-trip delay may be pre-configured on the SMF, or may be sent to the SMF by other network elements. It can be understood that, when the SMF calculates the downlink transmission delay, the following scheme can be adopted:
  • the SMF calculates the downlink transmission delay based on the uplink transmission delay reported for a single time. For example, for each reported uplink transmission delay pair, a corresponding downlink transmission delay is calculated. In order to reduce the processing amount of the SMF, the SMF may calculate the downlink transmission delay corresponding to the uplink transmission delay when a certain uplink transmission delay is greater than or equal to the first preset threshold.
  • the SMF may calculate the downlink transmission delay based on multiple uplink transmission delays.
  • the SMF counts the uplink transmission delay within a preset time period and obtains an average value to obtain the average uplink transmission delay. If the average uplink transmission delay shows an upward trend or the average uplink transmission delay is greater than or is equal to the second preset threshold, then the SMF calculates the average downlink transmission delay according to the round-trip delay and the average uplink transmission delay as the downlink transmission delay.
  • the SMF initiates a PDU session update procedure to configure the downlink transmission delay to the UPF.
  • a PDU session update process is initiated, so as to realize the process of configuring the downlink transmission delay to the UPF.
  • the UPF receives the downlink data packet sent by the application server.
  • the application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action.
  • the application server generates a downlink data packet from the screen data, and sends it to the UPF.
  • the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet.
  • the message count value is 1
  • the message count value is 2.
  • the UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
  • the UPF sends downlink packets to the RAN.
  • the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF.
  • GTP General Packet Radio Service Tunnelling Protocol
  • the GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay).
  • the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
  • the UPF can also associate the downlink data packet with the uplink data packet, so as to realize ordering and sending.
  • the UPF obtains the message count value contained in the downlink data packet through DPI.
  • UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it.
  • the uplink data packet indicated by the message count value corresponds to the downlink data packet, and in order to keep the uplink and downlink data out of order, the UPF can be sorted according to the message count value.
  • the RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
  • the RAN may ignore the quality of service flow identifier carried in the downlink data packet.
  • PDB information equivalent to the fixed PDB failure indicated by the quality of service flow identifier
  • the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
  • the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier.
  • the RAN if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value.
  • the RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
  • the first direction is the uplink
  • the second direction is the downlink
  • the first communication device is the UPF
  • the second communication device is the RAN. If the downlink transmission delay is calculated by the NWDAF, then the data transmission
  • the method includes the following steps:
  • the terminal device sends an uplink data packet to the UPF through the RAN.
  • the terminal device if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 .
  • the data transmission is applied to a VR application
  • the VR on the terminal device after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device adds timestamp information to the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN.
  • the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
  • the uplink data packet may be an uplink IP data packet
  • the uplink IP data packet includes an IP packet header and an IP data payload.
  • the first information may be included in the IP header or in the IP data payload.
  • the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header.
  • the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
  • the UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
  • the UPF After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
  • DPI deep packet inspection
  • the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time
  • the UPF reports the uplink transmission delay to the NWDAF.
  • the UPF reports the calculated uplink transmission delay to the NWDAF. It can be understood that the UPF may adopt the following scheme for delaying when reporting the uplink transmission:
  • the UPF may report the uplink transmission delay in real time, that is, the uplink transmission delay is reported once when an uplink transmission delay is calculated.
  • the UPF may accumulate the uplink transmission delays to a preset number or after the data transmission duration reaches the preset duration, and then report the calculated uplink transmission delays to the NWDAF in batches. For example, the UPF accumulates the upstream transmission delay of 100 upstream data packets, and then reports it to the NWDAF in a unified manner. Alternatively, the UPF accumulates the uplink transmission delay of the uplink data packets within 2 minutes, and then reports it to the NWDAF in a unified manner.
  • the NWDAF determines the downlink transmission delay according to the uplink transmission delay and the round-trip delay.
  • the NWDAF After receiving the uplink transmission delay, the NWDAF calculates the downlink transmission delay according to the round-trip delay and the uplink transmission delay.
  • the round-trip delay may be pre-configured on the NWDAF, or may be sent to the NWDAF by other network elements. It can be understood that, the NWDAF may adopt the following scheme when calculating the downlink transmission delay:
  • the NWDAF calculates the downlink transmission delay based on the uplink transmission delay reported in a single report. For example, for each reported uplink transmission delay pair, a corresponding downlink transmission delay is calculated. In order to reduce the processing amount of the NWDAF, the NWDAF may calculate the downlink transmission delay corresponding to the uplink transmission delay when a certain uplink transmission delay is greater than or equal to the first preset threshold.
  • the NWDAF may calculate the downlink transmission delay based on multiple uplink transmission delays.
  • the NWDAF counts the uplink transmission delay within a preset time period and obtains an average value to obtain the average uplink transmission delay. If the average uplink transmission delay shows an upward trend or the average uplink transmission delay is greater than or is equal to the second preset threshold, then the NWDAF calculates the average downlink transmission delay according to the round-trip delay and the average uplink transmission delay as the downlink transmission delay.
  • the NWDAF can also comprehensively predict and obtain a predicted transmission delay according to the historical uplink transmission delay and information such as current network parameters, number of users, time period, location information, etc., and the predicted transmission delay and time segment and/or location information. That is, the predicted transmission delay is only applicable to a specific time period or to a specific location or both.
  • the NWDAF sends the downlink transmission delay to the SMF.
  • the SMF initiates a PDU session update procedure to configure the downlink transmission delay to the UPF.
  • a PDU session update process is initiated, so as to realize the process of configuring the downlink transmission delay to the UPF.
  • the NWDAF may also send the downlink transmission delay to the UPF.
  • the UPF subscribes to the NWDAF service for subscribing to the predicted downlink transmission delay.
  • the NWDAF may send the predicted downlink transmission delay to the UPF in the form of a service notification.
  • the UPF receives the downlink data packet sent by the application server.
  • the application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action.
  • the application server generates a downlink data packet from the screen data, and sends it to the UPF.
  • the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet.
  • the message count value is 1
  • the message count value is 2.
  • the UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
  • the UPF sends downlink packets to the RAN.
  • the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF.
  • GTP General Packet Radio Service Tunnelling Protocol
  • the GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay).
  • the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
  • the UPF can also associate the downlink data packet with the uplink data packet, so as to realize ordering and sending.
  • the UPF obtains the message count value contained in the downlink data packet through DPI.
  • UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it.
  • the uplink data packet indicated by the message count value corresponds to the downlink data packet, and in order to keep the uplink and downlink data out of order, the UPF can be sorted according to the message count value.
  • the RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
  • the RAN may ignore the quality of service flow identifier carried in the downlink data packet.
  • PDB information equivalent to the fixed PDB failure indicated by the quality of service flow identifier
  • the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
  • the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier.
  • the RAN if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value.
  • the RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
  • the methods and/or steps implemented by the first communication device may also be implemented by components (such as chips or circuits) that can be used in the first communication device;
  • the methods and/or steps may also be implemented by components (such as chips or circuits) that can be used in the second communication device;
  • the methods and/or steps implemented by core network devices may also be implemented by components (such as chips) that can be used in core network devices. or circuit) implementation.
  • an embodiment of the present application further provides a communication apparatus, and the communication apparatus may be the first communication device in the foregoing method embodiment, or an apparatus including the foregoing first communication device, or a component usable for the first communication device; Alternatively, the communication device may be the second communication device in the foregoing method embodiment, or a device including the foregoing second communication device, or a component usable for the second communication device; or, the communication device may be the foregoing method embodiment
  • the core network element in or a device including the above-mentioned core network element, or a component that can be used for the core network element.
  • the communication apparatus includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the communication device 800 in this embodiment of the present application includes: a receiving module 801, a processing module 802 and a sending module 803, wherein the receiving module 801, the processing module 802 and the sending module 803 are connected through a bus.
  • the communication apparatus 800 may be used to perform part or all of the functions of the above-mentioned devices.
  • the receiving module 801 is used to receive the data packets in the first direction; the processing module 802 is used to obtain the first transmission delay of the data packets in the first direction; according to the first transmission delay and the round-trip delay Determine the second transmission delay of the data packet in the second direction; the sending module 803 is configured to send the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission time If the first direction is upward, the second direction is downward; or, if the first direction is downward, then the second direction is upward.
  • the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay.
  • the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
  • the data packets in the first direction include first information, and the first information is used to indicate the sequence of the data packets in the first direction; the data packets in the second direction include second information, the second information The information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine a one-to-one correspondence between the data packets in the first direction and the data packets in the second direction.
  • the processing module 802 is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay.
  • the second transmission delay of the data packet is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay. The second transmission delay of the data packet.
  • the receiving module 801 is further configured to obtain the average transmission delay of the data packets in the first direction; the processing module 802 is further configured to, when the average transmission delay is greater than or equal to the second preset threshold, The second transmission delay of the data packet in the second direction is determined according to the difference between the round-trip delay and the average transmission delay.
  • the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period; the receiving module 801 is used for receiving data from the third communication device. The average transmission delay is received.
  • the receiving module 801 is further configured to obtain the predicted transmission delay of the data packet in the second direction, where the predicted transmission delay is associated with the time period and/or the location information; the processing module 802 is further configured to During the time period and/or the location information, the predicted transmission delay is determined as the second transmission delay of the data packets in the second direction.
  • the predicted transmission delay is predicted and obtained by the fourth communication device according to the historical transmission delay of the data packets in the first direction reported by the first communication device and current state information, where the current state information includes current network parameters, user number, time period and location information; the receiving module 801 is specifically configured to receive the average transmission delay from the fourth communication device.
  • the processing module 802 is specifically configured to calculate and obtain the first transmission delay according to the reception time and timestamp information, where the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction.
  • the timestamp information is used to indicate the sending time of the data packet in the first direction; or, the first transmission delay is calculated according to the sending time and the timestamp information, and the sending time is used to indicate the first communication device to the application. The time when the server sends the data packet in the first direction, and the timestamp information is used to indicate the sending time of the data packet in the first direction.
  • the communication apparatus 800 further includes a storage module, which is coupled with the processing module, so that the processing module can execute the computer execution instructions stored in the storage module to implement the functions of the conference record processing apparatus in the above method embodiments.
  • the optional storage module included in the communication apparatus 800 may be an in-chip storage unit, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a ROM or a storage unit capable of storing static information and other types of static storage devices for instructions, RAM, etc.
  • the communication device 900 includes: a receiving module 901 and a processing module 902, wherein the receiving module 901 and the processing module 902 are connected through a bus.
  • the communication apparatus 900 may be used to perform part or all of the functions of the above-mentioned devices.
  • the receiving module 901 is configured to receive data packets in the first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction; receive data packets in the second direction data packets, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the processing module 902 is configured to determine the data packet according to the first information and the second information The data packets in the first direction are in one-to-one correspondence with the data packets in the second direction;
  • the second direction is downward; or, if the first direction is downward, the second direction is upward.
  • the processing module 902 is further configured to obtain the first transmission delay of the data packet in the first direction; and determine the second transmission of the data packet in the second direction according to the first transmission delay and the round-trip delay time delay; the communication apparatus further includes a sending module 903 for sending the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
  • the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay.
  • the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
  • the processing module 902 is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay.
  • the second transmission delay of the data packet is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay. The second transmission delay of the data packet.
  • the receiving module 901 is further configured to obtain the average transmission delay of the data packets in the first direction; the processing module 902 is further configured to, when the average transmission delay is greater than or equal to the second preset threshold, The second transmission delay of the data packet in the second direction is determined according to the difference between the round-trip delay and the average transmission delay.
  • the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period; the receiving module 901 is used for receiving data from the third communication device. The average transmission delay is received.
  • the receiving module 901 is further configured to obtain the predicted transmission delay of the data packet in the second direction, where the predicted transmission delay is associated with the time period and/or the location information; the processing module 902 is further configured to During the time period and/or the location information, the predicted transmission delay is determined as the second transmission delay of the data packets in the second direction.
  • the predicted transmission delay is predicted and obtained by the fourth communication device according to the historical transmission delay of the data packets in the first direction reported by the first communication device and current state information, where the current state information includes current network parameters, user number, time period and location information; the receiving module 901 is specifically configured to receive the average transmission delay from the fourth communication device.
  • the processing module 902 is specifically configured to calculate and obtain the first transmission delay according to the reception time and timestamp information, and the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction.
  • the timestamp information is used to indicate the sending time of the data packet in the first direction; or, the first transmission delay is calculated according to the sending time and the timestamp information, and the sending time is used to indicate the first communication device to the application. The time when the server sends the data packet in the first direction, and the timestamp information is used to indicate the sending time of the data packet in the first direction.
  • the communication device 900 further includes a storage module, which is coupled with the processing module, so that the processing module can execute the computer execution instructions stored in the storage module to implement the functions of the conference record processing apparatus in the above method embodiments.
  • the optional storage module included in the communication device 900 may be an in-chip storage unit, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a ROM or a storage unit capable of storing static information and other types of static storage devices for instructions, RAM, etc.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Abstract

Embodiments of the present application provide a data transmission method and apparatus for realizing fine dynamic adjustment of a transmission delay with the delivery of a data packet, improving user's service experience. The specific solution is as follows: a first communication device receives a data packet from a first direction; then the first communication device obtains a first transmission delay of the data packet from the first direction; the first communication device then receives a data packet from a second direction, and determines a second transmission delay of the data packet from the second direction according to the first transmission delay and a round-trip delay; and finally, the first communication device sends the data packet from the second direction to a second communication device, the data packet from the second direction carrying the second transmission delay, that is, the first communication device carries the second transmission delay with the packet. If the first direction is upward, the second direction is downward. If the first direction is downward, the second direction is upward.

Description

一种数据传输方法以及装置A data transmission method and device
本申请要求于2020年09月30日提交中国专利局、申请号为202011059885.4、发明名称为“一种数据传输方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 30, 2020 with the application number 202011059885.4 and the invention titled "A data transmission method and device", the entire contents of which are incorporated into this application by reference .
技术领域technical field
本申请涉及通信领域,尤其涉及一种数据传输方法以及装置。The present application relates to the field of communications, and in particular, to a data transmission method and device.
背景技术Background technique
通信技术发展带动了新媒体行业体验进一步的提升,视频类业务成为主流媒体形式。其中包括4K/8K等超高清视频、虚拟现实(Virtual Reality,VR)、增强现实(Augment Reality,AR)等新兴多媒体业务。以VR为例进行说明,用户的VR设备(如穿戴式VR头显)捕捉用户的动作信息,例如头部动作、手部动作、蹲下/站起等,并通过通信网络(例如:5G网络)发送至云端服务器(数据传输过程中,用户设备到网络的数据传输称为上行(Uplink,UL),网络到用户设备的数据传输称为下行(Downlink,DL))。云端服务器将用户的动作信息作为输入信息输入到VR应用中,利用服务器中的图形处理器(Graphics Processing Unit,GPU)渲染生成画面,再通过通信网络将计算机动画(Computer Graphics,CG)画面发送至VR设备让用户进行观看。VR业务的一个关键要求称为运动到成像(Motion-to-Photon,MTP)时延,是指从检测头部/手部的运动,到图像引擎渲染出对应的新画面并显示到屏幕上的时延。一般要求MTP时延在20ms以内,如果MTP时延超出20ms会导致显示画面跟不上用户的头部动作,导致用户出现眩晕感,极大地影响VR业务体验。为了有效控制MTP时延,通信网络需要对VR业务的上下行数据传输进行关联控制,以确保往返时延(Round-Trip Time,RTT)满足VR业务的需求。The development of communication technology has further improved the experience of the new media industry, and video services have become the mainstream media form. These include 4K/8K and other ultra-high-definition videos, virtual reality (VR), augmented reality (AR) and other emerging multimedia services. Taking VR as an example, the user's VR device (such as a wearable VR headset) captures the user's motion information, such as head motion, hand motion, squatting/standing up, etc. ) to the cloud server (during the data transmission process, the data transmission from the user equipment to the network is called Uplink (UL), and the data transmission from the network to the user equipment is called Downlink (DL)). The cloud server inputs the user's action information as input information into the VR application, uses the graphics processor (Graphics Processing Unit, GPU) in the server to render the generated picture, and then sends the computer animation (Computer Graphics, CG) picture through the communication network to the VR devices allow users to watch. A key requirement of VR services is called Motion-to-Photon (MTP) latency, which refers to the time from detecting head/hand motion to when the image engine renders a corresponding new image and displays it on the screen. time delay. Generally, the MTP delay is required to be within 20ms. If the MTP delay exceeds 20ms, the display screen will not be able to keep up with the user's head movement, causing the user to feel dizzy and greatly affecting the VR service experience. In order to effectively control the MTP delay, the communication network needs to control the uplink and downlink data transmission of the VR service to ensure that the round-trip delay (Round-Trip Time, RTT) meets the requirements of the VR service.
目前通常是采用按照固定比例将往返时延拆分成上行时延和下行时延的方法,例如,上行时延在总往返时延中占比30%,下行时延在总往返时延中占比70%。又或者用户面功能(User plane Function)UPF根据互联网协议(Internet Protocol,IP)报文头中携带的“上下行集合标识”识别出关联的上行报文和下行报文,然后UPF根据上行报文的实际传输时间,来动态的设定下行报文的传输时间。在动态设定下行报文的传输时间的方案中,该UPF通过服务质量流标识(Quality of Service Flow identifier,QFI)来标记下行时延。At present, the method of splitting the round-trip delay into uplink delay and downlink delay according to a fixed ratio is usually adopted. For example, the uplink delay accounts for 30% of the total round-trip delay, and the downlink delay accounts for 30% of the total round-trip delay. than 70%. Or the user plane function (User plane Function) UPF identifies the associated uplink and downlink packets according to the "uplink and downlink set identifier" carried in the Internet Protocol (Internet Protocol, IP) packet header, and then the UPF is based on the uplink packets. to dynamically set the transmission time of downlink packets. In the scheme of dynamically setting the transmission time of downlink packets, the UPF marks the downlink delay through a Quality of Service Flow identifier (QFI).
但是若按照固定比例将往返时延拆分成上行时延和下行时延的方法,当上行实际传输时延超出预先设定的上行时延的值时,若下行实际传输仍采用先前设定的固定下行时延,则容易导致RTT时延无法满足需求。而上述方案在计算出下行报文的传输时延后,需要找到对应的QFI,并使用该QFI来标记该下行报文。由于基于标准定义的QFI对传输时延指示的精度不够,导致下行时延的计算不够准确,从而造成用户对业务的体验感下降。However, if the round-trip delay is divided into the uplink delay and the downlink delay according to a fixed ratio, when the actual uplink transmission delay exceeds the preset value of the uplink delay, if the actual downlink transmission still uses the previously set value If the downlink delay is fixed, it is easy to cause the RTT delay to fail to meet the requirements. In the above scheme, after calculating the transmission delay of the downlink packet, it is necessary to find the corresponding QFI, and use the QFI to mark the downlink packet. Since the standard-defined QFI is not accurate enough to indicate the transmission delay, the calculation of the downlink delay is not accurate enough, which reduces the user's sense of service experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种数据传输方法以及装置,用于将传输时延随着数据包下发,实现传输时延的精细动态调整,提升了用户的业务体验感。The embodiments of the present application provide a data transmission method and apparatus, which are used to deliver the transmission delay along with the data packets, so as to realize fine dynamic adjustment of the transmission delay, and improve the user's sense of service experience.
第一方面,本申请实施例提供一种数据传输方法,具体如下:该第一通信设备接收来 自第一方向的数据包;然后该第一通信设备获取该第一方向的数据包的第一传输时延;该第一通信设备再接收来自第二方向的数据包,并根据该第一传输时延和往返时延确定该第二方向的数据包的第二传输时延;最后该第一通信设备将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延,即该第一通信设备将该第二传输时延随包携带。而本实施例中,若该第一方向为上行,则该第二方向为下行;若该第一方向为下行,则该第二方向为上行。In a first aspect, an embodiment of the present application provides a data transmission method, which is specifically as follows: the first communication device receives a data packet from a first direction; then the first communication device obtains a first transmission of the data packet in the first direction delay; the first communication device then receives the data packet from the second direction, and determines the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay; finally, the first communication The device sends the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay, that is, the first communication device carries the second transmission delay with the packet. In this embodiment, if the first direction is upward, the second direction is downward; if the first direction is downward, then the second direction is upward.
本实施例中,在该第一方向为上行,该第二方向为下行时,该第一通信设备为核心网设备,该第二通信设备为接入设备;在该第一方向为下行,该第二方向为上行时,该第一通信设备为终端设备,该第二通信设备为接入设备。In this embodiment, when the first direction is uplink and the second direction is downlink, the first communication device is a core network device, and the second communication device is an access device; when the first direction is downlink, the When the second direction is uplink, the first communication device is a terminal device, and the second communication device is an access device.
本实施例提供的技术方案中,该第一通信设备将该传输时延随包携带,使得该第二通信设备无需再根据服务质量流标识所指示的包延迟预算信息去查询传输时延,从而实现传输时延的精细动态调整,提升了用户的业务体验感。In the technical solution provided by this embodiment, the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Fine and dynamic adjustment of transmission delay is realized, which improves the user's service experience.
一种可能实现方式中,该第二方向的数据包的包头包括第一指示信息,该第一指示信息用于指示该第二传输时延。即对于随包携带第二方向的第二传输时延增加实现方式。可以理解的是,该第二方向的数据包也可以在数据载荷中携带该第二传输时延。In a possible implementation manner, the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
一种可能实现方式中,该第二方向的数据包中还包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。可以理解的是,该第二指示信息可以为实际存在的指示信息(即该第二指示信息占用一部分比特),也可以直接是该第一指示信息(即该第一指示信息除了指示该下行传输时延外,其隐含的意思就是指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息)。In a possible implementation manner, the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier. It can be understood that the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
一种可能实现方式中,该第一方向的数据包中包括第一信息,该第一信息用于指示该第一方向的数据包的顺序;该第二方向的数据包中包括第二信息,该第二信息用于指示该第二方向的数据包的顺序;该第一信息和该第二信息用于确定该第一方向的数据包与该第二方向的数据包为一一对应的关系。即若该上行数据包用于请求A,则该下行数据包中携带A。本实施例中,该第一信息与该第二信息可以是计数器(即message count),比如第一个上行数据包中第一信息为1,而与该第一个上行数据包对应的下行数据包中的第二信息为1;第二个上行数据包的第一信息为2,而与该第二个上行数据包对应的下行数据包中的第二信息为2。因此在该第一通信设备确定上下行数据包的关联关系时,可以根据计数器是否相同来判断。In a possible implementation manner, the data packets in the first direction include first information, and the first information is used to indicate the sequence of the data packets in the first direction; the data packets in the second direction include second information, The second information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine the one-to-one correspondence between the data packets in the first direction and the data packets in the second direction . That is, if the uplink data packet is used to request A, A is carried in the downlink data packet. In this embodiment, the first information and the second information may be counters (ie, message counts), for example, the first information in the first uplink data packet is 1, and the downlink data corresponding to the first uplink data packet The second information in the packet is 1; the first information in the second uplink data packet is 2, and the second information in the downlink data packet corresponding to the second uplink data packet is 2. Therefore, when the first communication device determines the association between the uplink and downlink data packets, it can be determined according to whether the counters are the same.
一种可能实现方式中,该第一通信设备根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延包括:在该第一传输时延大于或等于第一预设阈值时,该第一通信设备根据该往返时延和该第一传输时延的差值确定该第二方向的数据包的第二传输时延。这样可以减少第一通信设备的处理量。In a possible implementation manner, the first communication device determining the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay includes: when the first transmission delay is greater than or equal to the first transmission delay When the threshold is preset, the first communication device determines the second transmission delay of the data packet in the second direction according to the difference between the round-trip delay and the first transmission delay. This can reduce the processing amount of the first communication device.
一种可能实现方式中,该第一通信设备获取该第一方向的数据包的平均传输时延;在该平均传输时延大于或等于第二预设阈值时,该第一通信设备根据该往返时延和该平均传输时延的差值确定该第二方向的数据包的第二传输时延。在此方案中,该平均传输时延由第三通信设备统计预设时长内该第一通信设备上报的第一方向的数据包的传输时延得到; 因此该平均传输时延为该第三通信设备发送给该第一通信设备。In a possible implementation manner, the first communication device obtains the average transmission delay of the data packets in the first direction; when the average transmission delay is greater than or equal to a second preset threshold, the first communication device obtains the round-trip The difference between the delay and the average transmission delay determines the second transmission delay of the data packets in the second direction. In this solution, the average transmission delay is obtained by the third communication device counting the transmission delays of data packets in the first direction reported by the first communication device within a preset time period; therefore, the average transmission delay is the third communication device The device sends to the first communication device.
一种可能实现方式中,该第一通信设备获取该第二方向的数据包的预测传输时延,该预测传输时延与时间段和/或位置信息相关联;在该时间段和/或该位置信息,该第一通信设备确定该预测传输时延为该第二方向的数据包的第二传输时延。在此方案中,该预测传输时延由第四通信设备根据该第一通信设备上报的第一方向的数据包的历史传输时延和当前状态信息预测得到,该当前状态信息包括当前网络参数、用户数、时间段以及位置信息;因此该预测传输时延为该第四通信设备发送给该第一通信设备。In a possible implementation manner, the first communication device acquires the predicted transmission delay of the data packet in the second direction, and the predicted transmission delay is associated with the time period and/or the location information; in the time period and/or the location information, and the first communication device determines that the predicted transmission delay is the second transmission delay of the data packets in the second direction. In this solution, the predicted transmission delay is predicted by the fourth communication device according to the historical transmission delay of data packets in the first direction reported by the first communication device and the current state information, where the current state information includes current network parameters, The number of users, time period, and location information; therefore, the predicted transmission delay is sent by the fourth communication device to the first communication device.
一种可能实现方式中,该第一通信设备获取该第一方向的数据包的第一传输时延包括:该第一通信设备根据接收时间和时间戳信息计算得到该第一传输时延,该接收时间用于指示该第一通信设备接收到该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻;或,该第一通信设备根据发送时间和时间戳信息计算得到该第一传输时延,该发送时间用于指示该第一通信设备向应用服务器发送该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻。In a possible implementation manner, the obtaining, by the first communication device, the first transmission delay of the data packets in the first direction includes: the first communication device calculates and obtains the first transmission delay according to the reception time and timestamp information, and the first transmission delay is obtained by the first communication device. The reception time is used to indicate the time when the first communication device receives the data packet in the first direction, and the timestamp information is used to indicate the transmission time of the data packet in the first direction; or, the first communication device according to the transmission time The first transmission delay is obtained by calculating the first transmission delay with the timestamp information, the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server, and the timestamp information is used to indicate the data packet in the first direction. The time when the packet was sent.
第二方面,本申请实施例提供一种数据传输方法,具体包括:第一通信设备接收第一方向的数据包,该第一方向的数据包携带第一信息,该第一信息用于指示该第一方向的数据包的顺序;该第一通信设备接收第二方向的数据包,该第二方向的数据包携带第二信息,该第二信息用于指示该第二方向的数据包的顺序;该第一通信设备根据该第一信息和该第二信息确定该第一方向的数据包与该第二方向的数据包一一对应;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。In a second aspect, an embodiment of the present application provides a data transmission method, which specifically includes: a first communication device receives a data packet in a first direction, where the data packet in the first direction carries first information, where the first information is used to indicate the The sequence of the data packets in the first direction; the first communication device receives the data packets in the second direction, and the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction ; The first communication device determines that the data packets in the first direction and the data packets in the second direction correspond one-to-one according to the first information and the second information; if the first direction is uplink, then the second direction is Down; or, if the first direction is down, the second direction is up.
本实施例中,在该第一方向为上行,该第二方向为下行时,该第一通信设备为核心网设备,该第二通信设备为接入设备;在该第一方向为下行,该第二方向为上行时,该第一通信设备为终端设备,该第二通信设备为接入设备。In this embodiment, when the first direction is uplink and the second direction is downlink, the first communication device is a core network device, and the second communication device is an access device; when the first direction is downlink, the When the second direction is uplink, the first communication device is a terminal device, and the second communication device is an access device.
本实施例提供的技术方案中,该第一通信设备通过第一信息和该第二信息实现上下行数据包一一对应关联,解决了上下行数据包的乱序问题。In the technical solution provided by this embodiment, the first communication device implements a one-to-one correspondence between the uplink and downlink data packets through the first information and the second information, which solves the problem of the disorder of the uplink and downlink data packets.
一种可能实现方式中,该第一通信设备还可以获取该第一方向的数据包的第一传输时延;该第一通信设备根据该第一传输时延和往返时延确定该第二方向的数据包的第二传输时延;该第一通信设备将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延。In a possible implementation manner, the first communication device may also acquire the first transmission delay of the data packets in the first direction; the first communication device determines the second direction according to the first transmission delay and the round-trip delay The second transmission delay of the data packet; the first communication device sends the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay.
本实施例提供的技术方案中,该第一通信设备将该传输时延随包携带,使得该第二通信设备无需再根据服务质量流标识所指示的包延迟预算信息去查询传输时延,从而实现传输时延的精细动态调整。In the technical solution provided by this embodiment, the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Realize fine dynamic adjustment of transmission delay.
一种可能实现方式中,该第二方向的数据包的包头包括第一指示信息,该第一指示信息用于指示该第二传输时延。即对于随包携带第二方向的第二传输时延增加实现方式。可以理解的是,该第二方向的数据包也可以在数据载荷中携带该第二传输时延。In a possible implementation manner, the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
一种可能实现方式中,该第二方向的数据包中还包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。可以理解的是,该第二指示信息可以为实际存在的指示信息(即该第二指示信息占用一部分比特),也 可以直接是该第一指示信息(即该第一指示信息除了指示该下行传输时延外,其隐含的意思就是指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息)。In a possible implementation manner, the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier. It can be understood that the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
一种可能实现方式中,该第二方向的数据包的包头包括第一指示信息,该第一指示信息用于指示该第二传输时延。即对于随包携带第二方向的第二传输时延增加实现方式。可以理解的是,该第二方向的数据包也可以在数据载荷中携带该第二传输时延。In a possible implementation manner, the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay. That is, the implementation manner of increasing the second transmission delay in the second direction carried with the packet. It can be understood that, the data packet in the second direction may also carry the second transmission delay in the data payload.
一种可能实现方式中,该第二方向的数据包中还包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。可以理解的是,该第二指示信息可以为实际存在的指示信息(即该第二指示信息占用一部分比特),也可以直接是该第一指示信息(即该第一指示信息除了指示该下行传输时延外,其隐含的意思就是指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息)。In a possible implementation manner, the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier. It can be understood that the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
第三方面,本申请实施例提供一种通信装置,该装置具有实现上述第一方面中第一通信设备行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, an embodiment of the present application provides a communication apparatus, where the apparatus has a function of implementing the behavior of the first communication device in the above-mentioned first aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
在一个可能的实现方式中,该装置包括用于执行以上第一方面各个步骤的单元或模块。例如,该装置包括:接收模块,用于接收第一方向的数据包;处理模块,用于获取该第一方向的数据包的第一传输时延;根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延;发送模块,用于将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。In a possible implementation manner, the apparatus includes units or modules for performing the steps of the above first aspect. For example, the device includes: a receiving module for receiving data packets in a first direction; a processing module for acquiring a first transmission delay of the data packets in the first direction; according to the first transmission delay and round-trip delay determining the second transmission delay of the data packet in the second direction; the sending module is configured to send the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission delay; If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
可选的,还包括存储模块,用于保存通信装置必要的程序指令和数据。Optionally, a storage module is also included for storing necessary program instructions and data of the communication device.
在一种可能的实现方式中,该装置包括:处理器和收发器,该处理器被配置为支持通信装置执行上述第一方面提供的方法中相应的功能。收发器用于指示第一通信设备与第二通信设备以及其他网络设备之间的通信,向第二通信设备发送上述方法中所涉及的数据包。可选的,此装置还可以包括存储器,该存储器用于与处理器耦合,其保存通信装置必要的程序指令和数据。In a possible implementation manner, the apparatus includes: a processor and a transceiver, where the processor is configured to support the communication apparatus to perform corresponding functions in the method provided in the first aspect. The transceiver is used to instruct the communication between the first communication device, the second communication device and other network devices, and send the data packets involved in the above method to the second communication device. Optionally, the apparatus may further include a memory for coupling with the processor, which stores necessary program instructions and data for the communication apparatus.
在一种可能的实现方式中,当该装置为通信装置内的芯片时,该芯片包括:处理模块和收发模块;该收发模块例如可以是该芯片上的输入/输出接口、管脚或电路等,用于接收第一方向的数据包,并将该数据包传送给与此芯片耦合的其他芯片或模块中;该处理模块例如可以是处理器,此处理器用于获取该第一方向的数据包的第一传输时延;根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延。该处理模块可执行存储单元存储的计算机执行指令,以支持通信装置执行上述第一方面提供的方法。可选地,该存储单元可以为该芯片内的存储单元,如寄存器、缓存等,该存储单元还可以是位于该芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储装置,随机存取存储器(random access memory,RAM)等。In a possible implementation, when the device is a chip in a communication device, the chip includes: a processing module and a transceiver module; the transceiver module may be, for example, an input/output interface, a pin or a circuit on the chip, etc. , used to receive the data packet in the first direction, and transmit the data packet to other chips or modules coupled with this chip; the processing module can be, for example, a processor, and the processor is used to obtain the data packet in the first direction The first transmission delay is determined according to the first transmission delay and the round-trip delay; the second transmission delay of the data packet in the second direction is determined. The processing module can execute the computer-executed instructions stored in the storage unit, so as to support the communication apparatus to perform the method provided in the first aspect. Optionally, the storage unit can be a storage unit in the chip, such as a register, a cache, etc., and the storage unit can also be a storage unit located outside the chip, such as a read-only memory (read-only memory, ROM) or a memory unit. Other types of static storage devices that store static information and instructions, random access memory (RAM), etc.
在一种可能的实现方式中,该装置包括:处理器,基带电路,射频电路和天线。其中处理器用于实现对各个电路部分功能的控制,基带电路用于生成数据包,经由射频电路进行模拟转换、滤波、放大和上变频等处理后,再经由天线发送给第二通信设备。可选的, 该装置还包括存储器,其保存通信装置必要的程序指令和数据。In a possible implementation manner, the apparatus includes: a processor, a baseband circuit, a radio frequency circuit and an antenna. The processor is used to control the functions of each circuit part, and the baseband circuit is used to generate data packets, which are processed by analog conversion, filtering, amplification and frequency up-conversion through the radio frequency circuit, and then sent to the second communication device through the antenna. Optionally, the device further includes a memory, which stores necessary program instructions and data of the communication device.
在一种可能实现方式中,该装置包括通信接口和逻辑电路,该通信接口用于接收第一方向的数据包;该逻辑电路,用于获取该第一方向的数据包的第一传输时延;根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延;该通信接口,将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。In a possible implementation manner, the apparatus includes a communication interface and a logic circuit, where the communication interface is used for receiving data packets in the first direction; the logic circuit is used for acquiring the first transmission delay of the data packets in the first direction ; Determine the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay; the communication interface sends the data packet in the second direction to the second communication device, and the data packet in the second direction is sent to the second communication device. The second transmission delay is carried in the data packet; if the first direction is uplink, the second direction is downlink; or, if the first direction is downlink, the second direction is uplink.
其中,上述任一处提到的处理器,可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制上述各方面数据传输方法的程序执行的集成电路。Wherein, the processor mentioned in any of the above may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more An integrated circuit for controlling program execution of the data transmission methods of the above aspects.
第四方面,本申请实施例提供一种通信装置,该装置具有实现上述第二方面中第一通信设备行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, an embodiment of the present application provides a communication apparatus, where the apparatus has a function of implementing the behavior of the first communication device in the second aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
在一个可能的实现方式中,该装置包括用于执行以上第二方面各个步骤的单元或模块。例如,该装置包括:接收模块,用于接收第一方向的数据包,该第一方向的数据包携带第一信息,该第一信息用于指示该第一方向的数据包的顺序;接收第二方向的数据包,该第二方向的数据包携带第二信息,该第二信息用于指示该第二方向的数据包的顺序;处理模块,用于根据该第一信息和该第二信息确定该第一方向的数据包与该第二方向的数据包一一对应;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。In a possible implementation manner, the apparatus includes units or modules for performing the steps of the second aspect above. For example, the device includes: a receiving module for receiving data packets in the first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction; Data packets in two directions, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the processing module is used for according to the first information and the second information. It is determined that the data packets in the first direction are in one-to-one correspondence with the data packets in the second direction; if the first direction is uplink, the second direction is downlink; or, if the first direction is downlink, the second direction The direction is upward.
可选的,还包括存储模块,用于保存通信装置必要的程序指令和数据。Optionally, a storage module is also included for storing necessary program instructions and data of the communication device.
在一种可能的实现方式中,该装置包括:处理器和收发器,该处理器被配置为支持通信装置执行上述第二方面提供的方法中相应的功能。收发器用于指示第一通信设备与第二通信设备以及其他网络设备之间的通信,向第二通信设备发送上述方法中所涉及的数据包。可选的,此装置还可以包括存储器,该存储器用于与处理器耦合,其保存通信装置必要的程序指令和数据。In a possible implementation manner, the apparatus includes: a processor and a transceiver, where the processor is configured to support the communication apparatus to perform corresponding functions in the method provided in the second aspect. The transceiver is used to instruct the communication between the first communication device, the second communication device and other network devices, and send the data packets involved in the above method to the second communication device. Optionally, the apparatus may further include a memory for coupling with the processor, which stores necessary program instructions and data for the communication apparatus.
在一种可能的实现方式中,当该装置为通信装置内的芯片时,该芯片包括:处理模块和收发模块;该收发模块例如可以是该芯片上的输入/输出接口、管脚或电路等,用于接收第一方向的数据包和第二方向的数据包,并将该数据包传送给与此芯片耦合的其他芯片或模块中;该处理模块例如可以是处理器,此处理器用于根据该第一信息和该第二信息确定该第一方向的数据包与该第二方向的数据包一一对应。该处理模块可执行存储单元存储的计算机执行指令,以支持通信装置执行上述第一方面提供的方法。可选地,该存储单元可以为该芯片内的存储单元,如寄存器、缓存等,该存储单元还可以是位于该芯片外部的存储单元,如ROM或可存储静态信息和指令的其他类型的静态存储装置,RAM等。In a possible implementation, when the device is a chip in a communication device, the chip includes: a processing module and a transceiver module; the transceiver module may be, for example, an input/output interface, a pin or a circuit on the chip, etc. , for receiving the data packets in the first direction and the data packets in the second direction, and transmitting the data packets to other chips or modules coupled with this chip; the processing module can be, for example, a processor, and the processor is used to The first information and the second information determine that the data packets in the first direction are in one-to-one correspondence with the data packets in the second direction. The processing module can execute the computer-executed instructions stored in the storage unit, so as to support the communication apparatus to perform the method provided in the first aspect. Optionally, the storage unit can be a storage unit in the chip, such as a register, a cache, etc., and the storage unit can also be a storage unit located outside the chip, such as ROM or other types of static information and instructions that can store static information and instructions. storage, RAM, etc.
在一种可能的实现方式中,该装置包括:处理器,基带电路,射频电路和天线。其中处理器用于实现对各个电路部分功能的控制,基带电路用于生成数据包,经由射频电路进行模拟转换、滤波、放大和上变频等处理后,再经由天线发送给其他通信设备。可选的,该装置还包括存储器,其保存通信装置必要的程序指令和数据。In a possible implementation manner, the apparatus includes: a processor, a baseband circuit, a radio frequency circuit and an antenna. The processor is used to control the functions of each circuit part, and the baseband circuit is used to generate data packets, which are processed by analog conversion, filtering, amplification and frequency up-conversion through the radio frequency circuit, and then sent to other communication devices through the antenna. Optionally, the device further includes a memory, which stores necessary program instructions and data of the communication device.
在一种可能实现方式中,该装置包括通信接口和逻辑电路,该通信接口用于接收第一方向的数据包,该第一方向的数据包携带第一信息,该第一信息用于指示该第一方向的数据包的顺序;接收第二方向的数据包,该第二方向的数据包携带第二信息,该第二信息用于指示该第二方向的数据包的顺序;该逻辑电路,用于根据该第一信息和该第二信息确定该第一方向的数据包与该第二方向的数据包一一对应;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。In a possible implementation manner, the apparatus includes a communication interface and a logic circuit, where the communication interface is configured to receive data packets in a first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the The sequence of the data packets in the first direction; receiving the data packets in the second direction, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the logic circuit, for determining the one-to-one correspondence between the data packets in the first direction and the data packets in the second direction according to the first information and the second information; if the first direction is uplink, the second direction is downlink; or, If the first direction is downward, the second direction is upward.
其中,上述任一处提到的处理器,可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制上述各方面数据传输方法的程序执行的集成电路。Wherein, the processor mentioned in any of the above may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more An integrated circuit for controlling program execution of the data transmission methods of the above aspects.
第五方面,本申请实施例提供一种计算机可读存储介质,该计算机存储介质存储有计算机指令,该计算机指令用于执行上述各方面中任意一方面任意可能的实施方式该的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer storage medium, and the computer instructions are used to execute the method in any possible implementation manner of any one of the foregoing aspects.
第六方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面中任意一方面该的方法。In a sixth aspect, the embodiments of the present application provide a computer program product including instructions, which, when executed on a computer, cause the computer to execute the method in any one of the foregoing aspects.
第七方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持通信装置实现上述方面中所涉及的功能,例如生成或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,该芯片系统还包括存储器,该存储器,用于保存通信装置必要的程序指令和数据,以实现上述各方面中任意一方面的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a seventh aspect, the present application provides a chip system, the chip system includes a processor for supporting a communication device to implement the functions involved in the above aspects, such as generating or processing the data and/or information involved in the above methods. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the communication device, so as to realize the function of any one of the above aspects. The chip system can be composed of chips, and can also include chips and other discrete devices.
附图说明Description of drawings
图1为本申请实施例中通信系统的一个实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a communication system in an embodiment of the present application;
图2为本申请实施例中5G网络架构的一个实施例示意图;FIG. 2 is a schematic diagram of an embodiment of a 5G network architecture in an embodiment of the application;
图3为本申请实施例中通信装置的一个实施例示意图;FIG. 3 is a schematic diagram of an embodiment of a communication device in an embodiment of the present application;
图4为本申请实施例中数据传输方法的一个实施例示意图;FIG. 4 is a schematic diagram of an embodiment of a data transmission method in an embodiment of the present application;
图5为本申请实施例中数据传输方法的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application;
图6为本申请实施例中数据传输方法的另一个实施例示意图;FIG. 6 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application;
图7为本申请实施例中数据传输方法的另一个实施例示意图;FIG. 7 is a schematic diagram of another embodiment of the data transmission method in the embodiment of the present application;
图8为本申请实施例中通信装置的一个实施例示意图;FIG. 8 is a schematic diagram of an embodiment of a communication device in an embodiment of the present application;
图9为本申请实施例中通信装置的另一个实施例示意图。FIG. 9 is a schematic diagram of another embodiment of the communication device in the embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,下面结合附图,对本申请的实施例进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application are described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. . Those of ordinary skill in the art know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含, 例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可以根据要实现的技术目的变更执行次序,只要能达到相同或者相类似的技术效果即可。本申请中所出现的单元的划分,是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个单元可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的单元或子单元可以是也可以不是物理上的分离,可以是也可以不是物理单元,或者可以分布到多个电路单元中,可以根据实际的需要选择其中的部分或全部单元来实现本申请方案的目的。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, eg, a process, method, system, product or device comprising a series of steps or modules is not necessarily limited to those expressly listed Rather, those steps or modules may include other steps or modules not expressly listed or inherent to the process, method, product or apparatus. The naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering, and the named or numbered process steps can be implemented according to the The technical purpose is to change the execution order, as long as the same or similar technical effects can be achieved. The division of units in this application is a logical division. In practical applications, there may be other division methods. For example, multiple units may be combined or integrated into another system, or some features may be ignored. , or not implemented, in addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection between units may be electrical or other similar forms. There are no restrictions in the application. In addition, the units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed into multiple circuit units, and some or all of them may be selected according to actual needs. unit to achieve the purpose of the scheme of this application.
图1示例性示出了本申请实施例提供的一种通信系统架构示意图,如图1所示,该通信系统100包括:第一通信设备101和第二通信设备102。该第一通信设备101和第二通信设备102之间可以直接通信,也可以通过其他设备的转发进行通信,本申请实施例对此不做具体限定。FIG. 1 exemplarily shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application. As shown in FIG. 1 , the communication system 100 includes: a first communication device 101 and a second communication device 102 . The first communication device 101 and the second communication device 102 may communicate directly or communicate through forwarding by other devices, which is not specifically limited in this embodiment of the present application.
基于该通信系统100的系统架构,本申请实施例可以提供两种可能地实现方式。Based on the system architecture of the communication system 100, the embodiments of the present application may provide two possible implementation manners.
第一种可能地实现方式中,第一方向为上行,第二方向为下行。该第一通信设备101,用于接收第二通信设备发送的上行数据包(即第一方向的数据包),并计算得到该上行数据包的上行传输时延(即第一传输时延),并根据该上行数据包的上行传输时延和往返时延计算该上行数据包对应的下行数据包(即第二方向的数据包)的下行传输时延;最后该第一通信设备101将该下行数据包发送给该第二通信设备102,并在该下行数据包中携带该下行传输时延,以使得该第二通信设备102利用该下行传输时延发送该下行数据包至接收端。In a first possible implementation manner, the first direction is uplink, and the second direction is downlink. The first communication device 101 is configured to receive an uplink data packet (that is, a data packet in the first direction) sent by the second communication device, and calculate an uplink transmission delay (that is, a first transmission delay) of the uplink data packet, and calculate the downlink transmission delay of the downlink data packet (that is, the data packet in the second direction) corresponding to the uplink data packet according to the uplink transmission delay and the round-trip delay of the uplink data packet; finally, the first communication device 101 The data packet is sent to the second communication device 102, and the downlink transmission delay is carried in the downlink data packet, so that the second communication device 102 uses the downlink transmission delay to send the downlink data packet to the receiving end.
第二种可能地实现方式中,第一方向为下行,第二方向为上行。该第一通信设备101,用于接收来自下行方向的数据包(即第一方向的数据包),并计算得到该下行数据包的下行传输时延(即第一传输时延),并根据该下行数据包的下行传输时延和往返时延计算该下行数据包对应的上行数据包(即第二方向的数据包)的上行传输时延;最后该第一通信设备101将该上行数据包发送给该第二通信设备102,并在该上行数据包中携带该上行传输时延,以使得该第二通信设备102利用该上行传输时延发送该上行数据包。In the second possible implementation manner, the first direction is downlink, and the second direction is uplink. The first communication device 101 is configured to receive a data packet from the downlink direction (that is, a data packet in the first direction), calculate the downlink transmission delay (that is, the first transmission delay) of the downlink data packet, and obtain the downlink transmission delay (that is, the first transmission delay) according to the The downlink transmission delay and round-trip delay of the downlink data packet are used to calculate the uplink transmission delay of the uplink data packet (that is, the data packet in the second direction) corresponding to the downlink data packet; finally, the first communication device 101 sends the uplink data packet to the second communication device 102, and carry the uplink transmission delay in the uplink data packet, so that the second communication device 102 uses the uplink transmission delay to send the uplink data packet.
在本实施例中,该往返时延可以是业务往返时延,即从终端设备发送数据开始,到该终端设备接收到应用服务器反馈的数据总共经历的时间。该往返时延也可以是网络往返时延,即从终端设备发送数据到用户面功能实体(user plane function,UPF),以及终端设备接收到UPF反馈的数据总共经历的时间(即不算UPF转发数据至应用服务器,以及应用服务器发送数据至UPF的时间)。本实施例中以终端设备与UPF之间的往返时延进行说明。In this embodiment, the round-trip delay may be a service round-trip delay, that is, the total elapsed time from when the terminal device sends data to when the terminal device receives the data fed back by the application server. The round-trip delay can also be the network round-trip delay, that is, the total time elapsed between sending data from the terminal device to the user plane function (UPF), and the terminal device receiving the data fed back by the UPF (that is, not counting UPF forwarding). data to the application server, and when the application server sends the data to the UPF). In this embodiment, the round-trip delay between the terminal device and the UPF is used for description.
可选的,图1所示的通信系统100可以应用于各种通信系统,例如5G通信系统以及未来的无线通信系统等,具体此处不做限定。Optionally, the communication system 100 shown in FIG. 1 can be applied to various communication systems, such as a 5G communication system and a future wireless communication system, etc., which is not specifically limited here.
一种示例性方案中,图1所示的通信系统100应用于如图2所示的5G网络架构,其中, 该5G网络架构中包括用户设备(user equipment,UE)、会话管理功能实体(session management function,SMF)、用户面功能实体(user plane function,UPF)、接入网节点((radio)access network,(R)AN)、应用功能实体(application function,AF)、数据网络(data network,DN)、网络数据分析功能实体(network data analytics function,NWDAF)、接入和移动性管理功能实体(access and mobility management function,AMF)、策略控制功能实体(policy control function,PCF)、统一数据管理功能实体(unified data management,UDM)、鉴权服务器功能实体(authentication server function,AUSF)、网络开放功能实体(network exposure function,NEF)。其中,UE通过下一代网络(next generation,N)1接口(简称N1)与AMF网元通信,RAN设备通过N2接口(简称N2)与AMF网元通信,RAN设备通过N3接口(简称N3)与UPF网元通信,UPF网元通过N6接口(简称N6)与DN通信,SMF网元通过N4接口(简称N4)与UPF网元通信,此外,需要说明的是,图2所示的AMF网元、SMF网元、UDM网元、AUSF网元、PCF网元或者AF网元等控制面网元也可以采用服务化接口进行交互。比如,如图2所示,AMF网元对外提供的服务化接口可以为Namf;SMF网元对外提供的服务化接口可以为Nsmf;UDM网元对外提供的服务化接口可以为Nudm;PCF网元对外提供的服务化接口可以为Npcf,AUSF网元对外提供的服务化接口可以为Nausf,AF网元对外提供的服务化接口可以为Naf,NWDAF网元对外提供的服务化接口可以为Nnwdaf。相关描述可以参考23501标准中的5G系统架构(5G system architecture),在此不予赘述。而各网元或模块的功能描述如下:In an exemplary solution, the communication system 100 shown in FIG. 1 is applied to the 5G network architecture shown in FIG. 2 , wherein the 5G network architecture includes a user equipment (user equipment, UE), a session management function entity (session management function entity). management function, SMF), user plane function entity (user plane function, UPF), access network node ((radio) access network, (R)AN), application function entity (application function, AF), data network (data network) , DN), network data analytics function (NWDAF), access and mobility management function (AMF), policy control function (PCF), unified data Management function entity (unified data management, UDM), authentication server function entity (authentication server function, AUSF), network exposure function entity (network exposure function, NEF). The UE communicates with the AMF network element through the next generation network (next generation, N) 1 interface (referred to as N1), the RAN device communicates with the AMF network element through the N2 interface (referred to as N2), and the RAN device communicates with the AMF network element through the N3 interface (referred to as N3). The UPF network element communicates with the DN through the N6 interface (N6 for short), and the SMF network element communicates with the UPF network element through the N4 interface (N4 for short). In addition, it should be noted that the AMF network element shown in Figure 2 , SMF network elements, UDM network elements, AUSF network elements, PCF network elements or AF network elements and other control plane network elements can also use service interfaces for interaction. For example, as shown in Figure 2, the service interface provided by the AMF network element can be Namf; the service interface provided by the SMF network element can be Nsmf; the service interface provided by the UDM network element can be Nudm; the PCF network element The service interface provided externally can be Npcf, the service interface provided by the AUSF network element can be Nausf, the service interface provided by the AF network element can be Naf, and the service interface provided by the NWDAF network element can be Nnwdaf. For the relevant description, please refer to the 5G system architecture (5G system architecture) in the 23501 standard, which will not be repeated here. The functions of each NE or module are described as follows:
SMF:主要功能是控制会话的建立、修改和删除,用户面节点的选择等。SMF: The main function is to control the establishment, modification and deletion of sessions, and the selection of user plane nodes.
UPF:主要功能使数据包路由和转发、移动性锚点、上行分类器来支持路由业务流到数据网络、分支点来支持多归属分组数据单元(packet data unit,PDU)会话等。UPF: The main functions enable data packet routing and forwarding, mobility anchors, upstream classifiers to support routing traffic flows to the data network, branch points to support multi-homed packet data unit (PDU) sessions, etc.
(R)AN:主要功能是提供无线连接,位于UE和核心网节点之间。(R)AN: The main function is to provide wireless connectivity, located between UE and core network nodes.
AF:主要功能是与核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。AF: The main function is to interact with the core network to provide services to affect service flow routing, access network capability opening, and policy control.
DN:例如运营商服务,互联网接入或者第三方服务。DN: eg carrier service, internet access or third party service.
NWDAF:提供基于大数据和人工智能等技术的网络数据采集和分析功能。NWDAF: Provides network data collection and analysis functions based on technologies such as big data and artificial intelligence.
AMF:主要功能包含管理用户注册、可达性检测、SMF节点的选择、移动状态转换管理等。AMF: The main functions include management of user registration, reachability detection, selection of SMF nodes, and management of mobility state transitions.
PCF:主要功能是策略决策点,提供基于业务数据流和应用检测,门控,QoS和基于流的计费控制等规则。PCF: The main function is a policy decision point, providing rules based on business data flow and application detection, gate control, QoS and flow-based charging control.
UDM:主要功能使存储用户签约数据。UDM: The main function is to store user subscription data.
AUSF:主要功能使提供鉴权服务。AUSF: The main function is to provide authentication services.
NEF:安全地开放由3GPP网络功能提供的服务和能力,如第三方、边缘计算、AF等。NEF: Securely open services and capabilities provided by 3GPP network functions, such as third parties, edge computing, AF, etc.
而本申请提供的技术方案中的第一通信设备可以为核心网设备或终端设备,而该第二通信设备可以为接入设备(如RAN)。该核心网设备接收终端设备通过该RAN发送的上行数据包或者通过该RAN向该终端设备下发下行数据包;而该RAN接收该终端设备发送的上行数据包,接收该UPF转发的下行数据包。其中,该终端设备也可以是用于实现无线通信功 能的设备,例如终端或者可用于终端中的芯片等。其中,终端可以是5G网络或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的用户设备(user equipment,UE)、接入终端、终端单元、终端站、移动站、移动台、远方站、远程终端、移动设备、无线通信设备、终端代理或终端装置等。接入终端可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备或可穿戴设备,虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。终端可以是移动的,也可以是固定的。However, the first communication device in the technical solution provided by this application may be a core network device or a terminal device, and the second communication device may be an access device (eg, a RAN). The core network device receives the uplink data packet sent by the terminal device through the RAN or delivers the downlink data packet to the terminal device through the RAN; and the RAN receives the uplink data packet sent by the terminal device and receives the downlink data packet forwarded by the UPF . Wherein, the terminal device may also be a device used to implement a wireless communication function, such as a terminal or a chip that can be used in the terminal, and the like. The terminal may be a user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile station in a 5G network or a future evolved public land mobile network (Public Land Mobile Network, PLMN) network , remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device, etc. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices or wearable devices, virtual reality (VR) end devices, augmented reality (AR) end devices, industrial control (industrial) wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety Terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc. Terminals can be mobile or stationary.
而该RAN指的是接入核心网的设备,例如可以是全球移动通讯(Global System of Mobile Communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统中的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统中的基站(NodeB,NB),还可以是长期演进(Long Term Evolution,LTE)系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者为中继站、接入点、车载设备、可穿戴设备以及5G网络中的网络侧设备或未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的网络设备等。该核心网设备可以是如图2所示的网络架构中的各网元。The RAN refers to the equipment that accesses the core network, for example, it can be the Base Transceiver Station in the Global System of Mobile Communication (GSM) system and the Code Division Multiple Access (CDMA) system. , BTS), can also be a base station (NodeB, NB) in a Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, or can be an evolved base station ( Evolutional Node B, eNB or eNodeB), or relay stations, access points, in-vehicle devices, wearable devices, and network-side devices in 5G networks or in future evolved Public Land Mobile Network (PLMN) networks network equipment, etc. The core network device may be each network element in the network architecture as shown in FIG. 2 .
可选的,本申请实施例中的第一通信设备、第二通信设备也可以称之为通信装置,其可以是一个通用设备或者是一个专用设备,本申请实施例对此不做具体限定。Optionally, the first communication device and the second communication device in this embodiment of the present application may also be referred to as communication apparatuses, which may be a general-purpose device or a dedicated device, which is not specifically limited in this embodiment of the present application.
可选的,本申请实施例中的第一通信设备、第二通信设备的相关功能可以由一个设备实现,也可以由多个设备共同实现,还可以是由一个设备内的一个或多个功能模块实现,本申请实施例对此不做具体限定。可以理解的是,上述功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是硬件与软件的结合,或者是平台(例如,云平台)上实例化的虚拟化功能。Optionally, the related functions of the first communication device and the second communication device in this embodiment of the present application may be implemented by one device, or jointly implemented by multiple devices, or may be implemented by one or more functions in one device. Module implementation, which is not specifically limited in this embodiment of the present application. It is to be understood that the above-mentioned functions can be either network elements in hardware devices, or software functions running on dedicated hardware, or a combination of hardware and software, or instantiated on a platform (eg, a cloud platform). Virtualization capabilities.
例如,本申请实施例中的第一通信设备、第二通信设备相关功能可以通过图3中的通信设备300来实现。图3所示为本申请实施例提供的通信设备300的结构示意图。该通信设备300包括一个或多个处理器301,通信线路302,以及至少一个通信接口(图3中仅是示例性的以包括通信接口304,以及一个处理器301为例进行说明),可选的还可以包括存储器303。For example, the related functions of the first communication device and the second communication device in the embodiments of the present application may be implemented by the communication device 300 in FIG. 3 . FIG. 3 is a schematic structural diagram of a communication device 300 according to an embodiment of the present application. The communication device 300 includes one or more processors 301, a communication line 302, and at least one communication interface (in FIG. 3, the communication interface 304 and one processor 301 are used as an example for illustration only), optional The memory 303 may also be included.
处理器301可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 301 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of the programs of the present application. integrated circuit.
通信线路302可包括一通路,用于连接不同组件之间。 Communication line 302 may include a path for connecting the various components.
通信接口304,可以是收发模块用于与其他设备或通信网络通信,如以太网,RAN,无线局域网(wireless local area networks,WLAN)等。例如,该收发模块可以是收发器、收发机一类的装置。可选的,该通信接口304也可以是位于处理器301内的收发电路,用以实现处理器的信号输入和信号输出。The communication interface 304 can be a transceiver module for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (wireless local area networks, WLAN) and the like. For example, the transceiver module may be a device such as a transceiver or a transceiver. Optionally, the communication interface 304 may also be a transceiver circuit located in the processor 301 to implement signal input and signal output of the processor.
存储器303可以是具有存储功能的装置。例如可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路302与处理器相连接。存储器也可以和处理器集成在一起。The memory 303 may be a device having a storage function. For example, it may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of storage devices that can store information and instructions The dynamic storage device can also be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this. The memory may exist independently and be connected to the processor through communication line 302 . The memory can also be integrated with the processor.
其中,存储器303用于存储执行本申请方案的计算机执行指令,并由处理器301来控制执行。处理器301用于执行存储器303中存储的计算机执行指令,从而实现本申请实施例中提供的上报会话管理信息的方法。The memory 303 is used for storing computer-executed instructions for executing the solution of the present application, and the execution is controlled by the processor 301 . The processor 301 is configured to execute the computer-executed instructions stored in the memory 303, thereby implementing the method for reporting session management information provided in the embodiments of the present application.
或者,可选的,本申请实施例中,也可以是处理器301执行本申请下述实施例提供的上报会话管理信息的方法中的处理相关的功能,通信接口304负责与其他设备或通信网络通信,本申请实施例对此不做具体限定。Or, optionally, in this embodiment of the present application, the processor 301 may also perform processing-related functions in the method for reporting session management information provided by the following embodiments of the present application, and the communication interface 304 is responsible for communicating with other devices or communication networks. communication, which is not specifically limited in this embodiment of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不做具体限定。Optionally, the computer-executed instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.
在具体实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图3中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3 .
在具体实现中,作为一种实施例,通信设备300可以包括多个处理器,例如图3中的处理器301和处理器307。这些处理器中的每一个可以是一个单核(single-core)处理器,也可以是一个多核(multi-core)处理器。这里的处理器可以包括但不限于以下至少一种:中央处理单元(central processing unit,CPU)、微处理器、数字信号处理器(DSP)、微控制器(microcontroller unit,MCU)、或人工智能处理器等各类运行软件的计算设备,每种计算设备可包括一个或多个用于执行软件指令以进行运算或处理的核。In a specific implementation, as an embodiment, the communication device 300 may include multiple processors, such as the processor 301 and the processor 307 in FIG. 3 . Each of these processors can be a single-core processor or a multi-core processor. The processor here may include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (MCU), or artificial intelligence Processors and other types of computing devices that run software, each computing device may include one or more cores for executing software instructions to perform operations or processing.
在具体实现中,作为一种实施例,通信设备300还可以包括输出设备305和输入设备306。输出设备305和处理器301通信,可以以多种方式来显示信息。例如,输出设备305可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备306和处理器301通信,可以以多种方式接收用户的输入。例如,输入设备306可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the communication device 300 may further include an output device 305 and an input device 306 . The output device 305 is in communication with the processor 301 and can display information in a variety of ways. For example, the output device 305 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector (projector) Wait. Input device 306 is in communication with processor 301 and can receive user input in a variety of ways. For example, the input device 306 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
上述的通信设备300有时也可以称为通信装置,其可以是一个通用设备或者是一个专用设备。例如通信设备300可以是台式机、便携式电脑、网络服务器、掌上电脑(personal  digital assistant,PDA)、移动手机、平板电脑、无线终端设备、嵌入式设备、上述终端设备,上述网络设备、或具有图3中类似结构的设备。本申请实施例不限定通信设备300的类型。The above-mentioned communication device 300 may also be sometimes referred to as a communication device, which may be a general-purpose device or a dedicated device. For example, the communication device 300 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, the above-mentioned terminal device, the above-mentioned network device, or a 3 devices of similar structure. This embodiment of the present application does not limit the type of the communication device 300 .
下面将结合图1至图3对本申请实施例提供的数据传输方法进行具体阐述。The data transmission method provided by the embodiments of the present application will be described in detail below with reference to FIG. 1 to FIG. 3 .
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字,本申请实施例对此不做具体限定。It should be noted that the name of the message between each network element or the name of each parameter in the message in the following embodiments of the present application is just an example, and other names may also be used in the specific implementation, which is not done in the embodiment of the present application. Specific restrictions.
图4中以第一方向为上行,第二方向为下行,该第一通信设备为核心网设备,该第二通信设备为RAN进行示例,此时该数据传输方法包括如下步骤:In FIG. 4 , the first direction is uplink, the second direction is downlink, the first communication device is core network device, and the second communication device is RAN for example, at this time, the data transmission method includes the following steps:
401、该第一通信设备接收第一方向的数据包。401. The first communication device receives a data packet in a first direction.
本实施例中,该第一通信设备接收该终端设备通过该RAN发送的上行方向的上行数据包,其中,该上行数据包中还携带时间戳信息,其中,该时间戳信息用于指示该终端设备发送该上行数据包的发送时刻。In this embodiment, the first communication device receives an uplink data packet in the uplink direction sent by the terminal device through the RAN, wherein the uplink data packet also carries timestamp information, where the timestamp information is used to indicate the terminal The sending time when the device sends the upstream data packet.
进一步来说,以图4所示,该第一通信设备还将该上行数据发送至该应用服务器。Further, as shown in FIG. 4 , the first communication device also sends the uplink data to the application server.
402、第一通信设备获取该第一方向的数据包的第一传输时延。402. The first communication device acquires the first transmission delay of the data packet in the first direction.
本实施例中,该第一通信设备获取该上行数据的上行传输时延(即该第一传输时延)时,具体操作可以如下:In this embodiment, when the first communication device acquires the uplink transmission delay of the uplink data (that is, the first transmission delay), the specific operations may be as follows:
一种可以实现方式中,该第一通信设备根据接收时间和时间戳信息计算得到该上行数据包的上行传输时延,该接收时间用于指示该第一通信设备接收到该上行数据包的时刻,该时间戳信息用于指示该上行数据包的发送时刻。即该第一通信设备在接收到该上行数据包时,记录下接收到该上行数据包的接收时间;然后解析该上行数据得到用于指示该上行数据包的发送时刻时间戳信息;最后根据该接收时间和该时间戳信息计算得到该上行数据包的上行传输时延。In a possible implementation manner, the first communication device calculates and obtains the uplink transmission delay of the uplink data packet according to the reception time and time stamp information, and the reception time is used to indicate the moment when the first communication device receives the uplink data packet. , the timestamp information is used to indicate the sending moment of the uplink data packet. That is, when the first communication device receives the uplink data packet, it records the reception time of receiving the uplink data packet; then analyzes the uplink data to obtain the time stamp information used to indicate the transmission time of the uplink data packet; finally, according to the The uplink transmission delay of the uplink data packet is obtained by calculating the reception time and the timestamp information.
一种可能实现方式中,该第一通信设备根据发送时间和时间戳信息计算得到该上行数据包的上行传输时延,该发送时间用于指示该第一通信设备向应用服务器发送该上行数据包的时刻,该时间戳信息用于指示该上行数据包的发送时刻。即该第一通信设备在将该上行数据包转发至应用服务器时,记录下发送该上行数据包的发送时间;同时解析该上行数据得到用于指示该上行数据包的发送时刻时间戳信息;最后根据该发送时间和该时间戳信息计算得到该上行数据包的上行传输时延。In a possible implementation manner, the first communication device calculates and obtains the uplink transmission delay of the uplink data packet according to the sending time and timestamp information, and the sending time is used to instruct the first communication device to send the uplink data packet to the application server. The time stamp information is used to indicate the sending time of the uplink data packet. That is, when forwarding the uplink data packet to the application server, the first communication device records the sending time of sending the uplink data packet; at the same time, parses the uplink data to obtain the time stamp information for indicating the sending time of the uplink data packet; finally The uplink transmission delay of the uplink data packet is obtained by calculating according to the sending time and the timestamp information.
可以理解的是,上述方案中该上行传输时延仅用于指示该上行数据包由终端设备发送到该核心网设备的上行传输时延。若该上行传输时延还包括核心网设备与应用服务器之间的交互时延以及应用服务器对于数据处理的时延,则该上行传输时延可以根据该第一通信设备接收到应用服务器发送的下行数据包接收时间与该终端设备发送该上行数据包的发送时间计算得到。It can be understood that, in the above solution, the uplink transmission delay is only used to indicate the uplink transmission delay of the uplink data packet sent by the terminal device to the core network device. If the uplink transmission delay also includes the interaction delay between the core network device and the application server and the data processing delay by the application server, the uplink transmission delay may be based on the first communication device receiving the downlink sent by the application server. The data packet receiving time is calculated from the sending time when the terminal device sends the uplink data packet.
403、该第一通信设备根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延。403. The first communication device determines a second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay.
该第一通信设备在获取到该上行数据包的上行传输时延之后,利用往返时延和该上行传输时延确定该上行数据包对应的下行数据包的下行传输时延。该第一通信设备可以采用 如下技术方案获取该下行数据包的下行传输时延:After acquiring the uplink transmission delay of the uplink data packet, the first communication device uses the round-trip delay and the uplink transmission delay to determine the downlink transmission delay of the downlink data packet corresponding to the uplink data packet. The first communication device can obtain the downlink transmission delay of the downlink data packet by adopting the following technical solutions:
一种可能实现方式中,该第一通信设备对该往返时延和该上行传输时延求差值得到该下行传输时延。在此方案上,为了减少处理量,该第一通信设备可以在该上行传输时延大于或等于第一预设阈值时调整该下行传输时延。即在该上行传输时延大于或等于第一预设阈值时,该第一通信设备对该往返时延和该上行传输时延求差值得到该下行传输时延。In a possible implementation manner, the first communication device obtains the downlink transmission delay by calculating a difference between the round-trip delay and the uplink transmission delay. In this solution, in order to reduce the processing amount, the first communication device may adjust the downlink transmission delay when the uplink transmission delay is greater than or equal to a first preset threshold. That is, when the uplink transmission delay is greater than or equal to the first preset threshold, the first communication device obtains the downlink transmission delay by calculating the difference between the round-trip delay and the uplink transmission delay.
另一种可能实现方式中,该第一通信设备可以获取预设时间段内上行方向上的数据包的上行传输时延的平均传输时延;在该平均传输时延大于或等于第二预设阈值时,该第一通信设备对该往返时延和该平均传输时延求差得到该下行传输时延。In another possible implementation manner, the first communication device may obtain the average transmission delay of the uplink transmission delay of the data packets in the upstream direction within a preset time period; when the average transmission delay is greater than or equal to the second preset time period When the threshold is set, the first communication device calculates the difference between the round-trip delay and the average transmission delay to obtain the downlink transmission delay.
另一种可能实现方式中,该第一通信设备可以获取下行方向上的数据包的预测传输时延,其中该预测传输时延与时间段和/或位置信息相关联;然后在该时间段和/或该位置信息,该第一通信设备确定该预测传输时延作为该下行传输时延。In another possible implementation manner, the first communication device may acquire the predicted transmission delay of the data packet in the downlink direction, wherein the predicted transmission delay is associated with the time period and/or the location information; then, in the time period and /or the location information, the first communication device determines the predicted transmission delay as the downlink transmission delay.
本实施例中,该第一通信设备可以接收到该应用服务器发送的下行数据包。In this embodiment, the first communication device may receive a downlink data packet sent by the application server.
404、该第一通信设备将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延。404. The first communication device sends the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
该第一通信设备将第二方向的数据包(即下行数据包)发送给该第二通信设备,其中,该第二方向的数据包携带该第二传输时延(即下行传输时延)。The first communication device sends data packets in the second direction (ie, downlink data packets) to the second communication device, wherein the data packets in the second direction carry the second transmission delay (ie, downlink transmission delay).
一种可能实现方式中,该第一通信设备在该上行数据包的包头包括第一指示信息,该第一指示信息用于指示该下行传输时延。在此方案中,该第一通信设备还可以包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息(即(Packet Delay Budget,PDB)信息)。可以理解的是,该第二指示信息可以为实际存在的指示信息(即该第二指示信息占用一部分比特),也可以直接是该第一指示信息(即该第一指示信息除了指示该下行传输时延外,其隐含的意思就是指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息)。In a possible implementation manner, the first communication device includes first indication information in a packet header of the uplink data packet, where the first indication information is used to indicate the downlink transmission delay. In this solution, the first communication device may further include second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information (that is, (Packet Delay) indicated by using the QoS flow identifier. Budget, PDB) information). It can be understood that the second indication information may be actually existing indication information (that is, the second indication information occupies a part of bits), or it may be directly the first indication information (that is, the first indication information is not only indicating the downlink transmission) Delay outside, which implicitly means instructing the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier).
405、该第二通信设备根据该下行传输时延发送该下行数据包到终端设备。405. The second communication device sends the downlink data packet to the terminal device according to the downlink transmission delay.
本实施例中,图4中虚线用于指示该步骤为可选步骤,以下均相同,不再赘述。In this embodiment, the dotted line in FIG. 4 is used to indicate that this step is an optional step, which is the same below and will not be repeated here.
图4中仅仅是以第一方向为上行,第二方向为下行进行示例,又一种可能地实现方式中,若第一方向为下行,第二方向为上行,则该第一通信设备可以是终端设备,该第二通信设备为RAN。该第一通信设备接收到核心网设备通过第二通信设备发送的下行数据包,然后计算得到该下行数据包的下行传输时延;然后根据往返时延和该下行传输时延计算得到该下行数据包对应的上行数据包的上行传输时延,并将该上行传输时延携带至该上行数据包中发送至该第二通信设备,使得该第二通信设备利用该上行传输时延发送该上行数据包至核心网设备。In FIG. 4, only the first direction is the uplink and the second direction is the downlink for example. In another possible implementation manner, if the first direction is the downlink and the second direction is the uplink, the first communication device may be A terminal device, the second communication device is a RAN. The first communication device receives the downlink data packet sent by the core network device through the second communication device, and then calculates the downlink transmission delay of the downlink data packet; then calculates and obtains the downlink data according to the round-trip delay and the downlink transmission delay The uplink transmission delay of the uplink data packet corresponding to the packet is carried, and the uplink transmission delay is carried into the uplink data packet and sent to the second communication device, so that the second communication device uses the uplink transmission delay to send the uplink data. Packet to core network equipment.
同时在此方案上,为了解决上下行数据包的关联问题,该上行数据包中还携带第一信息,该第一信息用于指示该上行数据包的顺序,该下行数据包中还携带第二信息,该第二信息用于指示该下行数据包的顺序,其中,该第一信息和该第二信息用于确定该上行数据包与该下行数据包为一一对应关系。即若该上行数据包用于请求A,则该下行数据包中携带A。本实施例中,该第一信息与该第二信息可以是计数器(即message count),比如第 一个上行数据包中第一信息为1,而与该第一个上行数据包对应的下行数据包中的第二信息为1;第二个上行数据包的第一信息为2,而与该第二个上行数据包对应的下行数据包中的第二信息为2。因此在该第一通信设备确定上下行数据包的关联关系时,可以根据计数器是否相同来判断。At the same time, in this solution, in order to solve the problem of association between uplink and downlink data packets, the uplink data packets also carry first information, the first information is used to indicate the sequence of the uplink data packets, and the downlink data packets also carry the second information. information, the second information is used to indicate the sequence of the downlink data packets, wherein the first information and the second information are used to determine that the uplink data packet and the downlink data packet are in a one-to-one correspondence. That is, if the uplink data packet is used to request A, A is carried in the downlink data packet. In this embodiment, the first information and the second information may be counters (ie, message counts), for example, the first information in the first uplink data packet is 1, and the downlink data corresponding to the first uplink data packet The second information in the packet is 1; the first information in the second uplink data packet is 2, and the second information in the downlink data packet corresponding to the second uplink data packet is 2. Therefore, when the first communication device determines the association between the uplink and downlink data packets, it can be determined according to whether the counters are the same.
本实施例提供的技术方案中,该第一通信设备将该传输时延随包携带,使得该第二通信设备无需再根据服务质量流标识所指示的包延迟预算信息去查询传输时延,从而实现传输时延的精细动态调整,提升了用户的业务体验感。同时对于上下行数据包实现一一对应关联,解决了上下行数据包的乱序问题。In the technical solution provided by this embodiment, the first communication device carries the transmission delay with the packet, so that the second communication device does not need to query the transmission delay according to the packet delay budget information indicated by the QoS flow identifier, thereby Fine and dynamic adjustment of transmission delay is realized, which improves the user's service experience. At the same time, a one-to-one correspondence is implemented for the uplink and downlink data packets, which solves the disorder of the uplink and downlink data packets.
图5中以第一方向为上行,第二方向为下行,该第一通信设备为UPF,该第二通信设备为RAN进行示例,若下行传输时延由该UPF计算得到,此时该数据传输方法包括如下步骤:In FIG. 5, the first direction is the uplink, the second direction is the downlink, the first communication device is the UPF, and the second communication device is the RAN. If the downlink transmission delay is calculated by the UPF, the data transmission The method includes the following steps:
501、该终端设备通过该RAN发送上行数据包至UPF。501. The terminal device sends an uplink data packet to the UPF through the RAN.
在图2所示的网络架构中,若该终端设备已完成网络注册,并完成PDU会话的建立,此时,该终端设备与应用服务器之间的数据连接已建立。即该终端设备可以通过图2的网络架构与该应用服务器进行数据交互。本实施例中,若该数据传输应用于VR应用,则在该VR摄像头捕捉到动作数据之后,该终端设备上的VR生成上行数据包,其中,该终端设备为该上行数据包包括时间戳信息和该终端设备可以通过该RAN发送上行数据包至UPF。同时,该上行数据包中还可以包括第一信息,该第一信息用于指示该上行数据包的顺序。In the network architecture shown in FIG. 2 , if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 . In this embodiment, if the data transmission is applied to a VR application, after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device includes timestamp information for the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN. Meanwhile, the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
本实施例中,该上行数据包可以为上行IP数据包,该上行IP数据包包括IP包头和IP数据载荷。该第一信息可以包括在该IP包头也可以包括在该IP数据载荷中。一种示例性方案中,该第一信息可以是计数器(即message count),而该message count可放在IP包头的Option字段里。在此方案下,每捕捉一个动作数据并生成相应的上行IP数据包后,message count的值就会相应递增(如+1)。例如,第一个上行数据包里包含的message count的值为1,第二个上行数据包里包含的message count的值为2,以此类推。In this embodiment, the uplink data packet may be an uplink IP data packet, and the uplink IP data packet includes an IP packet header and an IP data payload. The first information may be included in the IP header or in the IP data payload. In an exemplary solution, the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header. Under this scheme, each time an action data is captured and a corresponding upstream IP packet is generated, the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
502、该UPF将该上行数据包发送至应用服务器,并计算得到该上行数据包的上行传输时延。502. The UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
该UPF在接收到该上行数据包之后,解析该上行数据包得到该时间戳信息和该第一信息并记录;然后将该上行数据包转发给该应用服务器。可以理解的是,若该上行数据包为上行IP数据包,则该UPF可以通过深度报文检测(Deep Packet Inspection,DPI)获取该时间戳信息和该第一信息(如message count)。可以理解的是,该UPF接收到上行数据包后还可以记录接收时间,因此该UPF通过接收时间和时间戳信息就可以计算得到上行数据包的上行传输时延。可选的,该UPF也可以通过记录将该上行数据包发送给该应用服务器的发送时间,然后根据该发送时间和该时间戳信息计算得到该上行数据包的上行传输时延。After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
503、该UPF接收应用服务器发送的下行数据包。503. The UPF receives the downlink data packet sent by the application server.
应用服务器从上行IP数据包中得到动作数据,再渲染出与动作相应的下一帧画面。应用服务器将画面数据生成下行数据包,并发送给该UPF。可以理解的是,该应用服务器可 以将该画面数据做IP封装生成下行IP数据包,该下行IP数据包中同样包含一个计数器message count,这个message count的值与对应的上行IP数据包的message count值存在对应关系,比如相同的值或者根据预设差值进行取值等等。例如,根据第一个上行IP数据包中的动作数据所生成的对应画面的下行数据包,message count值为1;根据第二个上行IP数据包生成的下行IP数据包,message count为2。The application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action. The application server generates a downlink data packet from the screen data, and sends it to the UPF. It can be understood that the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet. There is a corresponding relationship between the values, such as the same value or a value based on a preset difference, and so on. For example, for the downlink data packet of the corresponding screen generated according to the action data in the first uplink IP data packet, the message count value is 1; for the downlink IP data packet generated according to the second uplink IP data packet, the message count value is 2.
504、在该下行数据包与该上行数据包为一一对应关系时,该UPF根据往返时延和该上行数据包的上行传输时延计算得到该下行数据包的下行传输时延。504. When there is a one-to-one correspondence between the downlink data packet and the uplink data packet, the UPF calculates the downlink transmission delay of the downlink data packet according to the round-trip delay and the uplink transmission delay of the uplink data packet.
UPF接收到应用服务器发送的下行IP数据包,UPF通过DPI获得下行IP数据包中包含的message count值。UPF根据下行message count值去匹配之前上行message count值,直到找到一个上行的message count值与之相等。UPF用往返时延减去该message count对应的上行IP数据包的上行传输时延,就得到该下行IP数据包的需求时延。The UPF receives the downlink IP data packet sent by the application server, and the UPF obtains the message count value contained in the downlink IP data packet through DPI. UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it. UPF subtracts the upstream transmission delay of the upstream IP data packet corresponding to the message count from the round-trip delay to obtain the required delay of the downstream IP data packet.
本实施例中,为了减少UPF的处理量,该UPF可以在该上行传输时延大于或等于第一预设阈值时,才重新计算该下行传输时延。若未大于或等于该第一预设阈值,则该UPF可以直接利用已配置的下行传输时延作为该下行数据包的下行传输时延。比如,假设该往返时延为10毫秒,该第一预设阈值为5毫秒,预配置的上行传输时延为5毫秒,下行传输时延为5毫秒。若该上行传输时延为4毫秒,即小于该第一预设阈值时,该UPF可以利用确定该5毫秒为该下行数据包的下行传输时延;若该上行传输时延为6毫秒,即大于该第一预设阈值时,该UPF根据该往返时延和该上行传输时延确定该下行传输时延为4毫秒。In this embodiment, in order to reduce the processing amount of the UPF, the UPF may recalculate the downlink transmission delay only when the uplink transmission delay is greater than or equal to the first preset threshold. If it is not greater than or equal to the first preset threshold, the UPF may directly use the configured downlink transmission delay as the downlink transmission delay of the downlink data packet. For example, assuming that the round-trip delay is 10 milliseconds, the first preset threshold is 5 milliseconds, the preconfigured uplink transmission delay is 5 milliseconds, and the downlink transmission delay is 5 milliseconds. If the uplink transmission delay is 4 milliseconds, that is, less than the first preset threshold, the UPF can determine the 5 milliseconds as the downlink transmission delay of the downlink data packet; if the uplink transmission delay is 6 milliseconds, that is When the value is greater than the first preset threshold, the UPF determines that the downlink transmission delay is 4 milliseconds according to the round-trip delay and the uplink transmission delay.
505、该UPF将下行数据包发送到RAN,该下行数据包中携带该下行传输时延。505. The UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
UPF向RAN发送下行数据包。一种示例性方案中,该UPF可以将该下行数据包封装为通用分组无线服务隧道协议(general packet radio service tunnelling protocol,GTP)报文以便在RAN和UPF之间的N3接口传输。其中GTP报文头中包含了用于指示该下行传输时延的第一指示信息(一种示例性方案中,该第一指示信息为PDB value信元,该信元的值等于下行数据包对应的下行传输时延)。可选的,GTP报文头中还可以包含第二指示信息,用于指示该RAN跳过使用服务质量流标识所指示的PDB信息。The UPF sends downlink packets to the RAN. In an exemplary solution, the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF. The GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay). Optionally, the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
506、该RAN根据该下行传输时延发送该下行数据包至终端设备。506. The RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
RAN接收该到该下行数据包之后,若检测到根据该下行数据包中包括该第一指示信息和该第二指示信息,则RAN可以忽略该下行数据包中携带的服务质量流标识所指示的PDB信息(相当于服务质量流标识指示的固定PDB失效),而以第一指示信息指示的下行传输时延为准。一种示例性方案中,该RAN依照PDB value所指示的时延值来调度空口资源,将该下行数据包传输给终端设备。After the RAN receives the downlink data packet, if it detects that the downlink data packet includes the first indication information and the second indication information, the RAN may ignore the quality of service flow identifier carried in the downlink data packet. PDB information (equivalent to the fixed PDB failure indicated by the quality of service flow identifier), and the downlink transmission delay indicated by the first indication information shall prevail. In an exemplary solution, the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
可选地,该RAN可以设置策略为只要该下行数据包中包括了该第一指示信息,则默认该RAN跳过使用服务质量流标识所指示的PDB信息。一种示例性方案中,若该RAN检测到该下行数据包中包括了该PDB value,则该RAN根据PDB value所指示的时延值来忽略下行数据包中携带的QFI所指示的PDB信息,仍以PDB value所指示的数值来保障下行数据包的传输。RAN节点按照PDB value所指示的时延值调度资源,将该下行数据包发送到终端设备。Optionally, the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier. In an exemplary solution, if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value. The RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
本实施例中,该UPF通过message count递增的方式来标记相关联的上下行数据包,并且UPF通过DPI识别应用层数据中的message count,完成上下行数据包的正确关联。同时UPF将下行数据包包头上携带动态PDB,以指示RAN节点根据最新的动态PDB value对下行数据包进行调度,实现下行数据包的精准灵活调度。In this embodiment, the UPF marks the associated uplink and downlink data packets by increasing the message count, and the UPF identifies the message count in the application layer data through DPI to complete the correct association of the uplink and downlink data packets. At the same time, the UPF carries the dynamic PDB in the header of the downlink data packet to instruct the RAN node to schedule the downlink data packet according to the latest dynamic PDB value, so as to realize accurate and flexible scheduling of the downlink data packet.
图6中以第一方向为上行,第二方向为下行,该第一通信设备为UPF,该第二通信设备为RAN进行示例,若下行传输时延由该SMF计算得到,此时该数据传输方法包括如下步骤:In FIG. 6, the first direction is the uplink, the second direction is the downlink, the first communication device is the UPF, and the second communication device is the RAN. If the downlink transmission delay is calculated by the SMF, the data transmission The method includes the following steps:
601、该终端设备通过该RAN发送上行数据包至UPF。601. The terminal device sends an uplink data packet to the UPF through the RAN.
在图2所示的网络架构中,若该终端设备已完成网络注册,并完成PDU会话的建立,此时,该终端设备与应用服务器之间的数据连接已建立。即该终端设备可以通过图2的网络架构与该应用服务器进行数据交互。本实施例中,若该数据传输应用于VR应用,则在该VR摄像头捕捉到动作数据之后,该终端设备上的VR生成上行数据包,其中,该终端设备为该上行数据包添加时间戳信息和该终端设备可以通过该RAN发送上行数据包至UPF。同时,该上行数据包中还可以包括第一信息,该第一信息用于指示该上行数据包的顺序。In the network architecture shown in FIG. 2 , if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 . In this embodiment, if the data transmission is applied to a VR application, after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device adds timestamp information to the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN. Meanwhile, the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
本实施例中,该上行数据包可以为上行IP数据包,该上行IP数据包包括IP包头和IP数据载荷。该第一信息可以包括在该IP包头也可以包括在该IP数据载荷中。一种示例性方案中,该第一信息可以是计数器(即message count),而该message count可放在IP包头的Option字段里。在此方案下,每捕捉一个动作数据并生成相应的上行IP数据包后,message count的值就会相应递增(如+1)。例如,第一个上行数据包里包含的message count的值为1,第二个上行数据包里包含的message count的值为2,以此类推。In this embodiment, the uplink data packet may be an uplink IP data packet, and the uplink IP data packet includes an IP packet header and an IP data payload. The first information may be included in the IP header or in the IP data payload. In an exemplary solution, the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header. Under this scheme, each time an action data is captured and a corresponding upstream IP packet is generated, the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
602、该UPF将该上行数据包发送至应用服务器,并计算得到该上行数据包的上行传输时延。602. The UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
该UPF在接收到该上行数据包之后,解析该上行数据包得到该时间戳信息和该第一信息并记录;然后将该上行数据包转发给该应用服务器。可以理解的是,若该上行数据包为上行IP数据包,则该UPF可以通过深度报文检测(Deep Packet Inspection,DPI)获取该时间戳信息和该第一信息(如message count)。可以理解的是,该UPF接收到上行数据包后还可以记录接收时间,因此该UPF通过接收时间和时间戳信息就可以计算得到上行数据包的上行传输时延。可选的,该UPF也可以通过记录将该上行数据包发送给该应用服务器的发送时间,然后根据该发送时间和该时间戳信息计算得到该上行数据包的上行传输时延。After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
603、该UPF将该上行传输时延上报至SMF。603. The UPF reports the uplink transmission delay to the SMF.
该UPF将计算得到的上行传输时延上报到SMF。可以理解的是,该UPF在上报该上行传输时延时可以采用如下方案:The UPF reports the calculated uplink transmission delay to the SMF. It can be understood that the UPF may adopt the following scheme for delaying when reporting the uplink transmission:
一种可能实现方式中,该UPF可以实时上报该上行传输时延,即计算得到一个上行传输时延就上报一次。In a possible implementation manner, the UPF may report the uplink transmission delay in real time, that is, the uplink transmission delay is reported once when an uplink transmission delay is calculated.
另一种可能实现方式中,该UPF可以将上行传输时延累积到预设数目或者数据传输时长达到预设时长之后,将计算得到上行传输时延批量上报给该SMF。比如UPF累积100个 上行数据包的上行传输时延,再统一地一次上报给SMF。或者,该UPF累积在2分钟内的上行数据包的上行传输时延,再统一地一次上报给SMF。In another possible implementation manner, the UPF may accumulate the uplink transmission delays to a preset number or after the data transmission duration reaches the preset duration, and then report the calculated uplink transmission delays to the SMF in batches. For example, the UPF accumulates the upstream transmission delay of 100 upstream data packets, and then reports it to the SMF in a unified manner. Alternatively, the UPF accumulates the uplink transmission delay of the uplink data packets within 2 minutes, and then reports it to the SMF in a unified manner.
604、该SMF根据该上行传输时延和往返时延确定下行传输时延。604. The SMF determines the downlink transmission delay according to the uplink transmission delay and the round-trip delay.
该SMF在接收到该上行传输时延之后,据往返时延和该上行传输时延计算下行传输时延。而该往返时延可以是预配置在该SMF上,也可以是由其他网元发送给该SMF。可以理解的是,该SMF在计算该下行传输时延时,可以采用如下方案:After receiving the uplink transmission delay, the SMF calculates the downlink transmission delay according to the round-trip delay and the uplink transmission delay. The round-trip delay may be pre-configured on the SMF, or may be sent to the SMF by other network elements. It can be understood that, when the SMF calculates the downlink transmission delay, the following scheme can be adopted:
一种可能实现方式中,该SMF基于单次上报的上行传输时延计算下行传输时延。比如,对于每一次上报的上行传输时延对计算一个对应的下行传输时延。而为了减少SMF的处理量,该SMF可以某个上行传输时延大于或等于第一预设阈值时,再计算该上行传输时延对应的下行传输时延。In a possible implementation manner, the SMF calculates the downlink transmission delay based on the uplink transmission delay reported for a single time. For example, for each reported uplink transmission delay pair, a corresponding downlink transmission delay is calculated. In order to reduce the processing amount of the SMF, the SMF may calculate the downlink transmission delay corresponding to the uplink transmission delay when a certain uplink transmission delay is greater than or equal to the first preset threshold.
另一种可能实现方式中,该SMF可以基于多次上行传输时延来计算下行传输时延。一种示例性方案中,该SMF统计预设时长内的上行传输时延并求取平均值得到平均上行传输时延,若该平均上行传输时延呈现上涨趋势或者该平均上行传输时延大于或等于第二预设阈值,则该SMF根据该往返时延和该平均上行传输时延计算得到平均下行传输时延作为该下行传输时延。In another possible implementation manner, the SMF may calculate the downlink transmission delay based on multiple uplink transmission delays. In an exemplary solution, the SMF counts the uplink transmission delay within a preset time period and obtains an average value to obtain the average uplink transmission delay. If the average uplink transmission delay shows an upward trend or the average uplink transmission delay is greater than or is equal to the second preset threshold, then the SMF calculates the average downlink transmission delay according to the round-trip delay and the average uplink transmission delay as the downlink transmission delay.
605、该SMF发起PDU会话更新流程将该下行传输时延配置给该UPF。605. The SMF initiates a PDU session update procedure to configure the downlink transmission delay to the UPF.
在该SMF计算得到下行传输时延之后,发起PDU会话更新流程,从而实现将该下行传输时延配置给该UPF的过程。After the SMF calculates and obtains the downlink transmission delay, a PDU session update process is initiated, so as to realize the process of configuring the downlink transmission delay to the UPF.
606、该UPF接收应用服务器发送的下行数据包。606. The UPF receives the downlink data packet sent by the application server.
应用服务器从上行IP数据包中得到动作数据,再渲染出与动作相应的下一帧画面。应用服务器将画面数据生成下行数据包,并发送给该UPF。可以理解的是,该应用服务器可以将该画面数据做IP封装生成下行IP数据包,该下行IP数据包中同样包含一个计数器message count,这个message count的值与对应的上行IP数据包的message count值存在对应关系,比如相同的值或者根据预设差值进行取值等等。例如,根据第一个上行IP数据包中的动作数据所生成的对应画面的下行数据包,message count值为1;根据第二个上行IP数据包生成的下行IP数据包,message count为2。The application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action. The application server generates a downlink data packet from the screen data, and sends it to the UPF. It can be understood that the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet. There is a corresponding relationship between the values, such as the same value or a value based on a preset difference, and so on. For example, for the downlink data packet of the corresponding screen generated according to the action data in the first uplink IP data packet, the message count value is 1; for the downlink IP data packet generated according to the second uplink IP data packet, the message count value is 2.
607、该UPF将下行数据包发送到RAN,该下行数据包中携带该下行传输时延。607. The UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
UPF向RAN发送下行数据包。一种示例性方案中,该UPF可以将该下行数据包封装为通用分组无线服务隧道协议(general packet radio service tunnelling protocol,GTP)报文以便在RAN和UPF之间的N3接口传输。其中GTP报文头中包含了用于指示该下行传输时延的第一指示信息(一种示例性方案中,该第一指示信息为PDB value信元,该信元的值等于下行数据包对应的下行传输时延)。可选的,GTP报文头中还可以包含第二指示信息,用于指示该RAN跳过使用服务质量流标识所指示的PDB信息。The UPF sends downlink packets to the RAN. In an exemplary solution, the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF. The GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay). Optionally, the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
可以理解的是,该UPF接收到应用服务器发送的下行数据包后,还可以根据将该下行数据包与上行数据包进行关联,从而实现排序发送。一种示例性方案中,该UPF通过DPI获得下行数据包中包含的message count值。UPF根据下行message count值去匹配之前上行message count值,直到找到一个上行的message count值与之相等。此时,该message  count值所指示的上行数据包则与该下行数据包相对应,而为了上下行数据不乱序,则该UPF可以根据message count值进行排序。It can be understood that, after receiving the downlink data packet sent by the application server, the UPF can also associate the downlink data packet with the uplink data packet, so as to realize ordering and sending. In an exemplary solution, the UPF obtains the message count value contained in the downlink data packet through DPI. UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it. At this time, the uplink data packet indicated by the message count value corresponds to the downlink data packet, and in order to keep the uplink and downlink data out of order, the UPF can be sorted according to the message count value.
608、该RAN根据该下行传输时延发送该下行数据包至终端设备。608. The RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
RAN接收该到该下行数据包之后,若检测到根据该下行数据包中包括该第一指示信息和该第二指示信息,则RAN可以忽略该下行数据包中携带的服务质量流标识所指示的PDB信息(相当于服务质量流标识指示的固定PDB失效),而以第一指示信息指示的下行传输时延为准。一种示例性方案中,该RAN依照PDB value所指示的时延值来调度空口资源,将该下行数据包传输给终端设备。After the RAN receives the downlink data packet, if it detects that the downlink data packet includes the first indication information and the second indication information, the RAN may ignore the quality of service flow identifier carried in the downlink data packet. PDB information (equivalent to the fixed PDB failure indicated by the quality of service flow identifier), and the downlink transmission delay indicated by the first indication information shall prevail. In an exemplary solution, the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
可选地,该RAN可以设置策略为只要该下行数据包中包括了该第一指示信息,则默认该RAN跳过使用服务质量流标识所指示的PDB信息。一种示例性方案中,若该RAN检测到该下行数据包中包括了该PDB value,则该RAN根据PDB value所指示的时延值来忽略下行数据包中携带的QFI所指示的PDB信息,仍以PDB value所指示的数值来保障下行数据包的传输。RAN节点按照PDB value所指示的时延值调度资源,将该下行数据包发送到终端设备。Optionally, the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier. In an exemplary solution, if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value. The RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
图7中以第一方向为上行,第二方向为下行,该第一通信设备为UPF,该第二通信设备为RAN进行示例,若下行传输时延由该NWDAF计算得到,此时该数据传输方法包括如下步骤:In FIG. 7, the first direction is the uplink, the second direction is the downlink, the first communication device is the UPF, and the second communication device is the RAN. If the downlink transmission delay is calculated by the NWDAF, then the data transmission The method includes the following steps:
701、该终端设备通过该RAN发送上行数据包至UPF。701. The terminal device sends an uplink data packet to the UPF through the RAN.
在图2所示的网络架构中,若该终端设备已完成网络注册,并完成PDU会话的建立,此时,该终端设备与应用服务器之间的数据连接已建立。即该终端设备可以通过图2的网络架构与该应用服务器进行数据交互。本实施例中,若该数据传输应用于VR应用,则在该VR摄像头捕捉到动作数据之后,该终端设备上的VR生成上行数据包,其中,该终端设备为该上行数据包添加时间戳信息和该终端设备可以通过该RAN发送上行数据包至UPF。同时,该上行数据包中还可以包括第一信息,该第一信息用于指示该上行数据包的顺序。In the network architecture shown in FIG. 2 , if the terminal device has completed the network registration and the establishment of the PDU session, at this time, the data connection between the terminal device and the application server has been established. That is, the terminal device can perform data interaction with the application server through the network architecture of FIG. 2 . In this embodiment, if the data transmission is applied to a VR application, after the VR camera captures the motion data, the VR on the terminal device generates an uplink data packet, wherein the terminal device adds timestamp information to the uplink data packet And the terminal equipment can send uplink data packets to the UPF through the RAN. Meanwhile, the uplink data packet may further include first information, where the first information is used to indicate the sequence of the uplink data packet.
本实施例中,该上行数据包可以为上行IP数据包,该上行IP数据包包括IP包头和IP数据载荷。该第一信息可以包括在该IP包头也可以包括在该IP数据载荷中。一种示例性方案中,该第一信息可以是计数器(即message count),而该message count可放在IP包头的Option字段里。在此方案下,每捕捉一个动作数据并生成相应的上行IP数据包后,message count的值就会相应递增(如+1)。例如,第一个上行数据包里包含的message count的值为1,第二个上行数据包里包含的message count的值为2,以此类推。In this embodiment, the uplink data packet may be an uplink IP data packet, and the uplink IP data packet includes an IP packet header and an IP data payload. The first information may be included in the IP header or in the IP data payload. In an exemplary solution, the first information may be a counter (ie, message count), and the message count may be placed in the Option field of the IP packet header. Under this scheme, each time an action data is captured and a corresponding upstream IP packet is generated, the value of the message count will increase accordingly (eg +1). For example, the value of message count contained in the first upstream data packet is 1, the value of message count contained in the second upstream data packet is 2, and so on.
702、该UPF将该上行数据包发送至应用服务器,并计算得到该上行数据包的上行传输时延。702. The UPF sends the uplink data packet to the application server, and calculates the uplink transmission delay of the uplink data packet.
该UPF在接收到该上行数据包之后,解析该上行数据包得到该时间戳信息和该第一信息并记录;然后将该上行数据包转发给该应用服务器。可以理解的是,若该上行数据包为上行IP数据包,则该UPF可以通过深度报文检测(Deep Packet Inspection,DPI)获取该时间戳信息和该第一信息(如message count)。可以理解的是,该UPF接收到上行数据包后还可以记录接收时间,因此该UPF通过接收时间和时间戳信息就可以计算得到上行数 据包的上行传输时延。可选的,该UPF也可以通过记录将该上行数据包发送给该应用服务器的发送时间,然后根据该发送时间和该时间戳信息计算得到该上行数据包的上行传输时延。After receiving the uplink data packet, the UPF parses the uplink data packet to obtain the timestamp information and the first information and records it; and then forwards the uplink data packet to the application server. It can be understood that, if the upstream data packet is an upstream IP data packet, the UPF can obtain the timestamp information and the first information (such as message count) through deep packet inspection (Deep Packet Inspection, DPI). It can be understood that the UPF can also record the receiving time after receiving the uplink data packet, so the UPF can calculate the uplink transmission delay of the uplink data packet through the receiving time and time stamp information. Optionally, the UPF may also record the sending time of sending the uplink data packet to the application server, and then calculate the uplink transmission delay of the uplink data packet according to the sending time and the timestamp information.
703、该UPF将该上行传输时延上报至NWDAF。703. The UPF reports the uplink transmission delay to the NWDAF.
该UPF将计算得到的上行传输时延上报到NWDAF。可以理解的是,该UPF在上报该上行传输时延时可以采用如下方案:The UPF reports the calculated uplink transmission delay to the NWDAF. It can be understood that the UPF may adopt the following scheme for delaying when reporting the uplink transmission:
一种可能实现方式中,该UPF可以实时上报该上行传输时延,即计算得到一个上行传输时延就上报一次。In a possible implementation manner, the UPF may report the uplink transmission delay in real time, that is, the uplink transmission delay is reported once when an uplink transmission delay is calculated.
另一种可能实现方式中,该UPF可以将上行传输时延累积到预设数目或者数据传输时长达到预设时长之后,将计算得到上行传输时延批量上报给该NWDAF。比如UPF累积100个上行数据包的上行传输时延,再统一地一次上报给NWDAF。或者,该UPF累积在2分钟内的上行数据包的上行传输时延,再统一地一次上报给NWDAF。In another possible implementation manner, the UPF may accumulate the uplink transmission delays to a preset number or after the data transmission duration reaches the preset duration, and then report the calculated uplink transmission delays to the NWDAF in batches. For example, the UPF accumulates the upstream transmission delay of 100 upstream data packets, and then reports it to the NWDAF in a unified manner. Alternatively, the UPF accumulates the uplink transmission delay of the uplink data packets within 2 minutes, and then reports it to the NWDAF in a unified manner.
704、该NWDAF根据该上行传输时延和往返时延确定下行传输时延。704. The NWDAF determines the downlink transmission delay according to the uplink transmission delay and the round-trip delay.
该NWDAF在接收到该上行传输时延之后,据往返时延和该上行传输时延计算下行传输时延。而该往返时延可以是预配置在该NWDAF上,也可以是由其他网元发送给该NWDAF。可以理解的是,该NWDAF在计算该下行传输时延时,可以采用如下方案:After receiving the uplink transmission delay, the NWDAF calculates the downlink transmission delay according to the round-trip delay and the uplink transmission delay. The round-trip delay may be pre-configured on the NWDAF, or may be sent to the NWDAF by other network elements. It can be understood that, the NWDAF may adopt the following scheme when calculating the downlink transmission delay:
一种可能实现方式中,该NWDAF基于单次上报的上行传输时延计算下行传输时延。比如,对于每一次上报的上行传输时延对计算一个对应的下行传输时延。而为了减少NWDAF的处理量,该NWDAF可以某个上行传输时延大于或等于第一预设阈值时,再计算该上行传输时延对应的下行传输时延。In a possible implementation manner, the NWDAF calculates the downlink transmission delay based on the uplink transmission delay reported in a single report. For example, for each reported uplink transmission delay pair, a corresponding downlink transmission delay is calculated. In order to reduce the processing amount of the NWDAF, the NWDAF may calculate the downlink transmission delay corresponding to the uplink transmission delay when a certain uplink transmission delay is greater than or equal to the first preset threshold.
另一种可能实现方式中,该NWDAF可以基于多次上行传输时延来计算下行传输时延。一种示例性方案中,该NWDAF统计预设时长内的上行传输时延并求取平均值得到平均上行传输时延,若该平均上行传输时延呈现上涨趋势或者该平均上行传输时延大于或等于第二预设阈值,则该NWDAF根据该往返时延和该平均上行传输时延计算得到平均下行传输时延作为该下行传输时延。In another possible implementation manner, the NWDAF may calculate the downlink transmission delay based on multiple uplink transmission delays. In an exemplary solution, the NWDAF counts the uplink transmission delay within a preset time period and obtains an average value to obtain the average uplink transmission delay. If the average uplink transmission delay shows an upward trend or the average uplink transmission delay is greater than or is equal to the second preset threshold, then the NWDAF calculates the average downlink transmission delay according to the round-trip delay and the average uplink transmission delay as the downlink transmission delay.
另一种可能实现方式中,该NWDAF还可以根据历史上行传输时延和当前网络参数、用户数、时间段、位置信息等信息综合预测得到一个预测传输时延,而该预测传输时延与时间段和/或位置信息相关联。即该预测传输时延只适用于某一特定的时间段或者适用于某一特定位置或者两者皆有。In another possible implementation manner, the NWDAF can also comprehensively predict and obtain a predicted transmission delay according to the historical uplink transmission delay and information such as current network parameters, number of users, time period, location information, etc., and the predicted transmission delay and time segment and/or location information. That is, the predicted transmission delay is only applicable to a specific time period or to a specific location or both.
705、该NWDAF将该下行传输时延发送到该SMF。705. The NWDAF sends the downlink transmission delay to the SMF.
706、该SMF发起PDU会话更新流程将该下行传输时延配置给该UPF。706. The SMF initiates a PDU session update procedure to configure the downlink transmission delay to the UPF.
在该SMF计算得到下行传输时延之后,发起PDU会话更新流程,从而实现将该下行传输时延配置给该UPF的过程。After the SMF calculates and obtains the downlink transmission delay, a PDU session update process is initiated, so as to realize the process of configuring the downlink transmission delay to the UPF.
可选的,该NWDAF还可以将该下行传输时延发送给UPF。例如,UPF向NWDAF订阅服务,该服务用于订阅预测的下行传输时延。当NWDAF计算得到一个预测的下行传输时延时,NWDAF可以以服务通知的方式将该预测下行传输时延时延发送给UPF。Optionally, the NWDAF may also send the downlink transmission delay to the UPF. For example, the UPF subscribes to the NWDAF service for subscribing to the predicted downlink transmission delay. When the NWDAF calculates and obtains a predicted downlink transmission delay, the NWDAF may send the predicted downlink transmission delay to the UPF in the form of a service notification.
707、该UPF接收应用服务器发送的下行数据包。707. The UPF receives the downlink data packet sent by the application server.
应用服务器从上行IP数据包中得到动作数据,再渲染出与动作相应的下一帧画面。应用服务器将画面数据生成下行数据包,并发送给该UPF。可以理解的是,该应用服务器可以将该画面数据做IP封装生成下行IP数据包,该下行IP数据包中同样包含一个计数器message count,这个message count的值与对应的上行IP数据包的message count值存在对应关系,比如相同的值或者根据预设差值进行取值等等。例如,根据第一个上行IP数据包中的动作数据所生成的对应画面的下行数据包,message count值为1;根据第二个上行IP数据包生成的下行IP数据包,message count为2。The application server obtains the action data from the upstream IP data packet, and then renders the next frame corresponding to the action. The application server generates a downlink data packet from the screen data, and sends it to the UPF. It can be understood that the application server can perform IP encapsulation on the screen data to generate a downlink IP data packet, and the downlink IP data packet also includes a counter message count, and the value of this message count corresponds to the message count of the corresponding uplink IP data packet. There is a corresponding relationship between the values, such as the same value or a value based on a preset difference, and so on. For example, for the downlink data packet of the corresponding screen generated according to the action data in the first uplink IP data packet, the message count value is 1; for the downlink IP data packet generated according to the second uplink IP data packet, the message count value is 2.
708、该UPF将下行数据包发送到RAN,该下行数据包中携带该下行传输时延。708. The UPF sends a downlink data packet to the RAN, where the downlink data packet carries the downlink transmission delay.
UPF向RAN发送下行数据包。一种示例性方案中,该UPF可以将该下行数据包封装为通用分组无线服务隧道协议(general packet radio service tunnelling protocol,GTP)报文以便在RAN和UPF之间的N3接口传输。其中GTP报文头中包含了用于指示该下行传输时延的第一指示信息(一种示例性方案中,该第一指示信息为PDB value信元,该信元的值等于下行数据包对应的下行传输时延)。可选的,GTP报文头中还可以包含第二指示信息,用于指示该RAN跳过使用服务质量流标识所指示的PDB信息。The UPF sends downlink packets to the RAN. In an exemplary solution, the UPF may encapsulate the downlink data packet into a general packet radio service tunneling protocol (General Packet Radio Service Tunnelling Protocol, GTP) message for transmission on the N3 interface between the RAN and the UPF. The GTP packet header includes first indication information for indicating the downlink transmission delay (in an exemplary solution, the first indication information is a PDB value cell, and the value of the cell is equal to the corresponding downlink data packet). downlink transmission delay). Optionally, the GTP packet header may further include second indication information, which is used to instruct the RAN to skip the PDB information indicated by using the QoS flow identifier.
可以理解的是,该UPF接收到应用服务器发送的下行数据包后,还可以根据将该下行数据包与上行数据包进行关联,从而实现排序发送。一种示例性方案中,该UPF通过DPI获得下行数据包中包含的message count值。UPF根据下行message count值去匹配之前上行message count值,直到找到一个上行的message count值与之相等。此时,该message count值所指示的上行数据包则与该下行数据包相对应,而为了上下行数据不乱序,则该UPF可以根据message count值进行排序。It can be understood that, after receiving the downlink data packet sent by the application server, the UPF can also associate the downlink data packet with the uplink data packet, so as to realize ordering and sending. In an exemplary solution, the UPF obtains the message count value contained in the downlink data packet through DPI. UPF matches the previous upstream message count value according to the downstream message count value until it finds an upstream message count value that is equal to it. At this time, the uplink data packet indicated by the message count value corresponds to the downlink data packet, and in order to keep the uplink and downlink data out of order, the UPF can be sorted according to the message count value.
709、该RAN根据该下行传输时延发送该下行数据包至终端设备。709. The RAN sends the downlink data packet to the terminal device according to the downlink transmission delay.
RAN接收该到该下行数据包之后,若检测到根据该下行数据包中包括该第一指示信息和该第二指示信息,则RAN可以忽略该下行数据包中携带的服务质量流标识所指示的PDB信息(相当于服务质量流标识指示的固定PDB失效),而以第一指示信息指示的下行传输时延为准。一种示例性方案中,该RAN依照PDB value所指示的时延值来调度空口资源,将该下行数据包传输给终端设备。After the RAN receives the downlink data packet, if it detects that the downlink data packet includes the first indication information and the second indication information, the RAN may ignore the quality of service flow identifier carried in the downlink data packet. PDB information (equivalent to the fixed PDB failure indicated by the quality of service flow identifier), and the downlink transmission delay indicated by the first indication information shall prevail. In an exemplary solution, the RAN schedules air interface resources according to the delay value indicated by the PDB value, and transmits the downlink data packet to the terminal device.
可选地,该RAN可以设置策略为只要该下行数据包中包括了该第一指示信息,则默认该RAN跳过使用服务质量流标识所指示的PDB信息。一种示例性方案中,若该RAN检测到该下行数据包中包括了该PDB value,则该RAN根据PDB value所指示的时延值来忽略下行数据包中携带的QFI所指示的PDB信息,仍以PDB value所指示的数值来保障下行数据包的传输。RAN节点按照PDB value所指示的时延值调度资源,将该下行数据包发送到终端设备。Optionally, the RAN may set a policy that as long as the downlink data packet includes the first indication information, the RAN skips by default the PDB information indicated by the quality of service flow identifier. In an exemplary solution, if the RAN detects that the PDB value is included in the downlink data packet, the RAN ignores the PDB information indicated by the QFI carried in the downlink data packet according to the delay value indicated by the PDB value, The transmission of downlink data packets is still guaranteed by the value indicated by the PDB value. The RAN node schedules resources according to the delay value indicated by the PDB value, and sends the downlink data packet to the terminal device.
可以理解的是,以上各个实施例中,由第一通信设备实现的方法和/或步骤,也可以由可用于第一通信设备的部件(例如芯片或者电路)实现;由第二通信设备实现的方法和/或步骤,也可以由可用于第二通信设备的部件(例如芯片或者电路)实现;由核心网设备实现的方法和/或步骤,也可以由可用于核心网设备的部件(例如芯片或者电路)实现。It can be understood that, in the above embodiments, the methods and/or steps implemented by the first communication device may also be implemented by components (such as chips or circuits) that can be used in the first communication device; The methods and/or steps may also be implemented by components (such as chips or circuits) that can be used in the second communication device; the methods and/or steps implemented by core network devices may also be implemented by components (such as chips) that can be used in core network devices. or circuit) implementation.
上述主要从各个设备之间交互的角度对本申请实施例提供的方案进行了介绍。相应的, 本申请实施例还提供了通信装置,该通信装置可以为上述方法实施例中的第一通信设备,或者包含上述第一通信设备的装置,或者为可用于第一通信设备的部件;或者,该通信装置可以为上述方法实施例中的第二通信设备,或者包含上述第二通信设备的装置,或者为可用于第二通信设备的部件;或者,该通信装置可以为上述方法实施例中的核心网网元,或者包含上述核心网网元的装置,或者为可用于核心网网元的部件。可以理解的是,该通信装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various devices. Correspondingly, an embodiment of the present application further provides a communication apparatus, and the communication apparatus may be the first communication device in the foregoing method embodiment, or an apparatus including the foregoing first communication device, or a component usable for the first communication device; Alternatively, the communication device may be the second communication device in the foregoing method embodiment, or a device including the foregoing second communication device, or a component usable for the second communication device; or, the communication device may be the foregoing method embodiment The core network element in , or a device including the above-mentioned core network element, or a component that can be used for the core network element. It can be understood that, in order to realize the above-mentioned functions, the communication apparatus includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
具体请参阅图8所示,本申请实施例中通信装置800包括:接收模块801、处理模块802以及发送模块803,其中接收模块801、处理模块802和发送模块803通过总线连接。通信装置800可以用于执行上述设备的部分或全部功能。8 , the communication device 800 in this embodiment of the present application includes: a receiving module 801, a processing module 802 and a sending module 803, wherein the receiving module 801, the processing module 802 and the sending module 803 are connected through a bus. The communication apparatus 800 may be used to perform part or all of the functions of the above-mentioned devices.
例如,该接收模块801,用于接收第一方向的数据包;该处理模块802,用于获取该第一方向的数据包的第一传输时延;根据该第一传输时延和往返时延确定第二方向的数据包的第二传输时延;该发送模块803,用于将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延;若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。For example, the receiving module 801 is used to receive the data packets in the first direction; the processing module 802 is used to obtain the first transmission delay of the data packets in the first direction; according to the first transmission delay and the round-trip delay Determine the second transmission delay of the data packet in the second direction; the sending module 803 is configured to send the data packet in the second direction to the second communication device, and the data packet in the second direction carries the second transmission time If the first direction is upward, the second direction is downward; or, if the first direction is downward, then the second direction is upward.
可选的,该第二方向的数据包的包头包括第一指示信息,该第一指示信息用于指示该第二传输时延。Optionally, the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay.
可选的,该第二方向的数据包中还包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。Optionally, the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
可选的,该第一方向的数据包中包括第一信息,该第一信息用于指示该第一方向的数据包的顺序;该第二方向的数据包中包括第二信息,该第二信息用于指示该第二方向的数据包的顺序;该第一信息和该第二信息用于确定该第一方向的数据包与该第二方向的数据包为一一对应的关系。Optionally, the data packets in the first direction include first information, and the first information is used to indicate the sequence of the data packets in the first direction; the data packets in the second direction include second information, the second information The information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine a one-to-one correspondence between the data packets in the first direction and the data packets in the second direction.
可选的,该处理模块802,具体用于在该第一传输时延大于或等于第一预设阈值时,根据该往返时延和该第一传输时延的差值确定该第二方向的数据包的第二传输时延。Optionally, the processing module 802 is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay. The second transmission delay of the data packet.
可选的,该接收模块801,还用于获取该第一方向的数据包的平均传输时延;该处理模块802,还用于在该平均传输时延大于或等于第二预设阈值时,根据该往返时延和该平均传输时延的差值确定该第二方向的数据包的第二传输时延。Optionally, the receiving module 801 is further configured to obtain the average transmission delay of the data packets in the first direction; the processing module 802 is further configured to, when the average transmission delay is greater than or equal to the second preset threshold, The second transmission delay of the data packet in the second direction is determined according to the difference between the round-trip delay and the average transmission delay.
可选的,该平均传输时延由第三通信设备统计预设时长内该第一通信设备上报的第一方向的数据包的传输时延得到;该接收模块801,用于从第三通信设备接收该平均传输时延。Optionally, the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period; the receiving module 801 is used for receiving data from the third communication device. The average transmission delay is received.
可选的,该接收模块801,还用于获取该第二方向的数据包的预测传输时延,该预测传输时延与时间段和/或位置信息相关联;该处理模块802,还用于在该时间段和/或该位 置信息,确定该预测传输时延为该第二方向的数据包的第二传输时延。Optionally, the receiving module 801 is further configured to obtain the predicted transmission delay of the data packet in the second direction, where the predicted transmission delay is associated with the time period and/or the location information; the processing module 802 is further configured to During the time period and/or the location information, the predicted transmission delay is determined as the second transmission delay of the data packets in the second direction.
可选的,该预测传输时延由第四通信设备根据该第一通信设备上报的第一方向的数据包的历史传输时延和当前状态信息预测得到,该当前状态信息包括当前网络参数、用户数、时间段以及位置信息;该接收模块801,具体用于从第四通信设备接收该平均传输时延。Optionally, the predicted transmission delay is predicted and obtained by the fourth communication device according to the historical transmission delay of the data packets in the first direction reported by the first communication device and current state information, where the current state information includes current network parameters, user number, time period and location information; the receiving module 801 is specifically configured to receive the average transmission delay from the fourth communication device.
可选的,该处理模块802,具体用于根据接收时间和时间戳信息计算得到该第一传输时延,该接收时间用于指示该第一通信设备接收到该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻;或,根据发送时间和时间戳信息计算得到该第一传输时延,该发送时间用于指示该第一通信设备向应用服务器发送该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻。Optionally, the processing module 802 is specifically configured to calculate and obtain the first transmission delay according to the reception time and timestamp information, where the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction. , the timestamp information is used to indicate the sending time of the data packet in the first direction; or, the first transmission delay is calculated according to the sending time and the timestamp information, and the sending time is used to indicate the first communication device to the application The time when the server sends the data packet in the first direction, and the timestamp information is used to indicate the sending time of the data packet in the first direction.
可选的,通信装置800还包括存储模块,此存储模块与处理模块耦合,使得处理模块可执行存储模块中存储的计算机执行指令以实现上述方法实施例中会议记录处理装置的功能。在一个示例中,通信装置800中可选的包括的存储模块可以为芯片内的存储单元,如寄存器、缓存等,该存储模块还可以是位于芯片外部的存储单元,如ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM等。Optionally, the communication apparatus 800 further includes a storage module, which is coupled with the processing module, so that the processing module can execute the computer execution instructions stored in the storage module to implement the functions of the conference record processing apparatus in the above method embodiments. In an example, the optional storage module included in the communication apparatus 800 may be an in-chip storage unit, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a ROM or a storage unit capable of storing static information and other types of static storage devices for instructions, RAM, etc.
应理解,上述图8对应实施例中通信装置的各模块之间所执行的流程与前述图4至图7中对应方法实施例中的通信装置执行的流程类似,具体此处不再赘述。It should be understood that the processes performed between the modules of the communication apparatus in the above-mentioned embodiment corresponding to FIG. 8 are similar to the processes performed by the communication apparatus in the corresponding method embodiments in FIG. 4 to FIG. 7 , and details are not repeated here.
具体请参阅图9所示,本申请实施例中通信装置900包括:接收模块901和处理模块902,其中接收模块901和处理模块902通过总线连接。通信装置900可以用于执行上述设备的部分或全部功能。Please refer to FIG. 9 for details. In this embodiment of the present application, the communication device 900 includes: a receiving module 901 and a processing module 902, wherein the receiving module 901 and the processing module 902 are connected through a bus. The communication apparatus 900 may be used to perform part or all of the functions of the above-mentioned devices.
例如,接收模块901,用于接收第一方向的数据包,该第一方向的数据包携带第一信息,该第一信息用于指示该第一方向的数据包的顺序;接收第二方向的数据包,该第二方向的数据包携带第二信息,该第二信息用于指示该第二方向的数据包的顺序;处理模块902,用于根据该第一信息和该第二信息确定该第一方向的数据包与该第二方向的数据包一一对应;For example, the receiving module 901 is configured to receive data packets in the first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction; receive data packets in the second direction data packets, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction; the processing module 902 is configured to determine the data packet according to the first information and the second information The data packets in the first direction are in one-to-one correspondence with the data packets in the second direction;
若该第一方向为上行,则该第二方向为下行;或者,若该第一方向为下行,则该第二方向为上行。If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
可选的,该处理模块902,还用于获取该第一方向的数据包的第一传输时延;根据该第一传输时延和往返时延确定该第二方向的数据包的第二传输时延;该通信装置还包括发送模块903,用于将该第二方向的数据包发送给第二通信设备,该第二方向的数据包中携带该第二传输时延。Optionally, the processing module 902 is further configured to obtain the first transmission delay of the data packet in the first direction; and determine the second transmission of the data packet in the second direction according to the first transmission delay and the round-trip delay time delay; the communication apparatus further includes a sending module 903 for sending the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
可选的,该第二方向的数据包的包头包括第一指示信息,该第一指示信息用于指示该第二传输时延。Optionally, the packet header of the data packet in the second direction includes first indication information, where the first indication information is used to indicate the second transmission delay.
可选的,该第二方向的数据包中还包括第二指示信息,该第二指示信息用于指示该第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。Optionally, the data packet in the second direction further includes second indication information, where the second indication information is used to instruct the second communication device to skip the packet delay budget information indicated by using the quality of service flow identifier.
可选的,该处理模块902,具体用于在该第一传输时延大于或等于第一预设阈值时,根据该往返时延和该第一传输时延的差值确定该第二方向的数据包的第二传输时延。Optionally, the processing module 902 is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold, determine the delay in the second direction according to the difference between the round-trip delay and the first transmission delay. The second transmission delay of the data packet.
可选的,该接收模块901,还用于获取该第一方向的数据包的平均传输时延;该处理 模块902,还用于在该平均传输时延大于或等于第二预设阈值时,根据该往返时延和该平均传输时延的差值确定该第二方向的数据包的第二传输时延。Optionally, the receiving module 901 is further configured to obtain the average transmission delay of the data packets in the first direction; the processing module 902 is further configured to, when the average transmission delay is greater than or equal to the second preset threshold, The second transmission delay of the data packet in the second direction is determined according to the difference between the round-trip delay and the average transmission delay.
可选的,该平均传输时延由第三通信设备统计预设时长内该第一通信设备上报的第一方向的数据包的传输时延得到;该接收模块901,用于从第三通信设备接收该平均传输时延。Optionally, the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period; the receiving module 901 is used for receiving data from the third communication device. The average transmission delay is received.
可选的,该接收模块901,还用于获取该第二方向的数据包的预测传输时延,该预测传输时延与时间段和/或位置信息相关联;该处理模块902,还用于在该时间段和/或该位置信息,确定该预测传输时延为该第二方向的数据包的第二传输时延。Optionally, the receiving module 901 is further configured to obtain the predicted transmission delay of the data packet in the second direction, where the predicted transmission delay is associated with the time period and/or the location information; the processing module 902 is further configured to During the time period and/or the location information, the predicted transmission delay is determined as the second transmission delay of the data packets in the second direction.
可选的,该预测传输时延由第四通信设备根据该第一通信设备上报的第一方向的数据包的历史传输时延和当前状态信息预测得到,该当前状态信息包括当前网络参数、用户数、时间段以及位置信息;该接收模块901,具体用于从第四通信设备接收该平均传输时延。Optionally, the predicted transmission delay is predicted and obtained by the fourth communication device according to the historical transmission delay of the data packets in the first direction reported by the first communication device and current state information, where the current state information includes current network parameters, user number, time period and location information; the receiving module 901 is specifically configured to receive the average transmission delay from the fourth communication device.
可选的,该处理模块902,具体用于根据接收时间和时间戳信息计算得到该第一传输时延,该接收时间用于指示该第一通信设备接收到该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻;或,根据发送时间和时间戳信息计算得到该第一传输时延,该发送时间用于指示该第一通信设备向应用服务器发送该第一方向的数据包的时刻,该时间戳信息用于指示该第一方向的数据包的发送时刻。Optionally, the processing module 902 is specifically configured to calculate and obtain the first transmission delay according to the reception time and timestamp information, and the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction. , the timestamp information is used to indicate the sending time of the data packet in the first direction; or, the first transmission delay is calculated according to the sending time and the timestamp information, and the sending time is used to indicate the first communication device to the application The time when the server sends the data packet in the first direction, and the timestamp information is used to indicate the sending time of the data packet in the first direction.
可选的,通信装置900还包括存储模块,此存储模块与处理模块耦合,使得处理模块可执行存储模块中存储的计算机执行指令以实现上述方法实施例中会议记录处理装置的功能。在一个示例中,通信装置900中可选的包括的存储模块可以为芯片内的存储单元,如寄存器、缓存等,该存储模块还可以是位于芯片外部的存储单元,如ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM等。Optionally, the communication device 900 further includes a storage module, which is coupled with the processing module, so that the processing module can execute the computer execution instructions stored in the storage module to implement the functions of the conference record processing apparatus in the above method embodiments. In an example, the optional storage module included in the communication device 900 may be an in-chip storage unit, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a ROM or a storage unit capable of storing static information and other types of static storage devices for instructions, RAM, etc.
应理解,上述图9对应实施例中通信装置的各模块之间所执行的流程与前述图4至图7中对应方法实施例中的通信装置执行的流程类似,具体此处不再赘述。It should be understood that the processes performed between the modules of the communication apparatus in the above-mentioned embodiment corresponding to FIG. 9 are similar to the processes performed by the communication apparatus in the corresponding method embodiments in the foregoing FIG. 4 to FIG. 7 , and details are not repeated here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (31)

  1. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    第一通信设备接收第一方向的数据包;the first communication device receives the data packet in the first direction;
    所述第一通信设备获取所述第一方向的数据包的第一传输时延;obtaining, by the first communication device, the first transmission delay of the data packet in the first direction;
    所述第一通信设备根据所述第一传输时延和往返时延确定第二方向的数据包的第二传输时延;The first communication device determines the second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay;
    所述第一通信设备将所述第二方向的数据包发送给第二通信设备,所述第二方向的数据包中携带所述第二传输时延;The first communication device sends the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay;
    若所述第一方向为上行,则所述第二方向为下行;或者,若所述第一方向为下行,则所述第二方向为上行。If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
  2. 根据权利要求1所述的方法,其特征在于,所述第二方向的数据包的包头包括第一指示信息,所述第一指示信息用于指示所述第二传输时延。The method according to claim 1, wherein a packet header of the data packet in the second direction includes first indication information, and the first indication information is used to indicate the second transmission delay.
  3. 根据权利要求2所述的方法,其特征在于,所述第二方向的数据包中还包括第二指示信息,所述第二指示信息用于指示所述第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。The method according to claim 2, wherein the data packet in the second direction further includes second indication information, wherein the second indication information is used to instruct the second communication device to skip using the quality of service flow Identifies the indicated packet delay budget information.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一方向的数据包中包括第一信息,所述第一信息用于指示所述第一方向的数据包的顺序;The method according to any one of claims 1 to 3, wherein the data packets in the first direction include first information, and the first information is used to indicate the status of the data packets in the first direction. order;
    所述第二方向的数据包中包括第二信息,所述第二信息用于指示所述第二方向的数据包的顺序;所述第一信息和所述第二信息用于确定所述第一方向的数据包与所述第二方向的数据包为一一对应的关系。The data packets in the second direction include second information, and the second information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine the first information. The data packets in one direction and the data packets in the second direction are in a one-to-one correspondence.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一通信设备根据所述第一传输时延和往返时延确定第二方向的数据包的第二传输时延包括:The method according to any one of claims 1 to 4, wherein the first communication device determines the second transmission delay of the data packets in the second direction according to the first transmission delay and the round-trip delay include:
    在所述第一传输时延大于或等于一预设阈值时,所述第一通信设备根据所述往返时延和所述第一传输时延的差值确定所述第二方向的数据包的第二传输时延。When the first transmission delay is greater than or equal to a preset threshold, the first communication device determines, according to the difference between the round-trip delay and the first transmission delay, the data packet in the second direction. The second transmission delay.
  6. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    所述第一通信设备获取所述第一方向的数据包的平均传输时延;obtaining, by the first communication device, the average transmission delay of the data packets in the first direction;
    在所述平均传输时延大于或等于第二预设阈值时,所述第一通信设备根据所述往返时延和所述平均传输时延的差值确定所述第二方向的数据包的第二传输时延。When the average transmission delay is greater than or equal to a second preset threshold, the first communication device determines, according to the difference between the round-trip delay and the average transmission delay, the first time of the data packet in the second direction. 2. Transmission delay.
  7. 根据权利要求6所述的方法,其特征在于,所述平均传输时延由第三通信设备统计预设时长内所述第一通信设备上报的第一方向的数据包的传输时延得到;The method according to claim 6, wherein the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period;
    所述第一通信设备获取所述第一方向的数据包的平均传输时延包括:Obtaining, by the first communication device, the average transmission delay of the data packets in the first direction includes:
    所述第一通信设备从第三通信设备接收所述平均传输时延。The first communication device receives the average transmission delay from a third communication device.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一通信设备获取所述第一方向的数据包的第一传输时延包括:The method according to any one of claims 1 to 7, wherein the acquiring, by the first communication device, the first transmission delay of the data packets in the first direction comprises:
    所述第一通信设备根据接收时间和时间戳信息计算得到所述第一传输时延,所述接收时间用于指示所述第一通信设备接收到所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻;The first communication device calculates and obtains the first transmission delay according to the reception time and the timestamp information, where the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction, so The timestamp information is used to indicate the sending moment of the data packet in the first direction;
    或,or,
    所述第一通信设备根据发送时间和时间戳信息计算得到所述第一传输时延,所述发送时间用于指示所述第一通信设备向应用服务器发送所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻。The first communication device calculates and obtains the first transmission delay according to the sending time and the timestamp information, where the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server , where the timestamp information is used to indicate the sending moment of the data packet in the first direction.
  9. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    第一通信设备接收第一方向的数据包,所述第一方向的数据包携带第一信息,所述第一信息用于指示所述第一方向的数据包的顺序;The first communication device receives the data packets in the first direction, the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction;
    所述第一通信设备接收第二方向的数据包,所述第二方向的数据包携带第二信息,所述第二信息用于指示所述第二方向的数据包的顺序;receiving, by the first communication device, data packets in the second direction, where the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction;
    所述第一通信设备根据所述第一信息和所述第二信息确定所述第一方向的数据包与所述第二方向的数据包一一对应;The first communication device determines, according to the first information and the second information, that the data packets in the first direction are in one-to-one correspondence with the data packets in the second direction;
    若所述第一方向为上行,则所述第二方向为下行;或者,若所述第一方向为下行,则所述第二方向为上行。If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    所述第一通信设备获取所述第一方向的数据包的第一传输时延;obtaining, by the first communication device, the first transmission delay of the data packet in the first direction;
    所述第一通信设备根据所述第一传输时延和往返时延确定所述第二方向的数据包的第二传输时延;determining, by the first communication device, a second transmission delay of the data packet in the second direction according to the first transmission delay and the round-trip delay;
    所述第一通信设备将所述第二方向的数据包发送给第二通信设备,所述第二方向的数据包中携带所述第二传输时延。The first communication device sends the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
  11. 根据权利要求10所述的方法,其特征在于,所述第二方向的数据包的包头包括第一指示信息,所述第一指示信息用于指示所述第二传输时延。The method according to claim 10, wherein the packet header of the data packet in the second direction includes first indication information, and the first indication information is used to indicate the second transmission delay.
  12. 根据权利要求11所述的方法,其特征在于,所述第二方向的数据包中还包括第二指示信息,所述第二指示信息用于指示所述第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。The method according to claim 11, wherein the data packet in the second direction further includes second indication information, wherein the second indication information is used to instruct the second communication device to skip using the quality of service flow Identifies the indicated packet delay budget information.
  13. 根据权利要求10至12中任一项所述的方法,其特征在于,所述第一通信设备根据所述第一传输时延和往返时延确定第二方向的数据包的第二传输时延包括:The method according to any one of claims 10 to 12, wherein the first communication device determines the second transmission delay of the data packets in the second direction according to the first transmission delay and the round-trip delay include:
    在所述第一传输时延大于或等于第一预设阈值时,所述第一通信设备根据所述往返时延和所述第一传输时延的差值确定所述第二方向的数据包的第二传输时延。When the first transmission delay is greater than or equal to a first preset threshold, the first communication device determines the data packets in the second direction according to the difference between the round-trip delay and the first transmission delay the second transmission delay.
  14. 根据权利要求10至12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10 to 12, wherein the method further comprises:
    所述第一通信设备获取所述第一方向的数据包的平均传输时延;obtaining, by the first communication device, the average transmission delay of the data packets in the first direction;
    在所述平均传输时延大于或等于第二预设阈值时,所述第一通信设备根据所述往返时延和所述平均传输时延的差值确定所述第二方向的数据包的第二传输时延。When the average transmission delay is greater than or equal to a second preset threshold, the first communication device determines, according to the difference between the round-trip delay and the average transmission delay, the first time of the data packet in the second direction. 2. Transmission delay.
  15. 根据权利要求14所述的方法,其特征在于,所述平均传输时延由第三通信设备统计预设时长内所述第一通信设备上报的第一方向的数据包的传输时延得到;The method according to claim 14, wherein the average transmission delay is obtained by the third communication device counting the transmission delay of the data packets in the first direction reported by the first communication device within a preset time period;
    所述第一通信设备获取所述第一方向的数据包的平均传输时延包括:Obtaining, by the first communication device, the average transmission delay of the data packets in the first direction includes:
    所述第一通信设备从第三通信设备接收所述平均传输时延。The first communication device receives the average transmission delay from a third communication device.
  16. 根据权利要求10至15中任一项所述的方法,其特征在于,所述第一通信设备获取 所述第一方向的数据包的第一传输时延包括:The method according to any one of claims 10 to 15, wherein the obtaining, by the first communication device, the first transmission delay of the data packet in the first direction comprises:
    所述第一通信设备根据接收时间和时间戳信息计算得到所述第一传输时延,所述接收时间用于指示所述第一通信设备接收到所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻;The first communication device calculates and obtains the first transmission delay according to the reception time and the timestamp information, where the reception time is used to indicate the moment when the first communication device receives the data packet in the first direction, so The timestamp information is used to indicate the sending moment of the data packet in the first direction;
    或,or,
    所述第一通信设备根据发送时间和时间戳信息计算得到所述第一传输时延,所述发送时间用于指示所述第一通信设备向应用服务器发送所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻。The first communication device calculates and obtains the first transmission delay according to the sending time and the timestamp information, where the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server , where the timestamp information is used to indicate the sending moment of the data packet in the first direction.
  17. 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:
    接收模块,用于接收第一方向的数据包;a receiving module for receiving data packets in the first direction;
    处理模块,用于获取所述第一方向的数据包的第一传输时延;根据所述第一传输时延和往返时延确定第二方向的数据包的第二传输时延;a processing module, configured to acquire the first transmission delay of the data packets in the first direction; determine the second transmission delay of the data packets in the second direction according to the first transmission delay and the round-trip delay;
    发送模块,用于将所述第二方向的数据包发送给第二通信设备,所述第二方向的数据包中携带所述第二传输时延;a sending module, configured to send the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay;
    若所述第一方向为上行,则所述第二方向为下行;或者,若所述第一方向为下行,则所述第二方向为上行。If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
  18. 根据权利要求17所述的装置,其特征在于,所述第二方向的数据包的包头包括第一指示信息,所述第一指示信息用于指示所述第二传输时延。The apparatus according to claim 17, wherein a packet header of the data packet in the second direction includes first indication information, and the first indication information is used to indicate the second transmission delay.
  19. 根据权利要求18所述的装置,其特征在于,所述第二方向的数据包中还包括第二指示信息,所述第二指示信息用于指示所述第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。The apparatus according to claim 18, wherein the data packet in the second direction further includes second indication information, wherein the second indication information is used to instruct the second communication device to skip using the quality of service flow Identifies the indicated packet delay budget information.
  20. 根据权利要求17至19中任一项所述的装置,其特征在于,所述第一方向的数据包中包括第一信息,所述第一信息用于指示所述第一方向的数据包的顺序;The apparatus according to any one of claims 17 to 19, wherein the data packets in the first direction include first information, and the first information is used to indicate the data packets of the first direction. order;
    所述第二方向的数据包中包括第二信息,所述第二信息用于指示所述第二方向的数据包的顺序;所述第一信息和所述第二信息用于确定所述第一方向的数据包与所述第二方向的数据包为一一对应的关系。The data packets in the second direction include second information, and the second information is used to indicate the sequence of the data packets in the second direction; the first information and the second information are used to determine the first information. The data packets in one direction and the data packets in the second direction are in a one-to-one correspondence.
  21. 根据权利要求17至20中任一项所述的装置,其特征在于,所述处理模块,具体用于在所述第一传输时延大于或等于第一预设阈值时,根据所述往返时延和所述第一传输时延的差值确定所述第二方向的数据包的第二传输时延。The device according to any one of claims 17 to 20, wherein the processing module is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold The difference between the delay and the first transmission delay determines the second transmission delay of the data packets in the second direction.
  22. 根据权利要求17至20中任一项所述的装置,其特征在于,所述接收模块,还用于获取所述第一方向的数据包的平均传输时延;The device according to any one of claims 17 to 20, wherein the receiving module is further configured to acquire the average transmission delay of the data packets in the first direction;
    所述处理模块,还用于在所述平均传输时延大于或等于第二预设阈值时,根据所述往返时延和所述平均传输时延的差值确定所述第二方向的数据包的第二传输时延。The processing module is further configured to determine the data packets in the second direction according to the difference between the round-trip delay and the average transmission delay when the average transmission delay is greater than or equal to a second preset threshold the second transmission delay.
  23. 根据权利要求17至22中任一项所述的装置,其特征在于,所述处理模块,具体用于根据接收时间和时间戳信息计算得到所述第一传输时延,所述接收时间用于指示所述第一通信设备接收到所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻;The apparatus according to any one of claims 17 to 22, wherein the processing module is specifically configured to calculate and obtain the first transmission delay according to reception time and timestamp information, and the reception time is used for Indicate the time when the first communication device receives the data packet in the first direction, and the timestamp information is used to indicate the transmission time of the data packet in the first direction;
    或,or,
    根据发送时间和时间戳信息计算得到所述第一传输时延,所述发送时间用于指示所述第一通信设备向应用服务器发送所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻。The first transmission delay is calculated and obtained according to the sending time and timestamp information, where the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server, and the timestamp information It is used to indicate the sending moment of the data packet in the first direction.
  24. 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:
    接收模块,用于接收第一方向的数据包,所述第一方向的数据包携带第一信息,所述第一信息用于指示所述第一方向的数据包的顺序;接收第二方向的数据包,所述第二方向的数据包携带第二信息,所述第二信息用于指示所述第二方向的数据包的顺序;a receiving module, configured to receive data packets in the first direction, where the data packets in the first direction carry first information, and the first information is used to indicate the sequence of the data packets in the first direction; receive data packets in the second direction data packets, the data packets in the second direction carry second information, and the second information is used to indicate the sequence of the data packets in the second direction;
    处理模块,用于根据所述第一信息和所述第二信息确定所述第一方向的数据包与所述第二方向的数据包一一对应;a processing module, configured to determine a one-to-one correspondence between the data packets in the first direction and the data packets in the second direction according to the first information and the second information;
    若所述第一方向为上行,则所述第二方向为下行;或者,若所述第一方向为下行,则所述第二方向为上行。If the first direction is upward, the second direction is downward; or, if the first direction is downward, the second direction is upward.
  25. 根据权利要求24所述的装置,其特征在于,所述处理模块,还用于获取所述第一方向的数据包的第一传输时延;根据所述第一传输时延和往返时延确定所述第二方向的数据包的第二传输时延;The apparatus according to claim 24, wherein the processing module is further configured to acquire the first transmission delay of the data packet in the first direction; and determine according to the first transmission delay and the round-trip delay the second transmission delay of the data packet in the second direction;
    所述通信装置还包括发送模块,用于将所述第二方向的数据包发送给第二通信设备,所述第二方向的数据包中携带所述第二传输时延。The communication apparatus further includes a sending module configured to send the data packet in the second direction to the second communication device, where the data packet in the second direction carries the second transmission delay.
  26. 根据权利要求25所述的装置,其特征在于,所述第二方向的数据包的包头包括第一指示信息,所述第一指示信息用于指示所述第二传输时延。The apparatus according to claim 25, wherein a packet header of the data packet in the second direction includes first indication information, and the first indication information is used to indicate the second transmission delay.
  27. 根据权利要求26所述的装置,其特征在于,所述第二方向的数据包中还包括第二指示信息,所述第二指示信息用于指示所述第二通信设备跳过使用服务质量流标识所指示的包延迟预算信息。The apparatus according to claim 26, wherein the data packet in the second direction further includes second indication information, wherein the second indication information is used to instruct the second communication device to skip using the quality of service flow Identifies the indicated packet delay budget information.
  28. 根据权利要求25至27中任一项所述的装置,其特征在于,所述处理模块,具体用于在所述第一传输时延大于或等于第一预设阈值时,根据所述往返时延和所述第一传输时延的差值确定所述第二方向的数据包的第二传输时延。The device according to any one of claims 25 to 27, wherein the processing module is specifically configured to, when the first transmission delay is greater than or equal to a first preset threshold The difference between the delay and the first transmission delay determines the second transmission delay of the data packets in the second direction.
  29. 根据权利要求25至27中任一项所述的装置,其特征在于,所述接收模块,还用于获取所述第一方向的数据包的平均传输时延;The apparatus according to any one of claims 25 to 27, wherein the receiving module is further configured to acquire the average transmission delay of the data packets in the first direction;
    所述处理模块,还用于在所述平均传输时延大于或等于第二预设阈值时,根据所述往返时延和所述平均传输时延的差值确定所述第二方向的数据包的第二传输时延。The processing module is further configured to determine the data packets in the second direction according to the difference between the round-trip delay and the average transmission delay when the average transmission delay is greater than or equal to a second preset threshold the second transmission delay.
  30. 根据权利要求25至29中任一项所述的装置,其特征在于,所述处理模块,具体用于根据接收时间和时间戳信息计算得到所述第一传输时延,所述接收时间用于指示所述第一通信设备接收到所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻;The apparatus according to any one of claims 25 to 29, wherein the processing module is specifically configured to calculate and obtain the first transmission delay according to reception time and timestamp information, and the reception time is used for Indicate the time when the first communication device receives the data packet in the first direction, and the timestamp information is used to indicate the transmission time of the data packet in the first direction;
    或,or,
    根据发送时间和时间戳信息计算得到所述第一传输时延,所述发送时间用于指示所述第一通信设备向应用服务器发送所述第一方向的数据包的时刻,所述时间戳信息用于指示所述第一方向的数据包的发送时刻。The first transmission delay is calculated and obtained according to the sending time and timestamp information, where the sending time is used to indicate the moment when the first communication device sends the data packet in the first direction to the application server, and the timestamp information It is used to indicate the sending moment of the data packet in the first direction.
  31. 一种计算机存储介质,所述计算机存储介质存储有计算机指令,所述计算机指令用于执行上述权利要求1至权利要求16中任意任一项所述的方法。A computer storage medium storing computer instructions for performing the method of any one of claims 1 to 16 above.
PCT/CN2021/119208 2020-09-30 2021-09-18 Data transmission method and apparatus WO2022068620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011059885.4A CN114339808A (en) 2020-09-30 2020-09-30 Data transmission method and device
CN202011059885.4 2020-09-30

Publications (1)

Publication Number Publication Date
WO2022068620A1 true WO2022068620A1 (en) 2022-04-07

Family

ID=80949566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119208 WO2022068620A1 (en) 2020-09-30 2021-09-18 Data transmission method and apparatus

Country Status (2)

Country Link
CN (1) CN114339808A (en)
WO (1) WO2022068620A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827104B (en) * 2022-05-17 2024-02-23 咪咕文化科技有限公司 Time delay adjustment method, device, equipment and computer readable storage medium
CN117278444A (en) * 2022-06-13 2023-12-22 维沃移动通信有限公司 Data packet set time delay processing method and device and communication equipment
CN117692397A (en) * 2022-09-05 2024-03-12 展讯通信(上海)有限公司 Scheduling optimization method, device, equipment and storage medium
CN115470936B (en) * 2022-09-23 2023-06-06 广州爱浦路网络技术有限公司 NWDAF-based machine learning model updating method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100135232A1 (en) * 2007-06-18 2010-06-03 Telefonaktiebolaget Lm Ericsson (Publ) Cooperative traffic scheduling
CN103581142A (en) * 2012-08-03 2014-02-12 华为技术有限公司 Data service experience assessment method and device and network equipment
WO2017075770A1 (en) * 2015-11-04 2017-05-11 华为技术有限公司 Uplink data transmission method, device and system
US20170164404A1 (en) * 2015-12-04 2017-06-08 Qualcomm Incorporated Scheduling based on end-to-end delay bound
US20200195539A1 (en) * 2018-12-14 2020-06-18 At&T Intellectual Property I, L.P. Latency prediction and guidance in wireless communication systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100135232A1 (en) * 2007-06-18 2010-06-03 Telefonaktiebolaget Lm Ericsson (Publ) Cooperative traffic scheduling
CN103581142A (en) * 2012-08-03 2014-02-12 华为技术有限公司 Data service experience assessment method and device and network equipment
WO2017075770A1 (en) * 2015-11-04 2017-05-11 华为技术有限公司 Uplink data transmission method, device and system
US20170164404A1 (en) * 2015-12-04 2017-06-08 Qualcomm Incorporated Scheduling based on end-to-end delay bound
US20200195539A1 (en) * 2018-12-14 2020-06-18 At&T Intellectual Property I, L.P. Latency prediction and guidance in wireless communication systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP SA5: "LS on measurement of user plane latency", 3GPP DRAFT; R2-1801755_S5-181576, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Athens, Greece; 20180226 - 20180302, 10 February 2018 (2018-02-10), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051398917 *

Also Published As

Publication number Publication date
CN114339808A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
WO2022068620A1 (en) Data transmission method and apparatus
US11477689B2 (en) Method and apparatus for establishing guaranteed bit rate (GBR) quality of service (QoS) flow in session
US11937128B2 (en) Communication method and communications apparatus for determining latency of transmission between network elements
US20210337404A1 (en) Service continuity implementation method, apparatus, and system
EP3493591B1 (en) Service transmission control method and related device
WO2020108003A1 (en) User access control method, information transmission method and apparatuses therefor
CN110461027A (en) A kind of network slice selection method and device
US20230043261A1 (en) Communication method and apparatus
WO2019196810A1 (en) Data transmission method, related device, and communications system
US20230379747A1 (en) Method and apparatus to synchronize radio bearers
US20220353731A1 (en) Data Transmission Method, Device, and System
US9167484B2 (en) Transition from packet-switched to circuit-switched connection based on communication quality
US20230050923A1 (en) Media packet transmission method, apparatus, and system
US20220210690A1 (en) Data transmission method and apparatus, system, and storage medium
JP2021527351A (en) Network-controlled uplink media transmission for collaborative media production in scenarios with limited network capacity
US20230042506A1 (en) Deterministic quality of service
JP2016067016A (en) Adjustment of bundling factor de-jitter buffer size
US20230370897A1 (en) Service data flow transmission method, communication apparatus, and communication system
WO2023045839A1 (en) Communication method and apparatus, core network device and communication device
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
US20230239728A1 (en) Service data flow transmission method, communication apparatus, and communication system
WO2023125310A1 (en) Communication method and communication apparatus
EP4358588A1 (en) Transmission method for periodic service and communication apparatus
WO2023185402A1 (en) Communication method and apparatus
WO2024067040A1 (en) Time synchronization method and time synchronization apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21874281

Country of ref document: EP

Kind code of ref document: A1