WO2022178732A1 - Communication method, apparatus, and system - Google Patents

Communication method, apparatus, and system Download PDF

Info

Publication number
WO2022178732A1
WO2022178732A1 PCT/CN2021/077745 CN2021077745W WO2022178732A1 WO 2022178732 A1 WO2022178732 A1 WO 2022178732A1 CN 2021077745 W CN2021077745 W CN 2021077745W WO 2022178732 A1 WO2022178732 A1 WO 2022178732A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
data
time
data packet
timestamp
Prior art date
Application number
PCT/CN2021/077745
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 华为技术有限公司
Priority to PCT/CN2021/077745 priority Critical patent/WO2022178732A1/en
Publication of WO2022178732A1 publication Critical patent/WO2022178732A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present application relates to the field of communication, and in particular, to a communication method, device and system.
  • the Ethernet for control automation technology adopts the distributed clock (DC) method for clock synchronization.
  • the local system clock of the slave node is synchronized with the reference clock, so that the slave node can be accurately synchronized and controlled, and the stability of the synchronization work of the slave node can be ensured.
  • the reference clock is the system clock of the first slave node that has a distributed clock function and is connected to the master node.
  • the above-mentioned distributed clock synchronization process depends on the same EtherCAT service flow having the same upstream transmission delay and downstream transmission delay being equal.
  • 5G fifth generation
  • the embodiments of the present application provide a communication method and device, which can ensure that the uplink transmission delay and the downlink transmission delay of EtherCAT service flow transmission are equal.
  • a communication method includes: a first network element receives first data and a first timestamp from a first device, and the first network element sends the first data after buffering the first data to a first time according to the first time information.
  • the first timestamp is used to indicate the moment when the first device sends the first data, and the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
  • the duration is equal to the duration between the first network element receiving the second data and the first device sending the second data, where the second data is the data sent by the first network element to the first device.
  • the first device determines the second time according to the first time information
  • the second time is the time when the first device sends the second data after receiving the second data from the first network element, and caches the second time.
  • the second data is sent after the second data time.
  • the first network element determines the first time according to the first time information.
  • the first time is the time when the first network element sends the first data after receiving the first data from the first device, and buffers the first data until the first time and sends the first data.
  • the transmission delay of the first data from the first device to the first network element and the transmission delay of the second data between the first network element and the first device are both equal to the time indicated by the first time information. This ensures that the delay in transmitting uplink data is equal to the delay in transmitting downlink data.
  • the first network element may be a user plane function (user plane function, UPF) network element, or a (radio) access network ((radio) access network, (R)AN) device.
  • the first device may be a terminal device.
  • the communication method described in the first aspect may further include: the first network element sends the second data and the second time stamp to the first device.
  • the second timestamp is used to indicate the moment when the first network element receives the second data.
  • the first network element sends the time when the second data is received to the first device, so that the first device buffers the second data, thereby ensuring that the delay in transmitting uplink data is equal to the delay in transmitting downlink data.
  • the duration indicated by the first time information may be equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is, the duration indicated by the first time information may be equal to the transmission delay of the second data between the first network element and the first device (eg, a packet delay budget (packet delay budget, PDB)).
  • the first time information may be set according to a data packet delay budget or a service delay requirement.
  • the duration indicated by the first time information may be greater than the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is to say, the duration indicated by the first time information may be greater than the transmission delay of the second data between the first network element and the first device.
  • the first data and the first timestamp may be sent to the first network element through a first data packet, and the first data packet also carries the first time information.
  • the first time information may be used to indicate that the first data is cached according to the first time information.
  • the communication method described in the first aspect may further include: the first network element receiving the first time information from the third network element.
  • the third network element may be a session management function (session management function, SMF) network element.
  • the foregoing first network element receiving the first time information from the third network element may include: the first network element receiving the N4 session request message from the third network element.
  • the N4 session request message may include first time information.
  • the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
  • the foregoing first network element receiving the first data and the first timestamp from the first device may include: the first network element receiving the first data packet from the first device.
  • the first data packet may include first data and a first timestamp.
  • the above-mentioned first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data to the first device according to the indication information of the first time stamp data and a second timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, at least one data packet may include a second data packet, and the second data packet may include second data . That is, the first network element adds the second time stamp to the second data packet according to the first time stamp indication information, so as to send the time when the first network element receives the second data to the first device.
  • the communication method described in the first aspect may further include: the first network element receiving the first timestamp indication information from the third network element.
  • the first timestamp indication information may be received by the third network element from the fourth network element, the fourth network element may be a PCF network element, and the fourth network element may be based on the information from an application function (application function, AF) network.
  • the business requirement of the element generates the first timestamp indication information.
  • the foregoing first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data packet to the first device.
  • the second data packet may include second data and a second time stamp. That is to say, the second data and the second time stamp may be sent by the first network element through the second data packet.
  • the communication method described in the first aspect may further include: the first network element receiving the second data and the third time stamp from the second network element.
  • the third timestamp may be used to indicate the moment when the second network element sends the second data to the first network element.
  • the second network element may be a UPF network element.
  • the above-mentioned first network element sending the second data and the second time stamp to the first device may include: the first network element caches the second data until after the third time point according to the second time information , and send the second data and the second timestamp to the first device.
  • the duration from the time indicated by the third timestamp to the third time is equal to the duration indicated by the second time information, and the duration indicated by the second time information may be equal to the first data sent by the first network element to the second network element The duration until the second network element sends the first data to the second device.
  • the first network element can buffer the second data for a period of time, and then send the second data to the first device, so that the second data can be determined between the transmission delay from the second network element to the first network element and the second time information.
  • the indicated durations are equal.
  • the duration indicated by the second time information is greater than or equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the second network element sends the second data to the first network element. value.
  • the second time information may be a time threshold for data transmission between the first network element and the second network element.
  • the first network element buffers the first data until the first time according to the first time information, and then sends the first data, which may include: the first network element buffers the first data according to the first time information. After the data reaches the first time, the first data and the fourth time stamp are sent to the second network element. The fourth timestamp may be used to indicate the moment when the first network element sends the first data to the second network element. In this way, the first data and the time of sending the first data may be sent to the second network element, so that the second network element buffers the first data to ensure that the delay for transmitting uplink data is equal to the delay for transmitting downlink data.
  • the above-mentioned first network element sending the first data and the fourth time stamp to the second network element may include: the first network element sending the second network element according to the indication information of the first time stamp First data and fourth timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, at least one data packet may include a first data packet, and the first data packet may include first data .
  • the first network element may add a corresponding time of receiving or sending the data packet to the data packet sent or received according to the first timestamp indication information.
  • the first network element and the second network element are the same network element, the first network element may not add a corresponding fourth timestamp to the first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the first session may be a PDU session.
  • the communication method described in the first aspect may further include: the first network element receiving the second time information from the third network element.
  • the foregoing first network element receiving the first timestamp indication information from the third network element may include: the first network element receiving the forwarding rule from the third network element.
  • the forwarding rule may include first timestamp indication information.
  • the forwarding rule may further include first indication information, where the first indication information may be used to indicate the use of the first time information, or to indicate the use of the first time information and the second time information.
  • the communication method described in the first aspect may further include: the first network element receives the packet detection rule from the third network element.
  • the packet detection rule may include second indication information, and the second indication information may be used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data may include second data and first data.
  • the first network element receives the first data packet including the first data and the first time stamp, after buffering the first data to the first time, only the first data may be sent without sending the first time stamp.
  • the first network element may be a user plane function network element or an access network network element.
  • a communication method includes: the first device receives the second data and the second time stamp from the first network element, and the first device buffers the second data to the second time according to the first time information, and then sends the second data.
  • the second timestamp is used to indicate the moment when the first network element receives the second data, and the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information.
  • the indicated duration is equal to the duration from when the first device sends the first data to the first network element until the first network element sends the first data, where the first data is the data sent by the first device to the first network element.
  • the duration indicated by the first time information is greater than or equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp.
  • the communication method described in the second aspect may further include: the first device receiving the first time information from the third network element.
  • the communication method described in the second aspect may further include: the first device sending the first data and the first timestamp to the first network element.
  • the first timestamp may be used to indicate the moment when the first device sends the first data.
  • the above-mentioned first device sending the first data and the first timestamp to the first network element may include: the first device sending the first time stamp to the first network element according to the indication information of the first timestamp data and first timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, and the at least one data packet may include a first data packet, and the first data packet may include first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method described in the second aspect may further include: the first device receiving the first timestamp indication information from the third network element.
  • sending the first data and the first timestamp to the first network element by the first device may include: the first device sending the first data packet to the first network element.
  • the first data packet may include first data and a first timestamp.
  • the foregoing first device receiving the second data and the second time stamp from the first network element may include: the first device receiving the second data packet from the first network element.
  • the second data packet may include second data and a second time stamp.
  • a communication method includes: the first device receives the second data and the second time stamp from the first network element, and sends the second data, and the first device receives the second data according to the time indicated by the second time stamp to the first device. At the time of the data, the first time information is determined, and the first device sends the first time information to the first network element. The second timestamp is used to indicate the moment when the first network element receives the second data.
  • the first device determines the first time information according to the time when the first network element receives the second data and the time when the first device receives the second data, and sends it to the first network element , so that after receiving the first data from the first device, the first network element buffers the first data for a period of time according to the first time information, and then sends the first data.
  • the transmission delay of the first data from the first device to the first network element is equal to the actual downlink transmission delay of the second data between the first network element and the first device, so that the delay of transmitting the uplink data can be guaranteed to be the same as that of the first network element.
  • the delays for transmitting downlink data are equal.
  • the duration indicated by the first time information is equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is to say, the first time information may be determined by the first device according to the actual downlink transmission delay of the second data between the first network element and the first device.
  • the first time information may be sent to the first network element through a first data packet, and the first data packet may also carry first data and a first time stamp, and the first time stamp may be used to indicate the first time stamp. The moment when the device sends the first data.
  • the first data packet may be sent to the first network element according to the first time stamp indication information, and the first time stamp indication information may be used to instruct to add at least one data packet corresponding to receiving or sending at least one data packet.
  • at least one data packet may include a first data packet, and the first data packet may include first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method described in the third aspect may further include: the first device receiving the first timestamp indication information from the third network element.
  • the foregoing first device receiving the second data and the second time stamp from the first network element may include: the first device receiving the second data packet from the first network element.
  • the second data packet may include second data and a second time stamp.
  • a communication method includes: the second network element receives the first data and the fourth time stamp from the first network element, and the second network element buffers the first data to the fourth time according to the second time information, and sends the data to the second device after buffering first data.
  • the fourth time stamp is used to indicate the time when the first network element sends the first data to the second network element, and the duration from the time indicated by the fourth time stamp to the fourth time is equal to the duration indicated by the second time information,
  • the duration indicated by the second time information is equal to the duration of the second network element sending the second data to the first network element to the first network element sending the second data to the first device.
  • the first network element determines a third time according to the second time information, and the third time is when the first network element sends the first device to the first device after receiving the second data from the second network element.
  • the second data is sent to the first device after buffering the second data to the third time.
  • the second network element determines a fourth time according to the second time information, and the fourth time is the time when the second network element sends the first data to the second device after receiving the first data from the first network element, and caches the first data to The first data is sent to the second device after the fourth time.
  • the transmission delay of the first data from the first network element to the second network element and the transmission delay of the second data between the second network element and the first network element are equal to the duration indicated by the second time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
  • the duration indicated by the second time information may be greater than or equal to the difference between the time when the first network element receives the second data from the second network element and the time when the second network element sends the second data to the first network element. difference. That is, the duration indicated by the second time information may be greater than or equal to the transmission delay of the second data between the second network element and the first network element.
  • the communication method described in the fourth aspect may further include: the second network element receiving the second time information from the third network element.
  • the communication method described in the fourth aspect may further include: the second network element sending the second data and the third time stamp to the first network element.
  • the third time stamp may be used to indicate the moment when the second network element sends the second data to the first network element.
  • the second network element may only send the second data to the first network element without sending the third time stamp.
  • the above-mentioned second network element sending the second data and the third time stamp to the first network element includes: the second network element sending the first time stamp to the first network element according to the indication information of the first time stamp Second data and third timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, the at least one data packet may include a third data packet, and the third data packet may include second data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method described in the fourth aspect may further include: the second network element receiving the first timestamp indication information from the third network element.
  • the foregoing second network element receiving the first timestamp indication information from the third network element may include: the second network element receiving the forwarding rule from the third network element.
  • the forwarding rule may include first timestamp indication information.
  • the forwarding rule may further include first indication information, where the first indication information may be used to indicate the use of the first time information, or to indicate the use of the first time information and the second time information.
  • the foregoing second network element sending the second data and the third time stamp to the first network element may include: the second network element sending the third data packet to the first network element.
  • the third data packet may include the second data and the third time stamp.
  • the foregoing second network element receiving the first data and the fourth time stamp from the first network element may include: the second network element receiving the fourth data packet sent from the first network element.
  • the fourth data packet may include the first data and the fourth time stamp.
  • the communication method described in the fourth aspect may further include: the second network element receiving the packet detection rule from the third network element.
  • the packet detection rule may include second indication information, and the second indication information may be used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data may include second data and first data.
  • the second network element may be a user plane functional network element.
  • a communication method includes: the second device receives the first data and the sixth time stamp from the first network element.
  • the sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element.
  • the second device sends the first data after buffering the first data to the sixth time according to the third time information.
  • the duration from the time indicated by the sixth time stamp to the sixth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the second device sending the second data to the first network element to the first network element.
  • the duration of sending the second data by a device, where the second data is the data sent by the second device to the first network element.
  • the first device determines the fifth moment of sending the second data according to the third time information, so that the time period from the moment when the second device sends the second data to the first network element to the fifth moment is equal to The duration indicated by the third time information.
  • the second device determines the sixth time for sending the first data according to the third time information, so that the time period from the time when the first device sends the first data to the first network element to the sixth time is equal to the time period indicated by the third time information.
  • the transmission delay of the first data between the first device and the second device is equal to the transmission delay of the second data between the second device and the first device, so that the delay and transmission of the uplink data can be guaranteed.
  • the downlink data has the same delay.
  • the duration indicated by the third time information may be greater than or equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element.
  • the communication method described in the fifth aspect may further include: the second device receives third time information from a third network element.
  • the third time information may be a time threshold for data transmission between the second device and the first device.
  • the communication method described in the fifth aspect may further include: the second device receives third time information from the first network element.
  • the third time information may be received from the first device through the first network element.
  • the communication method described in the fifth aspect may further include: the second device sends the second data and the fifth time stamp to the first network element.
  • the fifth timestamp may be used to indicate the moment when the second device sends the second data to the first network element.
  • the above-mentioned second device sending the second data and the fifth time stamp to the first network element may include: the second device sending the second data to the first network element according to the indication information of the first time stamp data and fifth timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet
  • the at least one data packet may include a fifth data packet
  • the fifth data packet may include second data . That is, the second device adds the fifth timestamp to the fifth data packet according to the first timestamp indication information, so that the first device obtains the moment when the second device sends the second data through the first network element.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method described in the fifth aspect may further include: the second device receiving the first timestamp indication information from the third network element.
  • the communication method described in the fifth aspect may further include: the second device sending the second data and the fifth time stamp to the first network element, which may include: the second device sending the first network element
  • the fifth data packet is sent.
  • the fifth data packet may include the second data and the fifth time stamp.
  • the fifth timestamp may be placed in the header of the fifth data packet.
  • the foregoing second device receiving the first data and the sixth time stamp from the first network element may include: the second device receiving the tenth data packet from the first network element.
  • the tenth data packet may include the first data and the sixth time stamp.
  • the sixth timestamp may be placed in the header of the tenth data packet.
  • a communication method includes: the first device receives the second data and the fifth time stamp from the first network element.
  • the first device sends the second data after buffering the second data according to the third time information until the fifth time.
  • the fifth time stamp is used to indicate the time when the second device sends the second data to the first network element, and the time from the time indicated by the fifth time stamp to the fifth time is equal to the time duration indicated by the third time information.
  • the duration indicated by the three time information is equal to the duration of the first device sending the first data to the first network element to the second device sending the first data, where the first data is the data sent by the first device to the first network element.
  • the duration indicated by the third time information may be greater than or equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element.
  • the communication method described in the sixth aspect may further include: the first device receiving third time information from a third network element.
  • the communication method described in the sixth aspect may further include: the first device sending the first data and the sixth time stamp to the first network element.
  • the sixth timestamp may be used to indicate the moment when the first device sends the first data to the first network element.
  • the above-mentioned first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the first data and the sixth time stamp to the first network element according to the indication information of the first time stamp data and a sixth time stamp; wherein, the first time stamp indication information is used to indicate that at least one data packet is added to the corresponding moment of receiving or sending at least one data packet, and the at least one data packet includes a sixth data packet, and the sixth data packet Include the first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method described in the sixth aspect may further include: the first device receiving the first timestamp indication information from the third network element.
  • the foregoing first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the sixth data packet to the first network element.
  • the sixth data packet may include the first data and the sixth time stamp.
  • the foregoing first device receiving the second data and the fifth time stamp from the first network element may include: the first device receiving the fifth data packet from the first network element.
  • the fifth data packet may include the second data and the fifth time stamp.
  • a communication method includes: the first device receives the second data and the fifth time stamp from the first network element, and sends the second data.
  • the first device determines the third time information according to the time indicated by the fifth timestamp to the time when the first device receives the second data.
  • the first device sends third time information to the first network element.
  • the fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element.
  • the first device determines the third time information according to the time when the second device sends the second data and the time when the first device receives the second data, and sends it to the third device through the first network element. Second device, so that after receiving the first data, the second device buffers the first data for a period of time according to the third time information, and then sends the first data.
  • the transmission delay of the first data between the first device and the second device is equal to the actual transmission delay of the second data between the second device and the first device, so that the delay and transmission of the uplink data can be guaranteed.
  • the downlink data has the same delay.
  • the duration indicated by the third time information may be equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element. That is to say, the third time information may be determined by the first device according to the actual transmission delay of the second data between the second device and the first device.
  • the above-mentioned first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the first data and the sixth time stamp to the first network element according to the indication information of the first time stamp data and sixth timestamp.
  • the sixth time stamp may be used to indicate the time when the first device sends the first data to the first network element
  • the first time stamp indication information may be used to indicate that at least one data packet is increased corresponding to receiving or sending at least one data packet.
  • at least one data packet may include a sixth data packet
  • the sixth data packet may include the first data. In this way, the second device can obtain the moment when the first device sends the first data to the first network element through the first network element.
  • the communication method according to the seventh aspect may further include: the first device sending the first data and the sixth time stamp to the first network element.
  • the sixth timestamp may be used to indicate the moment when the first device sends the first data to the first network element.
  • the third time information may be sent to the first network element through a sixth data packet.
  • the third time information may be placed in the header of the sixth data packet.
  • the foregoing first device receiving the second data and the fifth time stamp from the first network element may include: the first device receiving the fifth data packet from the first network element.
  • the fifth data packet may include the second data and the fifth time stamp.
  • the fifth timestamp may be placed in the header of the fifth data packet.
  • the sixth data packet may be sent to the first network element according to the first time stamp indication information, and the first time stamp indication information may be used to instruct to add at least one data packet corresponding to receiving or sending at least one data packet.
  • at least one data packet may include the first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the communication method according to the seventh aspect may further include: the first device receiving the first timestamp indication information from the third network element.
  • a communication method includes: the first network element sends the second data and the fifth time stamp to the first device.
  • the fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element.
  • the first network element sends the first data and the sixth time stamp to the second device.
  • the sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element.
  • the communication method described in the eighth aspect may further include: the first network element receives the second data and the fifth timestamp from the second device; wherein the fifth timestamp may be used to indicate the first The moment when the second device sends the second data to the first network element.
  • the communication method described in the eighth aspect may further include: the first network element receiving the first data and the sixth time stamp from the first device.
  • the foregoing first network element receiving the second data and the fifth time stamp from the second device may include: the first network element receiving the fifth data packet from the second device.
  • the fifth data packet may include the second data and the fifth time stamp.
  • the foregoing first network element receiving the first data and the sixth time stamp from the first device may include: the first network element receiving the sixth data packet from the first device.
  • the sixth data packet may include the first data and a sixth time stamp.
  • the communication method described in the eighth aspect may further include: the first network element receiving third indication information from the third network element.
  • the third indication information may be used to indicate that a timestamp corresponding to the at least one piece of data received is reserved, and the at least one piece of data may include the first data and the second data.
  • the foregoing first network element receiving the third indication information from the third network element may include: the first network element receiving the N4 session request message from the third network element.
  • the N4 session request message may include third indication information.
  • the above-mentioned first network element sending the first data and the sixth time stamp to the second device may include: the first network element sending the first data and the sixth time stamp to the second device according to the third indication information Sixth timestamp.
  • the first network element receives the first data and the sixth time stamp, does not delete the sixth time stamp, but sends the first data and the sixth time stamp together to the second device, so that the second device Obtain the moment when the first device sends the first data.
  • the above-mentioned first network element sending the first data and the fifth time stamp to the first device may include: the first network element sending the first data and the fifth time stamp to the first device according to the third indication information Fifth timestamp. In this way, the first device can be made to obtain the moment when the second device sends the second data.
  • the communication method described in the eighth aspect may further include: the first network element receiving third time information from the first device.
  • the third time information may be obtained by the first device.
  • the sixth data packet may further include third time information.
  • the communication method described in the eighth aspect may further include: the first network element sends third time information to the second device.
  • a communication system in a ninth aspect, includes: a first network element and an access network element.
  • the access network element is configured to send the first data and the first timestamp to the first network element.
  • the first timestamp is used to indicate the moment when the first device sends the first data.
  • the first network element is configured to receive the first data and the first timestamp from the network element of the access network.
  • the first network element is further configured to send the first data after buffering the first data to the first time according to the first time information.
  • the duration from the time indicated by the first timestamp to the first time is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the first network element receiving the second data and sending it to the first device.
  • a tenth aspect provides a communication device.
  • the communication device includes a unit or module for performing the method of any one of the first aspect or the eighth aspect.
  • the communication apparatus described in the tenth aspect may be a first network element, such as a UPF network element or a RAN device, or may be provided in a chip (system) or other components or components of the first network element.
  • a communication device in an eleventh aspect, includes a unit or module for performing the method of any one of the second, third, fifth, sixth, or seventh aspects.
  • the communication apparatus described in the eleventh aspect may be a first device, such as a terminal device, or may be provided in a chip (system) or other components or assemblies of the first device.
  • a twelfth aspect provides a communication device.
  • the communication device includes means or modules for performing any of the methods of the fourth aspect.
  • the communication apparatus described in the twelfth aspect may be a second network element, such as a UPF network element, or may be provided in a chip (system) or other components or components of the second network element.
  • a thirteenth aspect provides a communication device, the communication device comprising: a processor coupled to a memory. Memory for storing computer programs. A processor for executing the computer program stored in the memory, so that the communication apparatus executes the communication method according to any one of the first to eighth aspects.
  • the communication device described in the thirteenth aspect may further include a transceiver.
  • the transceiver may be a transceiver circuit or an input/output port.
  • the transceiver may be used for the communication device to communicate with other communication devices.
  • the communication apparatus described in the thirteenth aspect may be a first network element, a second network element, a first device, or a second device, or may be set in the first network element, the second network element, the first network element, or the first network element.
  • a fourteenth aspect provides a chip system, the chip system includes a processor and an input/output port, the processor is configured to implement the processing function involved in any one of the first aspect to the eighth aspect, the input/output port The /output port is used to implement the transceiving function involved in any one of the first aspect to the eighth aspect.
  • the chip system further includes a memory for storing program instructions and data for implementing the functions involved in any one of the first to eighth aspects.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a fifteenth aspect provides a communication system.
  • the system includes a first network element and a third network element.
  • the third network element is configured to send the first time information to the first network element; wherein, the duration indicated by the first time information is equal to the duration of the first network element receiving the second data and sending the second data to the first device, and the first The second data is the data sent by the first network element to the first device;
  • the first network element is used to receive the first time information from the third network element; wherein the first time information is used to indicate that the first data received is cached according to the first time information, and the first data is sent by the first device to the third network element. Data sent by a network element.
  • a sixteenth aspect provides a computer-readable storage medium, the computer-readable storage medium comprising a computer program or an instruction, when the computer program or instruction is executed on a computer, causes the computer to perform any one of the first to eighth aspects.
  • a seventeenth aspect provides a computer program product, the computer program product comprising: a computer program or instructions, when the computer program or instructions are run on a computer, the computer can perform any one of the first to eighth aspects.
  • FIG. 1 is a schematic diagram of a transmission data frame between a master node and a slave node according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of networking of a master node and a slave node according to an embodiment of the present application
  • FIG. 3 is another schematic diagram of networking of a master node and a slave node according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a QoS architecture provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of establishing a QoS flow according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the architecture of another communication system provided by an embodiment of the present application.
  • FIG. 8 is a 5G network architecture diagram in a non-roaming scenario provided by an embodiment of the present application.
  • FIG. 9 is another 5G network architecture diagram in a non-roaming scenario provided by an embodiment of the present application.
  • FIG. 10 is a 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application.
  • FIG. 11 is a diagram of a 5G network architecture in another roaming scenario provided by an embodiment of the present application.
  • FIG. 12 is another 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application.
  • FIG. 13 is another 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application.
  • FIG. 14A is a protocol architecture diagram provided by an embodiment of the present application.
  • FIG. 14B is another protocol architecture diagram provided by an embodiment of the present application.
  • FIG. 15 provides a schematic flowchart of a communication method according to an embodiment of the present application.
  • 16 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of yet another communication method according to an embodiment of the present application.
  • FIG. 19 provides a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 20 is a schematic flowchart of yet another communication method according to an embodiment of the present application.
  • 21 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 22 provides a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 23 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 24 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 25 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
  • WiFi wireless fidelity
  • V2X vehicle to everything
  • D2D device-to-device
  • vehicle networking communication system 4th generation (4th generation, 4G) mobile communication system, such as long term evolution (long term evolution, LTE) system, global interconnection microwave access (worldwide interoperability for microwave access, WiMAX) communication system
  • 5th generation (5th generation, 5G) mobile communication systems such as new radio (new radio, NR) systems
  • 6th generation (6th generation, 6G) mobile communication systems etc.
  • the master device can use a standard Ethernet controller and can send data frames.
  • the slave node (slave device) can use a dedicated control chip and can only forward data frames.
  • Both the master node and the slave node may be nodes having the function of processing EtherCAT type services.
  • slave node 1 after the data frame is sent by the master node 1, the data of each slave node is packaged or sent to the corresponding slave node in the process of the slave node 1, the slave node 2, and the slave node 3. Then, after passing through slave node 3, slave node 2, and slave node 1, it returns to master node 1.
  • the slave node 1, the slave node 2, and the slave node 3 all include 4 ports, the data frames will not collide, and the certainty of the service can be guaranteed.
  • the master node can be called a master device, a master station, a master EtherCAT device, a master Ethernet device, or a DC master, etc.
  • a slave node can be called a slave device, a slave node, a slave EtherCAT device, and a slave Ethernet device. , or a DC slave node, etc., which are not limited in this application.
  • the networking modes of the master node and the slave node are described below with reference to FIG. 2 and FIG. 3 .
  • the networking mode of the master node and the slave node may include a direct connection mode or an open mode.
  • the direct connection mode the connection between the master node 1 and the slave node 1, the slave node 2, and the slave node 3 can be directly connected without going through a switch.
  • the open mode can be connected between the master node 1 and the slave node 1, the slave node 2, and the slave node 3 through a switch (switch), and also through the segment address slave node (segment address slave device) 1.
  • the connection between the master node 2 and the slave node 4, the slave node 5, and the slave node 6 passes through the switch, and can also pass through the segment address slave node 2.
  • the switch can also connect devices with other functions, such as generic etherment devices.
  • the local system clock of the slave node can be corrected by calculating the offset between the local system clock of the slave node and the reference clock, so as to achieve the purpose of clock synchronization.
  • the terminology related to the clock is explained below.
  • the local system clock After compensating and synchronizing the local clock of the slave node, the local system clock is obtained.
  • the distributed clock synchronization process keeps the local system clocks of each slave node consistent.
  • the reference clock is the system clock of the first slave node with distributed clock function and connected to the master node.
  • the clock of slave node 1 shown in Figure 2 is the reference clock.
  • the function of the reference clock is to synchronize the system clocks of the master node 1, the slave node 2 and the slave node 3.
  • the slave clock is the system clock of the slave nodes other than the first slave node connected to the master node.
  • the clock of slave node 2 shown in FIG. 2 is a slave clock.
  • Each slave node includes a local clock, which runs independently and uses the local clock signal of the slave node for timing.
  • the initial clock offset is the difference between the local clock and the reference clock after initial power-on.
  • the amount of clock drift is the cumulative error generated by the local clock of the node during operation.
  • the amount of clock drift can be caused by differences in the clock source (crystal oscillator) of each node.
  • Transmission delay is the delay caused by data frame transmission between slave nodes.
  • the transmission delay can include the internal processing delay of the slave node (although EtherCAT services are processed in real time by hardware, there may also be nanosecond-level delay) and the delay of physical connection (EtherCAT service transmission delay).
  • the master clock is the clock of the master node.
  • t_local(n) represents the local clock of the nth slave node
  • t_sys_ref represents the synchronized system clock after compensating t_sys_ref(n)
  • t_sys_ref(n) represents the local system clock of the nth slave node
  • T_offset( n) represents the initial clock offset of the nth slave node.
  • T_delay(n) represents the transmission delay of the data frame transmission to the nth slave node.
  • T3(n) the time it reaches the nth slave node.
  • t_sys_ref is Time T4.
  • the slave node can adjust the local clock according to Delta_t.
  • FIG. 4 is a schematic diagram of a QoS architecture provided by an embodiment of the present application.
  • the 5G quality of service (quality of service, QoS) model is introduced below with reference to FIG. 4 .
  • the 5G QoS model based on QoS flow can guarantee the end-to-end service quality of the business.
  • the 5G QoS model can support guaranteed bit rate (guaranteed bit rate, GBR) QoS flow (flow) and non-guaranteed bit rate (Non-GBR) QoS flow. If multiple packets use the same QoS flow control, these packets can receive the same transmission processing, such as scheduling, or admission threshold.
  • a 5G access network may include terminal equipment and access network equipment, and the terminal equipment communicates with the access network equipment through a 5G air interface (ie, a Uu interface).
  • the 5G core network (5th generation core, 5GC) may include UPF network elements, and the access network equipment communicates with the UPF network elements through the N3 interface.
  • a terminal device can establish one or more packet data unit (protocol data unit, PDU) sessions with the 5G network.
  • PDU packet data unit
  • a PDU session is an association between a terminal device and a data network (DN) network and can provide PDU connection services.
  • a PDU session may include an NG-U tunnel, and the NG-U tunnel is a channel between the access network device and the UPF network element.
  • a PDU session may include multiple QoS flows, and the QoS flow identifier (QoS flow identifier, QFI) of each QoS flow is different, and the QFIs corresponding to the QoS flows included in different PDU sessions may be the same.
  • QoS flows are mapped to radio bearers (RBs). Wherein, the RB includes signaling radio bearers (signaling radio bearers, SRB) and DRB, the SRB is used to carry messages, and the DRB is used to carry user plane data.
  • the mapping of QoS flows to radio bearers can be in a one-to-one relationship or a many-to-one relationship.
  • a QoS profile may be used to determine the type of QoS flow.
  • the QoS configuration file corresponding to the GBR QoS flow includes but is not limited to one or more of the following QoS parameters: 5G QoS identifier (5G QoS identifier, 5QI), allocation and reservation priority (allocation and retention priority, ARP), Guaranteed flow bit rate (GFBR), maximum flow bit rate (MFBR), QoS notification control (QNC).
  • 5G QoS identifier 5G QoS identifier, 5QI
  • allocation and reservation priority allocation and reservation priority (allocation and retention priority, ARP
  • QoS notification control QoS notification control
  • the QoS configuration file corresponding to the Non-GBR QoS flow includes but is not limited to one or more of the following QoS parameters: 5QI, ARP, and reverse QoS attribute (reflective QoS attribute, RQA).
  • 5QI is a scalar used to index to the corresponding 5G QoS feature.
  • 5QI can be divided into standardized 5QI, pre-configured 5QI and dynamically allocated 5QI.
  • the standardized 5QI corresponds to a set of standardized 5G QoS feature values one-to-one.
  • the 5G QoS characteristic value corresponding to the pre-configured 5QI can be pre-configured on the access network equipment.
  • the 5G QoS characteristics corresponding to the dynamically allocated 5QI can be sent to the access network equipment by the 5GC (such as the SMF network element) through the QoS configuration file.
  • ARP may include priority, preemption capability, and preemption capability.
  • RQA can be used to indicate the traffic transmitted using the corresponding QoS flow, using reversed QoS.
  • the QNC can be used to indicate whether the (R)AN device notifies the core network when the guaranteed stream bit rate GFBR cannot be satisfied during the period in which the (R)AN device uses the QoS flow.
  • the GBR QoS flow can be divided into a GBR QoS flow that requires notification control and a GBR QoS flow that does not require notification control.
  • the (R)AN device detects that the guaranteed stream bit rate GFBR cannot be satisfied, the (R)AN device notifies the SMF network element of the event.
  • the (R)AN device For a GBR QoS flow that does not require notification control, when the (R)AN device detects that the guaranteed stream bit rate GFBR cannot be satisfied, the (R)AN device does not notify the SMF of the event. Further, the SMF network element can initiate a QoS flow deletion or modification process.
  • GFBR can be used to indicate the bit rate expected to be provided to the GBR QoS flow.
  • MFBR can be used to indicate to limit the bit rate provided to the GBR QoS flow, i.e. the maximum bit rate provided to the GBR QoS flow. For example, packets can be dropped when this bit rate is exceeded.
  • FIG. 5 is a schematic flowchart of establishing a QoS flow according to an embodiment of the present application.
  • GBR QoS flow it is mainly controlled based on signaling.
  • the establishment process of this QoS flow is shown in Figure 5.
  • the SMF network element sends service data flow (service data flow, SDF) information to the UPF network element.
  • the UPF network element receives the service data flow information from the SMF network element.
  • the service data flow information may include QoS control information.
  • the SMF network element may determine to establish a QoS flow according to a local policy or a policy and charging control (policy and charging control, PCC) rule from a policy control function (policy control function, PCF) network element.
  • policy and charging control PCC
  • PCF policy control function
  • a PCC rule is a set of information that can be used to detect the service data flow SDF and provide parameters for policy control and/or charging control and/or other control or support information.
  • the network element of the mobility management function (access and mobility management function, AMF) sends the QoS configuration file of the QoS flow to the (R)AN device. Accordingly, the (R)AN device receives the QoS profile of the QoS flow from the AMF network element.
  • the AMF network element or the (R)AN device sends the QoS rule to the terminal device.
  • the terminal device receives the QoS rules from the AMF network element or the (R)AN device.
  • the QoS rules may include QoS control information.
  • the UPF network element performs QoS control of downlink data packets and verification of uplink data packets according to the SDF information.
  • QoS control is performed according to the SDF information sent by the SMF network element, for example, QFI is carried in the data packet header.
  • the UPF network element when the UPF network element receives the uplink data packet sent by the (R)AN device, it verifies whether the data packet is transmitted using the correct QoS flow. For example, use a QoS template to verify that the packet was transmitted using the correct QoS flow.
  • the (R)AN device establishes the DRB and the mapping relationship between the DRB and the QoS flow according to the QoS configuration file.
  • the (R)AN device when the (R)AN device receives the downlink data packet, according to the QFI in the packet header and the mapping relationship between the QoS flow corresponding to the QFI and the DRB, the data packet is placed on the corresponding DRB for transmission.
  • the QFI is added to the data packet header between the (R)AN device and the UPF network element.
  • the terminal device performs QoS control of the uplink data packet according to the QoS rule.
  • the terminal device when the terminal device determines to send an uplink data packet, it can determine the QoS flow according to the QoS rule, and carry the QFI in the packet header.
  • the terminal device transmits the data packet on the corresponding DRB according to the mapping relationship between QoS flow and DRB.
  • the binding mechanism is the process of associating a service data flow SDF (defined in PCC rules through an SDF template) with a QoS flow that transports the service data flow.
  • PCC rules are SDF granularity
  • 5G QoS model is QoS flow granularity
  • (R)AN devices are scheduled based on QoS flow granularity
  • SDF can be mapped to QoS flow for QoS control.
  • the binding mechanism of the QoS flow and the PCC rule may include the following steps 1 to 3.
  • Step 1 binding the session, may include a one-to-one correspondence between the AF session and the PDU session.
  • Step 2 authorize the PCC rules.
  • the PCF network element may authorize the PCC rules and assign QoS parameters to the PCC rules.
  • Step 3 Bind QoS flow. Binding a QoS flow is the association of a PCC rule with a QoS flow in a PDU session. PCC rules with different properties can be bound to different QoS flows.
  • binding QoS flows may be performed using one or more of the following binding parameters, including but not limited to: 5QI, ARP, QNC (if available in PCC rules), priority level, average window (averaging window), and maximum data burst volume.
  • a communication system applicable to the embodiments of the present application is described in detail by taking the communication system shown in FIG. 6 or FIG. 7 as an example.
  • the solutions in the embodiments of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other mobile communication systems.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • FIG. 6 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the communication system 600 includes a first core network 601 and a first access network 602 .
  • the communication system 600 may also include a data network 604 .
  • the communication system 600 may further include: a first terminal device 603 .
  • the communication system 600 shown in FIG. 6 may be applied to the 5G system currently under discussion, or other communication systems in the future, which is not specifically limited in this embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another communication system provided by an embodiment of the present application.
  • the communication system 700 includes a first core network 601 , a first access network 602 , a second core network 605 , and a second access network 606 .
  • the first core network 601 and the second core network 605 may be the same core network, and the first access network 602 and the second access network 606 may be the same access network.
  • the communication system 700 may further include: a first terminal device 603 and a first terminal device 607 .
  • the communication system 700 shown in FIG. 7 may be applied to the 5G system currently under discussion, or other communication systems in the future, which are not specifically limited in this embodiment of the present application.
  • the network elements or entities corresponding to the first core network 601 may include non-roaming network elements or entities.
  • the UPF network elements in the roaming 5G network architecture may further include SMF network elements and/or PCF network elements, and the above-mentioned first access network 602 may include the (R)AN device in FIG. 8 or FIG. 9 .
  • the above-mentioned data network 604 may be the DN in FIG. 8 or FIG. 9 .
  • the above-mentioned first terminal device 603 may be the terminal device in FIG. 8 or FIG. 9 .
  • the non-roaming 5G network architecture may also include AMF network elements, AF network elements, network slice selection function (NSSF) network elements, and authentication server function (AUSF)
  • a network element, a unified data management (unified data management, UDM) network element, etc., are not specifically limited in this embodiment of the present application.
  • the terminal device communicates with the AMF network element through the next generation network (next generation, N) 1 interface (N1 for short), the (R)AN device communicates with the AMF network element through the N2 interface (N2 for short), and the (R)AN device
  • the UPF network element communicates with the UPF network element through the N3 interface (referred to as N3), the UPF network element communicates with the DN through the N6 interface (referred to as N6), the AMF network element communicates with the SMF network element through the N11 interface (referred to as N11), and the AMF network element communicates with the SMF network element through the N15 interface ( N15 for short) communicates with PCF network element,
  • AMF network element communicates with NSSF network element through N22 interface, AMF network element communicates with AUSF network element through N12 interface (N12 for short), AMF network element communicates with UDM network element through N8 interface (N8 for short) Element communication, SMF network element communicates with PCF network element through N7 interface (N
  • control plane network elements such as AMF network elements, SMF network elements, PCF network elements, NSSF network elements, AUSF network elements, and UDM network elements in the non-roaming 5G network architecture shown in FIG. 8 can also be used. interact with the service interface.
  • 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 PCF network element can be Npcf
  • the service interface provided by the NSSF network element The service interface provided externally may be Nnssf
  • the service interface provided by the AUSF network element may be Nausf
  • the service interface provided by the UDM network element may be Nudm.
  • 5G system architecture 5G system architecture
  • the network elements corresponding to the first core network 601 or The entity may include a UPF network element in a non-roaming 5G network architecture, and may also include an SMF network element and/or a visited PCF (a PCF in the VPLMN, V-PCF) network element, and the above-mentioned first access network 602 may include a (R)AN equipment in 10.
  • the above-mentioned first terminal device 603 may be the terminal device in FIG. 10 .
  • the above-mentioned data network 604 may be the DN in FIG. 10 .
  • the local roaming 5G network architecture may also include AMF network elements, SMF network elements, AF network elements, NSSF network elements, and home PCF (a PCF in the HPLMN, H-PCF) network element, AUSF network element, UDM network element, etc., which are not specifically limited in this embodiment of the present application.
  • UDM network elements, AUSF network elements and H-PCF network elements belong to the home public land mobile network (HPLMN); (R) AN equipment, AMF network elements, SMF network elements, UPF network elements, The V-PCF network element, the NSSF network element, and the AF network element belong to the visited public land mobile network (visited public land mobile network, VPLMN).
  • the terminal device communicates with the AMF network element through the N1 interface (N1 for short), the (R)AN device communicates with the AMF network element through the N2 interface (N2 for short), and the (R)AN device communicates with the UPF through the N3 interface (N3 for short).
  • UPF NE communicates with DN through N6 interface (N6 for short)
  • AMF NE communicates with SMF NE through N11 interface (N11 for short)
  • AMF NE communicates with V-PCF NE through N15 interface (N15 for short)
  • AMF network element communicates with NSSF network element through N22 interface (N22 for short)
  • AMF network element communicates with AUSF network element through N12 interface (N12 for short)
  • AMF network element communicates with UDM network element through N8 interface (N8 for short)
  • the SMF network element communicates with the V-PCF network element through the N7 interface (N7 for short)
  • the SMF network element communicates with the UPF network element through the N4 interface (N4 for short)
  • the SMF network element communicates with the UDM network element through the N10 interface (N10 for short).
  • the V-PCF network element communicates with the AF network element through the N5 interface (N5 for short), the V-PCF network element communicates with the H-PCF network element through the N24 interface (N24 for short), and the UDM network element communicates with the AUSF through the N13 interface (N13 for short). Network element communication.
  • AMF network element SMF network element, UDM network element, AUSF network element, NSSF network element, V-PCF network element or H-PCF network element in the 5G network architecture for local grooming and roaming shown in FIG. 10
  • Elements and other control plane network elements can also use service-oriented interfaces to interact.
  • 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; V-PCF The service interface provided by the network element can be Npcf; the service interface provided by the H-PCF network element can be Npcf; the service interface provided by the AUSF network element can be Nausf, and the service interface provided by the NSSF network element can be is Nnssf.
  • the visited security edge protection proxy (V-SEPP) in Figure 11 is used for information filtering and policy control of the VPLMN internal control plane interface, as well as topology hiding, etc.; the home security edge in Figure 11
  • the home security edge protection proxy (H-SEPP) is used for information filtering and policy control of the internal control plane interface of the HPLMN, as well as topology hiding; V-SEPP and H-SEPP are connected through the N32 interface (N32 for short).
  • N32 interface N32 for short.
  • the entity may include a visited UPF (visited UPF, V-UPF) network element, a home UPF (home UPF, H-UPF) network element in a non-roaming 5G network architecture, and may also include an H-SMF network element, a V-UPF network element, and a SMF network element, and/or visited PCF (a PCF in the VPLMN, V-PCF) network element, H-PCF network element, the above-mentioned first access network 602 may include the (R)AN device in FIG. 12 .
  • the foregoing first terminal device 603 may be the terminal device in FIG. 12 .
  • the above-mentioned data network 604 may be the DN in FIG. 12 .
  • the home routing roaming 5G network architecture may also include a visited NSSF (visited NSSF, V-NSSF) network element, a home NSSF (home NSSF, H-NSSF) network element, and an AUSF network.
  • a visited NSSF visitor NSSF
  • V-NSSF visited NSSF
  • home NSSF home NSSF
  • AUSF AUSF network.
  • element UDM network element, AMF network element, AF network element, etc., which are not specifically limited in this embodiment of the present application.
  • H-NSSF network elements H-NSSF network elements, AUSF network elements, UDM network elements, H-SMF network elements, H-PCF network elements, H-UPF network elements, AF network elements, and H-UPF network elements belong to HPLMN; -UPF network elements, AMF network elements, V-SMF network elements, V-NSSF network elements, and V-PCF network elements belong to the VPLMN.
  • the terminal device communicates with the AMF network element through the N1 interface (N1 for short), the RAN device communicates with the AMF network element through the N2 interface (N2 for short), the RAN device communicates with the UPF network element through the N3 interface (N3 for short), and the UPF network
  • the element communicates with the DN through the N6 interface (N6 for short)
  • the AMF network element communicates with the V-SMF network element through the N11 interface (N11 for short)
  • the V-SMF network element communicates with the H-SMF network element through the N16 interface (N16 for short).
  • the AMF network element communicates with the UDM network element through the N8 interface (N8 for short), the AMF network element communicates with the AUSF network element through the N12 interface (N12 for short), and the AMF network element communicates with the V-PCF network element through the N15 interface (N15 for short);
  • the V-PCF network element communicates with the H-PCF network element through the N24 interface (referred to as N24), the V-SMF network element communicates with the V-UPF network element through the N4 interface (referred to as N4), and the H-SMF network element communicates with the V-UPF network element through the N4 interface (referred to as N4 for short).
  • the H-SMF network element communicates with the V-UPF network element through the N9 interface (N9 for short), and the H-SMF network element communicates with the UDM network element through the N10 interface (N10 for short).
  • the SMF network element communicates with the UDM network element through the N7 interface (N7 for short), and the UDM network element communicates with the AUSF network element through the N13 interface (N13 for short).
  • AMF network elements V-SMF network elements, H-SMF network elements, V-PCF network elements, H-PCF network elements, V - NSSF network elements, H-NSSF network elements, UDM network elements, AUSF 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 V-SMF network element can be Nsmf; the service interface provided by the H-SMF network element can be Nsmf ;
  • the service interface provided by the V-PCF network element can be Npcf; the service interface provided by the H-PCF network element can be Npcf; the service interface provided by the UDM network element can be Nudm;
  • the service interface can be Nausf.
  • V-SEPP in Figure 13 is used for information filtering and policy control of VPLMN internal control plane interface, and topology hiding, etc.
  • H-SEPP in Figure 13 is used for information filtering and policy control of HPLMN internal control plane interface, and Topology hiding, etc.
  • V-SEPP and H-SEPP are connected through an N32 interface (N32 for short).
  • N32 N32 for short.
  • the communication system 700 shown in FIG. 7 can be applied to a 5G network architecture similar to the 5G network architecture shown in FIGS. 8-
  • the UPF in the 5G network architecture of Fig. 13 is routed to another (or the same) UPF, and the DN (or N6 interface) in the 5G network architecture of Fig. 8-Fig. 13 is replaced with another (R)AN device and another terminal device to obtain the 5G network architecture.
  • the UPF in the 5G network architecture of Figures 8-13 is routed to another UPF, and the DN (or N6 interface) in the 5G network architecture of Figures 8-13 is replaced with another (R)AN device and After another terminal device, the obtained 5G network architecture can include two 5GCs.
  • the terminal equipment, (R)AN equipment, and 5GC involved in the embodiments of the present application are introduced below.
  • the terminal device (terminal) in this embodiment of the present application may be a device for implementing 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, a remote station, a remote terminal, a mobile device, a wireless communication device in a 5G network or a future evolved PLMN. equipment, terminal agent or terminal device, etc.
  • the access terminal may be a cellular telephone, a cordless telephone, a session initiation protocol (SIP) telephone, 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 (R)AN device in the embodiment of the present application is a device located on the network side of the above-mentioned communication system and has a wireless transceiver function, or a chip or a chip system that can be provided in the device.
  • the (R)AN equipment includes but is not limited to: access points (APs) (such as home gateways, routers, servers, switches, bridges, etc.), base stations, Evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver) station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), wireless relay node, wireless backhaul node, or transmission point (transmission and reception point, TRP or transmission point, TP) and so on.
  • APs access points
  • the (R)AN device may also be 5G, such as a gNB in a new radio (NR) system, a transmission point (TRP or TP), one or a group of base stations in a 5G system (including multiple antenna panels) ) antenna panel, or can be a network node that constitutes a gNB or a transmission point, such as a baseband unit (BBU), a central unit (CU), a distributed unit (DU), or a channel with base station functions. Edge unit (road side unit, RSU) and so on.
  • the centralized unit CU may include a control plane (central unit-control plane, CU-CP) and a user plane (central unit-user plane, CU-UP).
  • the (R)AN device may also be a device comprising a centralized unit CU and a distributed unit DU.
  • the 5GC in this embodiment of the present application may include the terminal equipment in FIG. 8 to FIG. 13 , the (R)AN equipment, and network elements other than the DN.
  • the 5GS may include network elements other than the DN in Figures 8-13. The functions of network elements in 5GC are introduced below.
  • the functions of the UPF network element may include: packet routing and transmission, packet detection, service usage reporting, QoS processing, legal interception, uplink packet detection, or downlink packet storage and other user plane-related functions;
  • the functions of the AMF network element may include: connection management, mobility management, registration management, access authentication and authorization, reachability management, or security context management and other access and mobility-related functions.
  • SMF network elements can include: session management (such as session establishment, modification and release, including tunnel maintenance between UPF and AN), UPF selection and control, SSC (Service and Session Continuity, service and session continuity) mode Session-related functions such as selection and roaming.
  • session management such as session establishment, modification and release, including tunnel maintenance between UPF and AN
  • UPF selection and control UPF selection and control
  • SSC Service and Session Continuity, service and session continuity
  • Session-related functions such as selection and roaming.
  • the functions of the PCF network element may include: unified policy formulation, provision of policy control, and acquisition of subscription information related to policy decision from UDR and other policy-related functions.
  • the functions of the NSSF network element may include: selecting a set of network slice instances for the terminal device, determining the allowed NSSAI, and determining the AMF set that can serve the terminal device, and so on.
  • NR network elements can include: service discovery function, maintaining the NF text of available network function (NF, network Function) instances and the services they support.
  • service discovery function maintaining the NF text of available network function (NF, network Function) instances and the services they support.
  • the functions of the AF network element may include: interacting with the 3GPP core network to provide services or services, including interacting with the network exposure function (NEF) network element, interacting with the policy framework, and the like.
  • NEF network exposure function
  • the functions of the NEF network element may include: securely open the services and capabilities provided by the 3GPP network function, open internally, or open to a third party. Convert or translate information interacting with AF and internal network function interaction ethics information, such as AF service logo and internal 5G core network information such as DNN, S-NSSAI, etc.
  • the functions of the UDM network element may include: supporting authentication credential processing in the 3GPP authentication and key negotiation mechanism, user identity processing, access authorization, registration and mobility management, subscription management, and short message management.
  • the functions of the AUSF network element may include: an authentication server function, interacting with the UDM to obtain user information, and performing authentication-related functions, such as generating an intermediate key, etc.
  • FIG. 14A is a protocol architecture diagram provided by an embodiment of the present application.
  • the (R)AN device and the terminal device communicate through the Uu interface
  • the (R)AN device and the UPF network element communicate through the N3 interface
  • the UPF network element and the UPF network element communicate through the N9 interface.
  • terminal devices all include an application layer.
  • Both the UPF network element and the terminal device include the protocol data unit (protocol data unit, PDU) protocol layer.
  • (R)AN equipment and UPF network elements include general packet radio service tunnel user plane protocol (general packet radio service tunnel protocol user, GTP-U) layer, user datagram protocol (user datagram protocol, UDP) or Internet Protocol (internet protocol). protocol, IP) layer, layer two (layer 2, L2) and layer one (layer 1, L1).
  • the second layer is a data link layer between the Internet protocol layer and the physical layer, and the first layer may be a physical layer (PHY) layer.
  • PHY physical layer
  • the (R)AN equipment and terminal equipment both include a service data adaptation protocol (SDAP) layer, a packet data convergence protocol (PDCP) layer, and a radio link control (radio link control, RLC) layer. protocol layer, media access control (media access control, MAC) protocol layer and L1 protocol layer.
  • SDAP service data adaptation protocol
  • PDCP packet data convergence protocol
  • RLC radio link control
  • protocol layer protocol layer
  • media access control media access control
  • L1 protocol layer L1 protocol layer
  • the (R)AN device also includes a relay layer that can be used to parse the received data packets.
  • Both the (R)AN device and the terminal device may include a 5G-AN protocol layer, and the specific implementation of the 5G-AN protocol layer may refer to the prior art, which will not be repeated here.
  • the PDU protocol layer corresponds to the PDU carried between the terminal device on the PDU session and the data network.
  • the PDU session type is IPv4, IPv6 or IPv4v6, it corresponds to IPv4 packets or IPv6 packets, or corresponds to IPv4 packets and IPv6 packets.
  • Ethernet Ethernet
  • the GTP-U protocol layer supports tunneling user data on N3 (i.e. between 5G-AN nodes and UPF) and N9 (i.e. between different UPFs of 5GC), providing encapsulation on a per-PDU session level.
  • the 5G air interface (that is, the Uu interface) is generally scheduled according to time slots, etc., and the actual delay of the downlink data packet may be quite different from the actual delay of the uplink data packet.
  • the protocol layers with the same name between the terminal device and the (R)AN device, the (R)AN device and the UPF network element, and the UPF network element and the UPF network element may be referred to as peer-to-peer protocol layers or corresponding protocol layers.
  • the GTP-U layer of the (R)AN device and the GTP-U layer of the UPF network element are a pair of peer-to-peer protocol layers.
  • the peer-to-peer protocol layer of the sender is used to generate and send data
  • the peer-to-peer protocol layer of the receiver is used to receive and parse the data sent by the sender.
  • FIG. 14B is another protocol architecture diagram provided by this embodiment of the present application.
  • the terminal device 1 and the UPF network element 1 can communicate through the PDU session 1
  • the UPF network element 1 and the UPF network element 2 can communicate through the N19 interface
  • the UPF network element 2 and the terminal device 2 can communicate through the N19 interface.
  • PDU Session 2 to communicate.
  • the UPF network element 1 may include a PDU session anchor (PDU session anchor, PSA), and the UPF network element 2 may include a PDU session anchor.
  • PDU session anchor PDU session anchor
  • PSA PDU session anchor
  • both terminal device 1 and terminal device 2 include an application layer.
  • Both the UPF network element 1 and the UPF network element 2 include a PDU protocol layer, a GTP-U protocol layer, a UDP/IP protocol layer, L2, and L1.
  • Terminal equipment 1 and terminal equipment 2 include a PDU session user plane protocol layer on the terminal equipment side
  • UPF network element 1 and UPF network element 2 include a PDU session user plane protocol layer on the UPF network element side.
  • the specific implementation of the user plane protocol layer of the PDU session may refer to the prior art, which will not be repeated here.
  • the UPF network element 1 and the UPF network element 2 further include a relay layer, which can be used to parse the received data packets.
  • FIG. 15 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • the communication method includes the following steps:
  • the first network element sends the second data and the second time stamp to the first device. Accordingly, the first device receives the second data and the second timestamp from the first network element.
  • the first network element may be a UPF network element or an access network element.
  • An access network element may be referred to as an access network device.
  • the first network element may be the first core network 601 shown in FIG. 6 or FIG. 7 , such as a UPF network element, or the first network element may be the first access network shown in FIG. 6 or FIG. 7 602, such as (R)AN device.
  • the first device may be a terminal device, such as the first terminal device 603 shown in FIG. 6 or FIG. 7 .
  • the second data is data sent by the first network element to the first device.
  • the second data may be downlink data received by the first network element.
  • the DN sends the second data to the first network element.
  • the first network element receives the second data from the DN. That is, when the communication method shown in FIG. 15 is applied to the communication system shown in FIG. 6 , the second data may come from the DN.
  • the second network element sends the second data to the first network element.
  • the first network element receives the second data from the second network element.
  • the second network element may be a UPF network element different from the first network element, and the second network element may be the second core network 605 shown in FIG. 7 , such as a UPF network element. That is, when the communication method shown in FIG. 15 is applied to the communication system shown in FIG. 7 , the second data may come from the first network element.
  • the communication method provided by the embodiment of the present application may further include: the second device sends the second data to the second network element.
  • the second network element receives the second data from the second device. That is, the second data may come from the second device, and the second device may be the second terminal device 607 shown in FIG. 7 .
  • the second device sends the second data to the first network element.
  • the first network element receives the second data from the second device. That is, when the first network element and the second network element are the same network element, the first network element may receive the second data from the second device.
  • the second timestamp may be used to indicate the moment when the first network element receives the second data or the second data packet.
  • the above S1501 may include: the first network element sends the second data packet to the first device.
  • the first device receives the second data packet from the first network element.
  • the second data packet may include second data and a second timestamp.
  • the second data and the second time stamp may be sent to the first device through the second data packet.
  • the second timestamp may be placed in the header of the second data packet.
  • the foregoing first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data and the second time stamp to the first device according to the first time stamp indication information Second time stamp.
  • the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
  • the first timestamp indication information may be used to instruct the first network element to add a corresponding moment of receiving the at least one data packet to the at least one data packet.
  • At least one data packet may include a second data packet, and the second data packet may include second data.
  • the second data packet received by the first network element is the same as the data content included in the second data packet sent by the first network element to the first device, and both are second data.
  • the header of the second data packet may be different from the header of the second data packet sent by the first network element to the first device.
  • the (R)AN device performs protocol replacement on the header of the second data packet (for example, GTP- U protocol header is replaced with SDAP protocol header or PDCP protocol header) to obtain a new protocol header (or new header), but the second timestamp carried in the new protocol header (or new header) is the same as the original protocol header (or called original header). header) is the same, and the second data in the second data packet is unchanged.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow SDF, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the first session may be a PDU session, which is not limited in this application.
  • SDF1 corresponds to data packet 1 and data packet 2
  • SDF2 corresponds to data packet 3 and data packet 4
  • the first timestamp indication information indicates that corresponding received data packets are respectively added to data packet 1 and data packet 2 corresponding to SDF1. 1 and the moment of packet 2.
  • the time of receiving the data packet may be added to the data packet 1
  • the reception of the data packet 2 is similar to the reception of the data packet 1.
  • the time stamp may not be added to the data packet 3
  • the received data packet 4 is similar to the received data packet 3 .
  • the first timestamp indication information may indicate that the PDU session 2
  • the corresponding data packets 7 and 8 are respectively added with the corresponding time of receiving the data packets 7 and 8.
  • the time when the data packet is received may be added to the data packet 7
  • the received data packet 8 is similar to the received data packet 8 .
  • a timestamp may not be added to the data packet 5
  • the received data packet 6 is similar to the received data packet 6 .
  • the first device sends the second data after buffering the second data to a second time according to the first time information.
  • the above S1502 may include: the first device may, according to the first time information, cache the second data to a second time, and then transmit the second data to the application layer of the first device.
  • the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information.
  • the second time can be obtained according to the time indicated by the second timestamp and the duration indicated by the first time information, and the second time is when the first device sends the second data after receiving the second data from the first network element. moment.
  • the second moment the moment indicated by the second time stamp + the duration indicated by the first time information.
  • the second cache duration 0, and the first device may not cache the second data , send the second data directly.
  • the second cache duration is greater than 0, and the first device can cache a segment of the second data After the time has elapsed, the second data is sent.
  • the first device can buffer the second data for a period of time before sending the second data, so that the downlink transmission delay of the second data from the first network element to the first device and the duration indicated by the first time information equal.
  • the duration indicated by the first time information is equal to the duration from when the first device sends the first data to the first network element until the first network element sends the first data, and the first data is sent by the first device to the first network element.
  • the data That is to say, the duration indicated by the first time information is equal to the uplink transmission delay of the first data from the first device to the first network element. In this way, it can be ensured that the downlink transmission delay of the second data is equal to the uplink transmission delay of the first data.
  • the first data may be uplink data sent by the first device.
  • the first device sends the first data and the first timestamp to the first network element. Accordingly, the first network element receives the first data and the first timestamp from the first device.
  • the first timestamp may be used to indicate the moment when the first device sends the first data.
  • the above S1503 may include: the first device sends the first data packet to the first network element.
  • the first network element receives the first data packet from the first device.
  • the first data packet may include first data and a first timestamp. That is, the first data and the first timestamp may be sent to the first network element through the first data packet.
  • the first timestamp may be placed in the header of the first data packet.
  • the first data packet sent by the above-mentioned first device to the first network element is the same as the data content included in the first data packet received by the first network element, and both are second data.
  • the header of the first data packet sent by the element may be different from the header of the first data packet received by the first network element.
  • the (R)AN device when the first data packet sent by the first device passes through the (R)AN device, the (R)AN device performs protocol replacement on the header of the first data packet (for example, using SDAP The protocol header or the PDCP protocol header is replaced with the GTP-U protocol header) to obtain a new protocol header (or a new header), but the first timestamp carried in the new protocol header (or a new header) is the same as the original protocol header (or called a new header). The original header) is the same, and the first data in the first data packet is unchanged.
  • protocol replacement for example, using SDAP
  • the protocol header or the PDCP protocol header is replaced with the GTP-U protocol header
  • the first timestamp carried in the new protocol header (or a new header) is the same as the original protocol header (or called a new header).
  • the original header is the same, and the first data in the first data packet is unchanged.
  • the foregoing first device sending the first data and the first timestamp to the first network element may include: the first device sending the first data and the first timestamp to the first network element according to the first timestamp indication information a timestamp.
  • the first timestamp indication information may be used to instruct the first device to add a corresponding moment of sending the at least one data packet to the at least one data packet.
  • At least one data packet may include a first data packet, and the first data packet may include first data.
  • the first timestamp may be used to indicate the moment when the first device sends the first data or the first data packet.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow SDF, or the at least one data packet may be at least one data packet corresponding to the first session.
  • SDF1 corresponds to data packet 1 and data packet 2
  • SDF2 corresponds to data packet 3 and data packet 4
  • the first timestamp indication information indicates that the corresponding data packet 1 and data packet 2 corresponding to SDF1 are respectively added. 1 and the moment of packet 2.
  • the time for sending the data packet may be added to the data packet 1
  • the sending of the data packet 2 is similar to the sending of the data packet 1.
  • a timestamp may not be added to the data packet 3
  • the sending of the data packet 4 is similar to the sending of the data packet 3.
  • the first time stamp indication information indicates that the sending time corresponding to at least one data packet corresponding to the first session is added
  • the first time stamp indication information indicates that at least one data packet corresponding to the first service data flow SDF is added.
  • the example of the sending time is similar and will not be repeated here.
  • the first network element sends the first data after buffering the first data until the first time according to the first time information.
  • the above S1504 may include: the first network element sends the first data to the DN after buffering the first data to the first time according to the first time information. Accordingly, the DN receives the first data from the first network element.
  • the above S1504 may include: the first network element buffers the first data to the first time according to the first time information, and then sends the first data to the second network element.
  • the second network element receives the first data from the first network element.
  • the method provided in this embodiment of the present application may further include: the second network element sends the second data to the second device.
  • the second device receives the second data from the first network element.
  • the second device may receive the second data from the first network element through a data packet.
  • the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
  • the first time can be obtained according to the time indicated by the first timestamp and the duration indicated by the first time information, and the first time is when the first network element sends the first data after receiving the first data from the first device. moment.
  • the first moment the moment indicated by the first timestamp + the duration indicated by the first time information.
  • the first network element can buffer the first data for a period of time before sending the first data, so that the uplink transmission delay of the first data from the first device to the first network element is equal to the value indicated by the first time information.
  • the duration is equal.
  • the above S1504 may include: the first network element sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
  • the first network element receives the first data packet including the first data and the first time stamp, after buffering the first data to the first time, only the first data may be sent without sending the first time stamp.
  • the duration indicated by the first time information is equal to the duration of the first network element receiving the second data to the first device sending the second data, where the second data is the data sent by the first network element to the first device. That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the first network element and the first device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
  • the communication method provided by the embodiment of the present application may further include: S1505, the third network element sends the first time stamp indication information to the first network element.
  • the first network element receives the first timestamp indication information from the third network element.
  • the third network element may be an SMF network element.
  • the above S1505 may include: the third network element sends the forwarding rule to the first network element.
  • the first network element receives the forwarding rule from the third network element.
  • the forwarding rule may include first timestamp indication information.
  • the forwarding rule may include first indication information, and the first indication information may be used to indicate that the first time information is used, or to indicate that the first time information and the second time information are used.
  • the communication system When the communication system is the system architecture shown in FIG. 6 , it can be instructed to use the first time information, which can ensure the downlink transmission delay of the second data from the data network to the first device and the delay of the first data from the first device to the data network.
  • the upstream transmission delays are equal.
  • the communication system When the communication system is the system architecture shown in FIG. 7 , it can be instructed to use the first time information and the second time information, which can ensure that the transmission delay of the second data from the second device to the first device is the same as that of the first data in the first device.
  • the transmission delay from the device to the second device is equal.
  • the duration indicated by the first time information is equal to the duration from when the first network element receives the second data to when the first device sends the second data.
  • the duration indicated by the first time information is equal to the duration from when the first device sends the first data to the first network element to when the first network element sends the first data. That is to say, the downlink transmission delay of the second data from the first network element to the first device and the uplink transmission delay of the first data from the first device to the first network element are both equal to the first time information.
  • the first time information may be a time threshold for data transmission between the first device and the first network element.
  • the duration indicated by the first time information is equal to the difference between the moment when the first device receives the second data and the moment indicated by the second time stamp. That is to say, the duration indicated by the first time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the first network element and the first device. Alternatively, the first time information may be set according to a data packet delay budget or a service delay requirement.
  • the duration indicated by the first time information is greater than the difference between the moment when the first device receives the second data and the moment indicated by the second time stamp. That is to say, the duration indicated by the first time information may be greater than the downlink transmission delay of the second data between the first network element and the first device.
  • the duration indicated by the second time information is equal to the duration from when the second network element sends the second data to the first network element to when the first network element sends the second data to the first device.
  • the duration indicated by the second time information is equal to the duration of the first network element sending the first data to the second network element to the second network element sending the first data to the second device. That is to say, the transmission delay of the second data from the second network element to the first network element and the transmission delay of the first data from the first network source to the second network element are both equal to the second time information.
  • the second time information may be a time threshold for data transmission between the first network element and the second network element.
  • the duration indicated by the second time information is equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the second network element sends the second data to the first network element value. That is, the duration indicated by the second time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the first network element and the second network element. Alternatively, the second time information may be set according to a data packet delay budget or a service delay requirement.
  • the duration indicated by the second time information is greater than the time between the time when the first network element receives the second data from the second network element and the time when the second network element sends the second data to the first network element difference.
  • the communication method provided by the embodiment of the present application may further include: S1506, the third network element sends the first time information to the first network element.
  • the first network element receives the first time information from the third network element.
  • the first time information may be used to indicate that the received data is buffered according to the first time information.
  • the third network element may send an N4 session request message to the first network element.
  • the first network element may receive the N4 session request message from the third network element.
  • the N4 session request message may include first time information.
  • the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
  • this embodiment of the present application does not limit the sequence of S1506 and the above-mentioned S1505.
  • S1506 and the above-mentioned S1505 may be performed in one step.
  • the communication method provided by the embodiment of the present application may further include: S1507, the first network element sends response information to the third network element.
  • the third network element receives the response information from the first network element.
  • the response information may include confirmation that the first time stamp indication information and/or the first time information have been received.
  • the response information may include N4 session establishment response information or N4 session modification response information.
  • S1507 may be executed correspondingly, for example, corresponding to S1505, S1507 is executed once, and corresponding to S1506, S1507 is executed once.
  • the communication method provided by the embodiment of the present application may further include: S1508, the third network element sends the first time stamp indication information to the first device.
  • the first device receives the first timestamp indication information from the third network element.
  • the communication method provided by the embodiment of the present application may further include: S1509, the third network element sends the first time information to the first device.
  • the first device receives the first time information from the third network element.
  • this embodiment of the present application does not limit the sequence of S1508 and the above-mentioned S1509.
  • S1508 and the above-mentioned S1509 may be performed in one step.
  • This embodiment of the present application does not limit the sequence of the foregoing S1508 and the foregoing S1509, the foregoing S1505 and the foregoing S1506.
  • the communication method provided by the embodiment of the present application may further include: S1510, the fourth network element sends the first timestamp indication information to the third network element.
  • the third network element receives the first timestamp indication information from the fourth network element.
  • the fourth network element may be a PCF network element, and the fourth network element may generate the first timestamp indication information according to a service requirement from the AF network element (for example, the AF indicates that the service type is EtherCAT).
  • the fourth network element may send the first timestamp indication information through the PCC rule, indicating that the corresponding time of receiving or sending the at least one data packet is added to at least one data packet of the first service data stream.
  • the fourth network element may send the first timestamp indication information through session-related policy information, such as PDU session-related policy information, to instruct the service data flow of the first session to add corresponding receive or send the at least one. packet moment.
  • session-related policy information such as PDU session-related policy information
  • the communication method provided by the embodiment of the present application may further include: S1511, the fourth network element sends the first time information to the third network element.
  • the third network element receives the first time information from the first network element.
  • the fourth network element may be a PCF network element, and the fourth network element may generate the first time information according to a service requirement from the AF network element. That is, the first time information may be a time threshold for data transmission between the first network element and the second network element determined by the fourth network element.
  • the fourth network element may send the first time information through the PCC rule.
  • the fourth network element may send the first time information through policy information related to a session (eg, a PDU session).
  • the communication method provided by the embodiment of the present application may further include: the third network element sends a packet detection rule to the first network element.
  • the first network element receives the packet detection rules from the third network element.
  • the packet inspection rule may include second indication information, where the second indication information is used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data includes second data and first data.
  • a packet detection rule may include, but is not limited to, the contents shown in Table 1.
  • the outer header removal (outer header remove) information can be used to instruct the UPF network element to remove one or more outer headers of the received data packet.
  • the headers may include but are not limited to one or more of the following: IP header, UDP header , GTP header, VLAN tag (also known as VLAN tag), timestamp.
  • the outer header removal (outer header removal) information may include second indication information.
  • the forwarding rule FAR may include, but is not limited to, the contents shown in Table 2.
  • the action may be used to indicate an action to be performed on the data packet, and the action may include: adding an external header to the received data packet, and buffering the data packet.
  • the outer header creation information can be used to instruct the UPF network element to add an outer header to the received data packet.
  • the outer header creation may include first timestamp indication information.
  • the buffering action rule can be used to indicate the adopted buffering rule, for example, to indicate that the first time information is adopted, or to indicate that the first time information and the second time information are adopted.
  • the first indication information can be a buffering rule.
  • the communication method provided by the embodiment of the present application may further include: S1512, the third network element sends confirmation information to the fourth network element.
  • the fourth network element receives the confirmation information from the third network element.
  • the acknowledgment information may be used to indicate that the first time stamp indication information and/or the first time information have been confirmed to have been received.
  • S1512 may be executed correspondingly, for example, corresponding to S1510, S1512 is executed once, and corresponding to S1511, S1512 is executed once.
  • the first device determines the second time according to the first time information
  • the second time is the time when the first device sends the second data after receiving the second data from the first network element, and caches the second time.
  • the second data is sent after the second data arrives at the second time.
  • the first network element determines the first time according to the first time information.
  • the first time is the time when the first network element sends the first data after receiving the first data from the first device, and buffers the first data until the first time and sends the first data. first data.
  • the uplink transmission delay of the first data from the first device to the first network element and the downlink transmission delay of the second data from the first network element to the first device are both equal to the duration indicated by the first time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
  • FIG. 16 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • the first network element is the UPF network element
  • the first device is the first terminal device
  • the third network element is the SMF network element
  • the fourth network element is the PCF network element as an example for description.
  • the communication method includes the following steps:
  • the DN sends the second data to the UPF network element. Accordingly, the UPF network element receives the second data from the DN.
  • step S1601 may be optional.
  • the communication method shown in FIG. 16 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
  • the UPF network element sends the second data and the second time stamp to the first terminal device.
  • the first terminal device receives the second data and the second time stamp from the UPF network element.
  • the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
  • the above S1603 may include: the first terminal device may, according to the first time information, buffer the second data to a second time, and then transmit the second data to the application layer of the first terminal device.
  • the first terminal device can buffer the second data according to the first time information, and then send the second data, so that the downlink transmission delay of the second data from the UPF network element to the first terminal device and the time indicated by the first time information The duration is equal.
  • the first terminal device sends the first data and the first timestamp to the UPF network element.
  • the UPF network element receives the first data and the first timestamp from the first terminal device.
  • the UPF network element buffers the first data to the first time according to the first time information, and sends the first data to the DN. Accordingly, the DN receives the first data from the UPF network element.
  • sending the first data to the DN in the foregoing step S1605 may be optional.
  • the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
  • the UPF network element can buffer the first data for a period of time according to the first time information, and then send the first data, so that the first data can be transmitted between the uplink transmission delay from the first terminal device to the UPF network element and the first time information.
  • the indicated durations are equal.
  • the above S1605 may include: the UPF network element sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
  • the UPF network element may only send the first data without sending the first time stamp after buffering the first data to the first time.
  • the duration indicated by the first time information is equal to the duration of the UPF network element receiving the second data to the first terminal device sending the second data, where the second data is the data sent by the UPF network element to the first terminal device. That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the UPF network element and the first terminal device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
  • the communication method shown in FIG. 16 may further include S1606-S1610.
  • the specific implementation of S1606 can refer to the above S1505 and S1506, the specific implementation of S1607 can refer to the above S1507, the specific implementation of S1608 can refer to the above S1508 and S1509, the specific implementation of S1609 can refer to the above S1510 and S1511, S1610
  • the specific implementation method can refer to the above S1512, the difference is that the first network element is replaced by a UPF network element, the first device is replaced by the first terminal device, the third network element is replaced by an SMF network element, and the fourth network element is replaced by a PCF network element. element, and will not be repeated here.
  • the first terminal device determines the second time according to the first time information, and the second time is the time when the first terminal device sends the second data after receiving the second data from the UPF network element, and caches the second time.
  • the second data is sent after the second data time.
  • the UPF network element determines the first time according to the first time information.
  • the first time is the time when the UPF network element sends the first data after receiving the first data from the first terminal device, and buffers the first data until the first time and sends the first data. a data.
  • the uplink transmission delay of the first data from the first terminal device to the UPF network element and the downlink transmission delay of the second data from the UPF network element to the first terminal device are both equal to the duration indicated by the first time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
  • FIG. 17 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the first network element is an (R)AN device
  • the first device is a first terminal device
  • the third network element is an SMF network element
  • the fourth network element is a PCF network element as an example for description.
  • the communication method includes the following steps:
  • the DN sends the second data to the (R)AN device. Accordingly, the (R)AN device receives the second data from the DN.
  • the communication method shown in FIG. 17 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
  • the (R)AN device sends the second data and the second time stamp to the first terminal device. Accordingly, the first terminal device receives the second data and the second time stamp from the (R)AN device.
  • the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
  • the above S1703 may include: the first terminal device may, according to the first time information, buffer the second data to a second time, and then transmit the second data to the application layer of the first terminal device.
  • the first terminal device can buffer the second data according to the first time information, and then send the second data, so that the second data is between the downlink transmission delay from the (R)AN device to the first terminal device and the first time information.
  • the indicated durations are equal.
  • the first terminal device sends the first data and the first time stamp to the (R)AN device. Accordingly, the (R)AN device receives the first data and the first time stamp from the first terminal device.
  • the (R)AN device sends the first data to the DN after buffering the first data to the first time according to the first time information. Accordingly, the DN receives the first time information from the (R)AN device.
  • sending of the first data to the DN in the above S1705 may be optional.
  • the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
  • the (R)AN device can buffer the first data for a period of time according to the first time information, and then send the first data, so that the uplink transmission delay of the first data from the first terminal device to the (R)AN device is the same as that of the first data.
  • the durations indicated by the time information are equal.
  • the above S1705 may include: (R) the AN device sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
  • the (R)AN device may only send the first data without sending the first time stamp.
  • the duration indicated by the first time information is equal to the duration of the (R)AN device receiving the second data to the first terminal device sending the second data, and the second data is sent by the (R)AN device to the first terminal device.
  • the data That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the (R)AN device and the first terminal device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
  • the communication method shown in FIG. 17 may further include S1706-S1710.
  • S1706 refer to the above S1505 and S1506, for the specific implementation of S1707, refer to the above S1507, for the specific implementation of S1708, refer to the above S1508 and S1509, for the specific implementation of S1709, refer to the above S1510 and S1511, S1710
  • the specific implementation method can refer to the above S1512, the difference is that the first network element is replaced by (R)AN device, the first device is replaced by the first terminal device, the third network element is replaced by SMF network element, and the fourth network element is replaced by The PCF network element will not be repeated here.
  • the first terminal device determines the second time according to the first time information, and the second time is the time when the first terminal device sends the second data after receiving the second data from the (R)AN device , and send the second data after buffering the second data until the second time.
  • the (R)AN device determines the first time according to the first time information, and the first time is the time when the (R)AN device sends the first data after receiving the first data from the first terminal device, and buffers the first data to the first time. The first data is sent after the time.
  • the uplink transmission delay of the first data from the first terminal device to the (R)AN device and the downlink transmission delay of the second data from the (R)AN device to the first terminal device are both equal to the first time information.
  • the indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
  • FIG. 18 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the first network element is the UPF network element
  • the first device is the first terminal device
  • the third network element is the SMF network element
  • the fourth network element is the PCF network element as an example for description.
  • the communication method includes the following steps:
  • the DN sends the second data to the UPF network element. Accordingly, the UPF network element receives the second data from the DN.
  • the communication method shown in FIG. 18 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
  • the UPF network element sends the second data and the second time stamp to the first terminal device.
  • the first terminal device receives the second data and the second time stamp from the UPF network element, and sends the second data.
  • the first terminal device determines the first time information according to the time indicated by the second time stamp to the time when the first terminal device receives the second data.
  • the duration indicated by the first time information is equal to the duration from when the UPF network element receives the second data to when the first terminal device sends the second data.
  • the duration indicated by the first time information may be equal to the difference between the moment when the first terminal device receives the second data and the moment indicated by the second timestamp.
  • the second timestamp may be used to indicate the moment when the UPF network element receives the second data or the second data packet.
  • the duration indicated by the first time information may be equal to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device.
  • the first time information may be determined by the first terminal device according to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device, and the first terminal device does not buffer the second data after receiving the second data, Pass the second data directly to the application layer.
  • the first terminal device sends the first time information to the UPF network element.
  • the UPF network element receives the first time information from the first terminal device.
  • the first time information may be used to indicate that the received data is buffered according to the first time information.
  • the first time information may be used to indicate that the first data is cached according to the first time information.
  • the first time information may be sent to the UPF network element through a first data packet.
  • the first time information may be placed in the header of the first data packet.
  • the first terminal device sends the first data and the first timestamp to the UPF network element.
  • the UPF network element receives the first data and the first timestamp from the first terminal device.
  • this embodiment of the present application does not limit the sequence of the foregoing S1804-1 and the foregoing S1804.
  • S1804-1 and the foregoing S1804 may be performed in one step, and the first data, the first timestamp and the first time information may be sent by the first terminal device to the UPF network element through the first data packet.
  • the first data packet may carry the first data and the first timestamp.
  • the first timestamp may be placed in the header of the first data packet.
  • the first data packet may include first data, a first timestamp and first time information.
  • the first timestamp may be used to indicate the moment when the first terminal device sends the first data.
  • the first data packet may be sent by the first terminal device to the UPF network element according to the first timestamp indication information.
  • the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
  • the first time stamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet.
  • At least one data packet may include a first data packet, and the first data packet may include first data.
  • the at least one data packet is at least one data packet corresponding to the first service data flow, or at least one data packet corresponding to the first session.
  • the UPF network element buffers the first data to the first time according to the first time information, and sends the first data to the DN.
  • sending of the first data to the DN in the foregoing S1805 may be optional.
  • the UPF network element enables the first terminal device to send the first data to the UPF network element and the duration from which the UPF network element sends the first data is equal to the duration indicated by the first time information, so that the uplink transmission between the first device and the UPF network element
  • the delay of data is equal to the first time information, which may be the actual delay of downlink data transmission between the first terminal device and the UPF network element.
  • the transmission delay of the second data between the UPF network element and the first terminal device is greater than or equal to that of the first data between the first terminal device and the UPF network element.
  • the transmission delay is described as an example. If the transmission delay of the first data between the first terminal equipment and the UPF network element is greater than or equal to the transmission delay of the second data between the UPF network element and the first terminal equipment From the time when the device sends the first data to the time when the UPF network element receives the first data, the first time information is determined, and the first time information is sent to the first terminal device.
  • the first terminal device sends the second data after buffering the second data until a certain time according to the first time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data.
  • the specific implementation is similar to the implementation of the communication method shown in FIG. 18 , and details are not repeated here.
  • the communication method shown in FIG. 18 may further include S1806-S1810.
  • the specific implementation manner of S1806-S1810 is the same as the above-mentioned S1606-S1610, and will not be repeated here.
  • the first terminal device determines the first time information according to the time when the UPF network element receives the second data and the time when the first terminal device receives the second data, and sends it to the UPF network element, So that after receiving the first data from the first terminal device, the UPF network element buffers the first data for a period of time according to the first time information, and then sends the first data.
  • the transmission delay of the first data from the first terminal device to the UPF network element is equal to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device, thereby ensuring the transmission delay of the uplink data. It is equal to the delay of transmitting downlink data.
  • FIG. 19 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the first network element is an (R)AN device
  • the first device is a first terminal device
  • the third network element is an SMF network element
  • the fourth network element is a PCF network element as an example for description.
  • the communication method includes: S1901-S1905.
  • S1901-S1905 refer to the above-mentioned implementation of S1801-S1805, the difference is that the UPF network elements in S1801-S1805 are replaced by (R)AN devices, which will not be repeated here.
  • this embodiment of the present application does not limit the sequence of the foregoing S1904-1 and the foregoing S1904.
  • S1904-1 and the above S1904 may be performed in one step, and the first data, the first timestamp and the first time information may be sent by the first terminal device to the (R)AN device through the first data packet. of.
  • the transmission delay of the second data from the (R)AN device to the first terminal device is greater than or equal to that of the first data from the first terminal device to the (R)AN
  • the transmission delay between devices is described as an example. If the transmission delay of the first data between the first terminal device and the (R)AN device is greater than or equal to the transmission delay of the second data between the (R)AN device and the first terminal device, the (R) The AN device determines the first time information according to the time when the first terminal device sends the first data to the time when the (R)AN device receives the first data, and sends the first time information to the first terminal device.
  • the first terminal device sends the second data after buffering the second data until a certain time according to the first time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data.
  • the specific implementation is similar to the implementation of the communication method shown in FIG. 19 , and details are not repeated here.
  • the communication method shown in FIG. 19 may further include S1906-S1910.
  • S1906-S1910 are the same as the above-mentioned S1706-S1710, and are not repeated here.
  • the first terminal device determines the first time information according to the time when the (R)AN device receives the second data and the time when the first terminal device receives the second data, and sends it to (R) )AN device, so that after the (R)AN device receives the first data from the first terminal device, it buffers the first data for a period of time according to the first time information, and then sends the first data.
  • the transmission delay of the first data from the first terminal device to the (R)AN device is equal to the actual downlink transmission delay of the second data between the (R)AN device and the first terminal device, so that the uplink transmission can be guaranteed.
  • the delay of data is equal to the delay of transmitting downlink data.
  • FIG. 20 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the first network element is the first UPF network element
  • the second network element is the second UPF network element
  • the first device is the first terminal device
  • the second device is the second terminal device
  • the third network element is the SMF network element
  • the fourth network element is a PCF network element as an example for description.
  • the communication method shown in FIG. 19 may be adopted.
  • the following description will be made by taking an example that the first core network 601 includes the first UPF network element, and the second core network 602 includes the second UPF network element.
  • the first UPF network element and the second UPF network element are the same UPF network element, on the basis of the communication method shown in FIG. 20 , the first UPF network element and the second UPF network element may not add correspondence to at least one data packet The time when at least one data packet is received or sent, and/or the first timestamp indication information may not be received.
  • the same UPF network element can know the moment when the data packet is received and when the data packet is forwarded.
  • the communication method includes the following steps:
  • the second terminal device sends the second data and the seventh timestamp to the second UPF network element.
  • the second UPF network element receives the second data and the seventh timestamp from the second terminal device.
  • the seventh timestamp may be used to indicate the moment when the second terminal device sends the second data to the second UPF network element.
  • the above S2001 may include: the second terminal device sends a seventh data packet to the second UPF network element.
  • the second UPF network element receives the seventh data packet from the second terminal device.
  • the seventh data packet may include the second data and the seventh timestamp.
  • the seventh timestamp may be placed in the header of the seventh data packet.
  • the seventh data packet sent by the above-mentioned second terminal device to the second UPF network element is the same as the data content included in the seventh data packet received by the second UPF network element, and both are second data.
  • the header of the seventh data packet sent to the second UPF network element may be different from the header of the seventh data packet received by the second UPF network element.
  • sending the second data and the seventh time stamp to the second UPF network element by the second terminal device may include: the second terminal device sending the second data to the second UPF network element according to the indication information of the first time stamp. Second data and seventh timestamp.
  • first timestamp indication information reference may be made to the above S1503, which will not be repeated here.
  • the second UPF network element caches the second data to the seventh time according to the fourth time information.
  • the fourth time information is similar to the first time information, and the duration indicated by the fourth time information is equal to the duration for the second terminal device to send the second data to the second UPF network element to send the second data to the first UPF network element .
  • the duration indicated by the fourth time information is equal to the duration of the second UPF network element sending the first data to the second terminal device to the second terminal device sending the first data.
  • the fourth time information may be a time threshold for data transmission between the second UPF network element and the second terminal device. That is to say, the transmission delay of the second data between the second terminal device and the second UPF network element and the transmission delay of the first data between the second UPF network element and the second terminal device are both equal to the fourth time information.
  • the fourth indication information may be the same indication information as the first indication information, and is used to indicate the time threshold for data transmission between the terminal device and the UPF network element, and the time for data transmission between different terminal devices and the UPF network element.
  • the value of the threshold may be different.
  • the fourth time information is used as an example for description in this embodiment of the present application.
  • the second UPF network element sends the second data and the third time stamp to the first UPF network element.
  • the first UPF network element receives the second data and the third time stamp from the second UPF network element.
  • the third timestamp may be used to indicate the moment when the second UPF network element sends the second data to the first UPF network element.
  • the second data may be sent by the second terminal device to the second UPF network element through a data packet.
  • the second data and the third time stamp may be sent by the second UPF network element to the first UPF network element through a third data packet.
  • the second UPF network element sends the third data packet to the first UPF network element.
  • the first UPF network element receives the third data packet from the second UPF network element.
  • the third data packet may include the second data and a third time stamp.
  • the third timestamp may be placed in the header of the third data packet.
  • the above-mentioned second UPF network element sending the second data and the third time stamp to the first UPF network element may include: the second UPF network element sends the first UPF network element to the first UPF network element according to the indication information of the first time stamp The second data and the third timestamp are sent.
  • the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
  • the first timestamp indication information may be used to instruct the second UPF network element to add a corresponding moment of sending at least one data packet to at least one data packet.
  • At least one data packet may include a third data packet, and the third data packet may include second data.
  • first timestamp indication information and at least one data packet reference may be made to the corresponding implementation in the above S1501, which will not be repeated here.
  • the first UPF network element sends the second data and the second time stamp to the first terminal device after buffering the second data to a third time according to the second time information.
  • the first terminal device receives the second data and the second time stamp from the first UPF network element.
  • the second time information may be used to instruct the second UPF network element to buffer the received data according to the second time information.
  • the second time information may be a time threshold for data transmission between the first UPF network element and the second UPF network element.
  • the duration indicated by the second time information is equal to the duration during which the second UPF network element sends the second data to the first UPF network element and the first UPF network element sends the second data to the first terminal device.
  • the duration indicated by the second time information is equal to the duration of the first UPF network element sending the first data to the second UPF network element to the second UPF network element sending the first data to the second terminal device. That is, the transmission delay of the second data from the second UPF network element to the first UPF network element and the transmission delay of the first data from the first network source to the second UPF network element are both equal to the second time information.
  • the duration indicated by the second time information is equal to the moment when the first UPF network element receives the second data from the second UPF network element and the second UPF network element sends the second data to the first UPF network element difference in time.
  • the duration indicated by the second time information is greater than the time when the first UPF network element receives the second data from the second UPF network element and the second UPF network element sends the second UPF network element to the first UPF network element. The difference in time of the data.
  • the duration from the moment indicated by the third time stamp to the third moment is equal to the duration indicated by the second time information.
  • the third time may be obtained according to the time indicated by the third timestamp and the duration indicated by the second time information, where the third time is after the first UPF network element receives the second data from the second UPF network element, The moment when the second data is sent to the first terminal device.
  • the third moment the moment indicated by the third time stamp + the duration indicated by the second time information.
  • the first UPF network element may not buffer the second data, but directly send the second data to the first terminal device.
  • the first UPF network element may buffer the second data for a period of time before sending the second data to the first terminal device.
  • the first UPF network element can buffer the second data for a period of time, and then send the second data to the first terminal device, so that the transmission delay of the second data from the second UPF network element to the first UPF network element is delayed. It is equal to the duration indicated by the second time information.
  • the duration indicated by the second time information is equal to the duration of the first UPF network element sending the first data to the second UPF network element to the second UPF network element sending the first data to the second terminal device. That is to say, the duration indicated by the second time information is equal to the transmission delay of the first data from the first UPF network element to the second UPF network element. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
  • the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
  • S2005 For the specific implementation of S2005, reference may be made to the above-mentioned implementation of S1603, which will not be repeated here.
  • the above S2005 may be optional.
  • the first terminal device sends the first data and the first timestamp to the first UPF network element.
  • the first UPF network element receives the first data and the first time stamp from the first terminal device.
  • the first UPF network element caches the first data to the first time according to the first time information.
  • S2007 please refer to the implementation of the UPF network element caching the first data to the first time according to the first time information in the above S1605. The difference is that the UPF network element in S1604 is replaced with the first UPF network element. It is not repeated here.
  • the above S2007 may be optional.
  • the first UPF network element sends the first data and the fourth time stamp to the second UPF network element.
  • the second UPF network element receives the first data and the fourth timestamp from the first UPF network element.
  • the fourth timestamp may be used to indicate the moment when the first UPF network element sends the first data to the second UPF network element.
  • the above S2008 may include: the first UPF network element sends a fourth data packet to the second UPF network element.
  • the second UPF network element receives the fourth data packet from the first UPF network element.
  • the fourth data packet may include the first data and a fourth time stamp.
  • the first data and the fourth timestamp may be sent through a fourth data packet.
  • the fourth timestamp may be placed in the header of the fourth data packet.
  • the above-mentioned first UPF network element sending the first data and the fourth time stamp to the second UPF network element includes: the first UPF network element sends the second UPF network element according to the first time stamp indication information to the second UPF network element First data and fourth timestamp.
  • the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding moment of receiving or sending at least one data packet.
  • at least one data packet may include a fourth data packet, and the fourth data packet may include the first data.
  • the at least one data packet is at least one data packet corresponding to the first service data flow, or at least one data packet corresponding to the first session.
  • the first timestamp indication information may be used to instruct the first UPF network element to add a corresponding moment of sending at least one data packet to at least one data packet.
  • a specific example is similar to that in the above S1503, where the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
  • the second UPF network element sends the first data and the eighth timestamp to the second terminal device after buffering the first data to the fourth time according to the second time information.
  • the second terminal device receives the first data and the eighth timestamp from the second UPF network element.
  • the duration from the moment indicated by the fourth time stamp to the fourth moment is equal to the duration indicated by the second time information.
  • the fourth time can be obtained according to the time indicated by the fourth time stamp and the duration indicated by the second time information, and the fourth time is the time when the second UPF network element receives the first data from the first UPF network element. The moment when the second terminal device sends the first data.
  • the fourth moment the moment indicated by the fourth time stamp + the duration indicated by the second time information.
  • the second UPF network element may buffer the first data for a period of time, and then send the first data to the second terminal device, so that the transmission delay of the first data from the first UPF network element to the second UPF network element is delayed. It is equal to the duration indicated by the second time information.
  • the duration indicated by the second time information is equal to the duration during which the second UPF network element sends the second data to the first UPF network element and the first UPF network element sends the second data to the first terminal device. That is to say, the duration indicated by the second time information is equal to the transmission delay of the second data between the second UPF network element and the first UPF network element. In this way, it can be ensured that the transmission delay of the first data is equal to the transmission delay of the second data.
  • the eighth timestamp is used to indicate the moment when the second UPF network element sends the first data to the second terminal device.
  • the second UPF network element sending the first data and the eighth timestamp to the second terminal device may include: the second UPF network element sending the eighth data packet to the second terminal device.
  • the second terminal device receives the eighth data packet from the second UPF network element.
  • the eighth data packet may include the first data and the eighth timestamp.
  • the eighth timestamp may be placed in the header of the eighth data packet.
  • the second UPF network element sending the first data and the eighth timestamp to the second terminal device may include: the second UPF network element sends the second terminal to the second terminal according to the first timestamp indication information The device sends the first data and the eighth timestamp.
  • sending the first data and the eighth timestamp to the second terminal device in the above S2009 may be optional.
  • the second terminal device sends the first data after buffering the first data to the eighth time point according to the fourth time information.
  • the above S2010 may include: the second terminal device transfers the second data to the application layer of the second terminal device after buffering the first data to the eighth time according to the fourth time information.
  • S2010 For the specific implementation of S2010, reference may be made to the above-mentioned implementation of S1603, which will not be repeated here.
  • the above S2010 may be optional.
  • the communication method shown in FIG. 20 may further include S2011-S2015.
  • the SMF network element sends the first time stamp indication information, the first time information, and/or the second time information to the first UPF network element.
  • the first UPF network element receives the first timestamp indication information, the first time information, and/or the second time information from the SMF network element.
  • the communication method shown in FIG. 20 may further include: the SMF network element sends the first timestamp indication information, the second time information and/or the fourth time information to the second UPF network element.
  • the second UPF network element receives the first timestamp indication information, the second time information and/or the fourth time information from the SMF network element.
  • the third network element sends the first time stamp indication information to the first network element.
  • the first network element receives the first time stamp indication information from the third network element, and in the above S1506, the third network element sends the first time information to the first network element.
  • the implementation manner of the first network element receiving the first time information from the third network element will not be repeated here.
  • the first UPF network element sends response information to the SMF network element.
  • the SMF network element receives the response information from the first UPF network element.
  • the communication method shown in FIG. 20 may further include: the second UPF network element sends response information to the SMF network element.
  • the SMF network element receives the response information from the second UPF network element.
  • the response information may include confirmation that the first time stamp indication information and/or the first time information have been received.
  • the SMF network element sends the first time stamp indication information and/or the first time information to the first terminal device.
  • the first terminal device receives the first timestamp indication information and/or the first time information from the SMF network element.
  • S2013 may be in the above S1509, where the third network element sends the first time information to the first device.
  • the first device receives the first time information from the third network element, and in the above S1508, the third network element sends the first time stamp indication information to the first device.
  • the implementation manner of the first device receiving the first timestamp indication information from the third network element will not be repeated here.
  • the PCF network element sends the first time stamp indication information, the first time information, the second time information and/or the fourth time information to the SMF network element.
  • the SMF network element receives the first time stamp indication information, the first time information, the second time information and/or the fourth time information from the PCF network element.
  • the fourth network element sends the first timestamp indication information to the third network element.
  • the third network element receives the first time stamp indication information from the fourth network element, and in the above S1511, the fourth network element sends the first time information to the third network element.
  • the implementation manner of the third network element receiving the first time information from the first network element will not be repeated here.
  • the SMF network element sends confirmation information to the PCF network element.
  • the PCF network element receives the confirmation information from the SMF network element.
  • the confirmation information may be used to indicate that it is confirmed that the first time stamp indication information, the first time information, the second time information and/or the fourth time information have been received.
  • the first UPF network element determines a third time according to the second time information, and the third time is when the first UPF network element receives the second data from the second UPF network element and sends it to the first terminal.
  • the device sends the second data, it buffers the second data to the third time and sends the second data to the first terminal device.
  • the second UPF network element determines a fourth time according to the second time information, where the fourth time is the time when the second UPF network element sends the first data to the second terminal device after receiving the first data from the first UPF network element, and buffers the After the first data to the fourth time, the first data is sent to the second terminal device.
  • the transmission delay of the first data from the first UPF network element to the second UPF network element and the transmission delay of the second data between the second UPF network element and the first UPF network element are equal to the second time information.
  • the indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
  • FIG. 21 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the first network element is the first UPF network element
  • the second network element is the second UPF network element
  • the first device is the first terminal device
  • the second device is the second terminal device
  • the third network element is the SMF network element
  • the fourth network element is a PCF network element as an example for description.
  • the communication method shown in FIG. 19 may be adopted.
  • the following description will be made by taking an example that the first core network 601 includes the first UPF network element, and the second core network 602 includes the second UPF network element.
  • the first UPF network element and the second UPF network element are the same UPF network element, on the basis of the communication method shown in FIG. 20 , the first UPF network element and the second UPF network element may not add correspondence to at least one data packet The time when at least one data packet is received or sent, and/or the first timestamp indication information may not be received.
  • the same UPF network element can know the moment when the data packet is received and when the data packet is forwarded.
  • the communication method includes the following steps:
  • the second terminal device sends the second data and the seventh timestamp to the second UPF network element.
  • the second UPF network element receives the second data and the seventh timestamp from the second terminal device.
  • the seventh timestamp is used to indicate the moment when the second terminal device sends the second data to the second UPF network element.
  • S2101 is similar to the above-mentioned S1503, and details are not repeated here.
  • the above S2101 may be optional.
  • the second UPF network element determines fourth time information according to the time indicated by the seventh timestamp to the time when the second UPF network element receives the second data.
  • the duration indicated by the fourth time information may be equal to the actual downlink transmission delay of the second data between the second terminal device and the second UPF network element.
  • the fourth time information may be determined by the second UPF network element according to the actual downlink transmission delay of the second data between the second terminal device and the second UPF network element, and the second UPF network element does not buffer the second data after receiving the second data. For the second data, the second data is directly sent.
  • the second UPF network element sends the second data and the third time stamp to the first UPF network element.
  • the first UPF network element receives the second data and the third time stamp from the second UPF network element.
  • the first UPF network element sends the second data and the second time stamp to the first terminal device after buffering the second data to a third time according to the second time information.
  • the first terminal device receives the second data and the second time stamp from the first UPF network element.
  • the first terminal device determines the first time information according to the time indicated by the second time stamp to the time when the first terminal device receives the second data.
  • the first terminal device sends the first time information to the first UPF network element.
  • the first UPF network element receives the first time information from the first terminal device.
  • the first terminal device sends the first data and the first timestamp to the first UPF network element.
  • the first UPF network element receives the first data and the first timestamp from the first terminal device.
  • this embodiment of the present application does not limit the sequence of the foregoing S2106-1 and the foregoing S2106.
  • S2106-1 and the above-mentioned S2106 may be performed in one step.
  • the first UPF network element caches the first data to the first time according to the first time information.
  • S2107 For the specific implementation of S2107, please refer to the implementation of the UPF network element caching the first data to the first time according to the first time information in the above S1605. The difference is that the UPF network element in S1605 is replaced with the first UPF network element. It is not repeated here.
  • the above S2107 may be optional.
  • the first UPF network element sends the first data and the fourth time stamp to the second UPF network element.
  • the second UPF network element receives the first data and the fourth timestamp from the first UPF network element.
  • the fourth timestamp may be used to indicate the moment when the first UPF network element sends the first data to the second UPF network element.
  • the second UPF network element sends the first data and the eighth timestamp to the second terminal device after buffering the first data to the fourth time according to the second time information.
  • the second terminal device receives the first data and the eighth timestamp from the second UPF network element.
  • the second UPF network element sends fourth time information to the second terminal device.
  • the second terminal device receives the fourth time information from the second UPF network element.
  • the fourth time information may be sent to the second terminal device through an eighth data packet.
  • the fourth time information may be placed in the header of the eighth data packet.
  • this embodiment of the present application does not limit the sequence of the foregoing S2109-1 and the foregoing S2109.
  • S2109-1 and the above-mentioned S2109 may be performed in one step.
  • the second terminal device sends the first data after buffering the first data to the eighth time according to the fourth time information.
  • S2110 The specific implementation manner of S2110 is the same as the above-mentioned S2010, and details are not repeated here.
  • S2110 may be optional.
  • the communication method shown in FIG. 21 may further include the following S2111-S2115.
  • the SMF network element sends the first timestamp indication information and/or the second time information to the first UPF network element.
  • the first UPF network element receives the first timestamp indication information and/or the second time information from the SMF network element.
  • the communication method shown in FIG. 21 may further include: the SMF network element sends the first timestamp indication information and/or the second time information to the second UPF network element.
  • the second UPF network element receives the first timestamp indication information and/or the second time information from the SMF network element.
  • the first UPF network element sends response information to the SMF network element.
  • the SMF network element receives the response information from the first UPF network element.
  • the communication method shown in FIG. 21 may further include: the second UPF network element sends response information to the SMF network element.
  • the SMF network element receives the response information from the second UPF network element.
  • the response information may include confirmation that the first time stamp indication information and/or the second time information have been received.
  • S2113 is the same as the above-mentioned S1508, and details are not repeated here.
  • the PCF network element sends the first timestamp indication information and/or the second time information to the SMF network element.
  • the SMF network element receives the first timestamp indication information and/or the second time information from the PCF network element.
  • S2114 For the specific implementation of S2114, reference may be made to the foregoing S1510, where the fourth network element sends the first timestamp indication information to the third network element.
  • the third network element receives the first timestamp indication information from the fourth network element, and in the above S1511, the fourth network element sends the second time information to the third network element.
  • the implementation manner of the third network element receiving the second time information from the first network element will not be repeated here.
  • the SMF network element sends confirmation information to the PCF network element.
  • the PCF network element receives the confirmation information from the SMF network element.
  • the acknowledgment information may be used to indicate acknowledgment that the first timestamp indication information, and/or the second time information has been received.
  • the first UPF network element determines a third time according to the second time information, and the third time is when the first UPF network element receives the second data from the second UPF network element and sends it to the first terminal.
  • the device sends the second data, it buffers the second data to the third time and sends the second data to the first terminal device.
  • the second UPF network element determines a fourth time according to the second time information, where the fourth time is the time when the second UPF network element sends the first data to the second terminal device after receiving the first data from the first UPF network element, and buffers the After the first data to the fourth time, the first data is sent to the second terminal device.
  • the transmission delay of the first data from the first UPF network element to the second UPF network element and the transmission delay of the second data between the second UPF network element and the first UPF network element are equal to the second time information.
  • the indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
  • FIG. 22 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the communication method shown in FIG. 22 is applicable to the communication system shown in FIG. 7 .
  • the first network element is the UPF network element
  • the first device is the first terminal device
  • the second device is the second terminal device
  • the UPF network element connected to the first terminal device and the second terminal device is the same UPF network element
  • the first terminal device is the same UPF network element.
  • the third network element is an SMF network element
  • the fourth network element is a PCF network element.
  • the communication method includes the following steps:
  • the UPF network element sends the second data and the fifth time stamp to the first terminal device.
  • the first terminal device receives the second data and the fifth time stamp from the UPF network element.
  • the second data is data sent by the UPF network element to the first terminal device.
  • the second data may be data received by the UPF network element.
  • the UPF network element sending the second data and the fifth time stamp to the first terminal device may include: the UPF network element sending the second data to the first terminal device according to the third indication information data and fifth timestamp.
  • the third indication information is used to indicate that a timestamp corresponding to at least one piece of data received is reserved, and the at least one piece of data includes the first data and the second data.
  • the UPF network element receives the second data and the fifth time stamp, does not delete the fifth time stamp, but sends the second data and the fifth time stamp together to the first terminal device, so that the first terminal device obtains the Fifth timestamp.
  • the second data and the fifth timestamp may be received by the first terminal device through the ninth data packet, and the fifth timestamp is placed in the header of the ninth data packet.
  • the communication method provided by the embodiment of the present application may further include: S2201-1, the second terminal device sends the second data and the fifth time stamp to the UPF network element.
  • the UPF network element receives the second data and the fifth time stamp from the second terminal device. That is, the second data may be data received by the UPF network element from the second terminal device.
  • the fifth timestamp may be used to indicate the moment when the second terminal device sends the second data to the UPF network element.
  • the above S2201-1 may include: the second terminal device sends a fifth data packet to the UPF network element.
  • the UPF network element receives the fifth data packet from the second terminal device.
  • the fifth data packet may include the second data and a fifth time stamp. That is, the second data and the fifth time stamp may be sent through data packets.
  • the fifth timestamp may be placed in the header of the fifth data packet.
  • the second terminal device sending the second data and the fifth time stamp to the UPF network element may include: the second terminal device sending the second data to the UPF network element according to the first time stamp indication information and the fifth timestamp.
  • the first timestamp indication information is used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
  • the first timestamp indication information may be used to instruct the second terminal device to add a corresponding moment of sending at least one data packet to at least one data packet.
  • At least one data packet may include a fifth data packet, and the fifth data packet may include the second data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
  • the first terminal device sends the second data after buffering the second data to the fifth time according to the third time information.
  • the above S2202 may include: after the first terminal device buffers the second data to the fifth time according to the third time information, transmitting the second data to the application layer of the first terminal device.
  • the third time information may be a time threshold for data transmission between the first terminal device and the second terminal device.
  • the duration indicated by the third time information may be equal to the difference between the time when the first terminal device receives the second data and the time when the second terminal device sends the second data to the UPF network element. That is, the duration indicated by the third time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the second terminal device and the first terminal device. Alternatively, the third time information may be set according to a data packet delay budget or a service delay requirement.
  • the duration indicated by the third time information may be greater than the difference between the moment when the first terminal device receives the second data and the moment when the second terminal device sends the second data to the UPF network element.
  • the duration from the moment indicated by the fifth timestamp to the fifth moment is equal to the duration indicated by the third time information.
  • the fifth time can be obtained according to the time indicated by the fifth timestamp and the duration indicated by the third time information, and the fifth time is when the first terminal device sends the second data after receiving the second data from the UPF network element. moment.
  • the fifth moment the moment indicated by the fifth timestamp+the duration indicated by the third time information.
  • the fifth cache duration 0, and the first terminal device may not cache the first terminal device.
  • Second data send the second data directly.
  • the first terminal device can buffer the second data After a period of data, the second data is sent.
  • the first terminal device can buffer the second data for a period of time before sending the second data, so that the transmission delay of the second data from the second terminal device to the first terminal device and the third time information indicate The duration is equal.
  • the duration indicated by the third time information is equal to the duration for the first terminal device to send the first data to the UPF network element to the second terminal device to send the first data, where the first data is the first data sent by the first terminal device to the UPF network. Meta sent data. That is to say, the duration indicated by the third time information is equal to the transmission delay of the first data from the first terminal device to the second terminal device. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
  • the first data may be data sent by the first terminal device.
  • the UPF network element sends the first data and the sixth time stamp to the second terminal device.
  • the second terminal device receives the first data and the sixth time stamp from the UPF network element.
  • the UPF network element sending the first data and the sixth time stamp to the second terminal device may include: the UPF network element sending the first data and the sixth time stamp to the second terminal device according to the third indication information data and sixth timestamp.
  • the third indication information is used to indicate that a timestamp corresponding to at least one piece of data received is reserved, and the at least one piece of data includes the first data and the second data.
  • the UPF network element receives the first data and the sixth time stamp, does not delete the sixth time stamp, but sends the first data and the sixth time stamp together to the second terminal device, so that the second terminal device can obtain the Sixth timestamp.
  • the first data and the sixth time stamp may be sent by the UPF network element to the second terminal device through the tenth data packet.
  • the sixth timestamp may be placed in the header of the tenth data packet.
  • the communication method provided by the embodiment of the present application may further include: S2203-1, the first terminal device sends the first data and the sixth time stamp to the UPF network element.
  • the UPF network element receives the first data and the sixth time stamp from the first terminal device. That is, the first data may be data received by the UPF network element from the first terminal device.
  • the sixth timestamp may be used to indicate the moment when the first terminal device sends the first data to the UPF network element.
  • the first terminal device sending the first data and the sixth time stamp to the UPF network element may include: the first terminal device sending the sixth data packet to the UPF network element.
  • the UPF network element receives the sixth data packet from the first terminal device.
  • the sixth data packet may include the first data and the sixth time stamp.
  • the sixth timestamp may be placed in the header of the sixth data packet.
  • the first terminal device sending the first data and the sixth time stamp to the UPF network element may include: the first terminal device sending the first data to the UPF network element according to the first time stamp indication information and the sixth timestamp.
  • the first timestamp indication information is used to indicate that the corresponding time of receiving or sending the at least one data packet is added to the at least one data packet.
  • the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet.
  • At least one data packet includes a sixth data packet, and the sixth data packet includes the first data.
  • the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
  • the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
  • the second terminal device sends the first data after buffering the first data to the sixth time according to the third time information.
  • the above S2204 may include: after the second terminal device caches the first data to the sixth time according to the third time information, the first data is transmitted to the application layer of the second terminal device.
  • the duration from the moment indicated by the sixth time stamp to the sixth moment is equal to the duration indicated by the third time information.
  • the sixth time can be obtained according to the time indicated by the sixth timestamp and the duration indicated by the third time information, and the sixth time is when the second terminal device sends the first data after receiving the first data from the UPF network element. moment.
  • the sixth moment the moment indicated by the sixth time stamp + the duration indicated by the third time information.
  • the second terminal device can buffer the first data for a period of time before sending the first data, so that the transmission delay of the first data from the first terminal device to the second terminal device and the third time information indicate The duration is equal.
  • the duration indicated by the third time information is equal to the duration of the second terminal device sending the second data to the UPF network element to the first terminal device sending the second data, and the second data is sent by the second terminal device to the UPF network element.
  • the data That is to say, the duration indicated by the third time information is equal to the transmission delay of the second data from the second terminal device to the first terminal device. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
  • the communication method provided by the embodiments of this application may further include: S2205-S2214.
  • the SMF network element sends third indication information to the UPF network element.
  • the UPF network element receives the third indication information from the SMF network element.
  • the above-mentioned UPF network element receiving the third indication information from the SMF network element may include: the UPF network element receiving the N4 session request message from the SMF network element.
  • the N4 session request message may include third indication information.
  • the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
  • the communication method provided by the embodiment of the present application may further include: the PCF network element sends third indication information to the SMF network element.
  • the SMF network element receives the third indication information from the UPF network element.
  • the PCF network element may generate the third indication information according to the service requirement from the AF network element.
  • the UPF network element sends response information to the SMF network element.
  • the SMF network element receives the response information from the UPF network element.
  • the response information may include confirmation that the third indication information has been received.
  • the response information may include N4 session establishment response information or N4 session modification response information.
  • S2207 is similar to the implementation of S1508 above, and the difference is that the first device is replaced by the first terminal device, which will not be repeated here.
  • the SMF network element sends third time information to the second terminal device.
  • the second terminal device receives the third time information from the SMF network element.
  • S2209 is similar to the implementation of S1508 above, and the difference is that the first device is replaced with a second terminal device, which will not be repeated here.
  • the SMF network element sends third time information to the first terminal device.
  • the first terminal device receives the third time information from the SMF network element.
  • S2211 is the same as the above-mentioned S1510, and details are not repeated here.
  • the PCF network element sends third time information to the SMF network element. Accordingly, the SMF receives the third time information from the PCF network element.
  • the PCF network element may generate the third time information according to the service requirement from the AF network element.
  • the PCF network element may send the third time information through the PCC rule.
  • the PCF network element may send the third time information through policy information related to a session (eg, a PDU session).
  • the PCF network element sends third indication information to the SMF network element.
  • the SMF receives the third indication information from the PCF network element.
  • S2211-S2213 may be performed in one step.
  • the SMF network element sends confirmation information to the PCF network element.
  • the PCF network element receives the confirmation information from the SMF network element.
  • the confirmation information may be used to indicate that the first time stamp indication information, the third time information and/or the third indication information have been confirmed to have been received.
  • S2214 can be executed correspondingly, for example, corresponding to S2211, execute S2214 once; corresponding to S2212, execute S2214 once; corresponding to S2213, execute S2214 once.
  • the first terminal device determines the fifth moment of sending the second data according to the third time information, so that the duration from the moment when the second terminal device sends the second data to the UPF network element to the fifth moment is equal to The duration indicated by the third time information.
  • the second terminal device determines the sixth moment of sending the first data according to the third time information, so that the duration from the moment when the first terminal device sends the first data to the UPF network element to the sixth moment is equal to the duration indicated by the third time information.
  • the transmission delay of the first data between the first terminal device and the second terminal device is equal to the transmission delay of the second data between the second terminal device and the first terminal device, thereby ensuring the transmission of uplink data.
  • the delay is equal to the delay of transmitting downlink data.
  • FIG. 23 is a schematic flowchart of still another communication method provided by an embodiment of the present application.
  • the communication method shown in FIG. 23 is applicable to the communication system shown in FIG. 7 .
  • the first network element is the UPF network element
  • the first device is the first terminal device
  • the second device is the second terminal device
  • the third network element is the SMF network element
  • the fourth network element is the PCF network element
  • the first terminal is the same UPF network element as an example for overview.
  • the communication method includes the following steps:
  • the UPF network element sends the second data and the fifth time stamp to the first terminal device.
  • the first terminal device receives the second data and the fifth time stamp from the UPF network element, and sends the second data.
  • the specific implementation manner of the UPF network element sending the second data and the fifth time stamp to the first terminal device may refer to the corresponding implementation manner in the above S2201, which will not be repeated here.
  • the first terminal device receives the second data and the fifth timestamp from the UPF network element, and sends the second data, which may include: the first terminal device receives the second data and the fifth time stamp from the UPF network element. the fifth timestamp, and transmit the second data to the application layer of the first terminal device.
  • the communication method provided by the embodiments of this application may further include: S2301-1.
  • S2301-1 is the same as the above-mentioned S2201-1, and will not be repeated here.
  • the first terminal device determines third time information according to the time indicated by the fifth timestamp to the time when the first terminal device receives the second data.
  • the duration indicated by the third time information may be equal to the difference between the time when the first terminal device receives the second data and the time when the second terminal device sends the second data to the UPF network element.
  • the third time information may be determined by the first terminal device according to the actual transmission delay of the second data between the second terminal device and the first terminal device, and the first terminal device does not buffer the second data after receiving the second data.
  • the second data may be directly transmitted to the application layer.
  • the first terminal device sends third time information to the UPF network element.
  • the UPF network element receives the third time information from the first terminal device.
  • the third time information may be used to indicate that the received data is buffered according to the third time information.
  • the third time information may be used to indicate that the first data is cached according to the third time information.
  • the third time information may be sent to the UPF network element through the sixth data packet.
  • the third time information may be placed in the header of the sixth data packet.
  • the communication method shown in FIG. 23 may further include: S2303-1.
  • S2303-1 is the same as the above-mentioned S2203, and will not be repeated here.
  • the embodiment of the present application does not limit the sequence of the foregoing S2303-1 and the foregoing S2303.
  • S2303-1 and the foregoing S2303 may be performed in one step, and the first data, the sixth timestamp and the third time information may be sent by the first terminal device to the UPF network element through the sixth data packet.
  • the UPF network element sends third time information to the second terminal device.
  • the second terminal device receives the third time information from the UPF network element.
  • the third time information may be sent to the second terminal device through the tenth data packet.
  • the third time information may be placed in the header of the tenth data packet.
  • the communication method shown in FIG. 23 may further include: S2304-1.
  • the implementation manner of S2304-1 is the same as the above-mentioned S2203, which is not repeated here.
  • this embodiment of the present application does not limit the sequence of the foregoing S2304-1 and the foregoing S2304.
  • S2304-1 and the foregoing S2304 may be performed in one step, and the first data, the sixth timestamp and the third time information may be sent by the UPF network element to the second terminal device through the sixth data packet.
  • the second terminal device sends the first data after buffering the first data to the sixth time according to the third time information.
  • the communication method provided by the embodiments of the present application may further include: S2306-S2312.
  • the implementation of S2306-S2308 is the same as the above S2205-S2207
  • the implementation of S2309 is the same as the above S2209
  • the implementation of S2310 is the same as the above S2211
  • the implementation of S2311 is the same as the above S2213, and will not be repeated here.
  • the SMF network element sends confirmation information to the PCF network element.
  • the PCF network element receives the confirmation information from the SMF network element.
  • the acknowledgment information may be used to indicate that the first timestamp indication information and/or the third indication information have been confirmed to have been received.
  • S2310 and S2311 may be performed in one step.
  • S2312 may be executed correspondingly, for example, corresponding to S2310, S2312 is executed once; corresponding to S2311, S2312 is executed once.
  • the transmission delay of the second data between the second terminal device and the first terminal device is greater than or equal to the transmission delay of the first data between the first terminal device and the second terminal device.
  • the transmission delay between them is illustrated as an example. If the transmission delay of the first data between the first terminal equipment and the second terminal equipment is greater than or equal to the transmission delay of the second data between the second terminal equipment and the first terminal equipment From the moment when the first terminal device sends the first data to the moment when the second terminal device receives the first data, the third time information is determined, and the third time information is sent to the first terminal device.
  • the first terminal device sends the second data after buffering the second data until a certain time according to the third time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data.
  • the specific implementation manner is similar to the implementation manner of the communication method shown in FIG. 23 , and details are not repeated here.
  • the first terminal device determines the third time information according to the time when the second terminal device sends the second data and the time when the first terminal device receives the second data, and sends it to the user through the UPF network element.
  • the second terminal device so that after receiving the first data, the second terminal device buffers the first data for a period of time according to the third time information, and then sends the first data.
  • the transmission delay of the first data between the first terminal device and the second terminal device is equal to the actual transmission delay of the second data between the second terminal device and the first terminal device, thereby ensuring the transmission of uplink data.
  • the delay is equal to the delay of transmitting downlink data.
  • the communication method provided by the embodiment of the present application has been described in detail above with reference to FIG. 15 to FIG. 23 .
  • the communication apparatus provided by the embodiments of the present application will be described in detail below with reference to FIGS. 24-25 .
  • FIG. 24 is a schematic structural diagram of a communication apparatus that can be used to execute the communication method provided by the embodiment of the present application.
  • the communication apparatus 2400 may be a first terminal device, a second terminal device, a (R)AN device, a first UPF network element, a second UPF network element, a third network element, or a fourth network element, or may be a A chip in a terminal device, a second terminal device, a (R)AN device, the first UPF network element, the second UPF network element, the third network element, or the fourth network element or other components with corresponding functions.
  • the communication apparatus 2400 may include a processor 2401 and a transceiver 2403 . Memory 2402 may also be included.
  • the processor 2401 is coupled with the memory 2402 and the transceiver 2403.
  • the processor 2401 can be connected through a communication bus, and the processor 2401 can also be used alone.
  • the processor 2401 is the control center of the communication device 2400, and may be a processor or a general term for multiple processing elements.
  • the processor 2401 is one or more central processing units (CPUs), may also be a specific integrated circuit (application specific integrated circuit, ASIC), or is configured to implement one or more embodiments of the present application
  • An integrated circuit such as: one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate array (field programmable gate array, FPGA).
  • the processor 2401 can execute various functions of the communication device 2400 by running or executing software programs stored in the memory 2402 and calling data stored in the memory 2402 .
  • the processor 2401 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 24 .
  • the communication apparatus 2400 may also include multiple processors, for example, the processor 2401 and the processor 2404 shown in FIG. 24 .
  • processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • a processor herein may refer to one or more communication devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the memory 2402 may be read-only memory (ROM) or other type of static storage communication device that can store static information and instructions, random access memory (RAM) or other type of static storage communication device that can store information and instructions.
  • Type of dynamic storage communication device it 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 disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage communication devices, or capable of carrying or storing desired program code in the form of instructions or data structures and Any other medium that can be accessed by a computer, but is not limited to this.
  • the memory 2402 may be integrated with the processor 2401, or may exist independently, and be coupled to the processor 2401 through an input/output port (not shown in FIG. 24) of the communication device 2400, which is not specifically limited in this embodiment of the
  • the memory 2402 is used for storing the software program for executing the solution of the present application, and the execution is controlled by the processor 2401 .
  • the processor 2401 controls the execution of the software program for executing the solution of the present application.
  • the transceiver 2403 is used for communication with other communication devices.
  • the transceiver 2403 may be used to communicate with the (R)AN device, the first UPF network element, and the third network element.
  • the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the second UPF network element, the (R)AN device, the third network element, the fourth Network element communication.
  • the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the first UPF network element, the (R)AN device, the third network element, the fourth Network element communication.
  • the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the second UPF network element, the first UPF network element, the third network element, the fourth Network element communication.
  • the transceiver 2403 may include a receiver and a transmitter (not shown separately in FIG. 24). Among them, the receiver is used to realize the receiving function, and the transmitter is used to realize the sending function.
  • the transceiver 2403 may be integrated with the processor 2401, or may exist independently, and be coupled to the processor 2401 through an input/output port (not shown in FIG. 24) of the communication device 2400, which is not specifically limited in this embodiment of the present application .
  • the structure of the communication device 2400 shown in FIG. 24 does not constitute a limitation on the communication device, and an actual communication device may include more or less components than those shown in the figure, or combine some components, or Different component arrangements.
  • the actions of the first terminal device in the above steps S1502, S1603, S1703, S1803, S1903, S2005, S2105, S2202 and S2302 may be called by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 to call the application stored in the memory 2402
  • the program code is executed by instructing the first terminal device.
  • the actions of the second terminal device in the above steps S2010, S2110, S2204 and S2304 may be executed by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 by calling the application code stored in the memory 2402 to instruct the second terminal device to execute.
  • the example does not impose any restrictions on this.
  • the actions of the UPF network element in the above steps S1504, S1605 and S1805 may be executed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application code stored in the memory 2402 to instruct the (R)AN device. This does not impose any restrictions.
  • the actions of the first UPF network element in the above steps S1504, S1605, S1705, S1805, S1905, S2004, S2007, S2104 and S2107 can be performed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application program stored in the memory 2402
  • the code is executed by instructing the first UPF network element, which is not limited in this embodiment.
  • the actions of the second UPF network element in the above steps S1504, S1605, S1705, S1805, S1905, S2002, S2009, S2102 and S2109 can be performed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application program stored in the memory 2402
  • the code is executed by instructing the second UPF network element, which is not limited in this embodiment.
  • FIG. 25 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
  • the communication apparatus 2500 includes: a transceiver module 2501 and a processing module 2502 .
  • FIG. 25 only shows the main components of the communication device.
  • the communication device 2500 includes a transceiver module 2501 and a processing module 2502 .
  • the communication apparatus 2500 may be the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, the second UPF network element, the UPF network element or (R) in the foregoing method embodiments.
  • AN equipment The transceiver module 2501, which may also be referred to as a transceiver unit, is used to implement any of the above method embodiments from the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, and the second UPF. Sending and/or receiving functions performed by a network element, UPF network element or (R)AN device.
  • the transceiver module 2501 may be composed of a transceiver circuit, a transceiver, a transceiver or a communication interface.
  • the transceiver module 2501 includes a sending module and a receiving module, which are respectively used to implement the first device, the first network element, the first terminal device, the second terminal device, the first The sending and receiving functions performed by the UPF network element, the second UPF network element, the UPF network element or the (R)AN device.
  • the processing module 2502 can be configured to implement any of the above method embodiments from the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, the second UPF network element, and the UPF network element. Or a processing function performed by the (R)AN device.
  • the processing module 2502 can be, for example, a processor.
  • the communication apparatus 2500 is presented in the form of dividing each functional module in an integrated manner.
  • Module herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above.
  • the communication apparatus 2500 may take the form of the communication apparatus 2400 shown in FIG. 24 .
  • the processor 2401 in the communication apparatus 2400 shown in FIG. 24 can execute the instructions by calling the computer stored in the memory 2402, so that the communication apparatus 2400 executes the communication method in the above method embodiment.
  • the functions/implementation process of the transceiver module 2501 and the processing module 2502 in FIG. 25 can be implemented by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 calling the computer execution instructions stored in the memory 2402 .
  • the function/implementation process of the processing module 2502 in FIG. 25 can be implemented by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the computer-executed instructions stored in the memory 2402, and the function of the transceiver module 2501 in FIG. 25
  • the implementation process can be implemented by the transceiver 2403 in the communication device 2400 shown in FIG. 24 .
  • the communication apparatus 2500 provided in this embodiment can execute the above communication method, the technical effects that can be obtained by the communication apparatus 2500 can refer to the above method embodiments, and details are not repeated here.
  • the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. Functions of a network element, (R)AN equipment, and UPF network element.
  • the transceiver module 2501 is configured to receive the first data and the first timestamp from the first device.
  • the processing module 2502 is configured to cache the first data to the first time according to the first time information.
  • the transceiver module 2501 is further configured to send the first data.
  • the first timestamp is used to indicate the moment when the first device sends the first data, and the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
  • the duration is equal to the duration between the communication apparatus 2500 receiving the second data and the first device sending the second data, where the second data is the data sent by the communication apparatus 2500 to the first device.
  • the communication apparatus 2500 may be a user plane function network element or an access network network element.
  • the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ).
  • the receiving module is used to receive data and/or signaling from the first device, the second network element, and the third network element; the sending module is used to send data and/or signaling to the first device, the second network element, and the third network element. / or signaling.
  • This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the functions of the first network element, the (R)AN device, and the UPF network element in the communication methods shown in FIG. 15 , FIG. 16 , and FIG. 17 .
  • the communication apparatus 2500 may be a first network element, such as a UPF network element, or the communication apparatus 2500 may be a (R)AN device, or a chip that can be provided in the first network element or the (R)AN device (system) or other components or assemblies, which are not limited in this application.
  • a first network element such as a UPF network element
  • the communication apparatus 2500 may be a (R)AN device, or a chip that can be provided in the first network element or the (R)AN device (system) or other components or assemblies, which are not limited in this application.
  • the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. 7 , and executes the communication methods shown in FIG. 15 , FIG. 16 and FIG. 17 . Functions of the first device and the first terminal device.
  • the transceiver module 2501 is configured to receive the second data and the second time stamp from the first network element.
  • the second timestamp is used to indicate the moment when the first network element receives the second data, and the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information.
  • the processing module 2502 is configured to cache the second data after the second time according to the first time information.
  • the transceiver module 2501 is further configured to send second data.
  • the duration indicated by the first time information is equal to the duration from when the communication device 2500 sends the first data to the first network element until the first network element sends the first data, and the first data is the data sent by the communication device 2500 to the first network element .
  • the duration indicated by the first time information is greater than or equal to the difference between the moment when the communication apparatus 2500 receives the second data and the moment indicated by the second timestamp.
  • the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ).
  • the receiving module is used for receiving data and/or signaling from the first network element and the third network element;
  • the sending module is used for sending data and/or signaling to the first network element and the third network element.
  • This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the functions of the first device and the first terminal device in the communication methods shown in FIG. 15 , FIG. 16 , and FIG. 17 .
  • the communication apparatus 2500 may be a first device, such as a terminal device, or a chip (system) or other components or components that can be provided in the first device or the first terminal device, which is not limited in this application. .
  • the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. 7 , and the first terminal in the communication method shown in FIG. 18 and FIG. 19 is executed. function of the device.
  • the transceiver module 2501 is configured to receive the second data and the second timestamp from the first network element, and send the second data.
  • the processing module 2502 is configured to determine the first time information according to the time indicated by the second time stamp to the time when the communication device 2500 receives the second data.
  • the transceiver module 2501 is further configured to send the first time information to the first network element.
  • the second timestamp is used to indicate the moment when the first network element receives the second data.
  • the duration indicated by the first time information is equal to the difference between the moment when the communication apparatus 2500 receives the second data and the moment indicated by the second time stamp.
  • the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ).
  • the receiving module is used for receiving data and/or signaling from the first network element and the third network element;
  • the sending module is used for sending data and/or signaling to the first network element and the third network element.
  • This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction
  • the communication apparatus 2500 can execute the functions of the first device and the first terminal device in the communication methods shown in FIG. 18 and FIG. 19 .
  • the communication apparatus 2500 may be a first device, such as a terminal device, or a chip (system) or other components or components that can be provided in the first device or the first terminal device, which is not limited in this application. .
  • the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 , to perform the second UPF network element in the communication methods shown in FIGS. 20 and 21 . Function.
  • the transceiver module 2501 is configured to receive the first data and the fourth timestamp from the first network element.
  • the fourth timestamp is used to indicate the moment when the first network element sends the first data to the communication apparatus 2500 .
  • the processing module 2502 is configured to cache the first data to the fourth time according to the second time information.
  • the duration from the time indicated by the fourth timestamp to the fourth time is equal to the duration indicated by the second time information, and the duration indicated by the second time information is equal to the communication device 2500 sending the second data to the first network element to the first network element.
  • the transceiver module 2501 is further configured to send the first data to the second device.
  • the duration indicated by the second time information may be greater than or equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the communication apparatus 2500 sends the second data to the first network element. value.
  • the communication apparatus 2500 may be a user plane functional network element.
  • the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ).
  • the receiving module is used to receive data and/or signaling from the first device, the first network element, and the third network element; the sending module is used to send data and/or signaling to the first device, the first network element, and the third network element. / or signaling.
  • This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the second UPF network element or the (R)AN device in the communication method shown in FIG. 20 and FIG. 21 .
  • the communication apparatus 2500 may be a second network element, such as a UPF network element, or the (R)AN device may also be a chip (system) or other components or components that can be provided in the second network element. This is not limited.
  • the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the second terminal device in the communication method shown in FIG. 22 or FIG. 23 . Function.
  • the transceiver module 2501 is configured to receive the first data and the sixth time stamp from the first network element.
  • the sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element.
  • the processing module 2502 is configured to cache the first data to the sixth time according to the third time information.
  • the transceiver module 2501 is further configured to send the first data.
  • the duration from the time indicated by the sixth timestamp to the sixth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the communication device 2500 sending the second data to the first network element to the first network element.
  • the time period for a device to send the second data where the second data is the data sent by the communication apparatus 2500 to the first network element.
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the second terminal device in the communication method shown in FIG. 22 or FIG. 23 .
  • the communication apparatus 2500 may be the second terminal device, or may be a chip (system) or other components or components that can be provided in the second terminal device, which is not limited in this application.
  • the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the first terminal device in the communication method shown in FIG. 22 .
  • the transceiver module 2501 is configured to receive the second data and the fifth timestamp from the first network element.
  • the processing module 2502 is configured to cache the second data to the fifth time according to the third time information.
  • the transceiver module 2501 is further configured to send second data.
  • the duration from the time indicated by the fifth timestamp to the fifth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the communication device 2500 sending the first data to the first network element to the first network element.
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the first terminal device in the communication method shown in FIG. 22 .
  • the communication apparatus 2500 may be the first terminal device, or may be a chip (system) or other components or components that can be provided in the first terminal device, which is not limited in this application.
  • the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the first terminal device in the communication method shown in FIG. 23 .
  • the transceiver module 2501 is configured to receive the second data and the fifth timestamp from the first network element, and send the second data.
  • the processing module 2502 is further configured to determine third time information according to the time indicated by the fifth timestamp to the time when the first device receives the second data.
  • the transceiver module 2501 is further configured to send third time information to the first network element.
  • the fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element.
  • the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions.
  • the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the first terminal device in the communication method shown in FIG. 23 .
  • the communication apparatus 2500 may be the first terminal device, or may be a chip (system) or other components or components that can be provided in the first terminal device, which is not limited in this application.
  • the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the UPF network element in the communication method shown in FIG. 22 or FIG. 23 .
  • the transceiver module 2501 is configured to send the second data and the fifth time stamp to the first device.
  • the fifth timestamp is used to indicate the moment when the second device sends the second data to the communication apparatus 2500 .
  • the transceiver module 2501 is further configured to send the first data and the sixth time stamp to the second device.
  • the sixth timestamp is used to indicate the moment when the first device sends the first data to the communication apparatus 2500 .
  • the communication device 2500 may be a UPF network element, or may be a chip (system) or other components or components that can be provided in the UPF network element, which is not limited in this application.
  • Embodiments of the present application provide a communication system.
  • the communication system includes: a first network element and an access network element.
  • the network element of the access network is configured to send the first data and the first timestamp to the first network element.
  • the first timestamp is used to indicate the moment when the first device sends the first data.
  • the first network element is configured to receive the first data and the first timestamp from the network element of the access network, and send the first data after buffering the first data to the first time according to the first time information.
  • the duration from the time indicated by the first timestamp to the first time is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the first network element receiving the second data and sending it to the first device.
  • the duration of the second data, where the second data is data sent by the first network element to the first device.
  • the first network element is configured to perform the action of the first network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here.
  • the network element of the access network is configured to perform the actions of the (R)AN device in the foregoing method embodiments, and the specific execution method and process may refer to the foregoing method embodiments, which will not be repeated here.
  • the communication system further includes the third network element, the fourth network element, and the like provided in the foregoing embodiment.
  • Embodiments of the present application provide a communication system.
  • the communication system includes: a first network element and a third network element.
  • the third network element is used to send the first time information to the first network element; wherein, the duration indicated by the first time information is equal to the duration of the first network element receiving the second data to the first device sending the second data , the second data is the data sent by the first network element to the first device;
  • the first network element is used to receive the first time information from the third network element; wherein the first time information is used to indicate that the first data received is cached according to the first time information, and the first data is sent by the first device to the third network element. Data sent by a network element.
  • the third network element is configured to perform the action of the third network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here.
  • the first network element is used to perform the action of the first network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here.
  • the communication system further includes the fourth network element provided in the foregoing embodiment, a (R)AN device, and the like.
  • An embodiment of the present application provides a chip system, where the chip system includes a processor and an input/output port, where the processor is used to implement the processing functions involved in the communication method provided by the embodiment of the present application, and the input/output port is used for The transceiver function involved in the communication method provided by the embodiment of the present application.
  • the chip system further includes a memory, where the memory is used to store program instructions and data for implementing the functions involved in the communication method provided by the embodiment of the present application.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • An embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program or an instruction, and when the computer program or instruction runs on a computer, enables the computer to execute the communication method provided by the embodiment of the present application.
  • An embodiment of the present application provides a computer program product, the computer program product includes: a computer program or an instruction, when the computer program or instruction is run on a computer, the computer is made to execute the communication method provided by the embodiment of the present application.
  • processors in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), dedicated integrated Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • enhanced SDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory Fetch memory
  • direct memory bus random access memory direct rambus RAM, DR RAM
  • the above embodiments may be implemented in whole or in part by software, hardware (eg, circuits), firmware, or any other combination.
  • the above-described embodiments may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server or data center by wire (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that contains one or more sets of available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • At least one means one or more, and “plurality” means two or more.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • at least one item (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • 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 functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause 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), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

The present application provides a communication method. The method comprises: a first network element receives first data and a first timestamp from a first device, and the first network element caches, according to first time information, the first data till a first time point and then sends the first data. The first timestamp is used for indicating a time point when the first device sends the first data, the duration form the time point indicated by the first timestamp to the first time point is equal to the duration indicated by the first time information, the duration indicated by the first time information is equal to the duration from when the first network element receives second data to when the first device sends the second data, and the second data is data sent by the first network element to the first device.

Description

通信方法、装置及系统Communication method, device and system 技术领域technical field
本申请涉及通信领域,尤其涉及一种通信方法、装置及系统。The present application relates to the field of communication, and in particular, to a communication method, device and system.
背景技术Background technique
以太网控制自动化技术(ethernet for control automation technology,EtherCAT)采用分布式时钟(distributed clock,DC)方法进行时钟同步。示例性地,将从节点的本地系统时钟同步于参考时钟,从而可以对从节点进行准确地同步控制,可以保证从节点同步工作的稳定性。其中,参考时钟为具有分布时钟功能且与主节点连接的第一个从节点的系统时钟。The Ethernet for control automation technology (EtherCAT) adopts the distributed clock (DC) method for clock synchronization. Exemplarily, the local system clock of the slave node is synchronized with the reference clock, so that the slave node can be accurately synchronized and controlled, and the stability of the synchronization work of the slave node can be ensured. The reference clock is the system clock of the first slave node that has a distributed clock function and is connected to the master node.
上述分布式时钟同步的过程依赖于同一EtherCAT业务流的上行传输时延与下行的传输时延相等。然而,当第五代(5th generation,5G)移动通信系统传输EtherCAT类型的业务时,由于空口的调度具有不确定性,导致无法保证同一EtherCAT业务流的上行传输时延与下行传输时延相等,从而该EtherCAT业务流对应的节点无法进行时钟同步。The above-mentioned distributed clock synchronization process depends on the same EtherCAT service flow having the same upstream transmission delay and downstream transmission delay being equal. However, when the fifth generation (5th generation, 5G) mobile communication system transmits EtherCAT type services, due to the uncertainty of air interface scheduling, it is impossible to guarantee that the uplink transmission delay and downlink transmission delay of the same EtherCAT service flow are equal. Therefore, the nodes corresponding to the EtherCAT service flow cannot perform clock synchronization.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通信方法及装置,能够保证EtherCAT业务流传递的上行传输时延与下行传输时延相等。The embodiments of the present application provide a communication method and device, which can ensure that the uplink transmission delay and the downlink transmission delay of EtherCAT service flow transmission are equal.
为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种通信方法。该通信方法包括:第一网元接收来自第一设备的第一数据和第一时间戳,第一网元根据第一时间信息,缓存第一数据至第一时刻后,发送第一数据。其中,第一时间戳用于指示第一设备发送第一数据的时刻,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据。In a first aspect, a communication method is provided. The communication method includes: a first network element receives first data and a first timestamp from a first device, and the first network element sends the first data after buffering the first data to a first time according to the first time information. The first timestamp is used to indicate the moment when the first device sends the first data, and the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information. The duration is equal to the duration between the first network element receiving the second data and the first device sending the second data, where the second data is the data sent by the first network element to the first device.
基于第一方面所述的通信方法,第一设备根据第一时间信息确定第二时刻,第二时刻为第一设备接收到来自第一网元的第二数据后发送第二数据的时刻,缓存第二数据至第二时刻后发送第二数据。第一网元根据第一时间信息确定第一时刻,第一时刻为第一网元接收到来自第一设备的第一数据后发送第一数据的时刻,缓存第一数据至第一时刻后发送第一数据,如此,第一数据在第一设备至第一网元的传输时延与第二数据在第一网元至第一设备之间的传输时延均等于第一时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method described in the first aspect, the first device determines the second time according to the first time information, and the second time is the time when the first device sends the second data after receiving the second data from the first network element, and caches the second time. The second data is sent after the second data time. The first network element determines the first time according to the first time information. The first time is the time when the first network element sends the first data after receiving the first data from the first device, and buffers the first data until the first time and sends the first data. For the first data, in this way, the transmission delay of the first data from the first device to the first network element and the transmission delay of the second data between the first network element and the first device are both equal to the time indicated by the first time information. This ensures that the delay in transmitting uplink data is equal to the delay in transmitting downlink data.
示例性地,第一网元可以为用户面功能(user plane function,UPF)网元、或(无线)接入网((radio)access network,(R)AN)设备。第一设备可以为终端设备。Exemplarily, the first network element may be a user plane function (user plane function, UPF) network element, or a (radio) access network ((radio) access network, (R)AN) device. The first device may be a terminal device.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元向第一设备发送第二数据和第二时间戳。其中,第二时间戳用于指示第一网元接收到第二 数据的时刻。如此,第一网元向第一设备发送接收到第二数据的时刻,以便第一设备缓存第二数据,从而保证传输上行数据的时延与传输下行数据的时延相等。In a possible design manner, the communication method described in the first aspect may further include: the first network element sends the second data and the second time stamp to the first device. Wherein, the second timestamp is used to indicate the moment when the first network element receives the second data. In this way, the first network element sends the time when the second data is received to the first device, so that the first device buffers the second data, thereby ensuring that the delay in transmitting uplink data is equal to the delay in transmitting downlink data.
可选的,第一时间信息所指示的时长可等于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。也就是说,第一时间信息所指示的时长可以等于第二数据在第一网元至第一设备之间的传输时延(如数据包延迟预算(packet delay budget,PDB))。或者,第一时间信息可以是根据数据包延迟预算或业务时延需求进行设置的。Optionally, the duration indicated by the first time information may be equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is, the duration indicated by the first time information may be equal to the transmission delay of the second data between the first network element and the first device (eg, a packet delay budget (packet delay budget, PDB)). Alternatively, the first time information may be set according to a data packet delay budget or a service delay requirement.
可选的,第一时间信息所指示的时长可大于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。也就是说,第一时间信息所指示的时长可以大于第二数据在第一网元至第一设备之间的传输时延。Optionally, the duration indicated by the first time information may be greater than the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is to say, the duration indicated by the first time information may be greater than the transmission delay of the second data between the first network element and the first device.
可选的,第一数据和第一时间戳可以是通过第一数据包发送给第一网元的,第一数据包中还携带第一时间信息。示例性地,第一时间信息可用于指示根据第一时间信息缓存第一数据。Optionally, the first data and the first timestamp may be sent to the first network element through a first data packet, and the first data packet also carries the first time information. Exemplarily, the first time information may be used to indicate that the first data is cached according to the first time information.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元接收来自第三网元的第一时间信息。示例性地,第三网元可以为会话管理功能(session management function,SMF)网元。In a possible design manner, the communication method described in the first aspect may further include: the first network element receiving the first time information from the third network element. Exemplarily, the third network element may be a session management function (session management function, SMF) network element.
在一种可能的设计方式中,上述第一网元接收来自第三网元的第一时间信息,可以包括:第一网元接收来自第三网元的N4会话请求消息。其中,N4会话请求消息可以包括第一时间信息。可选的,N4会话请求消息可以为N4会话建立请求或者N4会话修改请求等。In a possible design manner, the foregoing first network element receiving the first time information from the third network element may include: the first network element receiving the N4 session request message from the third network element. The N4 session request message may include first time information. Optionally, the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
在一种可能的设计方式中,上述第一网元接收来自第一设备的第一数据和第一时间戳,可以包括:第一网元接收来自第一设备的第一数据包。其中,第一数据包可以包括第一数据和第一时间戳。In a possible design manner, the foregoing first network element receiving the first data and the first timestamp from the first device may include: the first network element receiving the first data packet from the first device. Wherein, the first data packet may include first data and a first timestamp.
在一种可能的设计方式中,上述第一网元向第一设备发送第二数据和第二时间戳,可以包括:第一网元根据第一时间戳指示信息,向第一设备发送第二数据和第二时间戳。其中,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第二数据包,第二数据包可以包括第二数据。也就是说,第一网元根据第一时间戳指示信息向第二数据包中增加第二时间戳,从而向第一设备发送第一网元接收到第二数据的时刻。In a possible design, the above-mentioned first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data to the first device according to the indication information of the first time stamp data and a second timestamp. Wherein, the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, at least one data packet may include a second data packet, and the second data packet may include second data . That is, the first network element adds the second time stamp to the second data packet according to the first time stamp indication information, so as to send the time when the first network element receives the second data to the first device.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元接收来自第三网元的第一时间戳指示信息。可选的,第一时间戳指示信息可以是第三网元从第四网元接收的,第四网元可以为PCF网元,第四网元可以根据来自应用功能(application function,AF)网元的业务需求生成第一时间戳指示信息。In a possible design manner, the communication method described in the first aspect may further include: the first network element receiving the first timestamp indication information from the third network element. Optionally, the first timestamp indication information may be received by the third network element from the fourth network element, the fourth network element may be a PCF network element, and the fourth network element may be based on the information from an application function (application function, AF) network. The business requirement of the element generates the first timestamp indication information.
在一种可能的设计方式中,上述第一网元向第一设备发送第二数据和第二时间戳,可以包括:第一网元向第一设备发送第二数据包。其中,第二数据包可以包括第二数据和第二时间戳。也就是说,第二数据和第二时间戳可以是第一网元通过第二数据包发送的。In a possible design manner, the foregoing first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data packet to the first device. Wherein, the second data packet may include second data and a second time stamp. That is to say, the second data and the second time stamp may be sent by the first network element through the second data packet.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元接收来自第二网元的第二数据和第三时间戳。其中,第三时间戳可以用于指示第二网元向 第一网元发送第二数据的时刻。示例性地,第二网元可以为UPF网元。In a possible design manner, the communication method described in the first aspect may further include: the first network element receiving the second data and the third time stamp from the second network element. Wherein, the third timestamp may be used to indicate the moment when the second network element sends the second data to the first network element. Exemplarily, the second network element may be a UPF network element.
在一种可能的设计方式中,上述第一网元向第一设备发送第二数据和第二时间戳,可以包括:第一网元根据第二时间信息,缓存第二数据至第三时刻后,向第一设备发送第二数据和第二时间戳。其中,第三时间戳所指示的时刻至第三时刻的时长与第二时间信息所指示的时长相等,第二时间信息所指示的时长可以等于第一网元向第二网元发送第一数据至第二网元向第二设备发送第一数据的时长。如此,第一网元可以缓存第二数据一段时间后,再向第一设备发送第二数据,从而使第二数据在第二网元至第一网元的传输时延与第二时间信息所指示的时长相等。In a possible design manner, the above-mentioned first network element sending the second data and the second time stamp to the first device may include: the first network element caches the second data until after the third time point according to the second time information , and send the second data and the second timestamp to the first device. The duration from the time indicated by the third timestamp to the third time is equal to the duration indicated by the second time information, and the duration indicated by the second time information may be equal to the first data sent by the first network element to the second network element The duration until the second network element sends the first data to the second device. In this way, the first network element can buffer the second data for a period of time, and then send the second data to the first device, so that the second data can be determined between the transmission delay from the second network element to the first network element and the second time information. The indicated durations are equal.
可选的,第二时间信息所指示的时长大于或等于第一网元接收到来自第二网元的第二数据的时刻与第二网元向第一网元发送第二数据的时刻的差值。示例性地,第二时间信息可以为第一网元与第二网元之间传输数据的时间阈值。Optionally, the duration indicated by the second time information is greater than or equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the second network element sends the second data to the first network element. value. Exemplarily, the second time information may be a time threshold for data transmission between the first network element and the second network element.
在一种可能的设计方式中,上述第一网元根据第一时间信息,缓存第一数据至第一时刻后,发送第一数据,可以包括:第一网元根据第一时间信息,缓存第一数据至第一时刻后,向第二网元发送第一数据和第四时间戳。其中,第四时间戳可以用于指示第一网元向第二网元发送第一数据的时刻。如此,可以向第二网元发送第一数据和发送第一数据的时刻,以使第二网元缓存第一数据,保证传输上行数据的时延与传输下行数据的时延相等。In a possible design manner, the first network element buffers the first data until the first time according to the first time information, and then sends the first data, which may include: the first network element buffers the first data according to the first time information. After the data reaches the first time, the first data and the fourth time stamp are sent to the second network element. The fourth timestamp may be used to indicate the moment when the first network element sends the first data to the second network element. In this way, the first data and the time of sending the first data may be sent to the second network element, so that the second network element buffers the first data to ensure that the delay for transmitting uplink data is equal to the delay for transmitting downlink data.
在一种可能的设计方式中,上述第一网元向第二网元发送第一数据和第四时间戳,可以包括:第一网元根据第一时间戳指示信息,向第二网元发送第一数据和第四时间戳。其中,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第一数据包,第一数据包可以包括第一数据。如此,第一网元可以根据第一时间戳指示信息,对发送或接收的数据包增加对应的接收或发送该数据包的时刻。当第一网元和第二网元为同一网元时,第一网元可以不对第一数据增加对应的第四时间戳。In a possible design manner, the above-mentioned first network element sending the first data and the fourth time stamp to the second network element may include: the first network element sending the second network element according to the indication information of the first time stamp First data and fourth timestamp. Wherein, the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, at least one data packet may include a first data packet, and the first data packet may include first data . In this way, the first network element may add a corresponding time of receiving or sending the data packet to the data packet sent or received according to the first timestamp indication information. When the first network element and the second network element are the same network element, the first network element may not add a corresponding fourth timestamp to the first data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。示例性地,第一会话可以为PDU会话。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session. Exemplarily, the first session may be a PDU session.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元接收来自第三网元的第二时间信息。In a possible design manner, the communication method described in the first aspect may further include: the first network element receiving the second time information from the third network element.
在一种可能的设计方式中,上述第一网元接收来自第三网元的第一时间戳指示信息,可以包括:第一网元接收来自第三网元的转发规则。其中,转发规则可以包括第一时间戳指示信息。In a possible design manner, the foregoing first network element receiving the first timestamp indication information from the third network element may include: the first network element receiving the forwarding rule from the third network element. The forwarding rule may include first timestamp indication information.
可选的,转发规则还可以包括第一指示信息,第一指示信息可以用于指示采用第一时间信息,或者指示采用第一时间信息和第二时间信息。Optionally, the forwarding rule may further include first indication information, where the first indication information may be used to indicate the use of the first time information, or to indicate the use of the first time information and the second time information.
在一种可能的设计方式中,第一方面所述的通信方法还可以包括:第一网元接收来自第三网元的包检测规则。其中,包检测规则可以包括第二指示信息,第二指示信息可以用于指示删除接收到的至少一个数据对应的时间戳,至少一个数据可以包括第二数据和第一数据。示例性地,第一网元接收到包括第一数据和第一时间戳的第一数据包后,缓存第一数据至第一时刻后,可以只发送第一数据,不发送第一时间戳。In a possible design manner, the communication method described in the first aspect may further include: the first network element receives the packet detection rule from the third network element. The packet detection rule may include second indication information, and the second indication information may be used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data may include second data and first data. Exemplarily, after the first network element receives the first data packet including the first data and the first time stamp, after buffering the first data to the first time, only the first data may be sent without sending the first time stamp.
可选的,第一网元可以为用户面功能网元或接入网网元。Optionally, the first network element may be a user plane function network element or an access network network element.
第二方面,提供一种通信方法。该通信方法包括:第一设备接收来自第一网元的第二数据和第二时间戳,第一设备根据第一时间信息,缓存第二数据至第二时刻后,发送第二数据。其中,第二时间戳用于指示第一网元接收到第二数据的时刻,第二时间戳所指示的时刻至第二时刻的时长与第一时间信息所指示的时长相等,第一时间信息所指示的时长等于第一设备向第一网元发送第一数据至第一网元发送第一数据的时长,第一数据是第一设备向第一网元发送的数据。In a second aspect, a communication method is provided. The communication method includes: the first device receives the second data and the second time stamp from the first network element, and the first device buffers the second data to the second time according to the first time information, and then sends the second data. The second timestamp is used to indicate the moment when the first network element receives the second data, and the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information. The indicated duration is equal to the duration from when the first device sends the first data to the first network element until the first network element sends the first data, where the first data is the data sent by the first device to the first network element.
可选的,第一时间信息所指示的时长大于或等于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。Optionally, the duration indicated by the first time information is greater than or equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp.
在一种可能的设计方式中,第二方面所述的通信方法还可以包括:第一设备接收来自第三网元的第一时间信息。In a possible design manner, the communication method described in the second aspect may further include: the first device receiving the first time information from the third network element.
在一种可能的设计方式中,第二方面所述的通信方法还可以包括:第一设备向第一网元发送第一数据和第一时间戳。其中,第一时间戳可用于指示第一设备发送第一数据的时刻。In a possible design manner, the communication method described in the second aspect may further include: the first device sending the first data and the first timestamp to the first network element. The first timestamp may be used to indicate the moment when the first device sends the first data.
在一种可能的设计方式中,上述第一设备向第一网元发送第一数据和第一时间戳,可以包括:第一设备根据第一时间戳指示信息,向第一网元发送第一数据和第一时间戳。其中,第一时间戳指示信息可用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第一数据包,第一数据包可以包括第一数据。In a possible design manner, the above-mentioned first device sending the first data and the first timestamp to the first network element may include: the first device sending the first time stamp to the first network element according to the indication information of the first timestamp data and first timestamp. The first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, and the at least one data packet may include a first data packet, and the first data packet may include first data.
在一种可能的设计方式中,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。In a possible design manner, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第二方面所述的通信方法还可以包括:第一设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method described in the second aspect may further include: the first device receiving the first timestamp indication information from the third network element.
在一种可能的设计方式中,上述第一设备向第一网元发送第一数据和第一时间戳,可以包括:第一设备向第一网元发送第一数据包。其中,第一数据包可以包括第一数据和第一时间戳。In a possible design manner, sending the first data and the first timestamp to the first network element by the first device may include: the first device sending the first data packet to the first network element. Wherein, the first data packet may include first data and a first timestamp.
在一种可能的设计方式中,上述第一设备接收来自第一网元的第二数据和第二时间戳,可以包括:第一设备接收来自第一网元的第二数据包。其中,第二数据包可以包括第二数据和第二时间戳。In a possible design manner, the foregoing first device receiving the second data and the second time stamp from the first network element may include: the first device receiving the second data packet from the first network element. Wherein, the second data packet may include second data and a second time stamp.
此外,第二方面所述的通信方法的技术效果可以参考第一方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication method described in the second aspect, reference may be made to the technical effect of the communication method described in any implementation manner of the first aspect, and details are not described herein again.
第三方面,提供一种通信方法。该通信方法包括:第一设备接收来自第一网元的第二数据和第二时间戳,并发送第二数据,第一设备根据第二时间戳所指示的时刻至第一设备接收到第二数据的时刻,确定第一时间信息,第一设备向第一网元发送第一时间信息。其中,第二时间戳用于指示第一网元接收到第二数据的时刻。In a third aspect, a communication method is provided. The communication method includes: the first device receives the second data and the second time stamp from the first network element, and sends the second data, and the first device receives the second data according to the time indicated by the second time stamp to the first device. At the time of the data, the first time information is determined, and the first device sends the first time information to the first network element. The second timestamp is used to indicate the moment when the first network element receives the second data.
基于第三方面所述的通信方法,第一设备根据第一网元接收到第二数据的时刻和第一设备接收到第二数据的时刻,确定第一时间信息,并发送给第一网元,以使第一网元接收到来自第一设备的第一数据后,根据第一时间信息缓存第一数据一段时间后,再发送第一数据。如此,第一数据在第一设备至第一网元的传输时延等于第二数据在 第一网元至第一设备之间的实际下行传输时延,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method described in the third aspect, the first device determines the first time information according to the time when the first network element receives the second data and the time when the first device receives the second data, and sends it to the first network element , so that after receiving the first data from the first device, the first network element buffers the first data for a period of time according to the first time information, and then sends the first data. In this way, the transmission delay of the first data from the first device to the first network element is equal to the actual downlink transmission delay of the second data between the first network element and the first device, so that the delay of transmitting the uplink data can be guaranteed to be the same as that of the first network element. The delays for transmitting downlink data are equal.
可选的,第一时间信息所指示的时长等于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。也就是说,第一时间信息可以是第一设备根据第二数据在第一网元至第一设备之间的实际下行传输时延确定的。Optionally, the duration indicated by the first time information is equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp. That is to say, the first time information may be determined by the first device according to the actual downlink transmission delay of the second data between the first network element and the first device.
可选的,第一时间信息可以是通过第一数据包发送给第一网元的,第一数据包中还可以携带第一数据和第一时间戳,第一时间戳可以用于指示第一设备发送第一数据的时刻。Optionally, the first time information may be sent to the first network element through a first data packet, and the first data packet may also carry first data and a first time stamp, and the first time stamp may be used to indicate the first time stamp. The moment when the device sends the first data.
可选的,第一数据包可以是根据第一时间戳指示信息向第一网元发送的,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第一数据包,第一数据包可以包括第一数据。Optionally, the first data packet may be sent to the first network element according to the first time stamp indication information, and the first time stamp indication information may be used to instruct to add at least one data packet corresponding to receiving or sending at least one data packet. At the moment, at least one data packet may include a first data packet, and the first data packet may include first data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第三方面所述的通信方法还可以包括:第一设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method described in the third aspect may further include: the first device receiving the first timestamp indication information from the third network element.
在一种可能的设计方式中,上述第一设备接收来自第一网元的第二数据和第二时间戳,可以包括:第一设备接收来自第一网元的第二数据包。其中,第二数据包可以包括第二数据和第二时间戳。In a possible design manner, the foregoing first device receiving the second data and the second time stamp from the first network element may include: the first device receiving the second data packet from the first network element. Wherein, the second data packet may include second data and a second time stamp.
此外,第三方面所述的通信方法的技术效果可以参考第一方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication method described in the third aspect, reference may be made to the technical effect of the communication method described in any implementation manner of the first aspect, and details are not described herein again.
第四方面,提供一种通信方法。该通信方法包括:第二网元接收来自第一网元的第一数据和第四时间戳,第二网元根据第二时间信息,缓存第一数据至第四时刻后,向第二设备发送第一数据。其中,第四时间戳用于指示第一网元向第二网元发送第一数据的时刻,第四时间戳所指示的时刻至第四时刻的时长与第二时间信息所指示的时长相等,第二时间信息所指示的时长等于第二网元向第一网元发送第二数据至第一网元向第一设备发送第二数据的时长。In a fourth aspect, a communication method is provided. The communication method includes: the second network element receives the first data and the fourth time stamp from the first network element, and the second network element buffers the first data to the fourth time according to the second time information, and sends the data to the second device after buffering first data. Wherein, the fourth time stamp is used to indicate the time when the first network element sends the first data to the second network element, and the duration from the time indicated by the fourth time stamp to the fourth time is equal to the duration indicated by the second time information, The duration indicated by the second time information is equal to the duration of the second network element sending the second data to the first network element to the first network element sending the second data to the first device.
基于第四方面所述的通信方法,第一网元根据第二时间信息确定第三时刻,第三时刻为第一网元接收到来自第二网元的第二数据后向第一设备发送第二数据的时刻,缓存第二数据至第三时刻后向第一设备发送第二数据。第二网元根据第二时间信息确定第四时刻,第四时刻为第二网元接收到来自第一网元的第一数据后向第二设备发送第一数据的时刻,缓存第一数据至第四时刻后向第二设备发送第一数据。如此,第一数据在第一网元至第二网元的传输时延和第二数据在第二网元至第一网元之间的传输时延军等于第二时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method described in the fourth aspect, the first network element determines a third time according to the second time information, and the third time is when the first network element sends the first device to the first device after receiving the second data from the second network element. At the time of second data, the second data is sent to the first device after buffering the second data to the third time. The second network element determines a fourth time according to the second time information, and the fourth time is the time when the second network element sends the first data to the second device after receiving the first data from the first network element, and caches the first data to The first data is sent to the second device after the fourth time. In this way, the transmission delay of the first data from the first network element to the second network element and the transmission delay of the second data between the second network element and the first network element are equal to the duration indicated by the second time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
可选的,第二时间信息所指示的时长可大于或等于第一网元接收到来自第二网元的第二数据的时刻与第二网元向第一网元发送第二数据的时刻的差值。也就是说,第二时间信息所指示的时长可大于或等于第二数据在第二网元至第一网元之间的传输时延。Optionally, the duration indicated by the second time information may be greater than or equal to the difference between the time when the first network element receives the second data from the second network element and the time when the second network element sends the second data to the first network element. difference. That is, the duration indicated by the second time information may be greater than or equal to the transmission delay of the second data between the second network element and the first network element.
在一种可能的设计方式中,第四方面所述的通信方法还可以包括:第二网元接收 来自第三网元的第二时间信息。In a possible design manner, the communication method described in the fourth aspect may further include: the second network element receiving the second time information from the third network element.
在一种可能的设计方式中,第四方面所述的通信方法还可以包括:第二网元向第一网元发送第二数据和第三时间戳。其中,第三时间戳可用于指示第二网元向第一网元发送第二数据的时刻。当第一网元与第二网元为同一网元时,第二网元可以向第一网元只发送第二数据,不发送第三时间戳。In a possible design manner, the communication method described in the fourth aspect may further include: the second network element sending the second data and the third time stamp to the first network element. The third time stamp may be used to indicate the moment when the second network element sends the second data to the first network element. When the first network element and the second network element are the same network element, the second network element may only send the second data to the first network element without sending the third time stamp.
在一种可能的设计方式中,上述第二网元向第一网元发送第二数据和第三时间戳,包括:第二网元根据第一时间戳指示信息,向第一网元发送第二数据和第三时间戳。其中,第一时间戳指示信息可用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第三数据包,第三数据包可以包括第二数据。In a possible design manner, the above-mentioned second network element sending the second data and the third time stamp to the first network element includes: the second network element sending the first time stamp to the first network element according to the indication information of the first time stamp Second data and third timestamp. The first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, the at least one data packet may include a third data packet, and the third data packet may include second data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第四方面所述的通信方法还可以包括:第二网元接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method described in the fourth aspect may further include: the second network element receiving the first timestamp indication information from the third network element.
在一种可能的设计方式中,上述第二网元接收来自第三网元的第一时间戳指示信息,可以包括:第二网元接收来自第三网元的转发规则。其中,转发规则可以包括第一时间戳指示信息。In a possible design manner, the foregoing second network element receiving the first timestamp indication information from the third network element may include: the second network element receiving the forwarding rule from the third network element. The forwarding rule may include first timestamp indication information.
可选的,转发规则还可以包括第一指示信息,第一指示信息可以用于指示采用第一时间信息,或者指示采用第一时间信息和第二时间信息。Optionally, the forwarding rule may further include first indication information, where the first indication information may be used to indicate the use of the first time information, or to indicate the use of the first time information and the second time information.
在一种可能的设计方式中,上述第二网元向第一网元发送第二数据和第三时间戳,可以包括:第二网元向第一网元发送第三数据包。其中,第三数据包可以包括第二数据和第三时间戳。In a possible design manner, the foregoing second network element sending the second data and the third time stamp to the first network element may include: the second network element sending the third data packet to the first network element. Wherein, the third data packet may include the second data and the third time stamp.
在一种可能的设计方式中,上述第二网元接收来自第一网元的第一数据和第四时间戳,可以包括:第二网元接收来自第一网元发送第四数据包。其中,第四数据包可以包括第一数据和第四时间戳。In a possible design manner, the foregoing second network element receiving the first data and the fourth time stamp from the first network element may include: the second network element receiving the fourth data packet sent from the first network element. Wherein, the fourth data packet may include the first data and the fourth time stamp.
在一种可能的设计方式中,第四方面所述的通信方法还可以包括:第二网元接收来自第三网元的包检测规则。其中,包检测规则可以包括第二指示信息,第二指示信息可以用于指示删除接收到的至少一个数据对应的时间戳,至少一个数据可以包括第二数据和第一数据。In a possible design manner, the communication method described in the fourth aspect may further include: the second network element receiving the packet detection rule from the third network element. The packet detection rule may include second indication information, and the second indication information may be used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data may include second data and first data.
可选的,第二网元可以为用户面功能网元。Optionally, the second network element may be a user plane functional network element.
此外,第四方面所述的通信方法的技术效果可以参考第一方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication method described in the fourth aspect, reference may be made to the technical effect of the communication method described in any implementation manner of the first aspect, and details are not described herein again.
第五方面,提供一种通信方法。该通信方法包括:第二设备接收来自第一网元的第一数据和第六时间戳。其中,第六时间戳用于指示第一设备向第一网元发送第一数据的时刻。第二设备根据第三时间信息缓存第一数据至第六时刻后,发送第一数据。其中,第六时间戳所指示的时刻至第六时刻的时长与第三时间信息所指示的时长相等,第三时间信息所指示的时长等于第二设备向第一网元发送第二数据至第一设备发送第二数据的时长,第二数据是第二设备向第一网元发送的数据。In a fifth aspect, a communication method is provided. The communication method includes: the second device receives the first data and the sixth time stamp from the first network element. The sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element. The second device sends the first data after buffering the first data to the sixth time according to the third time information. The duration from the time indicated by the sixth time stamp to the sixth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the second device sending the second data to the first network element to the first network element. The duration of sending the second data by a device, where the second data is the data sent by the second device to the first network element.
基于第五方面所述的通信方法,第一设备根据第三时间信息确定发送第二数据的 第五时刻,使第二设备向第一网元发送第二数据的时刻至第五时刻的时长等于第三时间信息所指示的时长。第二设备根据第三时间信息确定发送第一数据的第六时刻,使第一设备向第一网元发送第一数据的时刻至第六时刻的时长等于第三时间信息所指示的时长。如此,第一数据在第一设备至第二设备之间的传输时延与第二数据在第二设备至第一设备之间的传输时延相等,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method described in the fifth aspect, the first device determines the fifth moment of sending the second data according to the third time information, so that the time period from the moment when the second device sends the second data to the first network element to the fifth moment is equal to The duration indicated by the third time information. The second device determines the sixth time for sending the first data according to the third time information, so that the time period from the time when the first device sends the first data to the first network element to the sixth time is equal to the time period indicated by the third time information. In this way, the transmission delay of the first data between the first device and the second device is equal to the transmission delay of the second data between the second device and the first device, so that the delay and transmission of the uplink data can be guaranteed. The downlink data has the same delay.
可选的,第三时间信息所指示的时长可以大于或等于第一设备接收到第二数据的时刻与第二设备向第一网元发送第二数据所指示的时刻的差值。Optionally, the duration indicated by the third time information may be greater than or equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element.
在一种可能的设计方式中,第五方面所述的通信方法还可以包括:第二设备接收来自第三网元的第三时间信息。可选的,第三时间信息可以为第二设备与第一设备之间传输数据的时间阈值。In a possible design manner, the communication method described in the fifth aspect may further include: the second device receives third time information from a third network element. Optionally, the third time information may be a time threshold for data transmission between the second device and the first device.
在一种可能的设计方式中,第五方面所述的通信方法还可以包括:第二设备接收来自第一网元的第三时间信息。可选的,第三时间信息可以是通过第一网元从第一设备接收的。In a possible design manner, the communication method described in the fifth aspect may further include: the second device receives third time information from the first network element. Optionally, the third time information may be received from the first device through the first network element.
在一种可能的设计方式中,第五方面所述的通信方法还可以包括:第二设备向第一网元发送第二数据和第五时间戳。其中,第五时间戳可用于指示第二设备向第一网元发送第二数据的时刻。In a possible design manner, the communication method described in the fifth aspect may further include: the second device sends the second data and the fifth time stamp to the first network element. The fifth timestamp may be used to indicate the moment when the second device sends the second data to the first network element.
在一种可能的设计方式中,上述第二设备向第一网元发送第二数据和第五时间戳,可以包括:第二设备根据第一时间戳指示信息,向第一网元发送第二数据和第五时间戳。其中,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第五数据包,第五数据包可以包括第二数据。也就是说,第二设备根据第一时间戳指示信息向第五数据包中增加第五时间戳,以使第一设备通过第一网元获得第二设备发送第二数据的时刻。In a possible design, the above-mentioned second device sending the second data and the fifth time stamp to the first network element may include: the second device sending the second data to the first network element according to the indication information of the first time stamp data and fifth timestamp. Wherein, the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding time of receiving or sending at least one data packet, the at least one data packet may include a fifth data packet, and the fifth data packet may include second data . That is, the second device adds the fifth timestamp to the fifth data packet according to the first timestamp indication information, so that the first device obtains the moment when the second device sends the second data through the first network element.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第五方面所述的通信方法还可以包括:第二设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method described in the fifth aspect may further include: the second device receiving the first timestamp indication information from the third network element.
在一种可能的设计方式中,第五方面所述的通信方法还可以包括:第二设备向第一网元发送第二数据和第五时间戳,可以包括:第二设备向第一网元发送第五数据包。其中,第五数据包可以包括第二数据和第五时间戳。示例性地,第五时间戳可以置于第五数据包的报头中。In a possible design manner, the communication method described in the fifth aspect may further include: the second device sending the second data and the fifth time stamp to the first network element, which may include: the second device sending the first network element The fifth data packet is sent. Wherein, the fifth data packet may include the second data and the fifth time stamp. Exemplarily, the fifth timestamp may be placed in the header of the fifth data packet.
在一种可能的设计方式中,上述第二设备接收来自第一网元的第一数据和第六时间戳,可以包括:第二设备接收来自第一网元的第十数据包。其中,第十数据包可以包括第一数据和第六时间戳。示例性地,第六时间戳可以置于第十数据包的报头中。In a possible design manner, the foregoing second device receiving the first data and the sixth time stamp from the first network element may include: the second device receiving the tenth data packet from the first network element. Wherein, the tenth data packet may include the first data and the sixth time stamp. Exemplarily, the sixth timestamp may be placed in the header of the tenth data packet.
第六方面,提供一种通信方法。该通信方法包括:第一设备接收来自第一网元的第二数据和第五时间戳。第一设备根据第三时间信息缓存第二数据至第五时刻后,发送第二数据。其中,第五时间戳用于指示第二设备向第一网元发送第二数据的时刻,第五时间戳所指示的时刻至第五时刻的时长与第三时间信息所指示的时长相等,第三时间信息所指示的时长等于第一设备向第一网元发送第一数据至第二设备发送第一数 据的时长,第一数据是第一设备向第一网元发送的数据。In a sixth aspect, a communication method is provided. The communication method includes: the first device receives the second data and the fifth time stamp from the first network element. The first device sends the second data after buffering the second data according to the third time information until the fifth time. The fifth time stamp is used to indicate the time when the second device sends the second data to the first network element, and the time from the time indicated by the fifth time stamp to the fifth time is equal to the time duration indicated by the third time information. The duration indicated by the three time information is equal to the duration of the first device sending the first data to the first network element to the second device sending the first data, where the first data is the data sent by the first device to the first network element.
可选的,第三时间信息所指示的时长可以大于或等于第一设备接收到第二数据的时刻与第二设备向第一网元发送第二数据所指示的时刻的差值。Optionally, the duration indicated by the third time information may be greater than or equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element.
在一种可能的设计方式中,第六方面所述的通信方法还可以包括:第一设备接收来自第三网元的第三时间信息。In a possible design manner, the communication method described in the sixth aspect may further include: the first device receiving third time information from a third network element.
在一种可能的设计方式中,第六方面所述的通信方法还可以包括:第一设备向第一网元发送第一数据和第六时间戳。其中,第六时间戳可用于指示第一设备向第一网元发送第一数据的时刻。In a possible design manner, the communication method described in the sixth aspect may further include: the first device sending the first data and the sixth time stamp to the first network element. The sixth timestamp may be used to indicate the moment when the first device sends the first data to the first network element.
在一种可能的设计方式中,上述第一设备向第一网元发送第一数据和第六时间戳,可以包括:第一设备根据第一时间戳指示信息,向第一网元发送第一数据和第六时间戳;其中,第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包包括第六数据包,第六数据包包括第一数据。In a possible design manner, the above-mentioned first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the first data and the sixth time stamp to the first network element according to the indication information of the first time stamp data and a sixth time stamp; wherein, the first time stamp indication information is used to indicate that at least one data packet is added to the corresponding moment of receiving or sending at least one data packet, and the at least one data packet includes a sixth data packet, and the sixth data packet Include the first data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第六方面所述的通信方法还可以包括:第一设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method described in the sixth aspect may further include: the first device receiving the first timestamp indication information from the third network element.
在一种可能的设计方式中,上述第一设备向第一网元发送第一数据和第六时间戳,可以包括:第一设备向第一网元发送第六数据包。其中,第六数据包可以包括第一数据和第六时间戳。In a possible design manner, the foregoing first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the sixth data packet to the first network element. Wherein, the sixth data packet may include the first data and the sixth time stamp.
在一种可能的设计方式中,上述第一设备接收来自第一网元的第二数据和第五时间戳,可以包括:第一设备接收来自第一网元的第五数据包。其中,第五数据包可以包括第二数据和第五时间戳。In a possible design manner, the foregoing first device receiving the second data and the fifth time stamp from the first network element may include: the first device receiving the fifth data packet from the first network element. Wherein, the fifth data packet may include the second data and the fifth time stamp.
此外,第六方面所述的通信方法的技术效果可以参考第五方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication method described in the sixth aspect, reference may be made to the technical effect of the communication method described in any implementation manner of the fifth aspect, and details are not described herein again.
第七方面,提供一种通信方法。该通信方法包括:第一设备接收来自第一网元的第二数据和第五时间戳,并发送第二数据。第一设备根据第五时间戳所指示的时刻至第一设备接收到第二数据的时刻,确定第三时间信息。第一设备向第一网元发送第三时间信息。其中,第五时间戳用于指示第二设备向第一网元发送第二数据的时刻。In a seventh aspect, a communication method is provided. The communication method includes: the first device receives the second data and the fifth time stamp from the first network element, and sends the second data. The first device determines the third time information according to the time indicated by the fifth timestamp to the time when the first device receives the second data. The first device sends third time information to the first network element. The fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element.
基于第七方面所述的通信方法,第一设备根据第二设备发送第二数据的时刻和第一设备接收到第二数据的时刻,确定第三时间信息,并通过第一网元发送给第二设备,以使第二设备接收到第一数据后,根据第三时间信息缓存第一数据一段时间后,再发送第一数据。如此,第一数据在第一设备至第二设备之间的传输时延等于第二数据在第二设备至第一设备之间的实际传输时延,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method described in the seventh aspect, the first device determines the third time information according to the time when the second device sends the second data and the time when the first device receives the second data, and sends it to the third device through the first network element. Second device, so that after receiving the first data, the second device buffers the first data for a period of time according to the third time information, and then sends the first data. In this way, the transmission delay of the first data between the first device and the second device is equal to the actual transmission delay of the second data between the second device and the first device, so that the delay and transmission of the uplink data can be guaranteed. The downlink data has the same delay.
可选的,第三时间信息所指示的时长可以等于第一设备接收到第二数据的时刻与第二设备向第一网元发送第二数据所指示的时刻的差值。也就是说,第三时间信息可以是第一设备根据第二数据在第二设备至第一设备之间的实际传输时延确定的。Optionally, the duration indicated by the third time information may be equal to the difference between the time when the first device receives the second data and the time when the second device sends the second data to the first network element. That is to say, the third time information may be determined by the first device according to the actual transmission delay of the second data between the second device and the first device.
在一种可能的设计方式中,上述第一设备向第一网元发送第一数据和第六时间戳,可以包括:第一设备根据第一时间戳指示信息,向第一网元发送第一数据和第六时间 戳。其中,第六时间戳可用于指示第一设备向第一网元发送第一数据的时刻,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第六数据包,第六数据包可以包括第一数据。如此,可以使第二设备通过第一网元获得第一设备向第一网元发送第一数据的时刻。In a possible design manner, the above-mentioned first device sending the first data and the sixth time stamp to the first network element may include: the first device sending the first data and the sixth time stamp to the first network element according to the indication information of the first time stamp data and sixth timestamp. The sixth time stamp may be used to indicate the time when the first device sends the first data to the first network element, and the first time stamp indication information may be used to indicate that at least one data packet is increased corresponding to receiving or sending at least one data packet. At a moment, at least one data packet may include a sixth data packet, and the sixth data packet may include the first data. In this way, the second device can obtain the moment when the first device sends the first data to the first network element through the first network element.
在一种可能的设计方式中,第七方面所述的通信方法还可以包括:第一设备向第一网元发送第一数据和第六时间戳。其中,第六时间戳可用于指示第一设备向第一网元发送第一数据的时刻。In a possible design manner, the communication method according to the seventh aspect may further include: the first device sending the first data and the sixth time stamp to the first network element. The sixth timestamp may be used to indicate the moment when the first device sends the first data to the first network element.
可选的,第三时间信息可以是通过第六数据包发送给第一网元的。示例性地,第三时间信息可以置于第六数据包的报头中。Optionally, the third time information may be sent to the first network element through a sixth data packet. Exemplarily, the third time information may be placed in the header of the sixth data packet.
在一种可能的设计方式中,上述第一设备接收来自第一网元的第二数据和第五时间戳,可以包括:第一设备接收来自第一网元的第五数据包。其中,第五数据包可以包括第二数据和第五时间戳。示例性地,第五时间戳可置于第五数据包的报头中。In a possible design manner, the foregoing first device receiving the second data and the fifth time stamp from the first network element may include: the first device receiving the fifth data packet from the first network element. Wherein, the fifth data packet may include the second data and the fifth time stamp. Exemplarily, the fifth timestamp may be placed in the header of the fifth data packet.
可选的,第六数据包可以是根据第一时间戳指示信息向第一网元发送的,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻,至少一个数据包可以包括第一数据。Optionally, the sixth data packet may be sent to the first network element according to the first time stamp indication information, and the first time stamp indication information may be used to instruct to add at least one data packet corresponding to receiving or sending at least one data packet. At the moment, at least one data packet may include the first data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session.
在一种可能的设计方式中,第七方面所述的通信方法还可以包括:第一设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method according to the seventh aspect may further include: the first device receiving the first timestamp indication information from the third network element.
第八方面,提供一种通信方法。该通信方法包括:第一网元向第一设备发送第二数据和第五时间戳。第五时间戳用于指示第二设备向第一网元发送第二数据的时刻。第一网元向第二设备发送第一数据和第六时间戳。其中,第六时间戳用于指示第一设备向第一网元发送第一数据的时刻。In an eighth aspect, a communication method is provided. The communication method includes: the first network element sends the second data and the fifth time stamp to the first device. The fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element. The first network element sends the first data and the sixth time stamp to the second device. The sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element.
在一种可能的设计方式中,第八方面所述的通信方法还可以包括:第一网元接收来自第二设备的第二数据和第五时间戳;其中,第五时间戳可用于指示第二设备向第一网元发送第二数据的时刻。In a possible design, the communication method described in the eighth aspect may further include: the first network element receives the second data and the fifth timestamp from the second device; wherein the fifth timestamp may be used to indicate the first The moment when the second device sends the second data to the first network element.
在一种可能的设计方式中,第八方面所述的通信方法还可以包括:第一网元接收来自第一设备的第一数据和第六时间戳。In a possible design manner, the communication method described in the eighth aspect may further include: the first network element receiving the first data and the sixth time stamp from the first device.
在一种可能的设计方式中,上述第一网元接收来自第二设备的第二数据和第五时间戳可以包括:第一网元接收来自第二设备的第五数据包。其中,第五数据包可以包括第二数据和第五时间戳。In a possible design, the foregoing first network element receiving the second data and the fifth time stamp from the second device may include: the first network element receiving the fifth data packet from the second device. Wherein, the fifth data packet may include the second data and the fifth time stamp.
在一种可能的设计方式中,上述第一网元接收来自第一设备的第一数据和第六时间戳可以包括:第一网元接收来自第一设备的第六数据包。第六数据包可以包括第一数据和第六时间戳。In a possible design manner, the foregoing first network element receiving the first data and the sixth time stamp from the first device may include: the first network element receiving the sixth data packet from the first device. The sixth data packet may include the first data and a sixth time stamp.
在一种可能的设计方式中,第八方面所述的通信方法还可以包括:第一网元接收来自第三网元的第三指示信息。其中,第三指示信息可用于指示保留接收到的至少一个数据对应的时间戳,至少一个数据可以包括第一数据和第二数据。In a possible design manner, the communication method described in the eighth aspect may further include: the first network element receiving third indication information from the third network element. The third indication information may be used to indicate that a timestamp corresponding to the at least one piece of data received is reserved, and the at least one piece of data may include the first data and the second data.
在一种可能的设计方式中,上述第一网元接收来自第三网元的第三指示信息,可以包括:第一网元接收来自第三网元的N4会话请求消息。其中,N4会话请求消息可 以包括第三指示信息。In a possible design manner, the foregoing first network element receiving the third indication information from the third network element may include: the first network element receiving the N4 session request message from the third network element. Wherein, the N4 session request message may include third indication information.
在一种可能的设计方式中,上述第一网元向第二设备发送第一数据和第六时间戳,可以包括:第一网元根据第三指示信息,向第二设备发送第一数据和第六时间戳。如此,如此,第一网元接收到第一数据和第六时间戳,并不删除第六时间戳,而是将第一数据和第六时间戳一起发送给第二设备,以使第二设备获得第一设备发送第一数据的时刻。In a possible design manner, the above-mentioned first network element sending the first data and the sixth time stamp to the second device may include: the first network element sending the first data and the sixth time stamp to the second device according to the third indication information Sixth timestamp. In this way, the first network element receives the first data and the sixth time stamp, does not delete the sixth time stamp, but sends the first data and the sixth time stamp together to the second device, so that the second device Obtain the moment when the first device sends the first data.
在一种可能的设计方式中,上述第一网元向第一设备发送第一数据和第五时间戳,可以包括:第一网元根据第三指示信息,向第一备发送第一数据和第五时间戳。如此,可以使第一设备获得第额设备发送第二数据的时刻。In a possible design, the above-mentioned first network element sending the first data and the fifth time stamp to the first device may include: the first network element sending the first data and the fifth time stamp to the first device according to the third indication information Fifth timestamp. In this way, the first device can be made to obtain the moment when the second device sends the second data.
在一种可能的设计方式中,第八方面所述的通信方法还可以包括:第一网元接收来自第一设备的第三时间信息。可选的,第三时间信息可以是第一设备获得的。In a possible design manner, the communication method described in the eighth aspect may further include: the first network element receiving third time information from the first device. Optionally, the third time information may be obtained by the first device.
可选的,第六数据包还可以包括第三时间信息。Optionally, the sixth data packet may further include third time information.
在一种可能的设计方式中,第八方面所述的通信方法还可以包括:第一网元向第二设备发送第三时间信息。In a possible design manner, the communication method described in the eighth aspect may further include: the first network element sends third time information to the second device.
此外,第八方面所述的通信方法的技术效果可以参考第五方面或第七方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication method described in the eighth aspect, reference may be made to the technical effect of the communication method described in any one of the implementation manners of the fifth aspect or the seventh aspect, which will not be repeated here.
第九方面,提供一种通信系统。该通信系统包括:第一网元和接入网网元。In a ninth aspect, a communication system is provided. The communication system includes: a first network element and an access network element.
接入网网元,用于向第一网元发送第一数据和第一时间戳。其中,第一时间戳用于指示第一设备发送第一数据的时刻。The access network element is configured to send the first data and the first timestamp to the first network element. The first timestamp is used to indicate the moment when the first device sends the first data.
第一网元,用于接收来自接入网网元的第一数据和第一时间戳。The first network element is configured to receive the first data and the first timestamp from the network element of the access network.
第一网元,还用于根据第一时间信息,缓存第一数据至第一时刻后,发送第一数据。其中,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据。The first network element is further configured to send the first data after buffering the first data to the first time according to the first time information. The duration from the time indicated by the first timestamp to the first time is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the first network element receiving the second data and sending it to the first device The duration of the second data, where the second data is data sent by the first network element to the first device.
第十方面,提供一种通信装置。该通信装置包括用于执行第一方面或第八方面中任一项方法的单元或模块。A tenth aspect provides a communication device. The communication device includes a unit or module for performing the method of any one of the first aspect or the eighth aspect.
在本申请中,第十方面所述的通信装置可以为第一网元,如UPF网元或者RAN设备,或者可设置于第一网元的芯片(系统)或其他部件或组件。In this application, the communication apparatus described in the tenth aspect may be a first network element, such as a UPF network element or a RAN device, or may be provided in a chip (system) or other components or components of the first network element.
此外,第十方面所述的通信装置的技术效果可以参考第一方面或第八方面中的任意一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus described in the tenth aspect, reference may be made to the technical effect of the communication method described in any one of the implementation manners of the first aspect or the eighth aspect, which will not be repeated here.
第十一方面,提供一种通信装置。该通信装置包括用于执行第二方面、第三方面、第五方面、第六方面、或第七方面中任一项方法的单元或模块。In an eleventh aspect, a communication device is provided. The communication device includes a unit or module for performing the method of any one of the second, third, fifth, sixth, or seventh aspects.
在本申请中,第十一方面所述的通信装置可以为第一设备,如终端设备,或者可设置于第一设备的芯片(系统)或其他部件或组件。In this application, the communication apparatus described in the eleventh aspect may be a first device, such as a terminal device, or may be provided in a chip (system) or other components or assemblies of the first device.
此外,第十一方面所述的通信装置的技术效果可以参考第二方面、第三方面、第五方面、第六方面、或第七方面中的任意一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus described in the eleventh aspect, reference may be made to any one of the second aspect, the third aspect, the fifth aspect, the sixth aspect, or the seventh aspect for implementing the technology of the communication method described in the manner The effect will not be repeated here.
第十二方面,提供一种通信装置。该通信装置包括用于执行第四方面中任一项方法的单元或模块。A twelfth aspect provides a communication device. The communication device includes means or modules for performing any of the methods of the fourth aspect.
在本申请中,第十二方面所述的通信装置可以为第二网元,如UPF网元,或者可设置于第二网元的芯片(系统)或其他部件或组件。In this application, the communication apparatus described in the twelfth aspect may be a second network element, such as a UPF network element, or may be provided in a chip (system) or other components or components of the second network element.
此外,第十二方面所述的通信装置的技术效果可以参考第四方面中的任意一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication device described in the twelfth aspect, reference may be made to the technical effect of the communication method described in any one of the implementation manners of the fourth aspect, which will not be repeated here.
第十三方面,提供一种通信装置,该通信装置包括:处理器,处理器与存储器耦合。存储器,用于存储计算机程序。处理器,用于执行存储器中存储的计算机程序,以使得通信装置执行如第一方面至第八方面中任一项的通信方法。A thirteenth aspect provides a communication device, the communication device comprising: a processor coupled to a memory. Memory for storing computer programs. A processor for executing the computer program stored in the memory, so that the communication apparatus executes the communication method according to any one of the first to eighth aspects.
在一种可能的设计中,第十三方面所述的通信装置还可以包括收发器。该收发器可以为收发电路或输入/输出端口。所述收发器可以用于该通信装置与其他通信装置通信。In a possible design, the communication device described in the thirteenth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an input/output port. The transceiver may be used for the communication device to communicate with other communication devices.
在本申请中,第十三方面所述的通信装置可以为第一网元、第二网元、第一设备、或者第二设备,或者设置于第一网元、第二网元、第一设备、或者第二设备内部的芯片或芯片系统。In this application, the communication apparatus described in the thirteenth aspect may be a first network element, a second network element, a first device, or a second device, or may be set in the first network element, the second network element, the first network element, or the first network element. A device, or a chip or system-on-a-chip inside a second device.
此外,第十三方面所述的通信装置的技术效果可以参考第一方面至第八方面中任一种实现方式所述的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication device described in the thirteenth aspect, reference may be made to the technical effect of the communication method described in any one of the implementation manners of the first aspect to the eighth aspect, which will not be repeated here.
第十四方面,提供了一种芯片系统,该芯片系统包括处理器和输入/输出端口,所述处理器用于实现第一方面至第八方面中任一项所涉及的处理功能,所述输入/输出端口用于实现第一方面至第八方面中任一项所涉及的收发功能。A fourteenth aspect provides a chip system, the chip system includes a processor and an input/output port, the processor is configured to implement the processing function involved in any one of the first aspect to the eighth aspect, the input/output port The /output port is used to implement the transceiving function involved in any one of the first aspect to the eighth aspect.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现第一方面至第八方面中任一项所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory for storing program instructions and data for implementing the functions involved in any one of the first to eighth aspects.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system may be composed of chips, or may include chips and other discrete devices.
第十五方面,提供一种通信系统。该系统包括第一网元和第三网元。A fifteenth aspect provides a communication system. The system includes a first network element and a third network element.
第三网元,用于向第一网元发送第一时间信息;其中,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据;The third network element is configured to send the first time information to the first network element; wherein, the duration indicated by the first time information is equal to the duration of the first network element receiving the second data and sending the second data to the first device, and the first The second data is the data sent by the first network element to the first device;
第一网元,用于接收来自第三网元的第一时间信息;其中,第一时间信息用于指示根据第一时间信息缓存接收到的第一数据,第一数据是第一设备向第一网元发送的数据。The first network element is used to receive the first time information from the third network element; wherein the first time information is used to indicate that the first data received is cached according to the first time information, and the first data is sent by the first device to the third network element. Data sent by a network element.
第十六方面,提供一种计算机可读存储介质,该计算机可读存储介质包括计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第一方面至第八方面中任一种可能的实现方式所述的通信方法。A sixteenth aspect provides a computer-readable storage medium, the computer-readable storage medium comprising a computer program or an instruction, when the computer program or instruction is executed on a computer, causes the computer to perform any one of the first to eighth aspects. A possible implementation of the described communication method.
第十七方面,提供一种计算机程序产品,该计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行如第一方面至第八方面中任一种可能的实现方式所述的通信方法。A seventeenth aspect provides a computer program product, the computer program product comprising: a computer program or instructions, when the computer program or instructions are run on a computer, the computer can perform any one of the first to eighth aspects. The communication method described in the implementation manner.
附图说明Description of drawings
图1为本申请实施例提供的一种主节点和从节点的传输数据帧的示意图;1 is a schematic diagram of a transmission data frame between a master node and a slave node according to an embodiment of the present application;
图2为本申请实施例提供的一种主节点和从节点的组网示意图;FIG. 2 is a schematic diagram of networking of a master node and a slave node according to an embodiment of the present application;
图3为本申请实施例提供的另一种主节点和从节点的组网示意图;FIG. 3 is another schematic diagram of networking of a master node and a slave node according to an embodiment of the present application;
图4为本申请实施例提供的QoS架构示意图;4 is a schematic diagram of a QoS architecture provided by an embodiment of the present application;
图5为本申请实施例提供的一种建立QoS flow的流程示意图;5 is a schematic flowchart of establishing a QoS flow according to an embodiment of the present application;
图6为本申请实施例提供的一种通信系统的架构示意图;FIG. 6 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
图7为本申请实施例提供的另一种通信系统的架构示意图;FIG. 7 is a schematic diagram of the architecture of another communication system provided by an embodiment of the present application;
图8为本申请实施例提供的一种非漫游场景下的5G网络架构图;FIG. 8 is a 5G network architecture diagram in a non-roaming scenario provided by an embodiment of the present application;
图9为本申请实施例提供的另一种非漫游场景下的5G网络架构图;9 is another 5G network architecture diagram in a non-roaming scenario provided by an embodiment of the present application;
图10为本申请实施例提供的一种漫游场景下的5G网络架构图;10 is a 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application;
图11为本申请实施例提供的另一种漫游场景下的5G网络架构图;FIG. 11 is a diagram of a 5G network architecture in another roaming scenario provided by an embodiment of the present application;
图12为本申请实施例提供的又一种漫游场景下的5G网络架构图;FIG. 12 is another 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application;
图13为本申请实施例提供的又一种漫游场景下的5G网络架构图;FIG. 13 is another 5G network architecture diagram in a roaming scenario provided by an embodiment of the present application;
图14A为本申请实施例提供的一种协议架构图;FIG. 14A is a protocol architecture diagram provided by an embodiment of the present application;
图14B为本申请实施例提供的另一种协议架构图;FIG. 14B is another protocol architecture diagram provided by an embodiment of the present application;
图15为本申请实施例提供一种通信方法的流程示意图;FIG. 15 provides a schematic flowchart of a communication method according to an embodiment of the present application;
图16为本申请实施例提供另一种通信方法的流程示意图;16 is a schematic flowchart of another communication method according to an embodiment of the present application;
图17为本申请实施例提供又一种通信方法的流程示意图;FIG. 17 is a schematic flowchart of yet another communication method according to an embodiment of the present application;
图18为本申请实施例提供又一种通信方法的流程示意图;18 is a schematic flowchart of another communication method according to an embodiment of the present application;
图19为本申请实施例提供又一种通信方法的流程示意图;FIG. 19 provides a schematic flowchart of another communication method according to an embodiment of the present application;
图20为本申请实施例提供又一种通信方法的流程示意图;FIG. 20 is a schematic flowchart of yet another communication method according to an embodiment of the present application;
图21为本申请实施例提供又一种通信方法的流程示意图;21 is a schematic flowchart of another communication method provided by an embodiment of the present application;
图22为本申请实施例提供又一种通信方法的流程示意图;FIG. 22 provides a schematic flowchart of another communication method according to an embodiment of the present application;
图23为本申请实施例提供又一种通信方法的流程示意图;FIG. 23 is a schematic flowchart of another communication method according to an embodiment of the present application;
图24为本申请实施例提供的一种通信装置的结构示意图;FIG. 24 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图25为本申请实施例提供的另一种通信装置的结构示意图。FIG. 25 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如无线保真(wireless fidelity,WiFi)系统,车辆外联(vehicle to everything,V2X)通信系统、设备间(device-to-device,D2D)通信系统、车联网通信系统、第4代(4th generation,4G)移动通信系统,如长期演进(long term evolution,LTE)系统、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5thgeneration,5G)移动通信系统,如新空口(new radio,NR)系统,和/或未来的通信系统,如第六代(6th generation,6G)移动通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as a wireless fidelity (WiFi) system, a vehicle to everything (V2X) communication system, a device-to-device (D2D) communication system ) communication system, vehicle networking communication system, 4th generation (4th generation, 4G) mobile communication system, such as long term evolution (long term evolution, LTE) system, global interconnection microwave access (worldwide interoperability for microwave access, WiMAX) communication system , 5th generation (5th generation, 5G) mobile communication systems, such as new radio (new radio, NR) systems, and/or future communication systems, such as 6th generation (6th generation, 6G) mobile communication systems, etc.
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features around a system that may include a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc., and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
另外,在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of the present application, words such as "exemplarily" and "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
本申请实施例中,“信息(information)”、“数据(data)”、“信号(signal)”、“消 息(message)”、“信道(channel)”、“信令(singalling)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。“的(of)”,“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。In the embodiments of this application, "information", "data", "signal", "message", "channel", and "singalling" may sometimes Mixed use, it should be pointed out that when the difference is not emphasized, the meaning to be expressed is the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be pointed out that when the difference is not emphasized, the meanings they intend to express are the same.
本申请实施例中,有时候下标如W 1可能会笔误为非下标的形式如W1,在不强调其区别时,其所要表达的含义是一致的。 In the embodiments of the present application, sometimes a subscript such as W1 may be mistakenly written in a non-subscript form such as W1. When the difference is not emphasized, the meaning to be expressed is the same.
本申请涉及主节点和从节点。主节点(master device)可以使用标准的以太网控制器,可以发送数据帧。从节点(slave device)可以使用专用的控制芯片,只能转发数据帧。主节点和从节点均可以为具备处理EtherCAT类型业务的功能的节点。This application relates to master nodes and slave nodes. The master device can use a standard Ethernet controller and can send data frames. The slave node (slave device) can use a dedicated control chip and can only forward data frames. Both the master node and the slave node may be nodes having the function of processing EtherCAT type services.
结合图1,数据帧经主节点1发出后,途径从节点1,从节点2,以及从节点3的过程中,将各个从节点的数据打包或发送给对应的从节点。然后,再经过从节点3,从节点2,从节点1后,返回至主节点1。其中,从节点1,从节点2,以及从节点3均包括4个端口,数据帧不会产生冲突,可以保证业务的确定性。1, after the data frame is sent by the master node 1, the data of each slave node is packaged or sent to the corresponding slave node in the process of the slave node 1, the slave node 2, and the slave node 3. Then, after passing through slave node 3, slave node 2, and slave node 1, it returns to master node 1. Among them, the slave node 1, the slave node 2, and the slave node 3 all include 4 ports, the data frames will not collide, and the certainty of the service can be guaranteed.
需要说明的是,主节点可以称为主设备、主站、主EtherCAT设备、主以太网设备、或DC主站等,从节点可称为从设备、从节点、从EtherCAT设备、从以太网设备、或DC从节点等,本申请对此不进行限定。It should be noted that the master node can be called a master device, a master station, a master EtherCAT device, a master Ethernet device, or a DC master, etc., and a slave node can be called a slave device, a slave node, a slave EtherCAT device, and a slave Ethernet device. , or a DC slave node, etc., which are not limited in this application.
下面结合图2和图3对主节点和从节点的组网模式进行阐述。The networking modes of the master node and the slave node are described below with reference to FIG. 2 and FIG. 3 .
示例性地,主节点和从节点的组网模式可以包括直连模式或开放模式等。结合图2,直连模式可以为主节点1与从节点1,从节点2,以及从节点3之间的连接不经过交换机,直接连接。结合图3,开放模式可以为主节点1与从节点1,从节点2,以及从节点3之间的连接经过交换机(switch),还可以经过段地址从节点(segment address slave device)1。主节点2与从节点4,从节点5,以及从节点6之间的连接经过交换机,还可以经过段地址从节点2。可选的,交换机还可以连接具有其他功能的设备,如通用以太网设备(generic etherment device)。Exemplarily, the networking mode of the master node and the slave node may include a direct connection mode or an open mode. Referring to FIG. 2 , in the direct connection mode, the connection between the master node 1 and the slave node 1, the slave node 2, and the slave node 3 can be directly connected without going through a switch. In combination with Figure 3, the open mode can be connected between the master node 1 and the slave node 1, the slave node 2, and the slave node 3 through a switch (switch), and also through the segment address slave node (segment address slave device) 1. The connection between the master node 2 and the slave node 4, the slave node 5, and the slave node 6 passes through the switch, and can also pass through the segment address slave node 2. Optionally, the switch can also connect devices with other functions, such as generic etherment devices.
在分布式时钟同步的过程中可以通过计算从节点的本地系统时钟与参考时钟的偏移,对从节点的本地系统时钟进行校正,从而达到时钟同步的目的。下面对时钟的相关术语进行阐述。In the process of distributed clock synchronization, the local system clock of the slave node can be corrected by calculating the offset between the local system clock of the slave node and the reference clock, so as to achieve the purpose of clock synchronization. The terminology related to the clock is explained below.
1、本地系统时钟(local system time)1. Local system time
对从节点的本地时钟进行补偿和同步后,获得本地系统时钟。分布时钟同步过程使各个从节点的本地系统时钟保持一致。After compensating and synchronizing the local clock of the slave node, the local system clock is obtained. The distributed clock synchronization process keeps the local system clocks of each slave node consistent.
2、参考时钟,从时钟2. Reference clock, slave clock
参考时钟为具有分布时钟功能且与主节点连接的第一个从节点的系统时钟。例如,图2所示的从节点1的时钟为参考时钟。该参考时钟的作用是同步主节点1和从节点2以及从节点3的系统时钟。The reference clock is the system clock of the first slave node with distributed clock function and connected to the master node. For example, the clock of slave node 1 shown in Figure 2 is the reference clock. The function of the reference clock is to synchronize the system clocks of the master node 1, the slave node 2 and the slave node 3.
从时钟为与主节点连接的第一个从节点以外的从节点的系统时钟。例如,图2所示的从节点2的时钟为从时钟。The slave clock is the system clock of the slave nodes other than the first slave node connected to the master node. For example, the clock of slave node 2 shown in FIG. 2 is a slave clock.
3、本地时钟,时钟初始偏移量,时钟漂移量3. Local clock, initial clock offset, clock drift
每个从节点均包括本地时钟,本地时钟独立运行,使用从节点的本地的时钟信号计时。Each slave node includes a local clock, which runs independently and uses the local clock signal of the slave node for timing.
时钟初始偏移量为初始上电后的本地时钟与参考时钟的差值。The initial clock offset is the difference between the local clock and the reference clock after initial power-on.
时钟漂移量为节点在运行过程中的本地时钟产生的累计误差。时钟漂移量可以为各个节点的时钟源(晶振)差异导致的。The amount of clock drift is the cumulative error generated by the local clock of the node during operation. The amount of clock drift can be caused by differences in the clock source (crystal oscillator) of each node.
4、传输延时4. Transmission delay
传输延时为数据帧在从节点之间传输产生的延时。传输延时可以包括从节点内部处理延时(虽然EtherCAT业务由硬件实时处理,但也可能存在纳秒级的延时)和物理连接的延时(EtherCAT业务传输延时)。Transmission delay is the delay caused by data frame transmission between slave nodes. The transmission delay can include the internal processing delay of the slave node (although EtherCAT services are processed in real time by hardware, there may also be nanosecond-level delay) and the delay of physical connection (EtherCAT service transmission delay).
5、主时钟5. Master clock
主时钟为主节点的时钟。The master clock is the clock of the master node.
下面对分布式时钟同步的过程进行详细阐述。The process of distributed clock synchronization is described in detail below.
示例性地,以与主节点连接的第n个从节点为例。假设t_local(n)>t_sys_ref,则t_local(n)=t_sys_ref+T_offset(n)。其中,t_local(n)表示第n个从节点的本地时钟,t_sys_ref表示对t_sys_ref(n)进行补偿后达到同步的系统时钟,t_sys_ref(n)表示第n个从节点的的本地系统时钟,T_offset(n)表示第n个从节点的时钟初始偏移量。Illustratively, take the nth slave node connected to the master node as an example. Assuming t_local(n)>t_sys_ref, then t_local(n)=t_sys_ref+T_offset(n). Among them, t_local(n) represents the local clock of the nth slave node, t_sys_ref represents the synchronized system clock after compensating t_sys_ref(n), t_sys_ref(n) represents the local system clock of the nth slave node, T_offset( n) represents the initial clock offset of the nth slave node.
主节点发出数据帧,假设当数据帧到达与主节点连接的第一个从节点时,t_sys_ref为T1时刻,则数据帧到达第n个从节点时,第n个从节点的本地时钟t_local(n)为T2(n),其中,T2(n)=T1+T_offset(n)+T_delay(n)。其中,T_delay(n)表示数据帧传输到第n个从节点的传输延时。The master node sends a data frame, assuming that when the data frame reaches the first slave node connected to the master node, t_sys_ref is time T1, then when the data frame reaches the nth slave node, the local clock of the nth slave node t_local(n ) is T2(n), where T2(n)=T1+T_offset(n)+T_delay(n). Among them, T_delay(n) represents the transmission delay of the data frame transmission to the nth slave node.
假设数据帧经过所有从节点后,返回至主节点的过程中,到达第n个从节点的时刻为T3(n),当数据帧返回至与主节点连接的第一个从节点时,t_sys_ref为T4时刻。假设上行传输延时与下行传输延时相等,则数据帧传输到第n个从节点的传输延时T_delay(n)=(T2(n)-T1+T4-T3(n))/2。Assuming that the data frame returns to the master node after passing through all the slave nodes, the time it reaches the nth slave node is T3(n). When the data frame returns to the first slave node connected to the master node, t_sys_ref is Time T4. Assuming that the uplink transmission delay is equal to the downlink transmission delay, the transmission delay of data frame transmission to the nth slave node is T_delay(n)=(T2(n)-T1+T4-T3(n))/2.
利用第n个从节点的本地时钟计算该第n个从节点的本地系统时钟t_sys_local(n)=t_local(n)-T_offset(n)。其中,t_sys_ref(n)表示第n个从节点的的本地系统时间。The local system clock t_sys_local(n)=t_local(n)−T_offset(n) of the nth slave node is calculated using the local clock of the nth slave node. Among them, t_sys_ref(n) represents the local system time of the nth slave node.
根据携带在数据包中的t_sys_ref得出时钟漂移量,Delta_t=t_sys_local(n)-T_delay(n)-t_sys_ref。其中,Delta_t表示第n个从节点的在运行过程中产生的时钟漂移量。The clock drift amount is obtained according to the t_sys_ref carried in the data packet, Delta_t=t_sys_local(n)-T_delay(n)-t_sys_ref. Among them, Delta_t represents the clock drift of the nth slave node during operation.
最后,从节点可以根据Delta_t调整本地时钟。Finally, the slave node can adjust the local clock according to Delta_t.
图4为本申请实施例提供的QoS架构示意图。下面结合图4对5G业务质量(quality of service,QoS)模型进行介绍。FIG. 4 is a schematic diagram of a QoS architecture provided by an embodiment of the present application. The 5G quality of service (quality of service, QoS) model is introduced below with reference to FIG. 4 .
示例性地,基于QoS流(flow)的5G QoS模型可以保证业务端到端的服务质量。5G QoS模型可以支持保证比特率(guaranteed bit rate,GBR)的QoS流(flow)和不保证比特率(non-guaranteed bit rate,Non-GBR)的QoS flow。若多个数据包使用同一个QoS flow控制,则这些数据包可以接受相同的传输处理,如调度、或准入门限等。Exemplarily, the 5G QoS model based on QoS flow (flow) can guarantee the end-to-end service quality of the business. The 5G QoS model can support guaranteed bit rate (guaranteed bit rate, GBR) QoS flow (flow) and non-guaranteed bit rate (Non-GBR) QoS flow. If multiple packets use the same QoS flow control, these packets can receive the same transmission processing, such as scheduling, or admission threshold.
结合图4,5G接入网(NG的英文RAN,NG-RAN)可以包括终端设备和接入网设备,终端设备通过5G空口(即Uu接口)与接入网设备进行通信。5G核心网(5th generation core,5GC)可以包括UPF网元,接入网设备与UPF网元通过N3接口进行通信。其中,一个终端设备可以与5G网络建立一个或多个分组数据单元 (protocol data unit,PDU)会话。PDU会话为终端设备与数据网络(data network,DN)网络之间一个关联,可提供PDU连接服务。一个PDU会话可以包括一个NG-U隧道,NG-U隧道是接入网设备与UPF网元之间的通道。一个PDU会话可以包括多条Qos流,每条Qos流的QoS流标识(QoS flow identifier,QFI)不相同,不同PDU会话包括的Qos流对应的QFI可能相同。QoS流映射到无线承载(radio bearer,RB)上。其中,RB包括信令无线承载(signaling radio bearers,SRB)和DRB,SRB用于承载消息,DRB用于承载用户面数据。QoS流到无线承载的映射可以是一对一的关系,也可以是多对一的关系。4 , a 5G access network (NG in English RAN, NG-RAN) may include terminal equipment and access network equipment, and the terminal equipment communicates with the access network equipment through a 5G air interface (ie, a Uu interface). The 5G core network (5th generation core, 5GC) may include UPF network elements, and the access network equipment communicates with the UPF network elements through the N3 interface. Among them, a terminal device can establish one or more packet data unit (protocol data unit, PDU) sessions with the 5G network. A PDU session is an association between a terminal device and a data network (DN) network and can provide PDU connection services. A PDU session may include an NG-U tunnel, and the NG-U tunnel is a channel between the access network device and the UPF network element. A PDU session may include multiple QoS flows, and the QoS flow identifier (QoS flow identifier, QFI) of each QoS flow is different, and the QFIs corresponding to the QoS flows included in different PDU sessions may be the same. QoS flows are mapped to radio bearers (RBs). Wherein, the RB includes signaling radio bearers (signaling radio bearers, SRB) and DRB, the SRB is used to carry messages, and the DRB is used to carry user plane data. The mapping of QoS flows to radio bearers can be in a one-to-one relationship or a many-to-one relationship.
示例性地,QoS配置文件(QoS profile)可用于确定QoS流的类型。Illustratively, a QoS profile may be used to determine the type of QoS flow.
具体地,GBR QoS flow对应的QoS配置文件包括但不限于如下一项或多项QoS参数:5G QoS标识(5G QoS identifier,5QI),分配和预留优先级(allocation and retention priority,ARP),保证流比特率(guaranteed flow bit rate,GFBR),最大流比特率(maximum flow bit rate,MFBR),服务质量通知控制(QoS notification control,QNC)。Specifically, the QoS configuration file corresponding to the GBR QoS flow includes but is not limited to one or more of the following QoS parameters: 5G QoS identifier (5G QoS identifier, 5QI), allocation and reservation priority (allocation and retention priority, ARP), Guaranteed flow bit rate (GFBR), maximum flow bit rate (MFBR), QoS notification control (QNC).
具体地,Non-GBR QoS flow对应的QoS配置文件包括但不限于如下一项或多项QoS参数:5QI,ARP,反转QoS属性(reflective QoS attribute,RQA)。Specifically, the QoS configuration file corresponding to the Non-GBR QoS flow includes but is not limited to one or more of the following QoS parameters: 5QI, ARP, and reverse QoS attribute (reflective QoS attribute, RQA).
其中,5QI是一个标量,用于索引到对应的5G QoS特征。5QI可分为标准化的5QI,预配置的5QI和动态分配的5QI。其中,标准化的5QI与一组标准化的5G QoS特征值一一对应。预配置的5QI对应的5G QoS特征值可预配置在接入网设备。动态分配的5QI对应的5G QoS特征可由5GC(如SMF网元),通过QoS配置文件发送给接入网设备。Among them, 5QI is a scalar used to index to the corresponding 5G QoS feature. 5QI can be divided into standardized 5QI, pre-configured 5QI and dynamically allocated 5QI. Among them, the standardized 5QI corresponds to a set of standardized 5G QoS feature values one-to-one. The 5G QoS characteristic value corresponding to the pre-configured 5QI can be pre-configured on the access network equipment. The 5G QoS characteristics corresponding to the dynamically allocated 5QI can be sent to the access network equipment by the 5GC (such as the SMF network element) through the QoS configuration file.
ARP可以包括优先等级、抢占能力和被抢占能力等。ARP may include priority, preemption capability, and preemption capability.
RQA可用于指示使用对应QoS flow传输的业务,使用反转QoS。RQA can be used to indicate the traffic transmitted using the corresponding QoS flow, using reversed QoS.
QNC可用于指示在(R)AN设备使用QoS flow的期间,当保证流比特率GFBR不能被满足时,(R)AN设备是否通知核心网。示例性地,可以根据配置文件是否包括QNC,将GBR QoS flow分为需要通知控制的GRB QoS flow和不需要通知控制的GBR QoS flow。其中,对于需要通知控制的GBR QoS flow,当(R)AN设备检测到保证流比特率GFBR不能被满足时,(R)AN设备通知SMF网元该事件。对于不需要通知控制的GBR QoS flow,当(R)AN设备检测到保证流比特率GFBR不能被满足时,(R)AN设备不通知SMF该事件。进一步地,SMF网元可以发起QoS flow删除或者修改流程。The QNC can be used to indicate whether the (R)AN device notifies the core network when the guaranteed stream bit rate GFBR cannot be satisfied during the period in which the (R)AN device uses the QoS flow. Exemplarily, according to whether the configuration file includes QNC, the GBR QoS flow can be divided into a GBR QoS flow that requires notification control and a GBR QoS flow that does not require notification control. Among them, for the GBR QoS flow that needs to be notified and controlled, when the (R)AN device detects that the guaranteed stream bit rate GFBR cannot be satisfied, the (R)AN device notifies the SMF network element of the event. For a GBR QoS flow that does not require notification control, when the (R)AN device detects that the guaranteed stream bit rate GFBR cannot be satisfied, the (R)AN device does not notify the SMF of the event. Further, the SMF network element can initiate a QoS flow deletion or modification process.
GFBR可用于指示期望提供给GBR QoS flow的比特率。GFBR can be used to indicate the bit rate expected to be provided to the GBR QoS flow.
MFBR可用于指示限制提供给GBR QoS flow的比特率,即提供给GBR QoS flow的最大比特率。例如,超过该比特率时,数据包可以被丢弃。MFBR can be used to indicate to limit the bit rate provided to the GBR QoS flow, i.e. the maximum bit rate provided to the GBR QoS flow. For example, packets can be dropped when this bit rate is exceeded.
图5为本申请实施例提供的一种建立QoS flow的流程示意图。对于GBR QoS flow,主要基于信令的方式控制,该QoS flow的建立流程如图5所示。FIG. 5 is a schematic flowchart of establishing a QoS flow according to an embodiment of the present application. For GBR QoS flow, it is mainly controlled based on signaling. The establishment process of this QoS flow is shown in Figure 5.
S501a,SMF网元向UPF网元发送业务数据流(service data flow,SDF)信息。相应的,UPF网元接收来自SMF网元的业务数据流信息。S501a, the SMF network element sends service data flow (service data flow, SDF) information to the UPF network element. Correspondingly, the UPF network element receives the service data flow information from the SMF network element.
示例性地,业务数据流信息可以包括QoS控制信息。Exemplarily, the service data flow information may include QoS control information.
可选的,SMF网元可以根据本地策略或者来自策略控制功能(policy control function,PCF)网元的策略和计费控制(policy and charging control,PCC)规则确定建立QoS flow。Optionally, the SMF network element may determine to establish a QoS flow according to a local policy or a policy and charging control (policy and charging control, PCC) rule from a policy control function (policy control function, PCF) network element.
示例性地,PCC规则为一组信息,可以用于检测业务数据流SDF,并为策略控制和/或计费控制和/或其它控制或支持信息提供参数。Illustratively, a PCC rule is a set of information that can be used to detect the service data flow SDF and provide parameters for policy control and/or charging control and/or other control or support information.
S501b,移动性管理功能(access and mobility management function,AMF)网元向(R)AN设备发送QoS flow的QoS配置文件。相应的,(R)AN设备接收来自AMF网元的QoS flow的QoS配置文件。S501b, the network element of the mobility management function (access and mobility management function, AMF) sends the QoS configuration file of the QoS flow to the (R)AN device. Accordingly, the (R)AN device receives the QoS profile of the QoS flow from the AMF network element.
S501c,AMF网元或(R)AN设备向终端设备发送QoS规则。相应的,终端设备接收来自AMF网元或(R)AN设备的QoS规则。S501c, the AMF network element or the (R)AN device sends the QoS rule to the terminal device. Correspondingly, the terminal device receives the QoS rules from the AMF network element or the (R)AN device.
示例性地,QoS规则可以包括QoS控制信息。Illustratively, the QoS rules may include QoS control information.
S502a,UPF网元根据SDF信息进行下行数据包的QoS控制和上行数据包的验证。S502a, the UPF network element performs QoS control of downlink data packets and verification of uplink data packets according to the SDF information.
示例性地,当UPF网元接收到下行数据包时,根据SMF网元发送的SDF信息执行QoS控制,例如在数据包头中携带QFI。Exemplarily, when the UPF network element receives the downlink data packet, QoS control is performed according to the SDF information sent by the SMF network element, for example, QFI is carried in the data packet header.
示例性地,UPF网元接收到(R)AN设备发送的上行数据包时,验证该数据包是否使用正确的QoS flow传输。例如,使用QoS模板验证该数据包是否使用正确的QoS flow传输。Exemplarily, when the UPF network element receives the uplink data packet sent by the (R)AN device, it verifies whether the data packet is transmitted using the correct QoS flow. For example, use a QoS template to verify that the packet was transmitted using the correct QoS flow.
S502b,(R)AN设备根据QoS配置文件建立DRB,以及DRB与QoS flow的映射关系。S502b, the (R)AN device establishes the DRB and the mapping relationship between the DRB and the QoS flow according to the QoS configuration file.
示例性地,(R)AN设备接收到下行数据包时,根据包头中的QFI以及QFI对应的QoS flow和DRB的映射关系,将数据包放在对应的DRB上传输。Exemplarily, when the (R)AN device receives the downlink data packet, according to the QFI in the packet header and the mapping relationship between the QoS flow corresponding to the QFI and the DRB, the data packet is placed on the corresponding DRB for transmission.
示例性地,(R)AN设备接收到上行数据包时,根据接收的数据包头中的QFI,在(R)AN设备和UPF网元之间的数据包头中增加QFI。Exemplarily, when the (R)AN device receives the uplink data packet, according to the QFI in the received data packet header, the QFI is added to the data packet header between the (R)AN device and the UPF network element.
S502c,终端设备根据QoS规则执行上行数据包的QoS控制。S502c, the terminal device performs QoS control of the uplink data packet according to the QoS rule.
示例性地,终端设备确定发送上行数据包时,可以根据QoS规则确定QoS flow,并在包头中携带QFI。终端设备根据QoS flow和DRB的映射关系,将数据包放在对应的DRB上传输。Exemplarily, when the terminal device determines to send an uplink data packet, it can determine the QoS flow according to the QoS rule, and carry the QFI in the packet header. The terminal device transmits the data packet on the corresponding DRB according to the mapping relationship between QoS flow and DRB.
下面对QoS flow与PCC规则的绑定机制(binding mechanism)进行介绍。The binding mechanism of QoS flow and PCC rules is introduced below.
示例性地,绑定机制是将服务数据流SDF(通过SDF模板在PCC规则中定义)与传输服务数据流的QoS流相关联的过程。PCC规则是SDF粒度的,5G的QoS模型是QoS flow粒度的,(R)AN设备是基于QoS flow粒度来进行调度的,可以将SDF映射到QoS flow上进行QoS控制。Illustratively, the binding mechanism is the process of associating a service data flow SDF (defined in PCC rules through an SDF template) with a QoS flow that transports the service data flow. PCC rules are SDF granularity, 5G QoS model is QoS flow granularity, (R)AN devices are scheduled based on QoS flow granularity, and SDF can be mapped to QoS flow for QoS control.
示例性地,QoS flow与PCC规则的绑定机制可以包括下述步骤一至步骤三。Exemplarily, the binding mechanism of the QoS flow and the PCC rule may include the following steps 1 to 3.
步骤一,绑定会话,可以包括将AF会话和PDU会话进行一一对应。Step 1, binding the session, may include a one-to-one correspondence between the AF session and the PDU session.
步骤二,对PCC规则进行授权。例如PCF网元可以对PCC规则进行授权,为PCC规则分配QoS参数。Step 2, authorize the PCC rules. For example, the PCF network element may authorize the PCC rules and assign QoS parameters to the PCC rules.
步骤三,绑定QoS flow。绑定QoS流是将PCC规则与PDU会话中QoS流的关联。具有不同属性的PCC规则可被绑定到不同的QoS flow。Step 3: Bind QoS flow. Binding a QoS flow is the association of a PCC rule with a QoS flow in a PDU session. PCC rules with different properties can be bound to different QoS flows.
例如,SMF网元将PCC规则和QoS flow进行关联。示例性地,可以采用包括但不限于一下绑定参数中的一项或多项执行绑定QoS流:5QI,ARP,QNC(若在PCC规则中可用),优先级(priority level),平均窗口(averaging window),和最大数据突发量(maximum data burst volume)。For example, SMF network elements associate PCC rules with QoS flows. Exemplarily, binding QoS flows may be performed using one or more of the following binding parameters, including but not limited to: 5QI, ARP, QNC (if available in PCC rules), priority level, average window (averaging window), and maximum data burst volume.
为便于理解本申请实施例,首先以图6或图7中示出的通信系统为例详细说明适用于本申请实施例的通信系统。应当指出的是,本申请实施例中的方案还可以应用于其他移动通信系统中,相应的名称也可以用其他移动通信系统中的对应功能的名称进行替代。本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。To facilitate understanding of the embodiments of the present application, firstly, a communication system applicable to the embodiments of the present application is described in detail by taking the communication system shown in FIG. 6 or FIG. 7 as an example. It should be noted that the solutions in the embodiments of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other mobile communication systems. The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
图6为本申请实施例提供的一种通信系统的架构示意图。如图6所示,该通信系统600包括第一核心网601、第一接入网602。其中,通信系统600还可以包括数据网络604。可选的,通信系统600还可以包括:第一终端设备603。FIG. 6 is a schematic structural diagram of a communication system provided by an embodiment of the present application. As shown in FIG. 6 , the communication system 600 includes a first core network 601 and a first access network 602 . The communication system 600 may also include a data network 604 . Optionally, the communication system 600 may further include: a first terminal device 603 .
可选的,图6所示的通信系统600可以应用于目前正在讨论的5G系统,或者未来的其他通信系统,本申请实施例对此不作具体限定。Optionally, the communication system 600 shown in FIG. 6 may be applied to the 5G system currently under discussion, or other communication systems in the future, which is not specifically limited in this embodiment of the present application.
图7为本申请实施例提供的另一种通信系统的架构示意图。如图7所示,该通信系统700包括第一核心网601、第一接入网602、第二核心网605、和第二接入网606。其中,第一核心网601和第二核心网605可以为同一核心网,第一接入网602和第二接入网606可以为同一接入网。可选的,通信系统700还可以包括:第一终端设备603和第一终端设备607。FIG. 7 is a schematic structural diagram of another communication system provided by an embodiment of the present application. As shown in FIG. 7 , the communication system 700 includes a first core network 601 , a first access network 602 , a second core network 605 , and a second access network 606 . The first core network 601 and the second core network 605 may be the same core network, and the first access network 602 and the second access network 606 may be the same access network. Optionally, the communication system 700 may further include: a first terminal device 603 and a first terminal device 607 .
可选的,图7所示的通信系统700可以应用于目前正在讨论的5G系统,或者未来的其他通信系统,本申请实施例对此不作具体限定。Optionally, the communication system 700 shown in FIG. 7 may be applied to the 5G system currently under discussion, or other communication systems in the future, which are not specifically limited in this embodiment of the present application.
示例性地,假设图6所示的通信系统600应用于非漫游场景下的5G网络架构,则如图8或图9所示,上述第一核心网601所对应的网元或者实体可以包括非漫游5G网络架构中的UPF网元,还可以包括SMF网元和/或PCF网元,上述第一接入网602可以包括图8或图9中的(R)AN设备。可选的,上述数据网络604可以为图8或图9中的DN。上述第一终端设备603可以为图8或图9中的终端设备。Exemplarily, assuming that the communication system 600 shown in FIG. 6 is applied to a 5G network architecture in a non-roaming scenario, as shown in FIG. 8 or FIG. 9 , the network elements or entities corresponding to the first core network 601 may include non-roaming network elements or entities. The UPF network elements in the roaming 5G network architecture may further include SMF network elements and/or PCF network elements, and the above-mentioned first access network 602 may include the (R)AN device in FIG. 8 or FIG. 9 . Optionally, the above-mentioned data network 604 may be the DN in FIG. 8 or FIG. 9 . The above-mentioned first terminal device 603 may be the terminal device in FIG. 8 or FIG. 9 .
如图8所示,该非漫游5G网络架构中还可以包括AMF网元、AF网元、网络切片选择功能(network slice selection function,NSSF)网元、鉴权服务器功能(authentication server function,AUSF)网元、统一数据管理(unified data management,UDM)网元等,本申请实施例对此不作具体限定。As shown in Figure 8, the non-roaming 5G network architecture may also include AMF network elements, AF network elements, network slice selection function (NSSF) network elements, and authentication server function (AUSF) A network element, a unified data management (unified data management, UDM) network element, etc., are not specifically limited in this embodiment of the present application.
其中,终端设备,通过下一代网络(next generation,N)1接口(简称N1)与AMF网元通信,(R)AN设备通过N2接口(简称N2)与AMF网元通信,(R)AN设备通过N3接口(简称N3)与UPF网元通信,UPF网元通过N6接口(简称N6)与DN通信,AMF网元通过N11接口(简称N11)与SMF网元通信,AMF网元通过N15接口(简称N15)与PCF网元通信,AMF网元通过N22接口与NSSF网元通信,AMF网元通过N12接口(简称N12)与AUSF网元通信,AMF网元通过N8接口(简称N8)与UDM网元通信,SMF网元通过N7接口(简称N7)与PCF网元通信,SMF 网元通过N4接口(简称N4)与UPF网元通信,SMF网元通过N10接口(简称N10)与UDM网元通信,PCF网元通过N5接口与AF网元通信,UDM网元通过N13接口(简称N13)与AUSF网元通信。The terminal device communicates with the AMF network element through the next generation network (next generation, N) 1 interface (N1 for short), the (R)AN device communicates with the AMF network element through the N2 interface (N2 for short), and the (R)AN device The UPF network element communicates with the UPF network element through the N3 interface (referred to as N3), the UPF network element communicates with the DN through the N6 interface (referred to as N6), the AMF network element communicates with the SMF network element through the N11 interface (referred to as N11), and the AMF network element communicates with the SMF network element through the N15 interface ( N15 for short) communicates with PCF network element, AMF network element communicates with NSSF network element through N22 interface, AMF network element communicates with AUSF network element through N12 interface (N12 for short), AMF network element communicates with UDM network element through N8 interface (N8 for short) Element communication, SMF network element communicates with PCF network element through N7 interface (N7 for short), SMF network element communicates with UPF network element through N4 interface (N4 for short), SMF network element communicates with UDM network element through N10 interface (N10 for short) , the PCF network element communicates with the AF network element through the N5 interface, and the UDM network element communicates with the AUSF network element through the N13 interface (N13 for short).
此外,需要说明的是,图8所示的非漫游5G网络架构中的AMF网元、SMF网元、PCF网元、NSSF网元、AUSF网元、UDM网元等控制面网元也可以采用服务化接口进行交互。比如,如图9所示,AMF网元对外提供的服务化接口可以为Namf,SMF网元对外提供的服务化接口可以为Nsmf,PCF网元对外提供的服务化接口可以为Npcf,NSSF网元对外提供的服务化接口可以为Nnssf,AUSF网元对外提供的服务化接口可以为Nausf,UDM网元对外提供的服务化接口可以为Nudm。相关描述可以参考23.501标准中的5G系统架构(5G system architecture),在此不予赘述。In addition, it should be noted that control plane network elements such as AMF network elements, SMF network elements, PCF network elements, NSSF network elements, AUSF network elements, and UDM network elements in the non-roaming 5G network architecture shown in FIG. 8 can also be used. interact with the service interface. For example, as shown in Figure 9, 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 PCF network element can be Npcf, and the service interface provided by the NSSF network element The service interface provided externally may be Nnssf, the service interface provided by the AUSF network element may be Nausf, and the service interface provided by the UDM network element may be Nudm. For related descriptions, please refer to the 5G system architecture (5G system architecture) in the 23.501 standard, which will not be repeated here.
或者,示例性的,假设图6所示的通信系统600应用于本地疏导(local breakout)漫游场景下的5G网络架构,则如图10所示,上述第一核心网601所对应的网元或者实体可以包括非漫游5G网络架构中的UPF网元,还可以包括SMF网元和/或拜访地PCF(a PCF in the VPLMN,V-PCF)网元,上述第一接入网602可以包括图10中的(R)AN设备。可选的,上述第一终端设备603可以为图10中的终端设备。上述数据网络604可以为图10中的DN。Or, exemplarily, assuming that the communication system 600 shown in FIG. 6 is applied to a 5G network architecture in a local breakout roaming scenario, as shown in FIG. 10 , the network elements corresponding to the first core network 601 or The entity may include a UPF network element in a non-roaming 5G network architecture, and may also include an SMF network element and/or a visited PCF (a PCF in the VPLMN, V-PCF) network element, and the above-mentioned first access network 602 may include a (R)AN equipment in 10. Optionally, the above-mentioned first terminal device 603 may be the terminal device in FIG. 10 . The above-mentioned data network 604 may be the DN in FIG. 10 .
此外,如图10所示,该本地疏导漫游5G网络架构中还可以包括AMF网元、SMF网元、AF网元、NSSF网元、归属地PCF(a PCF in the HPLMN,H-PCF)网元、AUSF网元、UDM网元等,本申请实施例对此不作具体限定。其中,UDM网元、AUSF网元和H-PCF网元归属于归属公共陆地移动网(home public land mobile network,HPLMN);(R)AN设备、AMF网元、SMF网元、UPF网元、V-PCF网元、NSSF网元、AF网元归属于拜访地公共陆地移动网(visited public land mobile network,VPLMN)。In addition, as shown in Figure 10, the local roaming 5G network architecture may also include AMF network elements, SMF network elements, AF network elements, NSSF network elements, and home PCF (a PCF in the HPLMN, H-PCF) network element, AUSF network element, UDM network element, etc., which are not specifically limited in this embodiment of the present application. Among them, UDM network elements, AUSF network elements and H-PCF network elements belong to the home public land mobile network (HPLMN); (R) AN equipment, AMF network elements, SMF network elements, UPF network elements, The V-PCF network element, the NSSF network element, and the AF network element belong to the visited public land mobile network (visited public land mobile network, VPLMN).
其中,终端设备,通过N1(简称N1)接口与AMF网元通信,(R)AN设备通过N2接口(简称N2)与AMF网元通信,(R)AN设备通过N3接口(简称N3)与UPF网元通信,UPF网元通过N6接口(简称N6)与DN通信,AMF网元通过N11接口(简称N11)与SMF网元通信,AMF网元通过N15接口(简称N15)与V-PCF网元通信,AMF网元通过N22接口(简称N22)与NSSF网元通信,AMF网元通过N12接口(简称N12)与AUSF网元通信,AMF网元通过N8接口(简称N8)与UDM网元通信,SMF网元通过N7接口(简称N7)与V-PCF网元通信,SMF网元通过N4接口(简称N4)与UPF网元通信,SMF网元通过N10接口(简称N10)与UDM网元通信,V-PCF网元通过N5接口(简称N5)与AF网元通信,V-PCF网元通过N24接口(简称N24)与H-PCF网元通信,UDM网元通过N13接口(简称N13)与AUSF网元通信。The terminal device communicates with the AMF network element through the N1 interface (N1 for short), the (R)AN device communicates with the AMF network element through the N2 interface (N2 for short), and the (R)AN device communicates with the UPF through the N3 interface (N3 for short). NE communication, UPF NE communicates with DN through N6 interface (N6 for short), AMF NE communicates with SMF NE through N11 interface (N11 for short), AMF NE communicates with V-PCF NE through N15 interface (N15 for short) Communication, AMF network element communicates with NSSF network element through N22 interface (N22 for short), AMF network element communicates with AUSF network element through N12 interface (N12 for short), AMF network element communicates with UDM network element through N8 interface (N8 for short), The SMF network element communicates with the V-PCF network element through the N7 interface (N7 for short), the SMF network element communicates with the UPF network element through the N4 interface (N4 for short), and the SMF network element communicates with the UDM network element through the N10 interface (N10 for short). The V-PCF network element communicates with the AF network element through the N5 interface (N5 for short), the V-PCF network element communicates with the H-PCF network element through the N24 interface (N24 for short), and the UDM network element communicates with the AUSF through the N13 interface (N13 for short). Network element communication.
此外,需要说明的是,图10所示的本地疏导漫游5G网络架构中的AMF网元、SMF网元、UDM网元、AUSF网元、NSSF网元、V-PCF网元或者H-PCF网元等控制面网元也可以采用服务化接口进行交互。比如,如图11所示,AMF网元对外提供的服务化接口可以为Namf;SMF网元对外提供的服务化接口可以为Nsmf;UDM网元对外提供的服务化接口可以为Nudm;V-PCF网元对外提供的服务化接口可以为Npcf;H-PCF网元对外提供的服务化接口可以为Npcf;AUSF网元对外提供的服务化接口可 以为Nausf,NSSF网元对外提供的服务化接口可以为Nnssf。此外,图11中的拜访地安全边缘保护代理(visited security edge protection proxy,V-SEPP)用于VPLMN内部控制面接口的信息过滤和策略控制,以及拓扑隐藏等;图11中的归属地安全边缘保护代理(home security edge protection proxy,H-SEPP)用于HPLMN内部控制面接口的信息过滤和策略控制,以及拓扑隐藏等;V-SEPP与H-SEPP通过N32接口(简称N32)连接。所有相关描述可以参考23.501标准中的5G系统架构(5G system architecture),在此不予赘述。In addition, it should be noted that the AMF network element, SMF network element, UDM network element, AUSF network element, NSSF network element, V-PCF network element or H-PCF network element in the 5G network architecture for local grooming and roaming shown in FIG. 10 Elements and other control plane network elements can also use service-oriented interfaces to interact. For example, as shown in Figure 11, 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; V-PCF The service interface provided by the network element can be Npcf; the service interface provided by the H-PCF network element can be Npcf; the service interface provided by the AUSF network element can be Nausf, and the service interface provided by the NSSF network element can be is Nnssf. In addition, the visited security edge protection proxy (V-SEPP) in Figure 11 is used for information filtering and policy control of the VPLMN internal control plane interface, as well as topology hiding, etc.; the home security edge in Figure 11 The home security edge protection proxy (H-SEPP) is used for information filtering and policy control of the internal control plane interface of the HPLMN, as well as topology hiding; V-SEPP and H-SEPP are connected through the N32 interface (N32 for short). For all relevant descriptions, refer to the 5G system architecture (5G system architecture) in the 23.501 standard, which will not be repeated here.
或者,示例性的,假设图6所示的通信系统600应用于归属地路由(home routed)漫游场景下的5G网络架构,则如图12所示,上述第一核心网601所对应的网元或者实体可以包括非漫游5G网络架构中的拜访地UPF(visited UPF,V-UPF)网元、归属地UPF(home UPF,H-UPF)网元,还可以包括H-SMF网元、V-SMF网元、和/或拜访地PCF(a PCF in the VPLMN,V-PCF)网元、H-PCF网元,上述第一接入网602可以包括图12中的(R)AN设备。可选的,上述第一终端设备603可以为图12中的终端设备。上述数据网络604可以为图12中的DN。Or, exemplarily, assuming that the communication system 600 shown in FIG. 6 is applied to a 5G network architecture in a home routed roaming scenario, then as shown in FIG. 12 , the network elements corresponding to the above-mentioned first core network 601 Or the entity may include a visited UPF (visited UPF, V-UPF) network element, a home UPF (home UPF, H-UPF) network element in a non-roaming 5G network architecture, and may also include an H-SMF network element, a V-UPF network element, and a SMF network element, and/or visited PCF (a PCF in the VPLMN, V-PCF) network element, H-PCF network element, the above-mentioned first access network 602 may include the (R)AN device in FIG. 12 . Optionally, the foregoing first terminal device 603 may be the terminal device in FIG. 12 . The above-mentioned data network 604 may be the DN in FIG. 12 .
此外,如图12所示,该归属地路由漫游5G网络架构中还可以包括拜访地NSSF(visited NSSF,V-NSSF)网元、归属地NSSF(home NSSF,H-NSSF)网元、AUSF网元、UDM网元、AMF网元、AF网元等,本申请实施例对此不作具体限定。其中,H-NSSF网元、AUSF网元、UDM网元、H-SMF网元、H-PCF网元、H-UPF网元、AF网元、H-UPF网元归属于HPLMN;RAN、V-UPF网元、AMF网元、V-SMF网元、V-NSSF网元、V-PCF网元归属于VPLMN。In addition, as shown in FIG. 12 , the home routing roaming 5G network architecture may also include a visited NSSF (visited NSSF, V-NSSF) network element, a home NSSF (home NSSF, H-NSSF) network element, and an AUSF network. element, UDM network element, AMF network element, AF network element, etc., which are not specifically limited in this embodiment of the present application. Among them, H-NSSF network elements, AUSF network elements, UDM network elements, H-SMF network elements, H-PCF network elements, H-UPF network elements, AF network elements, and H-UPF network elements belong to HPLMN; -UPF network elements, AMF network elements, V-SMF network elements, V-NSSF network elements, and V-PCF network elements belong to the VPLMN.
其中,终端设备,通过N1接口(简称N1)与AMF网元通信,RAN设备通过N2接口(简称N2)与AMF网元通信,RAN设备通过N3接口(简称N3)与UPF网元通信,UPF网元通过N6接口(简称N6)与DN通信,AMF网元通过N11接口(简称N11)与V-SMF网元通信,V-SMF网元通过N16接口(简称N16)与H-SMF网元通信,AMF网元通过N8接口(简称N8)与UDM网元通信,AMF网元通过N12接口(简称N12)与AUSF网元通信,AMF网元通过N15接口(简称N15)与V-PCF网元通信;V-PCF网元通过N24接口(简称N24)与H-PCF网元通信,V-SMF网元通过N4接口(简称N4)与V-UPF网元通信,H-SMF网元通过N4接口(简称N4)与H-UPF网元通信,H-SMF网元通过N9接口(简称N9)与V-UPF网元通信,H-SMF网元通过N10接口(简称N10)与UDM网元通信,H-SMF网元通过N7接口(简称N7)与UDM网元通信,UDM网元通过N13接口(简称N13)与AUSF网元通信。The terminal device communicates with the AMF network element through the N1 interface (N1 for short), the RAN device communicates with the AMF network element through the N2 interface (N2 for short), the RAN device communicates with the UPF network element through the N3 interface (N3 for short), and the UPF network The element communicates with the DN through the N6 interface (N6 for short), the AMF network element communicates with the V-SMF network element through the N11 interface (N11 for short), and the V-SMF network element communicates with the H-SMF network element through the N16 interface (N16 for short). The AMF network element communicates with the UDM network element through the N8 interface (N8 for short), the AMF network element communicates with the AUSF network element through the N12 interface (N12 for short), and the AMF network element communicates with the V-PCF network element through the N15 interface (N15 for short); The V-PCF network element communicates with the H-PCF network element through the N24 interface (referred to as N24), the V-SMF network element communicates with the V-UPF network element through the N4 interface (referred to as N4), and the H-SMF network element communicates with the V-UPF network element through the N4 interface (referred to as N4 for short). N4) communicates with the H-UPF network element, the H-SMF network element communicates with the V-UPF network element through the N9 interface (N9 for short), and the H-SMF network element communicates with the UDM network element through the N10 interface (N10 for short). The SMF network element communicates with the UDM network element through the N7 interface (N7 for short), and the UDM network element communicates with the AUSF network element through the N13 interface (N13 for short).
此外,需要说明的是,图12所示的归属地路由漫游5G网络架构中的AMF网元、V-SMF网元、H-SMF网元、V-PCF网元、H-PCF网元、V-NSSF网元、H-NSSF网元、UDM网元、AUSF网元等控制面网元也可以采用服务化接口进行交互。比如,如图13所示,AMF网元对外提供的服务化接口可以为Namf;V-SMF网元对外提供的服务化接口可以为Nsmf;H-SMF网元对外提供的服务化接口可以为Nsmf;V-PCF网元对外提供的服务化接口可以为Npcf;H-PCF网元对外提供的服务化接口可以为Npcf;UDM网元对外提供的服务化接口可以为Nudm;AUSF网元对外提供的服务化接口可以为Nausf。此外,图13中的V-SEPP用于VPLMN内部控制面接口的信息过滤和策略控 制,以及拓扑隐藏等;图13中的H-SEPP用于HPLMN内部控制面接口的信息过滤和策略控制,以及拓扑隐藏等;V-SEPP与H-SEPP通过N32接口(简称N32)连接。所有相关描述可以参考23.501标准中的5G系统架构(5G system architecture),在此不予赘述。In addition, it should be noted that the AMF network elements, V-SMF network elements, H-SMF network elements, V-PCF network elements, H-PCF network elements, V - NSSF network elements, H-NSSF network elements, UDM network elements, AUSF network elements and other control plane network elements can also use service interfaces for interaction. For example, as shown in Figure 13, the service interface provided by the AMF network element can be Namf; the service interface provided by the V-SMF network element can be Nsmf; the service interface provided by the H-SMF network element can be Nsmf ; The service interface provided by the V-PCF network element can be Npcf; the service interface provided by the H-PCF network element can be Npcf; the service interface provided by the UDM network element can be Nudm; The service interface can be Nausf. In addition, V-SEPP in Figure 13 is used for information filtering and policy control of VPLMN internal control plane interface, and topology hiding, etc.; H-SEPP in Figure 13 is used for information filtering and policy control of HPLMN internal control plane interface, and Topology hiding, etc.; V-SEPP and H-SEPP are connected through an N32 interface (N32 for short). For all relevant descriptions, refer to the 5G system architecture (5G system architecture) in the 23.501 standard, which will not be repeated here.
需要说明的是,与图6所示的通信系统600类似,图7所示的通信系统700可以应用于与图8-图13所示的5G网络架构类似的5G网络架构中,例如,将图8-图13的5G网络架构中的UPF路由到另一个(或同一个)UPF,且将图8-图13的5G网络架构中的DN(或N6接口)替换为另一个(R)AN设备和另一个终端设备后,获得的5G网络架构。其中,将图8-图13的5G网络架构中的UPF路由到另一个UPF,且将图8-图13的5G网络架构中的DN(或N6接口)替换为另一个(R)AN设备和另一个终端设备后,获得的5G网络架构中可以包括两个5GC。It should be noted that, similar to the communication system 600 shown in FIG. 6 , the communication system 700 shown in FIG. 7 can be applied to a 5G network architecture similar to the 5G network architecture shown in FIGS. 8- The UPF in the 5G network architecture of Fig. 13 is routed to another (or the same) UPF, and the DN (or N6 interface) in the 5G network architecture of Fig. 8-Fig. 13 is replaced with another (R)AN device and another terminal device to obtain the 5G network architecture. Wherein, the UPF in the 5G network architecture of Figures 8-13 is routed to another UPF, and the DN (or N6 interface) in the 5G network architecture of Figures 8-13 is replaced with another (R)AN device and After another terminal device, the obtained 5G network architecture can include two 5GCs.
下面对本申请实施例中涉及的终端设备、(R)AN设备、以及5GC进行介绍。The terminal equipment, (R)AN equipment, and 5GC involved in the embodiments of the present application are introduced below.
本申请实施例中的终端设备(terminal),可以是用于实现无线通信功能的设备,例如终端或者可用于终端中的芯片等。其中,终端可以是5G网络或者未来演进的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)中的无线终端等。终端可以是移动的,也可以是固定的。The terminal device (terminal) in this embodiment of the present application may be a device for implementing 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, a remote station, a remote terminal, a mobile device, a wireless communication device in a 5G network or a future evolved PLMN. equipment, terminal agent or terminal device, etc. The access terminal may be a cellular telephone, a cordless telephone, a session initiation protocol (SIP) telephone, 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.
本申请实施例中的(R)AN设备为位于上述通信系统的网络侧,且具有无线收发功能的设备或可设置于该设备的芯片或芯片系统。该(R)AN设备包括但不限于:无线保真(wireless fidelity,WiFi)系统中的接入点(access point,AP)(如家庭网关、路由器、服务器、交换机、网桥等)、基站、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU)、无线中继节点、无线回传节点、或传输点(transmission and reception point,TRP或者transmission point,TP)等。该(R)AN设备还可以为5G,如,新空口(new radio,NR)系统中的gNB、传输点(TRP或TP)、5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者可以为构成gNB或传输点的网络节点等,如基带单元(BBU)、集中式单元(central unit,CU)、分布式单元(distributed unit,DU)、或具有基站功能的路边单元(road side unit,RSU)等。该集中式单元CU可以包括控制面(central unit-control plane,CU-CP)和用户面(central unit-user plane,CU-UP)。 该(R)AN设备还可以为包括集中式单元CU和分布式单元DU的设备。The (R)AN device in the embodiment of the present application is a device located on the network side of the above-mentioned communication system and has a wireless transceiver function, or a chip or a chip system that can be provided in the device. The (R)AN equipment includes but is not limited to: access points (APs) (such as home gateways, routers, servers, switches, bridges, etc.), base stations, Evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver) station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), wireless relay node, wireless backhaul node, or transmission point (transmission and reception point, TRP or transmission point, TP) and so on. The (R)AN device may also be 5G, such as a gNB in a new radio (NR) system, a transmission point (TRP or TP), one or a group of base stations in a 5G system (including multiple antenna panels) ) antenna panel, or can be a network node that constitutes a gNB or a transmission point, such as a baseband unit (BBU), a central unit (CU), a distributed unit (DU), or a channel with base station functions. Edge unit (road side unit, RSU) and so on. The centralized unit CU may include a control plane (central unit-control plane, CU-CP) and a user plane (central unit-user plane, CU-UP). The (R)AN device may also be a device comprising a centralized unit CU and a distributed unit DU.
本申请实施例中的5GC可以包括图8-图13中的终端设备、(R)AN设备和DN以外的网元。5GS可以包括图8-图13中的DN以外的网元。下面对5GC中的网元的功能进行介绍。The 5GC in this embodiment of the present application may include the terminal equipment in FIG. 8 to FIG. 13 , the (R)AN equipment, and network elements other than the DN. The 5GS may include network elements other than the DN in Figures 8-13. The functions of network elements in 5GC are introduced below.
UPF网元的功能可以包括:数据包路由和传输、包检测、业务用量上报、QoS处理、合法监听、上行包检测、或下行数据包存储等用户面相关的功能;The functions of the UPF network element may include: packet routing and transmission, packet detection, service usage reporting, QoS processing, legal interception, uplink packet detection, or downlink packet storage and other user plane-related functions;
接入和移动管理功能AMF网元的功能可以包括:连接管理、移动性管理、注册管理、接入认证和授权、可达性管理、或安全上下文管理等接入和移动性相关的功能。Access and Mobility Management Functions The functions of the AMF network element may include: connection management, mobility management, registration management, access authentication and authorization, reachability management, or security context management and other access and mobility-related functions.
SMF网元的功能可以包括:会话管理(如会话建立、修改和释放,包含UPF和AN之间的隧道维护)、UPF的选择和控制、SSC(Service and Session Continuity,业务和会话连续性)模式选择、漫游等会话相关的功能。The functions of SMF network elements can include: session management (such as session establishment, modification and release, including tunnel maintenance between UPF and AN), UPF selection and control, SSC (Service and Session Continuity, service and session continuity) mode Session-related functions such as selection and roaming.
PCF网元的功能可以包括:统一策略制定、策略控制的提供和从UDR中获取策略决策相关的签约信息等策略相关的功能。The functions of the PCF network element may include: unified policy formulation, provision of policy control, and acquisition of subscription information related to policy decision from UDR and other policy-related functions.
NSSF网元的功能可以包括:为终端设备选择一组网络切片实例、确定允许的NSSAI和确定可以服务终端设备的AMF集等。The functions of the NSSF network element may include: selecting a set of network slice instances for the terminal device, determining the allowed NSSAI, and determining the AMF set that can serve the terminal device, and so on.
NR网元的功能可以包括:服务发现功能,维护可用的网络功能(NF,network Function)实例的NF文本以及他们支持的服务。The functions of NR network elements can include: service discovery function, maintaining the NF text of available network function (NF, network Function) instances and the services they support.
AF网元的功能可以包括:与3GPP核心网交互提供业务或者服务,包括与网络开放功能(network exposure function,NEF)网元交互,策略架构交互等。The functions of the AF network element may include: interacting with the 3GPP core network to provide services or services, including interacting with the network exposure function (NEF) network element, interacting with the policy framework, and the like.
NEF网元的功能可以包括:安全的开放3GPP网络功能提供的业务和能力,有内部开放,或者开放给第三方等。转化或翻译与AF交互的信息和内部网络功能交互德行信息,如AF服务标识和内部5G核心网信息如DNN,S-NSSAI等。The functions of the NEF network element may include: securely open the services and capabilities provided by the 3GPP network function, open internally, or open to a third party. Convert or translate information interacting with AF and internal network function interaction ethics information, such as AF service logo and internal 5G core network information such as DNN, S-NSSAI, etc.
UDM网元的功能可以包括:支持3GPP认证和秘钥协商机制中的认证信任状处理,用户身份处理,接入授权,注册和移动性管理,签约管理,短消息管理等。The functions of the UDM network element may include: supporting authentication credential processing in the 3GPP authentication and key negotiation mechanism, user identity processing, access authorization, registration and mobility management, subscription management, and short message management.
AUSF网元的功能可以包括:认证服务器功能,与UDM交互获取用户信息,并执行认证相关的功能,如生成中间秘钥等。The functions of the AUSF network element may include: an authentication server function, interacting with the UDM to obtain user information, and performing authentication-related functions, such as generating an intermediate key, etc.
示例性地,图14A为本申请实施例提供的一种协议架构图。其中,(R)AN设备与终端设备之间通过Uu接口通信,(R)AN设备与UPF网元之间通过N3接口通信,UPF网元与UPF网元之间通过N9接口进行通信。Exemplarily, FIG. 14A is a protocol architecture diagram provided by an embodiment of the present application. The (R)AN device and the terminal device communicate through the Uu interface, the (R)AN device and the UPF network element communicate through the N3 interface, and the UPF network element and the UPF network element communicate through the N9 interface.
如图14A所示,按照自上而下的顺序,终端设备均包括应用层。UPF网元和终端设备均包协议数据单元(protocol data unit,PDU)协议层。(R)AN设备和UPF网元均包括通用分组无线业务隧道用户面协议(general packet radio service tunnel protocol user,GTP-U)层,用户数据报协议(user datagram protocol,UDP)或互联网协议(internet protocol,IP)层、层二(layer 2,L2)和层一(layer 1,L1)。其中,层二为介于互联网协议层和物理层之间的数据链路层,层一可以为物理(physical layer,PHY)层。(R)AN设备和终端设备均包括业务数据适配协议(service data adaptation protocol,SDAP)层、分组数据汇聚协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)协议层、媒体接入控制(media access control,MAC)协议层和L1协议层。(R)AN设备还包括中继(relay)层,可用于对接收到的数据包 进行解析。(R)AN设备和终端设备均可以包括5G-AN协议层,5G-AN协议层的具体实现方式可参照现有技术,此处不再赘述。As shown in FIG. 14A , in order from top to bottom, terminal devices all include an application layer. Both the UPF network element and the terminal device include the protocol data unit (protocol data unit, PDU) protocol layer. (R)AN equipment and UPF network elements include general packet radio service tunnel user plane protocol (general packet radio service tunnel protocol user, GTP-U) layer, user datagram protocol (user datagram protocol, UDP) or Internet Protocol (internet protocol). protocol, IP) layer, layer two (layer 2, L2) and layer one (layer 1, L1). The second layer is a data link layer between the Internet protocol layer and the physical layer, and the first layer may be a physical layer (PHY) layer. (R)AN equipment and terminal equipment both include a service data adaptation protocol (SDAP) layer, a packet data convergence protocol (PDCP) layer, and a radio link control (radio link control, RLC) layer. protocol layer, media access control (media access control, MAC) protocol layer and L1 protocol layer. The (R)AN device also includes a relay layer that can be used to parse the received data packets. Both the (R)AN device and the terminal device may include a 5G-AN protocol layer, and the specific implementation of the 5G-AN protocol layer may refer to the prior art, which will not be repeated here.
其中,PDU协议层对应PDU会话上的终端设备和数据网络之间承载的PDU,当PDU会话类型为IPv4或IPv6或IPv4v6时,对应IPv4报文或IPv6报文,或者对应IPv4报文和IPv6报文,当PDU会话类型为以太网(ethernet)时,对应以太网帧等。Among them, the PDU protocol layer corresponds to the PDU carried between the terminal device on the PDU session and the data network. When the PDU session type is IPv4, IPv6 or IPv4v6, it corresponds to IPv4 packets or IPv6 packets, or corresponds to IPv4 packets and IPv6 packets. text, when the PDU session type is Ethernet (ethernet), it corresponds to Ethernet frames and so on.
GTP-U协议层支持在N3上隧道用户数据(即5G-AN节点和UPF之间)和N9(即5GC的不同UPF之间),在每个PDU会话级别上提供封装。The GTP-U protocol layer supports tunneling user data on N3 (i.e. between 5G-AN nodes and UPF) and N9 (i.e. between different UPFs of 5GC), providing encapsulation on a per-PDU session level.
5G空口(即Uu接口)一般按时隙等进行调度,下行数据包的实际时延与上行数据包的实际时延差别可能较大。The 5G air interface (that is, the Uu interface) is generally scheduled according to time slots, etc., and the actual delay of the downlink data packet may be quite different from the actual delay of the uplink data packet.
具体地,可以将终端设备和(R)AN设备、(R)AN设备和UPF网元、UPF网元和UPF网元之间具有相同名称的协议层称为对等协议层或对应协议层。如(R)AN设备的GTP-U层和UPF网元的GTP-U层为一对对等协议层。其中,发送方的对等协议层用于生成并发送数据,接收方的对等协议层用于接收并解析发送方发送的数据。Specifically, the protocol layers with the same name between the terminal device and the (R)AN device, the (R)AN device and the UPF network element, and the UPF network element and the UPF network element may be referred to as peer-to-peer protocol layers or corresponding protocol layers. For example, the GTP-U layer of the (R)AN device and the GTP-U layer of the UPF network element are a pair of peer-to-peer protocol layers. The peer-to-peer protocol layer of the sender is used to generate and send data, and the peer-to-peer protocol layer of the receiver is used to receive and parse the data sent by the sender.
示例性地,图14B为本申请实施例提供的另一种协议架构图。其中,终端设备1与UPF网元1之间可通过PDU会话1进行通信,UPF网元1和UPF网元2之间可通过N19接口进行通信,UPF网元2和终端设备2之间可通过PDU会话2进行通信。其中,UPF网元1可以包括PDU会话锚点(PDU session anchor,PSA),UPF网元2可以包括PDU会话锚点。Exemplarily, FIG. 14B is another protocol architecture diagram provided by this embodiment of the present application. Among them, the terminal device 1 and the UPF network element 1 can communicate through the PDU session 1, the UPF network element 1 and the UPF network element 2 can communicate through the N19 interface, and the UPF network element 2 and the terminal device 2 can communicate through the N19 interface. PDU Session 2 to communicate. The UPF network element 1 may include a PDU session anchor (PDU session anchor, PSA), and the UPF network element 2 may include a PDU session anchor.
如图14B所示,按照自上而下的顺序,终端设备1和终端设备2均包括应用层。UPF网元1和UPF网元2均包括PDU协议层、GTP-U协议层、UDP/IP协议层、L2、L1。终端设备1和终端设备2包括终端设备侧PDU会话用户面协议层,UPF网元1和UPF网元2包括UPF网元侧的PDU会话用户面协议层。其中,PDU会话用户面协议层的具体实现方式可参照现有技术,此处不再赘述。UPF网元1和UPF网元2还包括中继(relay)层,可用于对接收到的数据包进行解析。As shown in FIG. 14B , in order from top to bottom, both terminal device 1 and terminal device 2 include an application layer. Both the UPF network element 1 and the UPF network element 2 include a PDU protocol layer, a GTP-U protocol layer, a UDP/IP protocol layer, L2, and L1. Terminal equipment 1 and terminal equipment 2 include a PDU session user plane protocol layer on the terminal equipment side, and UPF network element 1 and UPF network element 2 include a PDU session user plane protocol layer on the UPF network element side. The specific implementation of the user plane protocol layer of the PDU session may refer to the prior art, which will not be repeated here. The UPF network element 1 and the UPF network element 2 further include a relay layer, which can be used to parse the received data packets.
下面将结合图15-图23对本申请实施例提供的通信方法进行具体阐述。The communication method provided by the embodiment of the present application will be described in detail below with reference to FIG. 15 to FIG. 23 .
图15为本申请实施例提供的一种通信方法的流程示意图。FIG. 15 is a schematic flowchart of a communication method provided by an embodiment of the present application.
如图15所示,该通信方法包括如下步骤:As shown in Figure 15, the communication method includes the following steps:
S1501,第一网元向第一设备发送第二数据和第二时间戳。相应地,第一设备接收来自第一网元的第二数据和第二时间戳。S1501, the first network element sends the second data and the second time stamp to the first device. Accordingly, the first device receives the second data and the second timestamp from the first network element.
示例性地,第一网元可以为UPF网元或接入网网元。接入网网元可以称为接入网设备。Exemplarily, the first network element may be a UPF network element or an access network element. An access network element may be referred to as an access network device.
例如,第一网元可以为图6或图7中所示的第一核心网601,如UPF网元,或者,第一网元可以为图6或图7中所示的第一接入网602,如(R)AN设备。For example, the first network element may be the first core network 601 shown in FIG. 6 or FIG. 7 , such as a UPF network element, or the first network element may be the first access network shown in FIG. 6 or FIG. 7 602, such as (R)AN device.
示例性地,第一设备可以为终端设备,如图6或图7中所示的第一终端设备603。Exemplarily, the first device may be a terminal device, such as the first terminal device 603 shown in FIG. 6 or FIG. 7 .
具体地,第二数据是第一网元向第一设备发送的数据。Specifically, the second data is data sent by the first network element to the first device.
可选的,第二数据可以为第一网元接收的下行数据。Optionally, the second data may be downlink data received by the first network element.
示例性地,DN向第一网元发送第二数据。相应地,第一网元接收来自DN的第二数据。也就是说,当图15所示的通信方法应用于图6所示的通信系统时,第二数据可以来自于DN。Exemplarily, the DN sends the second data to the first network element. Accordingly, the first network element receives the second data from the DN. That is, when the communication method shown in FIG. 15 is applied to the communication system shown in FIG. 6 , the second data may come from the DN.
或者,又示例性地,第二网元向第一网元发送第二数据。相应地,第一网元接收来自第二网元的第二数据。其中,第二网元可以为与第一网元不相同的UPF网元,第二网元可以为图7中所示的第二核心网605,如UPF网元。也就是说,当图15所示的通信方法应用于图7所示的通信系统时,第二数据可以来自于第一网元。Or, in another example, the second network element sends the second data to the first network element. Accordingly, the first network element receives the second data from the second network element. The second network element may be a UPF network element different from the first network element, and the second network element may be the second core network 605 shown in FIG. 7 , such as a UPF network element. That is, when the communication method shown in FIG. 15 is applied to the communication system shown in FIG. 7 , the second data may come from the first network element.
可选的,本申请实施例提供的通信方法,还可以包括:第二设备向第二网元发送第二数据。相应地,第二网元接收来自第二设备的第二数据。也就是说,第二数据可以是来自于第二设备的,第二设备可以为图7中所示的第二终端设备607。Optionally, the communication method provided by the embodiment of the present application may further include: the second device sends the second data to the second network element. Correspondingly, the second network element receives the second data from the second device. That is, the second data may come from the second device, and the second device may be the second terminal device 607 shown in FIG. 7 .
或者,可选的,第二设备向第一网元发送第二数据。相应地,第一网元接收来自第二设备的第二数据。也就是说,当第一网元和第二网元为同一网元时,第一网元可以从第二设备接收第二数据。Or, optionally, the second device sends the second data to the first network element. Correspondingly, the first network element receives the second data from the second device. That is, when the first network element and the second network element are the same network element, the first network element may receive the second data from the second device.
可选的,第二时间戳可用于指示第一网元接收到第二数据或第二数据包的时刻。Optionally, the second timestamp may be used to indicate the moment when the first network element receives the second data or the second data packet.
在一些实施例中,上述S1501,可以包括:第一网元向第一设备发送第二数据包。相应地,第一设备接收来自第一网元的第二数据包。In some embodiments, the above S1501 may include: the first network element sends the second data packet to the first device. Correspondingly, the first device receives the second data packet from the first network element.
可选的,第二数据包可以包括第二数据和第二时间戳。第二数据和第二时间戳可以是通过第二数据包发送给第一设备的。Optionally, the second data packet may include second data and a second timestamp. The second data and the second time stamp may be sent to the first device through the second data packet.
示例性地,第二时间戳可以置于第二数据包的报头中。Illustratively, the second timestamp may be placed in the header of the second data packet.
在一些实施例中,上述第一网元向第一设备发送第二数据和第二时间戳,可以包括:第一网元根据第一时间戳指示信息,向第一设备发送第二数据和第二时间戳。In some embodiments, the foregoing first network element sending the second data and the second time stamp to the first device may include: the first network element sending the second data and the second time stamp to the first device according to the first time stamp indication information Second time stamp.
可选的,第一时间戳指示信息可用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻。Optionally, the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
示例性地,第一时间戳指示信息可以用于指示第一网元为至少一个数据包增加对应的接收至少一个数据包的时刻。Exemplarily, the first timestamp indication information may be used to instruct the first network element to add a corresponding moment of receiving the at least one data packet to the at least one data packet.
可选的,至少一个数据包可以包括第二数据包,第二数据包可以包括第二数据。Optionally, at least one data packet may include a second data packet, and the second data packet may include second data.
需要说明的是,第一网元接收的第二数据包与第一网元向第一设备发送的第二数据包中包括的数据内容相同,均为第二数据,第一网元接收的第二数据包的报头与第一网元向第一设备发送的第二数据包的报头可以不同。例如,当第一网元为UPF时,第一网元发送的第二数据包在经过(R)AN设备时,(R)AN设备对第二数据包的报头进行协议替换(如将GTP-U协议头替换为SDAP协议头或者PDCP协议头)获得新协议头(或称新报头),但新协议头(或称新报头)中的携带的第二时间戳与原协议头(或称原报头)相同,第二数据包中的第二数据不变。It should be noted that the second data packet received by the first network element is the same as the data content included in the second data packet sent by the first network element to the first device, and both are second data. The header of the second data packet may be different from the header of the second data packet sent by the first network element to the first device. For example, when the first network element is UPF, when the second data packet sent by the first network element passes through the (R)AN device, the (R)AN device performs protocol replacement on the header of the second data packet (for example, GTP- U protocol header is replaced with SDAP protocol header or PDCP protocol header) to obtain a new protocol header (or new header), but the second timestamp carried in the new protocol header (or new header) is the same as the original protocol header (or called original header). header) is the same, and the second data in the second data packet is unchanged.
在一些实施例中,至少一个数据包可以为第一业务数据流SDF对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。可选的,第一会话可以为PDU会话,本申请不做限定。In some embodiments, the at least one data packet may be at least one data packet corresponding to the first service data flow SDF, or the at least one data packet may be at least one data packet corresponding to the first session. Optionally, the first session may be a PDU session, which is not limited in this application.
示例性地,假设SDF1对应数据包1和数据包2,SDF2对应数据包3和数据包4,第一时间戳指示信息指示对SDF1对应的数据包1和数据包2分别增加对应的接收数据包1和数据包2的时刻。当第一网元接收数据包1时,可以在数据包1中增加接收该数据包的时刻,接收数据包2与接收数据包1类似。当第一网元接收数据包3时,可以不在数据包3中增加时间戳,接收数据包4与接收数据包3类似。Exemplarily, it is assumed that SDF1 corresponds to data packet 1 and data packet 2, SDF2 corresponds to data packet 3 and data packet 4, and the first timestamp indication information indicates that corresponding received data packets are respectively added to data packet 1 and data packet 2 corresponding to SDF1. 1 and the moment of packet 2. When the first network element receives the data packet 1, the time of receiving the data packet may be added to the data packet 1, and the reception of the data packet 2 is similar to the reception of the data packet 1. When the first network element receives the data packet 3 , the time stamp may not be added to the data packet 3 , and the received data packet 4 is similar to the received data packet 3 .
示例性地,以第一会话为PDU会话为例,假设PDU会话1对应数据包5和数据 包6,PDU会话2对应数据包7和数据包8,第一时间戳指示信息可以指示对PDU会话2对应的数据包7和数据包8分别增加对应的接收数据包7和数据包8的时刻。当第一网元接收数据包7时,可以在数据包7中增加接收该数据包的时刻,接收数据包8与接收数据包8类似。当第一网元接收数据包5时,可以不在数据包5中增加时间戳,接收数据包6与接收数据包6类似。Exemplarily, taking the first session as a PDU session as an example, assuming that PDU session 1 corresponds to data packet 5 and data packet 6, and PDU session 2 corresponds to data packet 7 and data packet 8, the first timestamp indication information may indicate that the PDU session 2 The corresponding data packets 7 and 8 are respectively added with the corresponding time of receiving the data packets 7 and 8. When the first network element receives the data packet 7 , the time when the data packet is received may be added to the data packet 7 , and the received data packet 8 is similar to the received data packet 8 . When the first network element receives the data packet 5 , a timestamp may not be added to the data packet 5 , and the received data packet 6 is similar to the received data packet 6 .
S1502,第一设备根据第一时间信息,缓存第二数据至第二时刻后,发送第二数据。S1502, the first device sends the second data after buffering the second data to a second time according to the first time information.
示例性地,上述S1502,可以包括:第一设备可以根据第一时间信息,缓存第二数据至第二时刻后,向第一设备的应用层传递第二数据。Exemplarily, the above S1502 may include: the first device may, according to the first time information, cache the second data to a second time, and then transmit the second data to the application layer of the first device.
可选的,第二时间戳所指示的时刻至第二时刻的时长与第一时间信息所指示的时长相等。Optionally, the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information.
示例性地,可以根据第二时间戳所指示的时刻和第一时间信息所指示的时长获得第二时刻,第二时刻为第一设备接收来自第一网元的第二数据后发送第二数据的时刻。Exemplarily, the second time can be obtained according to the time indicated by the second timestamp and the duration indicated by the first time information, and the second time is when the first device sends the second data after receiving the second data from the first network element. moment.
例如,第二时刻=第二时间戳所指示的时刻+第一时间信息所指示的时长。For example, the second moment = the moment indicated by the second time stamp + the duration indicated by the first time information.
又例如,第一设备可以缓存第二数据至第二缓存时长后,发送第二数据,如第二缓存时长=第一时间信息所指示的时长-(第一设备接收到第二数据的时刻-第二时间戳所指示的时刻)。For another example, the first device can send the second data after buffering the second data for the second buffering duration, for example, the second buffering duration=the duration indicated by the first time information-(the moment when the first device receives the second data- the time indicated by the second timestamp).
当第一时间信息所指示的时长等于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值时,第二缓存时长=0,第一设备可以不缓存第二数据,直接发送第二数据。When the duration indicated by the first time information is equal to the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp, the second cache duration=0, and the first device may not cache the second data , send the second data directly.
当第一时间信息所指示的时长大于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值时,第二缓存时长>0,第一设备可以缓存第二数据一段时间后,再发送第二数据。When the duration indicated by the first time information is greater than the difference between the moment when the first device receives the second data and the moment indicated by the second timestamp, the second cache duration is greater than 0, and the first device can cache a segment of the second data After the time has elapsed, the second data is sent.
也就是说,第一设备可以缓存第二数据一段时间后,再发送第二数据,从而使第二数据在第一网元至第一设备的下行传输时延与第一时间信息所指示的时长相等。That is to say, the first device can buffer the second data for a period of time before sending the second data, so that the downlink transmission delay of the second data from the first network element to the first device and the duration indicated by the first time information equal.
可选的,第一时间信息所指示的时长等于第一设备向第一网元发送第一数据至第一网元发送第一数据的时长,第一数据是第一设备向第一网元发送的数据。也就是说,第一时间信息所指示的时长等于第一数据在第一设备至第一网元的上行传输时延。如此,可以保证第二数据的下行传输时延与第一数据的上行传输时延相等。Optionally, the duration indicated by the first time information is equal to the duration from when the first device sends the first data to the first network element until the first network element sends the first data, and the first data is sent by the first device to the first network element. The data. That is to say, the duration indicated by the first time information is equal to the uplink transmission delay of the first data from the first device to the first network element. In this way, it can be ensured that the downlink transmission delay of the second data is equal to the uplink transmission delay of the first data.
示例性地,第一数据可以为第一设备发送的上行数据。Exemplarily, the first data may be uplink data sent by the first device.
S1503,第一设备向第一网元发送第一数据和第一时间戳。相应地,第一网元接收来自第一设备的第一数据和第一时间戳。S1503, the first device sends the first data and the first timestamp to the first network element. Accordingly, the first network element receives the first data and the first timestamp from the first device.
示例性地,第一时间戳可用于指示第一设备发送第一数据的时刻。Exemplarily, the first timestamp may be used to indicate the moment when the first device sends the first data.
在一些实施例中,上述S1503,可以包括:第一设备向第一网元发送第一数据包。相应地,第一网元接收来自第一设备的第一数据包。In some embodiments, the above S1503 may include: the first device sends the first data packet to the first network element. Correspondingly, the first network element receives the first data packet from the first device.
可选的,第一数据包可以包括第一数据和第一时间戳。也就是说,第一数据和第一时间戳可以是通过第一数据包发送给第一网元的。Optionally, the first data packet may include first data and a first timestamp. That is, the first data and the first timestamp may be sent to the first network element through the first data packet.
示例性地,第一时间戳可置于第一数据包的报头中。Illustratively, the first timestamp may be placed in the header of the first data packet.
可选的,上述第一设备向第一网元发送的第一数据包与第一网元接收的第一数据包中包括的数据内容相同,均为第二数据,第一设备向第一网元发送的第一数据包的 报头与第一网元接收的第一数据包的报头可以不同。例如,当第一网元为UPF网元时,第一设备发送的第一数据包在经过(R)AN设备时,(R)AN设备对第一数据包的报头进行协议替换(如将SDAP协议头或者PDCP协议头替换为GTP-U协议头)获得新协议头(或称新报头),但新协议头(或称新报头)中的携带的第一时间戳与原协议头(或称原报头)相同,第一数据包中的第一数据不变。Optionally, the first data packet sent by the above-mentioned first device to the first network element is the same as the data content included in the first data packet received by the first network element, and both are second data. The header of the first data packet sent by the element may be different from the header of the first data packet received by the first network element. For example, when the first network element is a UPF network element, when the first data packet sent by the first device passes through the (R)AN device, the (R)AN device performs protocol replacement on the header of the first data packet (for example, using SDAP The protocol header or the PDCP protocol header is replaced with the GTP-U protocol header) to obtain a new protocol header (or a new header), but the first timestamp carried in the new protocol header (or a new header) is the same as the original protocol header (or called a new header). The original header) is the same, and the first data in the first data packet is unchanged.
在一些实施例中,上述第一设备向第一网元发送第一数据和第一时间戳,可以包括:第一设备根据第一时间戳指示信息,向第一网元发送第一数据和第一时间戳。In some embodiments, the foregoing first device sending the first data and the first timestamp to the first network element may include: the first device sending the first data and the first timestamp to the first network element according to the first timestamp indication information a timestamp.
示例性地,第一时间戳指示信息可以用于指示第一设备为至少一个数据包增加对应的发送至少一个数据包的时刻。Exemplarily, the first timestamp indication information may be used to instruct the first device to add a corresponding moment of sending the at least one data packet to the at least one data packet.
可选的,至少一个数据包可以包括第一数据包,第一数据包可以包括第一数据。第一时间戳可用于指示第一设备发送第一数据或第一数据包的时刻。Optionally, at least one data packet may include a first data packet, and the first data packet may include first data. The first timestamp may be used to indicate the moment when the first device sends the first data or the first data packet.
在一些实施例中,至少一个数据包可以为第一业务数据流SDF对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。In some embodiments, the at least one data packet may be at least one data packet corresponding to the first service data flow SDF, or the at least one data packet may be at least one data packet corresponding to the first session.
示例性地,假设SDF1对应数据包1和数据包2,SDF2对应数据包3和数据包4,第一时间戳指示信息指示对SDF1对应的数据包1和数据包2分别增加对应的发送数据包1和数据包2的时刻。当第一设备发送数据包1时,可以在数据包1中增加发送该数据包的时刻,发送数据包2与发送数据包1类似。当第一设备发送数据包3时,可以不在数据包3中增加时间戳,发送数据包4与发送数据包3类似。Exemplarily, it is assumed that SDF1 corresponds to data packet 1 and data packet 2, SDF2 corresponds to data packet 3 and data packet 4, and the first timestamp indication information indicates that the corresponding data packet 1 and data packet 2 corresponding to SDF1 are respectively added. 1 and the moment of packet 2. When the first device sends the data packet 1, the time for sending the data packet may be added to the data packet 1, and the sending of the data packet 2 is similar to the sending of the data packet 1. When the first device sends the data packet 3, a timestamp may not be added to the data packet 3, and the sending of the data packet 4 is similar to the sending of the data packet 3.
关于第一时间戳指示信息指示为第一会话对应的至少一个数据包增加对应的发送时刻的示例,与第一时间戳指示信息指示为第一业务数据流SDF对应的至少一个数据包增加对应的发送时刻的示例类似,此处不再赘述。Regarding the example in which the first time stamp indication information indicates that the sending time corresponding to at least one data packet corresponding to the first session is added, the first time stamp indication information indicates that at least one data packet corresponding to the first service data flow SDF is added. The example of the sending time is similar and will not be repeated here.
S1504,第一网元根据第一时间信息,缓存第一数据至第一时刻后,发送第一数据。S1504, the first network element sends the first data after buffering the first data until the first time according to the first time information.
在一些实施例中,上述S1504,可以包括:第一网元根据第一时间信息,缓存第一数据至第一时刻后,向DN发送第一数据。相应地,DN接收来自第一网元的第一数据。In some embodiments, the above S1504 may include: the first network element sends the first data to the DN after buffering the first data to the first time according to the first time information. Accordingly, the DN receives the first data from the first network element.
在另一些实施例中,上述S1504,可以包括:第一网元根据第一时间信息,缓存第一数据至第一时刻后,向第二网元发送第一数据。相应地,第二网元接收来自第一网元的第一数据。In other embodiments, the above S1504 may include: the first network element buffers the first data to the first time according to the first time information, and then sends the first data to the second network element. Correspondingly, the second network element receives the first data from the first network element.
可选的,本申请实施例提供的方法还可以包括:第二网元向第二设备发送第二数据。相应地,第二设备接收来自第一网元的第二数据。Optionally, the method provided in this embodiment of the present application may further include: the second network element sends the second data to the second device. Correspondingly, the second device receives the second data from the first network element.
示例性地,第二设备可以通过数据包接收来自第一网元的第二数据。Exemplarily, the second device may receive the second data from the first network element through a data packet.
示例性地,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等。Exemplarily, the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
示例性地,可以根据第一时间戳所指示的时刻和第一时间信息所指示的时长获得第一时刻,第一时刻为第一网元接收来自第一设备的第一数据后发送第一数据的时刻。Exemplarily, the first time can be obtained according to the time indicated by the first timestamp and the duration indicated by the first time information, and the first time is when the first network element sends the first data after receiving the first data from the first device. moment.
例如,第一时刻=第一时间戳所指示的时刻+第一时间信息所指示的时长。又例如,第一网元可以缓存第一数据至第一缓存时长后,发送第一数据,如第一缓存时长=第一时间信息所指示的时长-(第一网元接收到第一数据的时刻-第一时间戳所指示的时刻)。For example, the first moment = the moment indicated by the first timestamp + the duration indicated by the first time information. For another example, the first network element can send the first data after buffering the first data for the first buffering duration, for example, the first buffering duration=the duration indicated by the first time information-(the first network element receives the first data moment - the moment indicated by the first timestamp).
也就是说,第一网元可以缓存第一数据一段时间后,再发送第一数据,从而使第 一数据在第一设备至第一网元的上行传输时延与第一时间信息所指示的时长相等。That is to say, the first network element can buffer the first data for a period of time before sending the first data, so that the uplink transmission delay of the first data from the first device to the first network element is equal to the value indicated by the first time information. The duration is equal.
在一些实施例中,上述S1504,可以包括:第一网元根据第一时间信息和第二指示信息,缓存第一数据至第一时刻后,发送第一数据。In some embodiments, the above S1504 may include: the first network element sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
示例性地,第一网元接收到包括第一数据和第一时间戳的第一数据包后,缓存第一数据至第一时刻后,可以只发送第一数据,不发送第一时间戳。Exemplarily, after the first network element receives the first data packet including the first data and the first time stamp, after buffering the first data to the first time, only the first data may be sent without sending the first time stamp.
可选的,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据。也就是说,第一时间信息所指示的时长等于第二数据在第一网元至第一设备之间的下行传输时延。如此,可以保证第一数据的上行传输时延与第二数据的下行传输时延相等。Optionally, the duration indicated by the first time information is equal to the duration of the first network element receiving the second data to the first device sending the second data, where the second data is the data sent by the first network element to the first device. That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the first network element and the first device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1505,第三网元向第一网元发送第一时间戳指示信息。相应地,第一网元接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1505, the third network element sends the first time stamp indication information to the first network element. Correspondingly, the first network element receives the first timestamp indication information from the third network element.
示例性地,第三网元可以为SMF网元。Exemplarily, the third network element may be an SMF network element.
可选的,上述S1505,可以包括:第三网元向第一网元发送转发规则。相应地,第一网元接收来自第三网元的转发规则。Optionally, the above S1505 may include: the third network element sends the forwarding rule to the first network element. Correspondingly, the first network element receives the forwarding rule from the third network element.
示例性地,转发规则可以包括第一时间戳指示信息。Exemplarily, the forwarding rule may include first timestamp indication information.
可选的,转发规则可以包括第一指示信息,第一指示信息可以用于指示采用第一时间信息,或者指示采用第一时间信息和第二时间信息。Optionally, the forwarding rule may include first indication information, and the first indication information may be used to indicate that the first time information is used, or to indicate that the first time information and the second time information are used.
当通信系统为图6所示的系统架构时,可以指示采用第一时间信息,可以保证第二数据在数据网络至第一设备的下行传输时延与第一数据在第一设备至数据网络的上行传输时延相等。When the communication system is the system architecture shown in FIG. 6 , it can be instructed to use the first time information, which can ensure the downlink transmission delay of the second data from the data network to the first device and the delay of the first data from the first device to the data network. The upstream transmission delays are equal.
当通信系统为图7所示的系统架构时,可以指示采用第一时间信息和第二时间信息,可以保证第二数据在第二设备至第一设备的传输时延与第一数据在第一设备至第二设备的传输时延相等。When the communication system is the system architecture shown in FIG. 7 , it can be instructed to use the first time information and the second time information, which can ensure that the transmission delay of the second data from the second device to the first device is the same as that of the first data in the first device. The transmission delay from the device to the second device is equal.
可选的,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长。第一时间信息所指示的时长等于第一设备向第一网元发送第一数据至第一网元发送第一数据的时长。也就是说,使第二数据在第一网元至第一设备的下行传输时延与第一数据在第一设备至第一网元的上行传输时延均等于第一时间信息。Optionally, the duration indicated by the first time information is equal to the duration from when the first network element receives the second data to when the first device sends the second data. The duration indicated by the first time information is equal to the duration from when the first device sends the first data to the first network element to when the first network element sends the first data. That is to say, the downlink transmission delay of the second data from the first network element to the first device and the uplink transmission delay of the first data from the first device to the first network element are both equal to the first time information.
可选的,第一时间信息可以为第一设备与第一网元之间传输数据的时间阈值。Optionally, the first time information may be a time threshold for data transmission between the first device and the first network element.
在一些实施例中,第一时间信息所指示的时长等于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。也就是说,第一时间信息所指示的时长可以等于第二数据在第一网元至第一设备之间的传输时延(如数据包延迟预算)。或者,第一时间信息可以是根据数据包延迟预算或业务时延需求进行设置的。In some embodiments, the duration indicated by the first time information is equal to the difference between the moment when the first device receives the second data and the moment indicated by the second time stamp. That is to say, the duration indicated by the first time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the first network element and the first device. Alternatively, the first time information may be set according to a data packet delay budget or a service delay requirement.
在另一些实施例中,第一时间信息所指示的时长大于第一设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。也就是说,第一时间信息所指示的时长可以大于第二数据在第一网元至第一设备之间的下行传输时延。In other embodiments, the duration indicated by the first time information is greater than the difference between the moment when the first device receives the second data and the moment indicated by the second time stamp. That is to say, the duration indicated by the first time information may be greater than the downlink transmission delay of the second data between the first network element and the first device.
可选的,第二时间信息所指示的时长等于第二网元向第一网元发送第二数据至第一网元向第一设备发送第二数据的时长。第二时间信息所指示的时长等于第一网元向第二网元发送第一数据至第二网元向第二设备发送第一数据的时长。也就是说,使第 二数据在第二网元至第一网元的传输时延与第一数据在第一网源至第二网元的传输时延均等于第二时间信息。Optionally, the duration indicated by the second time information is equal to the duration from when the second network element sends the second data to the first network element to when the first network element sends the second data to the first device. The duration indicated by the second time information is equal to the duration of the first network element sending the first data to the second network element to the second network element sending the first data to the second device. That is to say, the transmission delay of the second data from the second network element to the first network element and the transmission delay of the first data from the first network source to the second network element are both equal to the second time information.
可选的,第二时间信息可以为第一网元与第二网元之间传输数据的时间阈值。Optionally, the second time information may be a time threshold for data transmission between the first network element and the second network element.
在一些实施例中,第二时间信息所指示的时长等于第一网元接收到来自第二网元的第二数据的时刻与第二网元向第一网元发送第二数据的时刻的差值。也就是说,第二时间信息所指示的时长可以等于第二数据在第一网元至第二网元之间的传输时延(如数据包延迟预算)。或者,第二时间信息可以是根据数据包延迟预算或业务时延需求进行设置的。In some embodiments, the duration indicated by the second time information is equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the second network element sends the second data to the first network element value. That is, the duration indicated by the second time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the first network element and the second network element. Alternatively, the second time information may be set according to a data packet delay budget or a service delay requirement.
在另一些实施例中,第二时间信息所指示的时长大于第一网元接收到来自第二网元的第二数据的时刻与第二网元向第一网元发送第二数据的时刻的差值。In other embodiments, the duration indicated by the second time information is greater than the time between the time when the first network element receives the second data from the second network element and the time when the second network element sends the second data to the first network element difference.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1506,第三网元向第一网元发送第一时间信息。相应地,第一网元接收来自第三网元的第一时间信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1506, the third network element sends the first time information to the first network element. Correspondingly, the first network element receives the first time information from the third network element.
示例性地,第一时间信息可以用于指示根据第一时间信息缓存接收到的数据。Exemplarily, the first time information may be used to indicate that the received data is buffered according to the first time information.
可选的,第三网元可以向第一网元发送N4会话请求消息。相应地,第一网元可以接收来自第三网元的N4会话请求消息。Optionally, the third network element may send an N4 session request message to the first network element. Correspondingly, the first network element may receive the N4 session request message from the third network element.
示例性地,N4会话请求消息可以包括第一时间信息。Exemplarily, the N4 session request message may include first time information.
可选的,N4会话请求消息可以为N4会话建立请求或者N4会话修改请求等。Optionally, the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
需要说明的是,本申请实施例不对S1506与上述S1505的先后顺序进行限定。可选的,S1506与上述S1505可以是在一个步骤中执行的。It should be noted that, this embodiment of the present application does not limit the sequence of S1506 and the above-mentioned S1505. Optionally, S1506 and the above-mentioned S1505 may be performed in one step.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1507,第一网元向第三网元发送应答信息。相应地,第三网元接收来自第一网元的应答信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1507, the first network element sends response information to the third network element. Correspondingly, the third network element receives the response information from the first network element.
示例性地,应答信息可以包括确认已接收到第一时间戳指示信息和/或第一时间信息。应答信息可以包括N4会话建立应答信息或N4会话修改应答信息。Exemplarily, the response information may include confirmation that the first time stamp indication information and/or the first time information have been received. The response information may include N4 session establishment response information or N4 session modification response information.
需要说明的是,当上述S1506与上述S1505不在一个步骤中执行时,可以分别对应执行S1507,如对应S1505,执行一次S1507,对应S1506,执行一次S1507。It should be noted that when the above S1506 and the above S1505 are not executed in one step, S1507 may be executed correspondingly, for example, corresponding to S1505, S1507 is executed once, and corresponding to S1506, S1507 is executed once.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1508,第三网元向第一设备发送第一时间戳指示信息。相应地,第一设备接收来自第三网元的第一时间戳指示信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1508, the third network element sends the first time stamp indication information to the first device. Correspondingly, the first device receives the first timestamp indication information from the third network element.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括;S1509,第三网元向第一设备发送第一时间信息。相应地,第一设备接收来自第三网元的第一时间信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1509, the third network element sends the first time information to the first device. Correspondingly, the first device receives the first time information from the third network element.
需要说明的是,本申请实施例不对S1508与上述S1509的先后顺序进行限定。可选的,S1508与上述S1509可以是在一个步骤中执行的。本申请实施例不对上述S1508和上述S1509,与上述S1505和上述S1506的先后顺序进行限定。It should be noted that, this embodiment of the present application does not limit the sequence of S1508 and the above-mentioned S1509. Optionally, S1508 and the above-mentioned S1509 may be performed in one step. This embodiment of the present application does not limit the sequence of the foregoing S1508 and the foregoing S1509, the foregoing S1505 and the foregoing S1506.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1510,第四网元向第三网元发送第一时间戳指示信息。相应地,第三网元接收来自第四网元的第一时间戳指示信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1510, the fourth network element sends the first timestamp indication information to the third network element. Correspondingly, the third network element receives the first timestamp indication information from the fourth network element.
可选的,第四网元可以为PCF网元,第四网元可以根据来自AF网元的业务需求 (如AF指示业务类型为EtherCAT)生成第一时间戳指示信息。Optionally, the fourth network element may be a PCF network element, and the fourth network element may generate the first timestamp indication information according to a service requirement from the AF network element (for example, the AF indicates that the service type is EtherCAT).
示例性地,第四网元可以通过PCC规则发送第一时间戳指示信息,指示对第一业务数据流的至少一个数据包增加对应的接收或发送该至少一个数据包的时刻。Exemplarily, the fourth network element may send the first timestamp indication information through the PCC rule, indicating that the corresponding time of receiving or sending the at least one data packet is added to at least one data packet of the first service data stream.
又示例性地,第四网元可以通过会话相关的策略信息发送第一时间戳指示信息,如PDU会话相关的策略信息,指示对第一会话的业务数据流增加对应的接收或发送该至少一个数据包的时刻。Also exemplarily, the fourth network element may send the first timestamp indication information through session-related policy information, such as PDU session-related policy information, to instruct the service data flow of the first session to add corresponding receive or send the at least one. packet moment.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1511,第四网元向第三网元发送第一时间信息。相应地,第三网元接收来自第一网元的第一时间信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1511, the fourth network element sends the first time information to the third network element. Correspondingly, the third network element receives the first time information from the first network element.
可选的,第四网元可以为PCF网元,第四网元可以根据来自AF网元的业务需求生成第一时间信息。也就是说,第一时间信息可以是第四网元确定的第一网元与第二网元之间传输数据的时间阈值。Optionally, the fourth network element may be a PCF network element, and the fourth network element may generate the first time information according to a service requirement from the AF network element. That is, the first time information may be a time threshold for data transmission between the first network element and the second network element determined by the fourth network element.
示例性地,第四网元可以通过PCC规则发送第一时间信息。Exemplarily, the fourth network element may send the first time information through the PCC rule.
又示例性地,第四网元可以通过会话(如PDU会话)相关的策略信息发送第一时间信息。For another example, the fourth network element may send the first time information through policy information related to a session (eg, a PDU session).
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:第三网元向第一网元发送包检测规则。相应地,第一网元接收来自第三网元的包检测规则。In a possible design manner, the communication method provided by the embodiment of the present application may further include: the third network element sends a packet detection rule to the first network element. Correspondingly, the first network element receives the packet detection rules from the third network element.
可选的,包检测规则可以包括第二指示信息,第二指示信息用于指示删除接收到的至少一个数据对应的时间戳,至少一个数据包括第二数据和第一数据。Optionally, the packet inspection rule may include second indication information, where the second indication information is used to instruct to delete a timestamp corresponding to at least one piece of data received, and the at least one piece of data includes second data and first data.
示例性地,包检测规则(packet detection rule,PDR)可以包括但不限于如表1中所示的内容。Exemplarily, a packet detection rule (packet detection rule, PDR) may include, but is not limited to, the contents shown in Table 1.
表1Table 1
Figure PCTCN2021077745-appb-000001
Figure PCTCN2021077745-appb-000001
外部报头删除(outer header removal)信息可以用于指示UPF网元删除接收到的数据包的一个或多个外部报头,例如,报头可以包括但不限于如下一项或多项:IP报头、UDP报头、GTP报头,VLAN标签(又称VLAN tag),时间戳。The outer header removal (outer header remove) information can be used to instruct the UPF network element to remove one or more outer headers of the received data packet. For example, the headers may include but are not limited to one or more of the following: IP header, UDP header , GTP header, VLAN tag (also known as VLAN tag), timestamp.
可选的,外部报头删除(outer header removal)信息可以包括第二指示信息。Optionally, the outer header removal (outer header removal) information may include second indication information.
示例性地,转发规则FAR可以包括但不限于如表2中所示的内容。Exemplarily, the forwarding rule FAR may include, but is not limited to, the contents shown in Table 2.
其中,动作(action)可用于用于指示要对数据包执行的动作,该动作可以包括: 为收到的数据包增加外部报头、对数据包进行缓存。The action (action) may be used to indicate an action to be performed on the data packet, and the action may include: adding an external header to the received data packet, and buffering the data packet.
外部报头创建信息可用于指示UPF网元为收到的数据包增加外部报头。可选的,外部报头创建可以包括第一时间戳指示信息。The outer header creation information can be used to instruct the UPF network element to add an outer header to the received data packet. Optionally, the outer header creation may include first timestamp indication information.
缓存规则(buffering action rule)可用于指示采用的缓存规则,如指示采用第一时间信息,或者指示采用第一时间信息和第二时间信息,可选的,第一指示信息可以为缓存规则。The buffering action rule can be used to indicate the adopted buffering rule, for example, to indicate that the first time information is adopted, or to indicate that the first time information and the second time information are adopted. Optionally, the first indication information can be a buffering rule.
表2Table 2
Figure PCTCN2021077745-appb-000002
Figure PCTCN2021077745-appb-000002
需要说明的是,本申请实施例不对S1510与上述S1511的先后顺序进行限定。可选的,S1510与上述S1511可以是在一个步骤中执行的。It should be noted that this embodiment of the present application does not limit the sequence of S1510 and the above-mentioned S1511. Optionally, S1510 and the above-mentioned S1511 may be performed in one step.
在一种可能的设计方式中,本申请实施例提供的通信方法,还可以包括:S1512,第三网元向第四网元发送确认信息。相应地,第四网元接收来自第三网元的确认信息。In a possible design manner, the communication method provided by the embodiment of the present application may further include: S1512, the third network element sends confirmation information to the fourth network element. Correspondingly, the fourth network element receives the confirmation information from the third network element.
示例性地,确认信息可用于指示确认已接收到第一时间戳指示信息和/或第一时间信息。Exemplarily, the acknowledgment information may be used to indicate that the first time stamp indication information and/or the first time information have been confirmed to have been received.
需要说明的是,当上述S1510与上述S1511单独执行时,可以分别对应执行S1512,如对应S1510,执行一次S1512,对应S1511,执行一次S1512。It should be noted that, when the above S1510 and the above S1511 are executed independently, S1512 may be executed correspondingly, for example, corresponding to S1510, S1512 is executed once, and corresponding to S1511, S1512 is executed once.
基于图15所示的通信方法,第一设备根据第一时间信息确定第二时刻,第二时刻为第一设备接收到来自第一网元的第二数据后发送第二数据的时刻,缓存第二数据至第二时刻后发送第二数据。第一网元根据第一时间信息确定第一时刻,第一时刻为第一网元接收到来自第一设备的第一数据后发送第一数据的时刻,缓存第一数据至第一时刻后发送第一数据。如此,第一数据在第一设备至第一网元的上行传输时延和第二数据在第一网元至第一设备之间的下行传输时延均等于第一时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 15 , the first device determines the second time according to the first time information, and the second time is the time when the first device sends the second data after receiving the second data from the first network element, and caches the second time. The second data is sent after the second data arrives at the second time. The first network element determines the first time according to the first time information. The first time is the time when the first network element sends the first data after receiving the first data from the first device, and buffers the first data until the first time and sends the first data. first data. In this way, the uplink transmission delay of the first data from the first device to the first network element and the downlink transmission delay of the second data from the first network element to the first device are both equal to the duration indicated by the first time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
图16为本申请实施例提供的另一种通信方法的流程示意图。以第一网元为UPF网元,第一设备为第一终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 16 is a schematic flowchart of another communication method provided by an embodiment of the present application. The first network element is the UPF network element, the first device is the first terminal device, the third network element is the SMF network element, and the fourth network element is the PCF network element as an example for description.
如图16所示,该通信方法包括如下步骤:As shown in Figure 16, the communication method includes the following steps:
S1601,DN向UPF网元发送第二数据。相应地,UPF网元接收来自DN的第二数据。S1601, the DN sends the second data to the UPF network element. Accordingly, the UPF network element receives the second data from the DN.
示例性地,上述步骤S1601可以为可选的。Exemplarily, the above step S1601 may be optional.
也就是说,图16所示的通信方法应用于图6所示的通信系统,第二数据可以来自于DN。That is, the communication method shown in FIG. 16 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
S1602,UPF网元向第一终端设备发送第二数据和第二时间戳。相应地,第一终端设备接收来自UPF网元的第二数据和第二时间戳。S1602, the UPF network element sends the second data and the second time stamp to the first terminal device. Correspondingly, the first terminal device receives the second data and the second time stamp from the UPF network element.
需要说明的是,关于S1602的具体实现方式可参照上述S1501,区别在于将上述S1501中的第一设备替换为第一终端设备,将第一网元替换为UPF网元,此处不再详细赘述。It should be noted that for the specific implementation of S1602, please refer to the above S1501, the difference is that the first device in the above S1501 is replaced by the first terminal device, and the first network element is replaced by the UPF network element, which will not be described in detail here. .
S1603,第一终端设备根据第一时间信息,缓存第二数据至第二时刻后,发送第二数据。S1603, the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
示例性地,上述S1603,可以包括:第一终端设备可以根据第一时间信息,缓存第二数据至第二时刻后,向第一终端设备的应用层传递第二数据。Exemplarily, the above S1603 may include: the first terminal device may, according to the first time information, buffer the second data to a second time, and then transmit the second data to the application layer of the first terminal device.
如此,第一终端设备可以根据第一时间信息缓存第二数据,再发送第二数据,从而使第二数据在UPF网元至第一终端设备的下行传输时延与第一时间信息所指示的时长相等。In this way, the first terminal device can buffer the second data according to the first time information, and then send the second data, so that the downlink transmission delay of the second data from the UPF network element to the first terminal device and the time indicated by the first time information The duration is equal.
需要说明的是,关于S1603的具体实现方式可参照上述S1502,区别在于将上述S1502中的第一设备替换为第一终端设备,此处不再详细赘述。It should be noted that, for the specific implementation of S1603, reference may be made to the above-mentioned S1502, and the difference is that the first device in the above-mentioned S1502 is replaced by the first terminal device, which will not be described in detail here.
S1604,第一终端设备向UPF网元发送第一数据和第一时间戳。相应地,UPF网元接收来自第一终端设备的第一数据和第一时间戳。S1604, the first terminal device sends the first data and the first timestamp to the UPF network element. Correspondingly, the UPF network element receives the first data and the first timestamp from the first terminal device.
需要说明的是,关于S1604的具实现方式,可参照上述S1503的具体实现方式,区别在于将上述S1503中的第一设备替换为第一终端设备,将第一网元替换为UPF网元,此处不再详细赘述。It should be noted that, for the specific implementation of S1604, refer to the specific implementation of S1503 above. The difference is that the first device in the above S1503 is replaced by the first terminal device, and the first network element is replaced by the UPF network element. It will not be described in detail here.
S1605,UPF网元根据第一时间信息,缓存第一数据至第一时刻后,向DN发送第一数据。相应地,DN接收来自UPF网元的第一数据。S1605, the UPF network element buffers the first data to the first time according to the first time information, and sends the first data to the DN. Accordingly, the DN receives the first data from the UPF network element.
示例性地,上述步骤S1605中向DN发送第一数据可以为可选的。Exemplarily, sending the first data to the DN in the foregoing step S1605 may be optional.
示例性地,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等。Exemplarily, the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
如此,UPF网元可以根据第一时间信息缓存第一数据一段时间后,再发送第一数据,从而使第一数据在第一终端设备至UPF网元的上行传输时延与第一时间信息所指示的时长相等。In this way, the UPF network element can buffer the first data for a period of time according to the first time information, and then send the first data, so that the first data can be transmitted between the uplink transmission delay from the first terminal device to the UPF network element and the first time information. The indicated durations are equal.
在一些实施例中,上述S1605,可以包括:UPF网元根据第一时间信息和第二指示信息,缓存第一数据至第一时刻后,发送第一数据。In some embodiments, the above S1605 may include: the UPF network element sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
示例性地,UPF网元接收到包括第一数据和第一时间戳的第一数据包后,缓存第一数据至第一时刻后,可以只发送第一数据,不发送第一时间戳。Exemplarily, after receiving the first data packet including the first data and the first time stamp, the UPF network element may only send the first data without sending the first time stamp after buffering the first data to the first time.
可选的,第一时间信息所指示的时长等于UPF网元接收到第二数据至第一终端设备发送第二数据的时长,第二数据是UPF网元向第一终端设备发送的数据。也就是说,第一时间信息所指示的时长等于第二数据在UPF网元至第一终端设备之间的下行传输时延。如此,可以保证第一数据的上行传输时延与第二数据的下行传输时延相等。Optionally, the duration indicated by the first time information is equal to the duration of the UPF network element receiving the second data to the first terminal device sending the second data, where the second data is the data sent by the UPF network element to the first terminal device. That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the UPF network element and the first terminal device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
需要说明的是,关于S1605的具体实现方式,可参照上述S1504的具体实现方式,此处不再详细赘述。It should be noted that, for the specific implementation manner of S1605, reference may be made to the specific implementation manner of S1504, which will not be described in detail here.
在一种可能的设计方式中,图16所示的通信方法,还可以包括S1606-S1610。其中,关于S1606的具体实现方式可参照上述S1505和S1506,S1607的具体实现方式 可参照上述S1507,S1608的具体实现方式可参照上述S1508和S1509,S1609的具体实现方式可参照上述S1510和S1511,S1610的具体实现方式可参照上述S1512,区别在于将第一网元替换为UPF网元,第一设备替换为第一终端设备,第三网元替换为SMF网元,第四网元替换为PCF网元,此处不再赘述。In a possible design manner, the communication method shown in FIG. 16 may further include S1606-S1610. The specific implementation of S1606 can refer to the above S1505 and S1506, the specific implementation of S1607 can refer to the above S1507, the specific implementation of S1608 can refer to the above S1508 and S1509, the specific implementation of S1609 can refer to the above S1510 and S1511, S1610 The specific implementation method can refer to the above S1512, the difference is that the first network element is replaced by a UPF network element, the first device is replaced by the first terminal device, the third network element is replaced by an SMF network element, and the fourth network element is replaced by a PCF network element. element, and will not be repeated here.
基于图16所示的通信方法,第一终端设备根据第一时间信息确定第二时刻,第二时刻为第一终端设备接收到来自UPF网元的第二数据后发送第二数据的时刻,缓存第二数据至第二时刻后发送第二数据。UPF网元根据第一时间信息确定第一时刻,第一时刻为UPF网元接收到来自第一终端设备的第一数据后发送第一数据的时刻,缓存第一数据至第一时刻后发送第一数据。如此,第一数据在第一终端设备至UPF网元的上行传输时延和第二数据在UPF网元至第一终端设备之间的下行传输时延均等于第一时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 16 , the first terminal device determines the second time according to the first time information, and the second time is the time when the first terminal device sends the second data after receiving the second data from the UPF network element, and caches the second time. The second data is sent after the second data time. The UPF network element determines the first time according to the first time information. The first time is the time when the UPF network element sends the first data after receiving the first data from the first terminal device, and buffers the first data until the first time and sends the first data. a data. In this way, the uplink transmission delay of the first data from the first terminal device to the UPF network element and the downlink transmission delay of the second data from the UPF network element to the first terminal device are both equal to the duration indicated by the first time information, Therefore, it can be ensured that the time delay for transmitting uplink data is equal to the time delay for transmitting downlink data.
图17为本申请实施例提供的又一种通信方法的流程示意图。以第一网元为(R)AN设备,第一设备为第一终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 17 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The first network element is an (R)AN device, the first device is a first terminal device, the third network element is an SMF network element, and the fourth network element is a PCF network element as an example for description.
如图17所示,该通信方法包括如下步骤:As shown in Figure 17, the communication method includes the following steps:
S1701,DN向(R)AN设备发送第二数据。相应地,(R)AN设备接收来自DN的第二数据。S1701, the DN sends the second data to the (R)AN device. Accordingly, the (R)AN device receives the second data from the DN.
需要说明的是,上述S1701可以为可选的。It should be noted that the foregoing S1701 may be optional.
也就是说,图17所示的通信方法应用于图6所示的通信系统,第二数据可以来自于DN。That is, the communication method shown in FIG. 17 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
S1702,(R)AN设备向第一终端设备发送第二数据和第二时间戳。相应地,第一终端设备接收来自(R)AN设备的第二数据和第二时间戳。S1702, the (R)AN device sends the second data and the second time stamp to the first terminal device. Accordingly, the first terminal device receives the second data and the second time stamp from the (R)AN device.
需要说明的是,关于S1702的具体实现方式可参照上述S1501,区别在于将上述S1501中的第一网元替换为(R)AN设备,将第一设备替换为第一终端设备,此处不再详细赘述。It should be noted that, for the specific implementation of S1702, please refer to the above S1501, the difference is that the first network element in the above S1501 is replaced by the (R)AN device, and the first device is replaced by the first terminal device, which is not repeated here. Describe in detail.
S1703,第一终端设备根据第一时间信息,缓存第二数据至第二时刻后,发送第二数据。S1703, the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
示例性地,上述S1703,可以包括:第一终端设备可以根据第一时间信息,缓存第二数据至第二时刻后,向第一终端设备的应用层传递第二数据。Exemplarily, the above S1703 may include: the first terminal device may, according to the first time information, buffer the second data to a second time, and then transmit the second data to the application layer of the first terminal device.
如此,第一终端设备可以根据第一时间信息缓存第二数据,再发送第二数据,从而使第二数据在(R)AN设备至第一终端设备的下行传输时延与第一时间信息所指示的时长相等。In this way, the first terminal device can buffer the second data according to the first time information, and then send the second data, so that the second data is between the downlink transmission delay from the (R)AN device to the first terminal device and the first time information. The indicated durations are equal.
需要说明的是,关于S1703的具体实现方式可参照上述S1502,区别在于将上述S1502中的第一网元替换为(R)AN设备,此处不再详细赘述。It should be noted that, for the specific implementation of S1703, reference may be made to the above-mentioned S1502, the difference is that the first network element in the above-mentioned S1502 is replaced by a (R)AN device, which will not be described in detail here.
S1704,第一终端设备向(R)AN设备发送第一数据和第一时间戳。相应地,(R)AN设备接收来自第一终端设备的第一数据和第一时间戳。S1704, the first terminal device sends the first data and the first time stamp to the (R)AN device. Accordingly, the (R)AN device receives the first data and the first time stamp from the first terminal device.
需要说明的是,关于S1704的具体实现方式,可参照上述S1503的具体实现方式,区别在于将上述S1503中的第一网元替换为(R)AN设备,将第一设备替换为第一终端设备,此处不再详细赘述。It should be noted that, for the specific implementation of S1704, refer to the specific implementation of S1503 above, the difference is that the first network element in the above S1503 is replaced by the (R)AN device, and the first device is replaced by the first terminal device. , and will not be described in detail here.
S1705,(R)AN设备根据第一时间信息,缓存第一数据至第一时刻后,向DN发送第一数据。相应地,DN接收来自(R)AN设备的第一时间信息。S1705, the (R)AN device sends the first data to the DN after buffering the first data to the first time according to the first time information. Accordingly, the DN receives the first time information from the (R)AN device.
需要说明的是,上述S1705中向DN发送第一数据可以为可选的。It should be noted that the sending of the first data to the DN in the above S1705 may be optional.
示例性地,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等。Exemplarily, the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information.
如此,(R)AN设备可以根据第一时间信息缓存第一数据一段时间后,再发送第一数据,从而使第一数据在第一终端设备至(R)AN设备的上行传输时延与第一时间信息所指示的时长相等。In this way, the (R)AN device can buffer the first data for a period of time according to the first time information, and then send the first data, so that the uplink transmission delay of the first data from the first terminal device to the (R)AN device is the same as that of the first data. The durations indicated by the time information are equal.
在一些实施例中,上述S1705,可以包括:(R)AN设备根据第一时间信息和第二指示信息,缓存第一数据至第一时刻后,发送第一数据。In some embodiments, the above S1705 may include: (R) the AN device sends the first data after buffering the first data to the first time according to the first time information and the second indication information.
示例性地,(R)AN设备接收到包括第一数据和第一时间戳的第一数据包后,缓存第一数据至第一时刻后,可以只发送第一数据,不发送第一时间戳。Exemplarily, after the (R)AN device receives the first data packet including the first data and the first time stamp, and after buffering the first data to the first moment, it may only send the first data without sending the first time stamp. .
可选的,第一时间信息所指示的时长等于(R)AN设备接收到第二数据至第一终端设备发送第二数据的时长,第二数据是(R)AN设备向第一终端设备发送的数据。也就是说,第一时间信息所指示的时长等于第二数据在(R)AN设备至第一终端设备之间的下行传输时延。如此,可以保证第一数据的上行传输时延与第二数据的下行传输时延相等。Optionally, the duration indicated by the first time information is equal to the duration of the (R)AN device receiving the second data to the first terminal device sending the second data, and the second data is sent by the (R)AN device to the first terminal device. The data. That is to say, the duration indicated by the first time information is equal to the downlink transmission delay of the second data between the (R)AN device and the first terminal device. In this way, it can be ensured that the uplink transmission delay of the first data is equal to the downlink transmission delay of the second data.
需要说明的是,关于S1705的具体实现方式,可参照上述S1504的具体实现方式,区别在于将第一网元替换为(R)AN设备,第一设备替换为第一终端设备,此处不再详细赘述。It should be noted that, for the specific implementation of S1705, refer to the specific implementation of S1504 above. The difference is that the first network element is replaced by the (R)AN device, and the first device is replaced by the first terminal device, which is not repeated here. Describe in detail.
在一种可能的设计方式中,图17所示的通信方法,还可以包括S1706-S1710。其中,关于S1706的具体实现方式可参照上述S1505和S1506,S1707的具体实现方式可参照上述S1507,S1708的具体实现方式可参照上述S1508和S1509,S1709的具体实现方式可参照上述S1510和S1511,S1710的具体实现方式可参照上述S1512,区别在于将第一网元替换为(R)AN设备,第一设备替换为第一终端设备,第三网元替换为SMF网元,第四网元替换为PCF网元,此处不再赘述。In a possible design, the communication method shown in FIG. 17 may further include S1706-S1710. For the specific implementation of S1706, refer to the above S1505 and S1506, for the specific implementation of S1707, refer to the above S1507, for the specific implementation of S1708, refer to the above S1508 and S1509, for the specific implementation of S1709, refer to the above S1510 and S1511, S1710 The specific implementation method can refer to the above S1512, the difference is that the first network element is replaced by (R)AN device, the first device is replaced by the first terminal device, the third network element is replaced by SMF network element, and the fourth network element is replaced by The PCF network element will not be repeated here.
基于图17所示的通信方法,第一终端设备根据第一时间信息确定第二时刻,第二时刻为第一终端设备接收到来自(R)AN设备的第二数据后发送第二数据的时刻,缓存第二数据至第二时刻后发送第二数据。(R)AN设备根据第一时间信息确定第一时刻,第一时刻为(R)AN设备接收到来自第一终端设备的第一数据后发送第一数据的时刻,缓存第一数据至第一时刻后发送第一数据。如此,第一数据在第一终端设备至(R)AN设备的上行传输时延和第二数据在(R)AN设备至第一终端设备之间的下行传输时延均等于第一时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 17 , the first terminal device determines the second time according to the first time information, and the second time is the time when the first terminal device sends the second data after receiving the second data from the (R)AN device , and send the second data after buffering the second data until the second time. The (R)AN device determines the first time according to the first time information, and the first time is the time when the (R)AN device sends the first data after receiving the first data from the first terminal device, and buffers the first data to the first time. The first data is sent after the time. In this way, the uplink transmission delay of the first data from the first terminal device to the (R)AN device and the downlink transmission delay of the second data from the (R)AN device to the first terminal device are both equal to the first time information. The indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
图18为本申请实施例提供的又一种通信方法的流程示意图。以第一网元为UPF网元,第一设备为第一终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 18 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The first network element is the UPF network element, the first device is the first terminal device, the third network element is the SMF network element, and the fourth network element is the PCF network element as an example for description.
如图18所示,该通信方法包括如下步骤:As shown in Figure 18, the communication method includes the following steps:
S1801,DN向UPF网元发送第二数据。相应地,UPF网元接收来自DN的第二数 据。S1801, the DN sends the second data to the UPF network element. Accordingly, the UPF network element receives the second data from the DN.
需要说明的是,上述S1801可以为可选的。It should be noted that the above S1801 may be optional.
也就是说,图18所示的通信方法应用于图6所示的通信系统,第二数据可以来自于DN。That is, the communication method shown in FIG. 18 is applied to the communication system shown in FIG. 6 , and the second data may come from the DN.
S1802,UPF网元向第一终端设备发送第二数据和第二时间戳。相应地,第一终端设备接收来自UPF网元的第二数据和第二时间戳,并发送第二数据。S1802, the UPF network element sends the second data and the second time stamp to the first terminal device. Correspondingly, the first terminal device receives the second data and the second time stamp from the UPF network element, and sends the second data.
需要说明的是,关于S1802的具体实现方式可参照上述S1602,此处不再详细赘述。It should be noted that, for the specific implementation of S1802, reference may be made to the above-mentioned S1602, which will not be described in detail here.
S1803,第一终端设备根据第二时间戳所指示的时刻至第一终端设备接收到第二数据的时刻,确定第一时间信息。S1803, the first terminal device determines the first time information according to the time indicated by the second time stamp to the time when the first terminal device receives the second data.
可选的,第一时间信息所指示的时长等于UPF网元接收到第二数据至第一终端设备发送第二数据的时长。Optionally, the duration indicated by the first time information is equal to the duration from when the UPF network element receives the second data to when the first terminal device sends the second data.
示例性地,第一时间信息所指示的时长可以等于第一终端设备接收到第二数据的时刻与第二时间戳所指示的时刻的差值。第二时间戳可用于指示UPF网元接收到第二数据或第二数据包的时刻。Exemplarily, the duration indicated by the first time information may be equal to the difference between the moment when the first terminal device receives the second data and the moment indicated by the second timestamp. The second timestamp may be used to indicate the moment when the UPF network element receives the second data or the second data packet.
也就是说,第一时间信息所指示的时长可以等于第二数据在UPF网元至第一终端设备之间的实际下行传输时延。第一时间信息可以是第一终端设备根据第二数据在UPF网元至第一终端设备之间的实际下行传输时延确定的,第一终端设备接收到第二数据后不缓存第二数据,直接向应用层传递第二数据。That is, the duration indicated by the first time information may be equal to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device. The first time information may be determined by the first terminal device according to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device, and the first terminal device does not buffer the second data after receiving the second data, Pass the second data directly to the application layer.
S1804,第一终端设备向UPF网元发送第一时间信息。相应地,UPF网元接收来自第一终端设备的第一时间信息。S1804, the first terminal device sends the first time information to the UPF network element. Correspondingly, the UPF network element receives the first time information from the first terminal device.
可选的,第一时间信息可以用于指示根据第一时间信息缓存接收到的数据。示例性地,第一时间信息可用于指示根据第一时间信息缓存第一数据。Optionally, the first time information may be used to indicate that the received data is buffered according to the first time information. Exemplarily, the first time information may be used to indicate that the first data is cached according to the first time information.
在一些实施例中,第一时间信息可以是通过第一数据包发送给UPF网元的。In some embodiments, the first time information may be sent to the UPF network element through a first data packet.
示例性地,第一时间信息可置于第一数据包的报头中。Exemplarily, the first time information may be placed in the header of the first data packet.
S1804-1,第一终端设备向UPF网元发送第一数据和第一时间戳。相应地,UPF网元接收来自第一终端设备的第一数据和第一时间戳。S1804-1, the first terminal device sends the first data and the first timestamp to the UPF network element. Correspondingly, the UPF network element receives the first data and the first timestamp from the first terminal device.
可选的,本申请实施例不限定上述S1804-1与上述S1804的先后顺序。Optionally, this embodiment of the present application does not limit the sequence of the foregoing S1804-1 and the foregoing S1804.
可选的,S1804-1与上述S1804可以是在一个步骤中执行的,第一数据、第一时间戳和第一时间信息可以是第一终端设备通过第一数据包向UPF网元发送的。Optionally, S1804-1 and the foregoing S1804 may be performed in one step, and the first data, the first timestamp and the first time information may be sent by the first terminal device to the UPF network element through the first data packet.
示例性地,第一数据包可以携带第一数据和第一时间戳。第一时间戳可置于第一数据包的报头中。Exemplarily, the first data packet may carry the first data and the first timestamp. The first timestamp may be placed in the header of the first data packet.
示例性地,第一数据包可以包括第一数据,第一时间戳和第一时间信息。Exemplarily, the first data packet may include first data, a first timestamp and first time information.
示例性地,第一时间戳可用于指示第一终端设备发送第一数据的时刻。Exemplarily, the first timestamp may be used to indicate the moment when the first terminal device sends the first data.
在一些实施例中,第一数据包可以是第一终端设备根据第一时间戳指示信息向UPF网元发送的。In some embodiments, the first data packet may be sent by the first terminal device to the UPF network element according to the first timestamp indication information.
可选的,第一时间戳指示信息可用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻。Optionally, the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet.
示例性地,第一时间戳指示信息可以用于指示第一终端设备为至少一个数据包增 加对应的发送至少一个数据包的时刻。至少一个数据包可以包括第一数据包,第一数据包可以包括第一数据。可选的,至少一个数据包为第一业务数据流对应的至少一个数据包,或者,为第一会话对应的至少一个数据包。关于第一时间戳指示信息的具体实现方式可参照上述S1503中对应的实现方式,此处不再赘述。Exemplarily, the first time stamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet. At least one data packet may include a first data packet, and the first data packet may include first data. Optionally, the at least one data packet is at least one data packet corresponding to the first service data flow, or at least one data packet corresponding to the first session. For a specific implementation manner of the first timestamp indication information, reference may be made to the corresponding implementation manner in the foregoing S1503, which will not be repeated here.
S1805,UPF网元根据第一时间信息,缓存第一数据至第一时刻后,向DN发送第一数据。S1805, the UPF network element buffers the first data to the first time according to the first time information, and sends the first data to the DN.
需要说明的是,上述S1805中的向DN发送第一数据可以为可选的。It should be noted that the sending of the first data to the DN in the foregoing S1805 may be optional.
如此,UPF网元使第一终端设备向UPF网元发送第一数据至UPF网元发送第一数据的时长等于第一时间信息所指示的时长,从而第一设备至UPF网元之间传输上行数据的时延等于第一时间信息可以为第一终端设备与UPF网元之间传输下行数据的实际时延。In this way, the UPF network element enables the first terminal device to send the first data to the UPF network element and the duration from which the UPF network element sends the first data is equal to the duration indicated by the first time information, so that the uplink transmission between the first device and the UPF network element The delay of data is equal to the first time information, which may be the actual delay of downlink data transmission between the first terminal device and the UPF network element.
关于S1805的具体实现方式可参照上述S1605的具体实现方式,此处不再赘述。For the specific implementation of S1805, reference may be made to the specific implementation of S1605, which will not be repeated here.
需要说明的是,图18所示的通信方法是以第二数据在UPF网元至第一终端设备之间的传输时延大于或等于第一数据在第一终端设备至UPF网元之间的传输时延为例进行阐述的。若第一数据在第一终端设备至UPF网元之间的传输时延大于或等于第二数据在UPF网元至第一终端设备之间的传输时延,可以由UPF网元根据第一终端设备发送第一数据的时刻至UPF网元接收到第一数据的时刻,确定第一时间信息,并向第一终端设备发送第一时间信息。由第一终端设备根据第一时间信息,缓存第二数据至某一时刻后,发送第二数据,从而可以保证传输上行数据的时延与传输下行数据的时延相等。具体实现方式与图18所示的通信方法的实现方式类似,此处不再赘述。It should be noted that, in the communication method shown in FIG. 18, the transmission delay of the second data between the UPF network element and the first terminal device is greater than or equal to that of the first data between the first terminal device and the UPF network element. The transmission delay is described as an example. If the transmission delay of the first data between the first terminal equipment and the UPF network element is greater than or equal to the transmission delay of the second data between the UPF network element and the first terminal equipment From the time when the device sends the first data to the time when the UPF network element receives the first data, the first time information is determined, and the first time information is sent to the first terminal device. The first terminal device sends the second data after buffering the second data until a certain time according to the first time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data. The specific implementation is similar to the implementation of the communication method shown in FIG. 18 , and details are not repeated here.
在一种可能的设计方式中,图18所示的通信方法,还可以包括S1806-S1810。关于S1806-S1810的具体实现方式与上述S1606-S1610相同,此处不再赘述。In a possible design, the communication method shown in FIG. 18 may further include S1806-S1810. The specific implementation manner of S1806-S1810 is the same as the above-mentioned S1606-S1610, and will not be repeated here.
基于图18所示的通信方法,第一终端设备根据UPF网元接收到第二数据的时刻和第一终端设备接收到第二数据的时刻,确定第一时间信息,并发送给UPF网元,以使UPF网元接收到来自第一终端设备的第一数据后,根据第一时间信息缓存第一数据一段时间后,再发送第一数据。如此,第一数据在第一终端设备至UPF网元的传输时延与等于第二数据在UPF网元至第一终端设备之间的实际下行传输时延,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 18 , the first terminal device determines the first time information according to the time when the UPF network element receives the second data and the time when the first terminal device receives the second data, and sends it to the UPF network element, So that after receiving the first data from the first terminal device, the UPF network element buffers the first data for a period of time according to the first time information, and then sends the first data. In this way, the transmission delay of the first data from the first terminal device to the UPF network element is equal to the actual downlink transmission delay of the second data between the UPF network element and the first terminal device, thereby ensuring the transmission delay of the uplink data. It is equal to the delay of transmitting downlink data.
图19为本申请实施例提供的又一种通信方法的流程示意图。以第一网元为(R)AN设备,第一设备为第一终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 19 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The first network element is an (R)AN device, the first device is a first terminal device, the third network element is an SMF network element, and the fourth network element is a PCF network element as an example for description.
如图19所示,该通信方法包括:S1901-S1905。关于S1901-S1905的具体实现方式可参照上述S1801-S1805的实现方式,区别在于将S1801-S1805中的UPF网元替换成(R)AN设备,此处不再赘述。As shown in Figure 19, the communication method includes: S1901-S1905. For the specific implementation of S1901-S1905, refer to the above-mentioned implementation of S1801-S1805, the difference is that the UPF network elements in S1801-S1805 are replaced by (R)AN devices, which will not be repeated here.
需要说明的是,上述S1901可以为可选的,S1905中的(R)AN设备向DN发送第一数据可以为可选的。It should be noted that the foregoing S1901 may be optional, and the (R)AN device in S1905 sending the first data to the DN may be optional.
可选的,本申请实施例不限定上述S1904-1与上述S1904的先后顺序。Optionally, this embodiment of the present application does not limit the sequence of the foregoing S1904-1 and the foregoing S1904.
可选的,S1904-1与上述S1904可以是在一个步骤中执行的,第一数据、第一时间戳和第一时间信息可以是第一终端设备通过第一数据包向(R)AN设备发送的。Optionally, S1904-1 and the above S1904 may be performed in one step, and the first data, the first timestamp and the first time information may be sent by the first terminal device to the (R)AN device through the first data packet. of.
需要说明的是,图19所示的通信方法是以第二数据在(R)AN设备至第一终端设备之间的传输时延大于或等于第一数据在第一终端设备至(R)AN设备之间的传输时延为例进行阐述的。若第一数据在第一终端设备至(R)AN设备之间的传输时延大于或等于第二数据在(R)AN设备至第一终端设备之间的传输时延,可以由(R)AN设备根据第一终端设备发送第一数据的时刻至(R)AN设备接收到第一数据的时刻,确定第一时间信息,并向第一终端设备发送第一时间信息。由第一终端设备根据第一时间信息,缓存第二数据至某一时刻后,发送第二数据,从而可以保证传输上行数据的时延与传输下行数据的时延相等。具体实现方式与图19所示的通信方法的实现方式类似,此处不再赘述。It should be noted that, in the communication method shown in FIG. 19 , the transmission delay of the second data from the (R)AN device to the first terminal device is greater than or equal to that of the first data from the first terminal device to the (R)AN The transmission delay between devices is described as an example. If the transmission delay of the first data between the first terminal device and the (R)AN device is greater than or equal to the transmission delay of the second data between the (R)AN device and the first terminal device, the (R) The AN device determines the first time information according to the time when the first terminal device sends the first data to the time when the (R)AN device receives the first data, and sends the first time information to the first terminal device. The first terminal device sends the second data after buffering the second data until a certain time according to the first time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data. The specific implementation is similar to the implementation of the communication method shown in FIG. 19 , and details are not repeated here.
在一种可能的设计方式中,图19所示的通信方法,还可以包括S1906-S1910。S1906-S1910与上述S1706-S1710相同,此处不再赘述。In a possible design manner, the communication method shown in FIG. 19 may further include S1906-S1910. S1906-S1910 are the same as the above-mentioned S1706-S1710, and are not repeated here.
基于图19所示的通信方法,第一终端设备根据(R)AN设备接收到第二数据的时刻和第一终端设备接收到第二数据的时刻,确定第一时间信息,并发送给(R)AN设备,以使(R)AN设备接收到来自第一终端设备的第一数据后,根据第一时间信息缓存第一数据一段时间后,再发送第一数据。如此,第一数据在第一终端设备至(R)AN设备的传输时延与等于第二数据在(R)AN设备至第一终端设备之间的实际下行传输时延,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 19 , the first terminal device determines the first time information according to the time when the (R)AN device receives the second data and the time when the first terminal device receives the second data, and sends it to (R) )AN device, so that after the (R)AN device receives the first data from the first terminal device, it buffers the first data for a period of time according to the first time information, and then sends the first data. In this way, the transmission delay of the first data from the first terminal device to the (R)AN device is equal to the actual downlink transmission delay of the second data between the (R)AN device and the first terminal device, so that the uplink transmission can be guaranteed. The delay of data is equal to the delay of transmitting downlink data.
图20为本申请实施例提供的又一种通信方法的流程示意图。以第一网元为第一UPF网元,第二网元为第二UPF网元,第一设备为第一终端设备,第二设备为第二终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 20 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The first network element is the first UPF network element, the second network element is the second UPF network element, the first device is the first terminal device, the second device is the second terminal device, and the third network element is the SMF network element, The fourth network element is a PCF network element as an example for description.
当图7所示的通信系统中,第一核心网601和第二核心网602是不同的核心网网元时,可以采用图19所示的通信方法。下面以第一核心网601包括第一UPF网元,第二核心网602包括第二UPF网元为例进行阐述。当第一UPF网元和第二UPF网元为同一UPF网元时,在图20所示的通信方法的基础上,第一UPF网元和第二UPF网元可以不对至少一个数据包增加对应的接收或发送至少一个数据包的时刻,和/或,可以不接收第一时间戳指示信息。示例性地,同一UPF网元能够获知接收到数据包与转发数据包的时刻。When the first core network 601 and the second core network 602 are different core network network elements in the communication system shown in FIG. 7 , the communication method shown in FIG. 19 may be adopted. The following description will be made by taking an example that the first core network 601 includes the first UPF network element, and the second core network 602 includes the second UPF network element. When the first UPF network element and the second UPF network element are the same UPF network element, on the basis of the communication method shown in FIG. 20 , the first UPF network element and the second UPF network element may not add correspondence to at least one data packet The time when at least one data packet is received or sent, and/or the first timestamp indication information may not be received. Exemplarily, the same UPF network element can know the moment when the data packet is received and when the data packet is forwarded.
如图20所示,该通信方法包括如下步骤:As shown in Figure 20, the communication method includes the following steps:
S2001,第二终端设备向第二UPF网元发送第二数据和第七时间戳。相应地,第二UPF网元接收来自第二终端设备的第二数据和第七时间戳。S2001, the second terminal device sends the second data and the seventh timestamp to the second UPF network element. Correspondingly, the second UPF network element receives the second data and the seventh timestamp from the second terminal device.
示例性地,第七时间戳可用于指示第二终端设备向第二UPF网元发送第二数据的时刻。Exemplarily, the seventh timestamp may be used to indicate the moment when the second terminal device sends the second data to the second UPF network element.
在一些实施例中,上述S2001,可以包括:第二终端设备向第二UPF网元发送第七数据包。相应地,第二UPF网元接收来自第二终端设备的第七数据包。In some embodiments, the above S2001 may include: the second terminal device sends a seventh data packet to the second UPF network element. Correspondingly, the second UPF network element receives the seventh data packet from the second terminal device.
可选的,第七数据包可以包括第二数据和第七时间戳。Optionally, the seventh data packet may include the second data and the seventh timestamp.
示例性地,第七时间戳可置于第七数据包的报头中。Exemplarily, the seventh timestamp may be placed in the header of the seventh data packet.
可选的,上述第二终端设备向第二UPF网元发送的第七数据包与第二UPF网元接收的第七数据包中包括的数据内容相同,均为第二数据,第二终端设备向第二UPF网元发送的第七数据包的报头与第二UPF网元接收的第七数据包的报头可以不同。具体 可参照上述S1503中第一设备向第一网元发送第一数据包对应的阐述,此处不再赘述。Optionally, the seventh data packet sent by the above-mentioned second terminal device to the second UPF network element is the same as the data content included in the seventh data packet received by the second UPF network element, and both are second data. The header of the seventh data packet sent to the second UPF network element may be different from the header of the seventh data packet received by the second UPF network element. For details, refer to the description corresponding to the first device sending the first data packet to the first network element in the above S1503, which will not be repeated here.
在一些实施例中,上述第二终端设备向第二UPF网元发送第二数据和第七时间戳,可以包括:第二终端设备根据第一时间戳指示信息,向第二UPF网元发送第二数据和第七时间戳。关于第一时间戳指示信息的具体实现方式可参照上述S1503,此处不再赘述。In some embodiments, sending the second data and the seventh time stamp to the second UPF network element by the second terminal device may include: the second terminal device sending the second data to the second UPF network element according to the indication information of the first time stamp. Second data and seventh timestamp. For the specific implementation of the first timestamp indication information, reference may be made to the above S1503, which will not be repeated here.
需要说明的是,上述S2001可以为可选的。It should be noted that the above S2001 may be optional.
S2002,第二UPF网元根据第四时间信息缓存第二数据至第七时刻。S2002, the second UPF network element caches the second data to the seventh time according to the fourth time information.
可选的,第四时间信息与第一时间信息类似,第四时间信息所指示的时长等于第二终端设备发送第二数据至第二UPF网元向第一UPF网元发送第二数据的时长。第四时间信息所指示的时长等于第二UPF网元向第二终端设备发送第一数据至第二终端设备发送第一数据的时长。关于第四时间信息的具体实现方式可参照上述第一时间信息的具体实现方式,此处不再赘述。Optionally, the fourth time information is similar to the first time information, and the duration indicated by the fourth time information is equal to the duration for the second terminal device to send the second data to the second UPF network element to send the second data to the first UPF network element . The duration indicated by the fourth time information is equal to the duration of the second UPF network element sending the first data to the second terminal device to the second terminal device sending the first data. For the specific implementation of the fourth time information, reference may be made to the above-mentioned specific implementation of the first time information, which will not be repeated here.
可选的,第四时间信息可以为第二UPF网元至第二终端设备之间传输数据的时间阈值。也就是说,使第二数据在第二终端设备至第二UPF网元之间的传输时延与第一数据在第二UPF网元至第二终端设备之间的传输时延均等于第四时间信息。Optionally, the fourth time information may be a time threshold for data transmission between the second UPF network element and the second terminal device. That is to say, the transmission delay of the second data between the second terminal device and the second UPF network element and the transmission delay of the first data between the second UPF network element and the second terminal device are both equal to the fourth time information.
需要说明的是,第四指示信息可以与第一指示信息为同一指示信息,用于指示终端设备与UPF网元之间传输数据的时间阈值,不同终端设备与UPF网元之间传输数据的时间阈值的取值可以不同,为了便于描述,本申请实施例以第四时间信息为例进行阐述。It should be noted that the fourth indication information may be the same indication information as the first indication information, and is used to indicate the time threshold for data transmission between the terminal device and the UPF network element, and the time for data transmission between different terminal devices and the UPF network element. The value of the threshold may be different. For convenience of description, the fourth time information is used as an example for description in this embodiment of the present application.
需要说明的是,关于S2002的具体实现方式可参照上述S1504,此处不再赘述。上述S2002可以为可选的。It should be noted that, for the specific implementation manner of S2002, reference may be made to the above-mentioned S1504, which will not be repeated here. The above S2002 may be optional.
S2003,第二UPF网元向第一UPF网元发送第二数据和第三时间戳。相应地,第一UPF网元接收来自第二UPF网元的第二数据和第三时间戳。S2003, the second UPF network element sends the second data and the third time stamp to the first UPF network element. Correspondingly, the first UPF network element receives the second data and the third time stamp from the second UPF network element.
可选的,第三时间戳可用于指示第二UPF网元向第一UPF网元发送第二数据的时刻。Optionally, the third timestamp may be used to indicate the moment when the second UPF network element sends the second data to the first UPF network element.
示例性地,第二数据可以是第二终端设备通过数据包向第二UPF网元发送的。Exemplarily, the second data may be sent by the second terminal device to the second UPF network element through a data packet.
在一些实施例中,第二数据和第三时间戳可以是第二UPF网元通过第三数据包向第一UPF网元发送的。示例性地,第二UPF网元向第一UPF网元发送第三数据包。相应地,第一UPF网元接收来自第二UPF网元的第三数据包。In some embodiments, the second data and the third time stamp may be sent by the second UPF network element to the first UPF network element through a third data packet. Exemplarily, the second UPF network element sends the third data packet to the first UPF network element. Correspondingly, the first UPF network element receives the third data packet from the second UPF network element.
可选的,第三数据包可以包括第二数据和第三时间戳。Optionally, the third data packet may include the second data and a third time stamp.
示例性地,第三时间戳可置于第三数据包的报头中。Illustratively, the third timestamp may be placed in the header of the third data packet.
在一些实施例中,上述第二UPF网元向第一UPF网元发送第二数据和第三时间戳,可以包括:第二UPF网元根据第一时间戳指示信息,向第一UPF网元发送第二数据和第三时间戳。In some embodiments, the above-mentioned second UPF network element sending the second data and the third time stamp to the first UPF network element may include: the second UPF network element sends the first UPF network element to the first UPF network element according to the indication information of the first time stamp The second data and the third timestamp are sent.
可选的,第一时间戳指示信息可用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻。示例性地,第一时间戳指示信息可以用于指示第二UPF网元为至少一个数据包增加对应的发送至少一个数据包的时刻。Optionally, the first timestamp indication information may be used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet. Exemplarily, the first timestamp indication information may be used to instruct the second UPF network element to add a corresponding moment of sending at least one data packet to at least one data packet.
可选的,至少一个数据包可以包括第三数据包,第三数据包可以包括第二数据。关于第一时间戳指示信息和至少一个数据包的具体实现方式可参照上述S1501中对应 的实现方式,此处不再赘述。Optionally, at least one data packet may include a third data packet, and the third data packet may include second data. For the specific implementation of the first timestamp indication information and at least one data packet, reference may be made to the corresponding implementation in the above S1501, which will not be repeated here.
S2004,第一UPF网元根据第二时间信息,缓存第二数据至第三时刻后,向第一终端设备发送第二数据和第二时间戳。相应地,第一终端设备接收来自第一UPF网元的第二数据和第二时间戳。S2004, the first UPF network element sends the second data and the second time stamp to the first terminal device after buffering the second data to a third time according to the second time information. Correspondingly, the first terminal device receives the second data and the second time stamp from the first UPF network element.
示例性地,第二时间信息可用于指示第二UPF网元根据第二时间信息缓存接收到的数据。Exemplarily, the second time information may be used to instruct the second UPF network element to buffer the received data according to the second time information.
可选的,第二时间信息可以为第一UPF网元与第二UPF网元之间传输数据的时间阈值。Optionally, the second time information may be a time threshold for data transmission between the first UPF network element and the second UPF network element.
可选的,第二时间信息所指示的时长等于第二UPF网元向第一UPF网元发送第二数据至第一UPF网元向第一终端设备发送第二数据的时长。第二时间信息所指示的时长等于第一UPF网元向第二UPF网元发送第一数据至第二UPF网元向第二终端设备发送第一数据的时长。也就是说,使第二数据在第二UPF网元至第一UPF网元的传输时延与第一数据在第一网源至第二UPF网元的传输时延均等于第二时间信息。Optionally, the duration indicated by the second time information is equal to the duration during which the second UPF network element sends the second data to the first UPF network element and the first UPF network element sends the second data to the first terminal device. The duration indicated by the second time information is equal to the duration of the first UPF network element sending the first data to the second UPF network element to the second UPF network element sending the first data to the second terminal device. That is, the transmission delay of the second data from the second UPF network element to the first UPF network element and the transmission delay of the first data from the first network source to the second UPF network element are both equal to the second time information.
在一些实施例中,第二时间信息所指示的时长等于第一UPF网元接收到来自第二UPF网元的第二数据的时刻与第二UPF网元向第一UPF网元发送第二数据的时刻的差值。In some embodiments, the duration indicated by the second time information is equal to the moment when the first UPF network element receives the second data from the second UPF network element and the second UPF network element sends the second data to the first UPF network element difference in time.
在另一些实施例中,第二时间信息所指示的时长大于第一UPF网元接收到来自第二UPF网元的第二数据的时刻与第二UPF网元向第一UPF网元发送第二数据的时刻的差值。In some other embodiments, the duration indicated by the second time information is greater than the time when the first UPF network element receives the second data from the second UPF network element and the second UPF network element sends the second UPF network element to the first UPF network element. The difference in time of the data.
可选的,第三时间戳所指示的时刻至第三时刻的时长与第二时间信息所指示的时长相等。Optionally, the duration from the moment indicated by the third time stamp to the third moment is equal to the duration indicated by the second time information.
示例性地,可以根据第三时间戳所指示的时刻和第二时间信息所指示的时长获得第三时刻,第三时刻为第一UPF网元接收来自第二UPF网元的第二数据后,向第一终端设备发送第二数据的时刻。Exemplarily, the third time may be obtained according to the time indicated by the third timestamp and the duration indicated by the second time information, where the third time is after the first UPF network element receives the second data from the second UPF network element, The moment when the second data is sent to the first terminal device.
例如,第三时刻=第三时间戳所指示的时刻+第二时间信息所指示的时长。For example, the third moment = the moment indicated by the third time stamp + the duration indicated by the second time information.
又例如,第一UPF网元可以缓存第二数据至第三缓存时长后,发送第二数据,如第三缓存时长=第二时间信息所指示的时长-(第一UPF网元接收到第二数据的时刻-第三时间戳所指示的时刻)。For another example, the first UPF network element can send the second data after buffering the second data for a third buffering duration, for example, the third buffering duration = the duration indicated by the second time information - (the first UPF network element receives the second data time of the data - the time indicated by the third timestamp).
当第二时间信息所指示的时长等于第一UPF网元接收到来自第二UPF网元的第二数据的时刻与第二UPF网元向第一UPF网元发送第二数据的时刻的差值时,第三缓存时长=0,第一UPF网元可以不缓存第二数据,直接向第一终端设备发送第二数据。When the duration indicated by the second time information is equal to the difference between the time when the first UPF network element receives the second data from the second UPF network element and the time when the second UPF network element sends the second data to the first UPF network element When the third buffering duration=0, the first UPF network element may not buffer the second data, but directly send the second data to the first terminal device.
当第二时间信息所指示的时长大于第一UPF网元接收到来自第二UPF网元的第二数据的时刻与第二UPF网元向第一UPF网元发送第二数据的时刻的差值时,第二缓存时长>0,第一UPF网元可以缓存第二数据一段时间后,再向第一终端设备发送第二数据。When the duration indicated by the second time information is greater than the difference between the time when the first UPF network element receives the second data from the second UPF network element and the time when the second UPF network element sends the second data to the first UPF network element When the second buffering duration is greater than 0, the first UPF network element may buffer the second data for a period of time before sending the second data to the first terminal device.
也就是说,第一UPF网元可以缓存第二数据一段时间后,再向第一终端设备发送第二数据,从而使第二数据在第二UPF网元至第一UPF网元的传输时延与第二时间信息所指示的时长相等。That is to say, the first UPF network element can buffer the second data for a period of time, and then send the second data to the first terminal device, so that the transmission delay of the second data from the second UPF network element to the first UPF network element is delayed. It is equal to the duration indicated by the second time information.
可选的,第二时间信息所指示的时长等于第一UPF网元向第二UPF网元发送第一 数据至第二UPF网元向第二终端设备发送第一数据的时长。也就是说,第二时间信息所指示的时长等于第一数据在第一UPF网元至第二UPF网元的传输时延。如此,可以保证第二数据的传输时延与第一数据的传输时延相等。Optionally, the duration indicated by the second time information is equal to the duration of the first UPF network element sending the first data to the second UPF network element to the second UPF network element sending the first data to the second terminal device. That is to say, the duration indicated by the second time information is equal to the transmission delay of the first data from the first UPF network element to the second UPF network element. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
S2005,第一终端设备根据第一时间信息,缓存第二数据至第二时刻后,发送第二数据。S2005, the first terminal device sends the second data after buffering the second data to a second time according to the first time information.
关于S2005的具体实现方式可参照上述S1603的实现方式,此处不再赘述。上述S2005可以为可选的。For the specific implementation of S2005, reference may be made to the above-mentioned implementation of S1603, which will not be repeated here. The above S2005 may be optional.
S2006,第一终端设备向第一UPF网元发送第一数据和第一时间戳。相应地,第一UPF网元接收来自第一终端设备的第一数据和第一时间戳。S2006, the first terminal device sends the first data and the first timestamp to the first UPF network element. Correspondingly, the first UPF network element receives the first data and the first time stamp from the first terminal device.
关于S2006的具体实现方式可参照上述S1604的实现方式,区别在于将S1604中的UPF网元替换为第一UPF网元,此处不再赘述。上述S2006可以为可选的。For the specific implementation of S2006, reference may be made to the above-mentioned implementation of S1604, the difference is that the UPF network element in S1604 is replaced with the first UPF network element, which will not be repeated here. The above S2006 may be optional.
S2007,第一UPF网元根据第一时间信息,缓存第一数据至第一时刻。S2007, the first UPF network element caches the first data to the first time according to the first time information.
关于S2007的具体实现方式可参照上述S1605中UPF网元根据第一时间信息,缓存第一数据至第一时刻的实现方式,区别在于将S1604中的UPF网元替换为第一UPF网元,此处不再赘述。上述S2007可以为可选的。For the specific implementation of S2007, please refer to the implementation of the UPF network element caching the first data to the first time according to the first time information in the above S1605. The difference is that the UPF network element in S1604 is replaced with the first UPF network element. It is not repeated here. The above S2007 may be optional.
S2008,第一UPF网元向第二UPF网元发送第一数据和第四时间戳。相应地,第二UPF网元接收来自第一UPF网元的第一数据和第四时间戳。S2008, the first UPF network element sends the first data and the fourth time stamp to the second UPF network element. Correspondingly, the second UPF network element receives the first data and the fourth timestamp from the first UPF network element.
示例性地,第四时间戳可用于指示第一UPF网元向第二UPF网元发送第一数据的时刻。Exemplarily, the fourth timestamp may be used to indicate the moment when the first UPF network element sends the first data to the second UPF network element.
在一些实施例中,上述S2008,可以包括:第一UPF网元向第二UPF网元发送第四数据包。相应地,第二UPF网元接收来自第一UPF网元的第四数据包。In some embodiments, the above S2008 may include: the first UPF network element sends a fourth data packet to the second UPF network element. Correspondingly, the second UPF network element receives the fourth data packet from the first UPF network element.
可选的,第四数据包可以包括第一数据和第四时间戳。第一数据和第四时间戳可以是通过第四数据包发送的。Optionally, the fourth data packet may include the first data and a fourth time stamp. The first data and the fourth timestamp may be sent through a fourth data packet.
示例性地,第四时间戳可置于第四数据包的报头中。Illustratively, the fourth timestamp may be placed in the header of the fourth data packet.
在一些实施例中,上述第一UPF网元向第二UPF网元发送第一数据和第四时间戳,包括:第一UPF网元根据第一时间戳指示信息,向第二UPF网元发送第一数据和第四时间戳。In some embodiments, the above-mentioned first UPF network element sending the first data and the fourth time stamp to the second UPF network element includes: the first UPF network element sends the second UPF network element according to the first time stamp indication information to the second UPF network element First data and fourth timestamp.
示例性地,第一时间戳指示信息可以用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻。可选的,至少一个数据包可以包括第四数据包,第四数据包可以包括第一数据。至少一个数据包为第一业务数据流对应的至少一个数据包,或者,为第一会话对应的至少一个数据包。关于第一时间戳指示信息的具体实现方式可参照上述S1503,此处不再赘述。Exemplarily, the first timestamp indication information may be used to indicate that at least one data packet is added with a corresponding moment of receiving or sending at least one data packet. Optionally, at least one data packet may include a fourth data packet, and the fourth data packet may include the first data. The at least one data packet is at least one data packet corresponding to the first service data flow, or at least one data packet corresponding to the first session. For the specific implementation of the first timestamp indication information, reference may be made to the above S1503, which will not be repeated here.
示例性地,第一时间戳指示信息可以用于指示第一UPF网元为至少一个数据包增加对应的发送至少一个数据包的时刻。具体示例与上述S1503中,第一时间戳指示信息可以用于指示第一终端设备为至少一个数据包增加对应的发送至少一个数据包的时刻类似,此处不再赘述。Exemplarily, the first timestamp indication information may be used to instruct the first UPF network element to add a corresponding moment of sending at least one data packet to at least one data packet. A specific example is similar to that in the above S1503, where the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
S2009,第二UPF网元根据第二时间信息,缓存第一数据至第四时刻后,向第二终端设备发送第一数据和第八时间戳。相应地,第二终端设备接收来自第二UPF网元的第一数据和第八时间戳。S2009, the second UPF network element sends the first data and the eighth timestamp to the second terminal device after buffering the first data to the fourth time according to the second time information. Correspondingly, the second terminal device receives the first data and the eighth timestamp from the second UPF network element.
示例性地,第四时间戳所指示的时刻至第四时刻的时长与第二时间信息所指示的时长相等。Exemplarily, the duration from the moment indicated by the fourth time stamp to the fourth moment is equal to the duration indicated by the second time information.
示例性地,可以根据第四时间戳所指示的时刻和第二时间信息所指示的时长获得第四时刻,第四时刻为第二UPF网元接收来自第一UPF网元的第一数据后向第二终端设备发送第一数据的时刻。Exemplarily, the fourth time can be obtained according to the time indicated by the fourth time stamp and the duration indicated by the second time information, and the fourth time is the time when the second UPF network element receives the first data from the first UPF network element. The moment when the second terminal device sends the first data.
例如,第四时刻=第四时间戳所指示的时刻+第二时间信息所指示的时长。For example, the fourth moment = the moment indicated by the fourth time stamp + the duration indicated by the second time information.
又例如,第二UPF网元可以缓存第一数据至第四缓存时长后,发送第一数据,如第四缓存时长=第二时间信息所指示的时长-(第二UPF网元接收到第一数据的时刻-第四时间戳所指示的时刻)。For another example, the second UPF network element may send the first data after buffering the first data to the fourth buffering duration, for example, the fourth buffering duration = the duration indicated by the second time information - (the second UPF network element receives the first data the time of the data - the time indicated by the fourth timestamp).
也就是说,第二UPF网元可以缓存第一数据一段时间后,再向第二终端设备发送第一数据,从而使第一数据在第一UPF网元至第二UPF网元的传输时延与第二时间信息所指示的时长相等。That is to say, the second UPF network element may buffer the first data for a period of time, and then send the first data to the second terminal device, so that the transmission delay of the first data from the first UPF network element to the second UPF network element is delayed. It is equal to the duration indicated by the second time information.
可选的,第二时间信息所指示的时长等于第二UPF网元向第一UPF网元发送第二数据至第一UPF网元向第一终端设备发送第二数据的时长。也就是说,第二时间信息所指示的时长等于第二数据在第二UPF网元至第一UPF网元之间的传输时延。如此,可以保证第一数据的传输时延与第二数据的传输时延相等。Optionally, the duration indicated by the second time information is equal to the duration during which the second UPF network element sends the second data to the first UPF network element and the first UPF network element sends the second data to the first terminal device. That is to say, the duration indicated by the second time information is equal to the transmission delay of the second data between the second UPF network element and the first UPF network element. In this way, it can be ensured that the transmission delay of the first data is equal to the transmission delay of the second data.
示例性地,第八时间戳用于指示第二UPF网元向第二终端设备发送第一数据的时刻。Exemplarily, the eighth timestamp is used to indicate the moment when the second UPF network element sends the first data to the second terminal device.
在一些实施例中,上述S2009中,第二UPF网元向第二终端设备发送第一数据和第八时间戳,可以包括:第二UPF网元向第二终端设备发送第八数据包。相应地,第二终端设备接收来自第二UPF网元的第八数据包。In some embodiments, in the above S2009, the second UPF network element sending the first data and the eighth timestamp to the second terminal device may include: the second UPF network element sending the eighth data packet to the second terminal device. Correspondingly, the second terminal device receives the eighth data packet from the second UPF network element.
可选的,第八数据包可以包括第一数据和第八时间戳。第八时间戳可置于第八数据包的报头中。Optionally, the eighth data packet may include the first data and the eighth timestamp. The eighth timestamp may be placed in the header of the eighth data packet.
在一些实施例中,上述S2009中,第二UPF网元向第二终端设备发送第一数据和第八时间戳,可以包括:第二UPF网元根据第一时间戳指示信息,向第二终端设备发送第一数据和第八时间戳。In some embodiments, in the above S2009, the second UPF network element sending the first data and the eighth timestamp to the second terminal device may include: the second UPF network element sends the second terminal to the second terminal according to the first timestamp indication information The device sends the first data and the eighth timestamp.
关于第一时间戳指示信息的具体实现方式可参照上述S1501,此处不再赘述。For a specific implementation manner of the first timestamp indication information, reference may be made to the above S1501, which will not be repeated here.
可选的,上述S2009中的向第二终端设备发送第一数据和第八时间戳可以为可选的。Optionally, sending the first data and the eighth timestamp to the second terminal device in the above S2009 may be optional.
S2010,第二终端设备根据第四时间信息,缓存第一数据至第八时刻后,发送第一数据。S2010, the second terminal device sends the first data after buffering the first data to the eighth time point according to the fourth time information.
示例性地,上述S2010,可以包括:第二终端设备根据第四时间信息,缓存第一数据至第八时刻后,向第二终端设备的应用层传递第二数据。Exemplarily, the above S2010 may include: the second terminal device transfers the second data to the application layer of the second terminal device after buffering the first data to the eighth time according to the fourth time information.
关于S2010的具体实现方式可参照上述S1603的实现方式,此处不再赘述。上述S2010可以为可选的。For the specific implementation of S2010, reference may be made to the above-mentioned implementation of S1603, which will not be repeated here. The above S2010 may be optional.
在一种可能的设计方式中,图20所示的通信方法,还可以包括S2011-S2015。In a possible design manner, the communication method shown in FIG. 20 may further include S2011-S2015.
S2011,SMF网元向第一UPF网元发送第一时间戳指示信息、第一时间信息、和/或第二时间信息。相应地,第一UPF网元接收来自SMF网元的第一时间戳指示信息、第一时间信息、和/或第二时间信息。S2011, the SMF network element sends the first time stamp indication information, the first time information, and/or the second time information to the first UPF network element. Correspondingly, the first UPF network element receives the first timestamp indication information, the first time information, and/or the second time information from the SMF network element.
可选的,图20所示的通信方法,还可以包括:SMF网元向第二UPF网元发送第一时间戳指示信息、第二时间信息和/或第四时间信息。相应地,第二UPF网元接收来自SMF网元的第一时间戳指示信息、第二时间信息和/或第四时间信息。Optionally, the communication method shown in FIG. 20 may further include: the SMF network element sends the first timestamp indication information, the second time information and/or the fourth time information to the second UPF network element. Correspondingly, the second UPF network element receives the first timestamp indication information, the second time information and/or the fourth time information from the SMF network element.
关于S2011的具体实现方式可以参照上述S1505中,第三网元向第一网元发送第一时间戳指示信息。相应地,第一网元接收来自第三网元的第一时间戳指示信息,以及上述S1506中,第三网元向第一网元发送第一时间信息。相应地,第一网元接收来自第三网元的第一时间信息的实现方式,此处不再赘述。For the specific implementation of S2011, reference may be made to the foregoing S1505, where the third network element sends the first time stamp indication information to the first network element. Correspondingly, the first network element receives the first time stamp indication information from the third network element, and in the above S1506, the third network element sends the first time information to the first network element. Correspondingly, the implementation manner of the first network element receiving the first time information from the third network element will not be repeated here.
S2012,第一UPF网元向SMF网元发送应答信息。相应地,SMF网元接收来自第一UPF网元的应答信息。S2012, the first UPF network element sends response information to the SMF network element. Correspondingly, the SMF network element receives the response information from the first UPF network element.
可选的,图20所示的通信方法,还可以包括:第二UPF网元向SMF网元发送应答信息。相应地,SMF网元接收来自第二UPF网元的应答信息。Optionally, the communication method shown in FIG. 20 may further include: the second UPF network element sends response information to the SMF network element. Correspondingly, the SMF network element receives the response information from the second UPF network element.
示例性地,应答信息可以包括确认已接收到第一时间戳指示信息和/或第一时间信息。Exemplarily, the response information may include confirmation that the first time stamp indication information and/or the first time information have been received.
S2013,SMF网元向第一终端设备发送第一时间戳指示信息和/或第一时间信息。相应地,第一终端设备接收来自SMF网元的第一时间戳指示信息和/或第一时间信息。S2013, the SMF network element sends the first time stamp indication information and/or the first time information to the first terminal device. Correspondingly, the first terminal device receives the first timestamp indication information and/or the first time information from the SMF network element.
关于S2013的具体实现方式可以上述S1509中,第三网元向第一设备发送第一时间信息。相应地,第一设备接收来自第三网元的第一时间信息,以及上述S1508中,第三网元向第一设备发送第一时间戳指示信息。相应地,第一设备接收来自第三网元的第一时间戳指示信息的实现方式,此处不再赘述。The specific implementation of S2013 may be in the above S1509, where the third network element sends the first time information to the first device. Correspondingly, the first device receives the first time information from the third network element, and in the above S1508, the third network element sends the first time stamp indication information to the first device. Correspondingly, the implementation manner of the first device receiving the first timestamp indication information from the third network element will not be repeated here.
S2014,PCF网元向SMF网元发送第一时间戳指示信息、第一时间信息、第二时间信息和/或第四时间信息。相应地,SMF网元接收来自PCF网元的第一时间戳指示信息、第一时间信息、第二时间信息和/或第四时间信息。S2014, the PCF network element sends the first time stamp indication information, the first time information, the second time information and/or the fourth time information to the SMF network element. Correspondingly, the SMF network element receives the first time stamp indication information, the first time information, the second time information and/or the fourth time information from the PCF network element.
关于S2012的具体实现方式可以参照上述S1510中,第四网元向第三网元发送第一时间戳指示信息。相应地,第三网元接收来自第四网元的第一时间戳指示信息,以及上述S1511中,第四网元向第三网元发送第一时间信息。相应地,第三网元接收来自第一网元的第一时间信息的实现方式,此处不再赘述。For the specific implementation of S2012, reference may be made to the foregoing S1510, where the fourth network element sends the first timestamp indication information to the third network element. Correspondingly, the third network element receives the first time stamp indication information from the fourth network element, and in the above S1511, the fourth network element sends the first time information to the third network element. Correspondingly, the implementation manner of the third network element receiving the first time information from the first network element will not be repeated here.
S2015,SMF网元向PCF网元发送确认信息。相应地,PCF网元接收来自SMF网元的确认信息。S2015, the SMF network element sends confirmation information to the PCF network element. Correspondingly, the PCF network element receives the confirmation information from the SMF network element.
示例性地,确认信息可用于指示确认已接收到第一时间戳指示信息、第一时间信息、第二时间信息和/或第四时间信息。Exemplarily, the confirmation information may be used to indicate that it is confirmed that the first time stamp indication information, the first time information, the second time information and/or the fourth time information have been received.
基于图20所示的通信方法,第一UPF网元根据第二时间信息确定第三时刻,第三时刻为第一UPF网元接收到来自第二UPF网元的第二数据后向第一终端设备发送第二数据的时刻,缓存第二数据至第三时刻后向第一终端设备发送第二数据。第二UPF网元根据第二时间信息确定第四时刻,第四时刻为第二UPF网元接收到来自第一UPF网元的第一数据后向第二终端设备发送第一数据的时刻,缓存第一数据至第四时刻后向第二终端设备发送第一数据。如此,第一数据在第一UPF网元至第二UPF网元的传输时延和第二数据在第二UPF网元至第一UPF网元之间的传输时延军等于第二时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 20 , the first UPF network element determines a third time according to the second time information, and the third time is when the first UPF network element receives the second data from the second UPF network element and sends it to the first terminal. When the device sends the second data, it buffers the second data to the third time and sends the second data to the first terminal device. The second UPF network element determines a fourth time according to the second time information, where the fourth time is the time when the second UPF network element sends the first data to the second terminal device after receiving the first data from the first UPF network element, and buffers the After the first data to the fourth time, the first data is sent to the second terminal device. In this way, the transmission delay of the first data from the first UPF network element to the second UPF network element and the transmission delay of the second data between the second UPF network element and the first UPF network element are equal to the second time information. The indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
图21为本申请实施例提供的又一种通信方法的流程示意图。以第一网元为第一 UPF网元,第二网元为第二UPF网元,第一设备为第一终端设备,第二设备为第二终端设备,第三网元为SMF网元,第四网元为PCF网元为例进行阐述。FIG. 21 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The first network element is the first UPF network element, the second network element is the second UPF network element, the first device is the first terminal device, the second device is the second terminal device, and the third network element is the SMF network element, The fourth network element is a PCF network element as an example for description.
当图7所示的通信系统中,第一核心网601和第二核心网602是不同的核心网网元时,可以采用图19所示的通信方法。下面以第一核心网601包括第一UPF网元,第二核心网602包括第二UPF网元为例进行阐述。当第一UPF网元和第二UPF网元为同一UPF网元时,在图20所示的通信方法的基础上,第一UPF网元和第二UPF网元可以不对至少一个数据包增加对应的接收或发送至少一个数据包的时刻,和/或,可以不接收第一时间戳指示信息。示例性地,同一UPF网元能够获知接收到数据包与转发数据包的时刻。When the first core network 601 and the second core network 602 are different core network network elements in the communication system shown in FIG. 7 , the communication method shown in FIG. 19 may be adopted. The following description will be made by taking an example that the first core network 601 includes the first UPF network element, and the second core network 602 includes the second UPF network element. When the first UPF network element and the second UPF network element are the same UPF network element, on the basis of the communication method shown in FIG. 20 , the first UPF network element and the second UPF network element may not add correspondence to at least one data packet The time when at least one data packet is received or sent, and/or the first timestamp indication information may not be received. Exemplarily, the same UPF network element can know the moment when the data packet is received and when the data packet is forwarded.
如图21所示,该通信方法包括如下步骤:As shown in Figure 21, the communication method includes the following steps:
S2101,第二终端设备向第二UPF网元发送第二数据和第七时间戳。相应地,第二UPF网元接收来自第二终端设备的第二数据和第七时间戳。S2101, the second terminal device sends the second data and the seventh timestamp to the second UPF network element. Correspondingly, the second UPF network element receives the second data and the seventh timestamp from the second terminal device.
示例性地,第七时间戳用于指示第二终端设备向第二UPF网元发送第二数据的时刻。Exemplarily, the seventh timestamp is used to indicate the moment when the second terminal device sends the second data to the second UPF network element.
需要说明的是,S2101的具体实现方式与上述S1503类似,此处不再赘述。上述S2101可以为可选的。It should be noted that the specific implementation manner of S2101 is similar to the above-mentioned S1503, and details are not repeated here. The above S2101 may be optional.
S2102,第二UPF网元根据第七时间戳所指示的时刻至第二UPF网元接收到第二数据的时刻,确定第四时间信息。S2102, the second UPF network element determines fourth time information according to the time indicated by the seventh timestamp to the time when the second UPF network element receives the second data.
也就是说,第四时间信息所指示的时长可以等于第二数据在第二终端设备至第二UPF网元之间的实际下行传输时延。第四时间信息可以是第二UPF网元根据第二数据在第二终端设备至第二UPF网元之间的实际下行传输时延确定的,第二UPF网元接收到第二数据后不缓存第二数据,直接发送第二数据。That is to say, the duration indicated by the fourth time information may be equal to the actual downlink transmission delay of the second data between the second terminal device and the second UPF network element. The fourth time information may be determined by the second UPF network element according to the actual downlink transmission delay of the second data between the second terminal device and the second UPF network element, and the second UPF network element does not buffer the second data after receiving the second data. For the second data, the second data is directly sent.
需要说明的是,关于S2102的具体实现方式可参照上述S1803,此处不再赘述。上述S2102可以为可选的。It should be noted that, for the specific implementation of S2102, reference may be made to the above-mentioned S1803, which will not be repeated here. The foregoing S2102 may be optional.
S2103,第二UPF网元向第一UPF网元发送第二数据和第三时间戳。相应地,第一UPF网元接收来自第二UPF网元的第二数据和第三时间戳。S2103, the second UPF network element sends the second data and the third time stamp to the first UPF network element. Correspondingly, the first UPF network element receives the second data and the third time stamp from the second UPF network element.
需要说明的是,关于S2103的具体实现方式可参照上述S2003,此处不再赘述。It should be noted that, for the specific implementation manner of S2103, reference may be made to the above-mentioned S2003, which will not be repeated here.
S2104,第一UPF网元根据第二时间信息,缓存第二数据至第三时刻后,向第一终端设备发送第二数据和第二时间戳。相应地,第一终端设备接收来自第一UPF网元的第二数据和第二时间戳。S2104, the first UPF network element sends the second data and the second time stamp to the first terminal device after buffering the second data to a third time according to the second time information. Correspondingly, the first terminal device receives the second data and the second time stamp from the first UPF network element.
需要说明的是,关于S2104的具体实现方式可参照上述S2004,此处不再赘述。It should be noted that, for the specific implementation manner of S2104, reference may be made to the above-mentioned S2004, which will not be repeated here.
S2105,第一终端设备根据第二时间戳所指示的时刻至第一终端设备接收到第二数据的时刻,确定第一时间信息。S2105, the first terminal device determines the first time information according to the time indicated by the second time stamp to the time when the first terminal device receives the second data.
关于S2105的具体实现方式可参照上述S1803的实现方式,此处不再赘述。上述S2105可以为可选的。For the specific implementation of S2105, reference may be made to the above-mentioned implementation of S1803, which will not be repeated here. The foregoing S2105 may be optional.
S2106,第一终端设备向第一UPF网元发送第一时间信息。相应地,第一UPF网元接收来自第一终端设备的第一时间信息。S2106, the first terminal device sends the first time information to the first UPF network element. Correspondingly, the first UPF network element receives the first time information from the first terminal device.
关于S2106的具体实现方式可参照上述S1804的实现方式,此处不再赘述。For the specific implementation of S2106, reference may be made to the above-mentioned implementation of S1804, which will not be repeated here.
S2106-1,第一终端设备向第一UPF网元发送第一数据和第一时间戳。相应地, 第一UPF网元接收来自第一终端设备的第一数据和第一时间戳。S2106-1, the first terminal device sends the first data and the first timestamp to the first UPF network element. Correspondingly, the first UPF network element receives the first data and the first timestamp from the first terminal device.
关于S2106-1的具体实现方式可参照上述S1804-1的实现方式,此处不再赘述。For the specific implementation of S2106-1, reference may be made to the above-mentioned implementation of S1804-1, which will not be repeated here.
可选的,本申请实施例不限定上述S2106-1与上述S2106的先后顺序。S2106-1与上述S2106可以是在一个步骤中执行的。Optionally, this embodiment of the present application does not limit the sequence of the foregoing S2106-1 and the foregoing S2106. S2106-1 and the above-mentioned S2106 may be performed in one step.
S2107,第一UPF网元根据第一时间信息,缓存第一数据至第一时刻。S2107, the first UPF network element caches the first data to the first time according to the first time information.
关于S2107的具体实现方式可参照上述S1605中UPF网元根据第一时间信息,缓存第一数据至第一时刻的实现方式,区别在于将S1605中的UPF网元替换为第一UPF网元,此处不再赘述。上述S2107可以为可选的。For the specific implementation of S2107, please refer to the implementation of the UPF network element caching the first data to the first time according to the first time information in the above S1605. The difference is that the UPF network element in S1605 is replaced with the first UPF network element. It is not repeated here. The above S2107 may be optional.
S2108,第一UPF网元向第二UPF网元发送第一数据和第四时间戳。相应地,第二UPF网元接收来自第一UPF网元的第一数据和第四时间戳。S2108, the first UPF network element sends the first data and the fourth time stamp to the second UPF network element. Correspondingly, the second UPF network element receives the first data and the fourth timestamp from the first UPF network element.
示例性地,第四时间戳可用于指示第一UPF网元向第二UPF网元发送第一数据的时刻。Exemplarily, the fourth timestamp may be used to indicate the moment when the first UPF network element sends the first data to the second UPF network element.
关于S2108的具体实现方式可参照上述S2008的实现方式,此处不再赘述。For the specific implementation of S2108, reference may be made to the above-mentioned implementation of S2008, which will not be repeated here.
S2109,第二UPF网元根据第二时间信息,缓存第一数据至第四时刻后,向第二终端设备发送第一数据和第八时间戳。相应地,第二终端设备接收来自第二UPF网元的第一数据和第八时间戳。S2109, the second UPF network element sends the first data and the eighth timestamp to the second terminal device after buffering the first data to the fourth time according to the second time information. Correspondingly, the second terminal device receives the first data and the eighth timestamp from the second UPF network element.
关于S2109的具体实现方式可参照上述S2009的实现方式,此处不再赘述。For the specific implementation of S2109, reference may be made to the above-mentioned implementation of S2009, which will not be repeated here.
S2109-1,第二UPF网元向第二终端设备发送第四时间信息。相应地,第二终端设备接收来自第二UPF网元的第四时间信息。S2109-1, the second UPF network element sends fourth time information to the second terminal device. Correspondingly, the second terminal device receives the fourth time information from the second UPF network element.
在一些实施例中,第四时间信息可以是通过第八数据包发送给第二终端设备的。In some embodiments, the fourth time information may be sent to the second terminal device through an eighth data packet.
示例性地,第四时间信息可置于第八数据包的报头中。Exemplarily, the fourth time information may be placed in the header of the eighth data packet.
可选的,本申请实施例不限定上述S2109-1与上述S2109的先后顺序。Optionally, this embodiment of the present application does not limit the sequence of the foregoing S2109-1 and the foregoing S2109.
可选的,S2109-1与上述S2109可以是在一个步骤中执行的。Optionally, S2109-1 and the above-mentioned S2109 may be performed in one step.
S2110,第二终端设备根据第四时间信息,缓存第一数据至第八时刻后,发送第一数据。S2110, the second terminal device sends the first data after buffering the first data to the eighth time according to the fourth time information.
关于S2110的具体实现方式与上述S2010相同,此处不再赘述。上述S2110可以为可选的。The specific implementation manner of S2110 is the same as the above-mentioned S2010, and details are not repeated here. The foregoing S2110 may be optional.
在一种可能的设计方式中,图21所示的通信方法,还可以包括下述S2111-S2115。In a possible design manner, the communication method shown in FIG. 21 may further include the following S2111-S2115.
S2111,SMF网元向第一UPF网元发送第一时间戳指示信息和/或第二时间信息。相应地,第一UPF网元接收来自SMF网元的第一时间戳指示信息和/或第二时间信息。S2111: The SMF network element sends the first timestamp indication information and/or the second time information to the first UPF network element. Correspondingly, the first UPF network element receives the first timestamp indication information and/or the second time information from the SMF network element.
可选的,图21所示的通信方法,还可以包括:SMF网元向第二UPF网元发送第一时间戳指示信息和/或第二时间信息。相应地,第二UPF网元接收来自SMF网元的第一时间戳指示信息和/或第二时间信息。Optionally, the communication method shown in FIG. 21 may further include: the SMF network element sends the first timestamp indication information and/or the second time information to the second UPF network element. Correspondingly, the second UPF network element receives the first timestamp indication information and/or the second time information from the SMF network element.
关于S2111的具体实现方式可以参照上述S1505中,第三网元向第一网元发送第一时间戳指示信息。相应地,第一网元接收来自第三网元的第一时间戳指示信息,以及上述S1506中,第三网元向第一网元发送第二时间信息。相应地,第一网元接收来自第三网元的第二时间信息的实现方式,此处不再赘述。For the specific implementation of S2111, reference may be made to the foregoing S1505, where the third network element sends the first time stamp indication information to the first network element. Correspondingly, the first network element receives the first time stamp indication information from the third network element, and in the above S1506, the third network element sends the second time information to the first network element. Correspondingly, the implementation manner of the first network element receiving the second time information from the third network element will not be repeated here.
S2112,第一UPF网元向SMF网元发送应答信息。相应地,SMF网元接收来自第一UPF网元的应答信息。S2112, the first UPF network element sends response information to the SMF network element. Correspondingly, the SMF network element receives the response information from the first UPF network element.
可选的,图21所示的通信方法,还可以包括:第二UPF网元向SMF网元发送应答信息。相应地,SMF网元接收来自第二UPF网元的应答信息。Optionally, the communication method shown in FIG. 21 may further include: the second UPF network element sends response information to the SMF network element. Correspondingly, the SMF network element receives the response information from the second UPF network element.
示例性地,应答信息可以包括确认已接收到第一时间戳指示信息和/或第二时间信息。Exemplarily, the response information may include confirmation that the first time stamp indication information and/or the second time information have been received.
关于S2113的具体实现方式与上述S1508相同,此处不再赘述。The specific implementation of S2113 is the same as the above-mentioned S1508, and details are not repeated here.
S2114,PCF网元向SMF网元发送第一时间戳指示信息和/或第二时间信息。相应地,SMF网元接收来自PCF网元的第一时间戳指示信息和/或第二时间信息。S2114: The PCF network element sends the first timestamp indication information and/or the second time information to the SMF network element. Correspondingly, the SMF network element receives the first timestamp indication information and/or the second time information from the PCF network element.
关于S2114的具体实现方式可以参照上述S1510中,第四网元向第三网元发送第一时间戳指示信息。相应地,第三网元接收来自第四网元的第一时间戳指示信息,以及上述S1511中,第四网元向第三网元发送第二时间信息。相应地,第三网元接收来自第一网元的第二时间信息的实现方式,此处不再赘述。For the specific implementation of S2114, reference may be made to the foregoing S1510, where the fourth network element sends the first timestamp indication information to the third network element. Correspondingly, the third network element receives the first timestamp indication information from the fourth network element, and in the above S1511, the fourth network element sends the second time information to the third network element. Correspondingly, the implementation manner of the third network element receiving the second time information from the first network element will not be repeated here.
S2115,SMF网元向PCF网元发送确认信息。相应地,PCF网元接收来自SMF网元的确认信息。S2115, the SMF network element sends confirmation information to the PCF network element. Correspondingly, the PCF network element receives the confirmation information from the SMF network element.
示例性地,确认信息可用于指示确认已接收到第一时间戳指示信息、和/或第二时间信息。Exemplarily, the acknowledgment information may be used to indicate acknowledgment that the first timestamp indication information, and/or the second time information has been received.
基于图21所示的通信方法,第一UPF网元根据第二时间信息确定第三时刻,第三时刻为第一UPF网元接收到来自第二UPF网元的第二数据后向第一终端设备发送第二数据的时刻,缓存第二数据至第三时刻后向第一终端设备发送第二数据。第二UPF网元根据第二时间信息确定第四时刻,第四时刻为第二UPF网元接收到来自第一UPF网元的第一数据后向第二终端设备发送第一数据的时刻,缓存第一数据至第四时刻后向第二终端设备发送第一数据。如此,第一数据在第一UPF网元至第二UPF网元的传输时延和第二数据在第二UPF网元至第一UPF网元之间的传输时延军等于第二时间信息所指示的时长,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 21 , the first UPF network element determines a third time according to the second time information, and the third time is when the first UPF network element receives the second data from the second UPF network element and sends it to the first terminal. When the device sends the second data, it buffers the second data to the third time and sends the second data to the first terminal device. The second UPF network element determines a fourth time according to the second time information, where the fourth time is the time when the second UPF network element sends the first data to the second terminal device after receiving the first data from the first UPF network element, and buffers the After the first data to the fourth time, the first data is sent to the second terminal device. In this way, the transmission delay of the first data from the first UPF network element to the second UPF network element and the transmission delay of the second data between the second UPF network element and the first UPF network element are equal to the second time information. The indicated duration can ensure that the delay of transmitting uplink data is equal to the delay of transmitting downlink data.
图22为本申请实施例提供的又一种通信方法的流程示意图。图22所示的通信方法适用于图7所示的通信系统中。下面以第一网元为UPF网元,第一设备为第一终端设备,第二设备为第二终端设备,第一终端设备和第二终端设备连接的UPF网元为同一UPF网元,第三网元为SMF网元,第四网元为PCF网元为例进行概述。FIG. 22 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The communication method shown in FIG. 22 is applicable to the communication system shown in FIG. 7 . In the following, the first network element is the UPF network element, the first device is the first terminal device, the second device is the second terminal device, the UPF network element connected to the first terminal device and the second terminal device is the same UPF network element, and the first terminal device is the same UPF network element. The third network element is an SMF network element, and the fourth network element is a PCF network element.
如图22所示,该通信方法包括如下步骤:As shown in Figure 22, the communication method includes the following steps:
S2201,UPF网元向第一终端设备发送第二数据和第五时间戳。相应地,第一终端设备接收来自UPF网元的第二数据和第五时间戳。S2201, the UPF network element sends the second data and the fifth time stamp to the first terminal device. Correspondingly, the first terminal device receives the second data and the fifth time stamp from the UPF network element.
具体地,第二数据是UPF网元向第一终端设备发送的数据。Specifically, the second data is data sent by the UPF network element to the first terminal device.
可选的,第二数据可以为UPF网元接收的数据。Optionally, the second data may be data received by the UPF network element.
在一种可能的设计方式中,上述S2201,UPF网元向第一终端设备发送第二数据和第五时间戳,可以包括:UPF网元根据第三指示信息,向第一终端设备发送第二数据和第五时间戳。In a possible design manner, in the above S2201, the UPF network element sending the second data and the fifth time stamp to the first terminal device may include: the UPF network element sending the second data to the first terminal device according to the third indication information data and fifth timestamp.
可选的,第三指示信息用于指示保留接收到的至少一个数据对应的时间戳,至少一个数据包括第一数据和第二数据。如此,UPF网元接收到第二数据和第五时间戳,并不删除第五时间戳,而是将第二数据和第五时间戳一起发送给第一终端设备,以使第一终端设备获得第五时间戳。Optionally, the third indication information is used to indicate that a timestamp corresponding to at least one piece of data received is reserved, and the at least one piece of data includes the first data and the second data. In this way, the UPF network element receives the second data and the fifth time stamp, does not delete the fifth time stamp, but sends the second data and the fifth time stamp together to the first terminal device, so that the first terminal device obtains the Fifth timestamp.
可选的,第二数据和第五时间戳可以是第一终端设备通过第九数据包接收的,第五时间戳置于第九数据包的报头中。Optionally, the second data and the fifth timestamp may be received by the first terminal device through the ninth data packet, and the fifth timestamp is placed in the header of the ninth data packet.
在一些实施例中,本申请实施例提供的通信方法,还可以包括:S2201-1,第二终端设备向UPF网元发送第二数据和第五时间戳。相应地,UPF网元接收来自第二终端设备的第二数据和第五时间戳。也就是说,第二数据可以是UPF网元从第二终端设备接收的数据。In some embodiments, the communication method provided by the embodiment of the present application may further include: S2201-1, the second terminal device sends the second data and the fifth time stamp to the UPF network element. Correspondingly, the UPF network element receives the second data and the fifth time stamp from the second terminal device. That is, the second data may be data received by the UPF network element from the second terminal device.
示例性地,第五时间戳可用于指示第二终端设备向UPF网元发送第二数据的时刻。Exemplarily, the fifth timestamp may be used to indicate the moment when the second terminal device sends the second data to the UPF network element.
在一些实施例中,上述S2201-1,可以包括:第二终端设备向UPF网元发送第五数据包。相应地,UPF网元接收来自第二终端设备的第五数据包。In some embodiments, the above S2201-1 may include: the second terminal device sends a fifth data packet to the UPF network element. Correspondingly, the UPF network element receives the fifth data packet from the second terminal device.
可选的,第五数据包可以包括第二数据和第五时间戳。也就是说,第二数据和第五时间戳可以是通过数据包发送的。Optionally, the fifth data packet may include the second data and a fifth time stamp. That is, the second data and the fifth time stamp may be sent through data packets.
示例性地,第五时间戳可以置于第五数据包的报头中。Exemplarily, the fifth timestamp may be placed in the header of the fifth data packet.
可选的,上述S2201-1,第二终端设备向UPF网元发送第二数据和第五时间戳,可以包括:第二终端设备根据第一时间戳指示信息,向UPF网元发送第二数据和第五时间戳。Optionally, in the above S2201-1, the second terminal device sending the second data and the fifth time stamp to the UPF network element may include: the second terminal device sending the second data to the UPF network element according to the first time stamp indication information and the fifth timestamp.
可选的,第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送至少一个数据包的时刻。示例性地,第一时间戳指示信息可以用于指示第二终端设备为至少一个数据包增加对应的发送至少一个数据包的时刻。至少一个数据包可以包括第五数据包,第五数据包可以包括第二数据。Optionally, the first timestamp indication information is used to indicate that a corresponding moment of receiving or sending at least one data packet is added to at least one data packet. Exemplarily, the first timestamp indication information may be used to instruct the second terminal device to add a corresponding moment of sending at least one data packet to at least one data packet. At least one data packet may include a fifth data packet, and the fifth data packet may include the second data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。具体示例与上述S1503中,第一时间戳指示信息可以用于指示第一终端设备为至少一个数据包增加对应的发送至少一个数据包的时刻类似,此处不再赘述。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session. A specific example is similar to that in the above S1503, where the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
S2202,第一终端设备根据第三时间信息,缓存第二数据至第五时刻后,发送第二数据。S2202, the first terminal device sends the second data after buffering the second data to the fifth time according to the third time information.
示例性地,上述S2202,可以包括:第一终端设备根据第三时间信息缓存第二数据至第五时刻后,向第一终端设备的应用层传递第二数据。Exemplarily, the above S2202 may include: after the first terminal device buffers the second data to the fifth time according to the third time information, transmitting the second data to the application layer of the first terminal device.
可选的,第三时间信息可以为第一终端设备与第二终端设备之间传输数据的时间阈值。Optionally, the third time information may be a time threshold for data transmission between the first terminal device and the second terminal device.
在一些实施例中,第三时间信息所指示的时长可以等于第一终端设备接收到第二数据的时刻与第二终端设备向UPF网元发送第二数据所指示的时刻的差值。也就是说,第三时间信息所指示的时长可以等于第二数据在第二终端设备至第一终端设备之间的传输时延(如数据包延迟预算)。或者,第三时间信息可以是根据数据包延迟预算或业务时延需求进行设置的。In some embodiments, the duration indicated by the third time information may be equal to the difference between the time when the first terminal device receives the second data and the time when the second terminal device sends the second data to the UPF network element. That is, the duration indicated by the third time information may be equal to the transmission delay (eg, a data packet delay budget) of the second data between the second terminal device and the first terminal device. Alternatively, the third time information may be set according to a data packet delay budget or a service delay requirement.
在另一些实施例中,第三时间信息所指示的时长可以大于第一终端设备接收到第二数据的时刻与第二终端设备向UPF网元发送第二数据所指示的时刻的差值。In other embodiments, the duration indicated by the third time information may be greater than the difference between the moment when the first terminal device receives the second data and the moment when the second terminal device sends the second data to the UPF network element.
可选的,第五时间戳所指示的时刻至第五时刻的时长与第三时间信息所指示的时长相等。Optionally, the duration from the moment indicated by the fifth timestamp to the fifth moment is equal to the duration indicated by the third time information.
示例性地,可以根据第五时间戳所指示的时刻和第三时间信息所指示的时长获得 第五时刻,第五时刻为第一终端设备接收来自UPF网元的第二数据后发送第二数据的时刻。Exemplarily, the fifth time can be obtained according to the time indicated by the fifth timestamp and the duration indicated by the third time information, and the fifth time is when the first terminal device sends the second data after receiving the second data from the UPF network element. moment.
例如,第五时刻=第五时间戳所指示的时刻+第三时间信息所指示的时长。For example, the fifth moment=the moment indicated by the fifth timestamp+the duration indicated by the third time information.
又例如,第一终端设备可以缓存第二数据至第五缓存时长后,发送第二数据,如第五缓存时长=第三时间信息所指示的时长-(第一终端设备接收到第二数据的时刻-第五时间戳所指示的时刻)。For another example, the first terminal device can send the second data after buffering the second data to the fifth buffering duration, for example, the fifth buffering duration=the duration indicated by the third time information-(the first terminal device receives the second data moment - the moment indicated by the fifth timestamp).
当第三时间信息所指示的时长等于第一终端设备接收到第二数据的时刻与第五时间戳所指示的时刻的差值时,第五缓存时长=0,第一终端设备可以不缓存第二数据,直接发送第二数据。When the duration indicated by the third time information is equal to the difference between the moment when the first terminal device receives the second data and the moment indicated by the fifth timestamp, the fifth cache duration=0, and the first terminal device may not cache the first terminal device. Second data, send the second data directly.
当第一时间信息所指示的时长大于第一终端设备接收到第二数据的时刻与第五时间戳所指示的时刻的差值时,第五缓存时长>0,第一终端设备可以缓存第二数据一段时间后,再发送第二数据。When the duration indicated by the first time information is greater than the difference between the moment when the first terminal device receives the second data and the moment indicated by the fifth timestamp, the fifth buffer duration>0, the first terminal device can buffer the second data After a period of data, the second data is sent.
也就是说,第一终端设备可以缓存第二数据一段时间后,再发送第二数据,从而使第二数据在第二终端设备至第一终端设备的传输时延与第三时间信息所指示的时长相等。That is to say, the first terminal device can buffer the second data for a period of time before sending the second data, so that the transmission delay of the second data from the second terminal device to the first terminal device and the third time information indicate The duration is equal.
可选的,第三时间信息所指示的时长等于第一终端设备向UPF网元发送第一数据至第二终端设备发送第一数据的时长,第一数据是所述第一终端设备向UPF网元发送的数据。也就是说,第三时间信息所指示的时长等于第一数据在第一终端设备至第二终端设备的传输时延。如此,可以保证第二数据的传输时延与第一数据的传输时延相等。Optionally, the duration indicated by the third time information is equal to the duration for the first terminal device to send the first data to the UPF network element to the second terminal device to send the first data, where the first data is the first data sent by the first terminal device to the UPF network. Meta sent data. That is to say, the duration indicated by the third time information is equal to the transmission delay of the first data from the first terminal device to the second terminal device. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
示例性地,第一数据可以为第一终端设备发送的数据。Exemplarily, the first data may be data sent by the first terminal device.
S2203,UPF网元向第二终端设备发送第一数据和第六时间戳。相应地,第二终端设备接收来自UPF网元的第一数据和第六时间戳。S2203, the UPF network element sends the first data and the sixth time stamp to the second terminal device. Correspondingly, the second terminal device receives the first data and the sixth time stamp from the UPF network element.
在一种可能的设计方式中,上述S2203,UPF网元向第二终端设备发送第一数据和第六时间戳,可以包括:UPF网元根据第三指示信息,向第二终端设备发送第一数据和第六时间戳。In a possible design manner, in the above S2203, the UPF network element sending the first data and the sixth time stamp to the second terminal device may include: the UPF network element sending the first data and the sixth time stamp to the second terminal device according to the third indication information data and sixth timestamp.
可选的,第三指示信息用于指示保留接收到的至少一个数据对应的时间戳,至少一个数据包括第一数据和第二数据。如此,UPF网元接收到第一数据和第六时间戳,并不删除第六时间戳,而是将第一数据和第六时间戳一起发送给第二终端设备,以使第二终端设备获得第六时间戳。Optionally, the third indication information is used to indicate that a timestamp corresponding to at least one piece of data received is reserved, and the at least one piece of data includes the first data and the second data. In this way, the UPF network element receives the first data and the sixth time stamp, does not delete the sixth time stamp, but sends the first data and the sixth time stamp together to the second terminal device, so that the second terminal device can obtain the Sixth timestamp.
可选的,第一数据和第六时间戳可以是UPF网元通过第十数据包向第二终端设备。第六时间戳可置于第十数据包的报头中。Optionally, the first data and the sixth time stamp may be sent by the UPF network element to the second terminal device through the tenth data packet. The sixth timestamp may be placed in the header of the tenth data packet.
在一些实施例中,本申请实施例提供的通信方法,还可以包括:S2203-1,第一终端设备向UPF网元发送第一数据和第六时间戳。相应地,UPF网元接收来自第一终端设备的第一数据和第六时间戳。也就是说,第一数据可以是UPF网元从第一终端设备接收的数据。In some embodiments, the communication method provided by the embodiment of the present application may further include: S2203-1, the first terminal device sends the first data and the sixth time stamp to the UPF network element. Correspondingly, the UPF network element receives the first data and the sixth time stamp from the first terminal device. That is, the first data may be data received by the UPF network element from the first terminal device.
示例性地,第六时间戳可用于指示第一终端设备向UPF网元发送第一数据的时刻。Exemplarily, the sixth timestamp may be used to indicate the moment when the first terminal device sends the first data to the UPF network element.
在一些实施例中,上述S2203-1,第一终端设备向UPF网元发送第一数据和第六时间戳,可以包括:第一终端设备向UPF网元发送第六数据包。相应地,UPF网元接 收来自第一终端设备的第六数据包。In some embodiments, in the above S2203-1, the first terminal device sending the first data and the sixth time stamp to the UPF network element may include: the first terminal device sending the sixth data packet to the UPF network element. Correspondingly, the UPF network element receives the sixth data packet from the first terminal device.
可选的,第六数据包可以包括第一数据和第六时间戳。Optionally, the sixth data packet may include the first data and the sixth time stamp.
示例性地,第六时间戳可以置于第六数据包的报头中。Exemplarily, the sixth timestamp may be placed in the header of the sixth data packet.
可选的,上述S2203-1,第一终端设备向UPF网元发送第一数据和第六时间戳,可以包括:第一终端设备根据第一时间戳指示信息,向UPF网元发送第一数据和第六时间戳。Optionally, in the above S2203-1, the first terminal device sending the first data and the sixth time stamp to the UPF network element may include: the first terminal device sending the first data to the UPF network element according to the first time stamp indication information and the sixth timestamp.
可选的,第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送所述至少一个数据包的时刻。示例性地,第一时间戳指示信息可以用于指示第一终端设备为至少一个数据包增加对应的发送至少一个数据包的时刻。至少一个数据包包括第六数据包,第六数据包包括第一数据。Optionally, the first timestamp indication information is used to indicate that the corresponding time of receiving or sending the at least one data packet is added to the at least one data packet. Exemplarily, the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet. At least one data packet includes a sixth data packet, and the sixth data packet includes the first data.
可选的,至少一个数据包可以为第一业务数据流对应的至少一个数据包,或者,至少一个数据包可以为第一会话对应的至少一个数据包。具体示例与上述S1503中,第一时间戳指示信息可以用于指示第一终端设备为至少一个数据包增加对应的发送至少一个数据包的时刻类似,此处不再赘述。Optionally, the at least one data packet may be at least one data packet corresponding to the first service data flow, or the at least one data packet may be at least one data packet corresponding to the first session. A specific example is similar to that in the above S1503, where the first timestamp indication information may be used to instruct the first terminal device to add a corresponding moment of sending at least one data packet to at least one data packet, and details are not repeated here.
S2204,第二终端设备根据第三时间信息,缓存第一数据至第六时刻后,发送第一数据。S2204, the second terminal device sends the first data after buffering the first data to the sixth time according to the third time information.
示例性地,上述S2204,可以包括:第二终端设备根据第三时间信息,缓存第一数据至第六时刻后,向第二终端设备的应用层传递第一数据。Exemplarily, the above S2204 may include: after the second terminal device caches the first data to the sixth time according to the third time information, the first data is transmitted to the application layer of the second terminal device.
可选的,第六时间戳所指示的时刻至第六时刻的时长与第三时间信息所指示的时长相等。Optionally, the duration from the moment indicated by the sixth time stamp to the sixth moment is equal to the duration indicated by the third time information.
示例性地,可以根据第六时间戳所指示的时刻和第三时间信息所指示的时长获得第六时刻,第六时刻为第二终端设备接收来自UPF网元的第一数据后发送第一数据的时刻。Exemplarily, the sixth time can be obtained according to the time indicated by the sixth timestamp and the duration indicated by the third time information, and the sixth time is when the second terminal device sends the first data after receiving the first data from the UPF network element. moment.
例如,第六时刻=第六时间戳所指示的时刻+第三时间信息所指示的时长。For example, the sixth moment = the moment indicated by the sixth time stamp + the duration indicated by the third time information.
又例如,第二终端设备可以缓存第一数据至第六缓存时长后,发送第一数据,如第六缓存时长=第三时间信息所指示的时长-(第二终端设备接收到第一数据的时刻-第六时间戳所指示的时刻)。For another example, the second terminal device may send the first data after buffering the first data to the sixth buffering duration, for example, the sixth buffering duration=the duration indicated by the third time information-(the second terminal device receives the first data time - the time indicated by the sixth timestamp).
也就是说,第二终端设备可以缓存第一数据一段时间后,再发送第一数据,从而使第一数据在第一终端设备至第二终端设备的传输时延与第三时间信息所指示的时长相等。That is to say, the second terminal device can buffer the first data for a period of time before sending the first data, so that the transmission delay of the first data from the first terminal device to the second terminal device and the third time information indicate The duration is equal.
可选的,第三时间信息所指示的时长等于第二终端设备向UPF网元发送第二数据至第一终端设备发送第二数据的时长,第二数据是第二终端设备向UPF网元发送的数据。也就是说,第三时间信息所指示的时长等于第二数据在第二终端设备至第一终端设备的传输时延。如此,可以保证第二数据的传输时延与第一数据的传输时延相等。Optionally, the duration indicated by the third time information is equal to the duration of the second terminal device sending the second data to the UPF network element to the first terminal device sending the second data, and the second data is sent by the second terminal device to the UPF network element. The data. That is to say, the duration indicated by the third time information is equal to the transmission delay of the second data from the second terminal device to the first terminal device. In this way, it can be ensured that the transmission delay of the second data is equal to the transmission delay of the first data.
在一些实施例中,本申请实施例提供的通信方法,还可以包括:S2205-S2214。In some embodiments, the communication method provided by the embodiments of this application may further include: S2205-S2214.
S2205,SMF网元向UPF网元发送第三指示信息。相应地,UPF网元接收来自SMF网元的第三指示信息。S2205, the SMF network element sends third indication information to the UPF network element. Correspondingly, the UPF network element receives the third indication information from the SMF network element.
可选的,上述UPF网元接收来自SMF网元的第三指示信息,可以包括:UPF网元接收来自SMF网元的N4会话请求消息。Optionally, the above-mentioned UPF network element receiving the third indication information from the SMF network element may include: the UPF network element receiving the N4 session request message from the SMF network element.
示例性地,所述N4会话请求消息可以包括第三指示信息。Exemplarily, the N4 session request message may include third indication information.
可选的,N4会话请求消息可以为N4会话建立请求或者N4会话修改请求等。Optionally, the N4 session request message may be an N4 session establishment request or an N4 session modification request, or the like.
可选的,本申请实施例提供的通信方法,还可以包括:PCF网元向SMF网元发送第三指示信息。相应地,SMF网元接收来自UPF网元的第三指示信息。Optionally, the communication method provided by the embodiment of the present application may further include: the PCF network element sends third indication information to the SMF network element. Correspondingly, the SMF network element receives the third indication information from the UPF network element.
可选的,PCF网元可以根据来自AF网元的业务需求生成第三指示信息。Optionally, the PCF network element may generate the third indication information according to the service requirement from the AF network element.
S2206,UPF网元向SMF网元发送应答信息。相应地,SMF网元接收来自UPF网元的应答信息。S2206, the UPF network element sends response information to the SMF network element. Correspondingly, the SMF network element receives the response information from the UPF network element.
示例性地,应答信息可以包括确认已接收到第三指示信息。应答信息可以包括N4会话建立应答信息或N4会话修改应答信息。Exemplarily, the response information may include confirmation that the third indication information has been received. The response information may include N4 session establishment response information or N4 session modification response information.
关于S2207的实现方式与上述S1508的实现方式类似,区别在于将第一设备替换为第一终端设备,此处不再赘述。The implementation of S2207 is similar to the implementation of S1508 above, and the difference is that the first device is replaced by the first terminal device, which will not be repeated here.
S2208,SMF网元向第二终端设备发送第三时间信息。相应地,第二终端设备接收来自SMF网元的第三时间信息。S2208, the SMF network element sends third time information to the second terminal device. Correspondingly, the second terminal device receives the third time information from the SMF network element.
关于S2209的实现方式与上述S1508的实现方式类似,区别在于将第一设备替换为第二终端设备,此处不再赘述。The implementation of S2209 is similar to the implementation of S1508 above, and the difference is that the first device is replaced with a second terminal device, which will not be repeated here.
S2210,SMF网元向第一终端设备发送第三时间信息。相应地,第一终端设备接收来自SMF网元的第三时间信息。S2210, the SMF network element sends third time information to the first terminal device. Correspondingly, the first terminal device receives the third time information from the SMF network element.
需要说明的是,本申请实施例不对上述S2207-S2210的先后顺序进行限定。It should be noted that this embodiment of the present application does not limit the sequence of the foregoing S2207-S2210.
关于S2211的实现方式与上述S1510相同,此处不再赘述。The implementation of S2211 is the same as the above-mentioned S1510, and details are not repeated here.
S2212,PCF网元向SMF网元发送第三时间信息。相应地,SMF接收来自PCF网元的第三时间信息。S2212, the PCF network element sends third time information to the SMF network element. Accordingly, the SMF receives the third time information from the PCF network element.
可选的,PCF网元可以根据来自AF网元的业务需求生成第三时间信息。Optionally, the PCF network element may generate the third time information according to the service requirement from the AF network element.
示例性地,PCF网元可以通过PCC规则发送第三时间信息。Exemplarily, the PCF network element may send the third time information through the PCC rule.
又示例性地,PCF网元可以通过会话(如PDU会话)相关的策略信息发送第三时间信息。For another example, the PCF network element may send the third time information through policy information related to a session (eg, a PDU session).
S2213,PCF网元向SMF网元发送第三指示信息。相应地,SMF接收来自PCF网元的第三指示信息。S2213, the PCF network element sends third indication information to the SMF network element. Correspondingly, the SMF receives the third indication information from the PCF network element.
需要说明的是,本申请实施例不对S2211-S2213的先后顺序进行限定。可选的,S2211-S2213可以是在一个步骤中执行的。It should be noted that this embodiment of the present application does not limit the sequence of S2211-S2213. Optionally, S2211-S2213 may be performed in one step.
S2214,SMF网元向PCF网元发送确认信息。相应地,PCF网元接收来自SMF网元的确认信息。S2214, the SMF network element sends confirmation information to the PCF network element. Correspondingly, the PCF network element receives the confirmation information from the SMF network element.
示例性地,确认信息可用于指示确认已接收到第一时间戳指示信息,第三时间信息和/或第三指示信息。Exemplarily, the confirmation information may be used to indicate that the first time stamp indication information, the third time information and/or the third indication information have been confirmed to have been received.
需要说明的是,当上述S2211-S2213单独执行时,可以分别对应执行S2214,如对应S2211,执行一次S2214;对应S2212,执行一次S2214;对应S2213,执行一次S2214。It should be noted that when the above S2211-S2213 are executed independently, S2214 can be executed correspondingly, for example, corresponding to S2211, execute S2214 once; corresponding to S2212, execute S2214 once; corresponding to S2213, execute S2214 once.
基于图22所示的通信方法,第一终端设备根据第三时间信息确定发送第二数据的第五时刻,使第二终端设备向UPF网元发送第二数据的时刻至第五时刻的时长等于第三时间信息所指示的时长。第二终端设备根据第三时间信息确定发送第一数据的第六 时刻,使第一终端设备向UPF网元发送第一数据的时刻至第六时刻的时长等于第三时间信息所指示的时长。如此,第一数据在第一终端设备至第二终端设备之间的传输时延与第二数据在第二终端设备至第一终端设备之间的传输时延相等,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 22 , the first terminal device determines the fifth moment of sending the second data according to the third time information, so that the duration from the moment when the second terminal device sends the second data to the UPF network element to the fifth moment is equal to The duration indicated by the third time information. The second terminal device determines the sixth moment of sending the first data according to the third time information, so that the duration from the moment when the first terminal device sends the first data to the UPF network element to the sixth moment is equal to the duration indicated by the third time information. In this way, the transmission delay of the first data between the first terminal device and the second terminal device is equal to the transmission delay of the second data between the second terminal device and the first terminal device, thereby ensuring the transmission of uplink data. The delay is equal to the delay of transmitting downlink data.
图23为本申请实施例提供的又一种通信方法的流程示意图。图23所示的通信方法适用于图7所示的通信系统中。下面以第一网元为UPF网元,第一设备为第一终端设备,第二设备为第二终端设备,第三网元为SMF网元,第四网元为PCF网元,第一终端设备和第二终端设备连接的UPF网元为同一UPF网元为例进行概述。FIG. 23 is a schematic flowchart of still another communication method provided by an embodiment of the present application. The communication method shown in FIG. 23 is applicable to the communication system shown in FIG. 7 . In the following, the first network element is the UPF network element, the first device is the first terminal device, the second device is the second terminal device, the third network element is the SMF network element, the fourth network element is the PCF network element, and the first terminal The UPF network element connected to the device and the second terminal device is the same UPF network element as an example for overview.
如图23所示,该通信方法包括如下步骤:As shown in Figure 23, the communication method includes the following steps:
S2301,UPF网元向第一终端设备发送第二数据和第五时间戳。相应地,第一终端设备接收来自UPF网元的第二数据和第五时间戳,并发送第二数据。S2301, the UPF network element sends the second data and the fifth time stamp to the first terminal device. Correspondingly, the first terminal device receives the second data and the fifth time stamp from the UPF network element, and sends the second data.
可选的,上述S2301,UPF网元向第一终端设备发送第二数据和第五时间戳的具体实现方式可参照上述S2201中对应的实现方式,此处不再赘述。Optionally, in the above S2301, the specific implementation manner of the UPF network element sending the second data and the fifth time stamp to the first terminal device may refer to the corresponding implementation manner in the above S2201, which will not be repeated here.
示例性地,上述S2301中,第一终端设备接收来自UPF网元的第二数据和第五时间戳,并发送第二数据,可以包括:第一终端设备接收来自UPF网元的第二数据和第五时间戳,并向第一终端设备的应用层传递第二数据。Exemplarily, in the above S2301, the first terminal device receives the second data and the fifth timestamp from the UPF network element, and sends the second data, which may include: the first terminal device receives the second data and the fifth time stamp from the UPF network element. the fifth timestamp, and transmit the second data to the application layer of the first terminal device.
在一些实施例中,本申请实施例提供的通信方法,还可以包括:S2301-1。S2301-1与上述S2201-1相同,此处不再赘述。In some embodiments, the communication method provided by the embodiments of this application may further include: S2301-1. S2301-1 is the same as the above-mentioned S2201-1, and will not be repeated here.
S2302,第一终端设备根据第五时间戳所指示的时刻至第一终端设备接收到第二数据的时刻,确定第三时间信息。S2302, the first terminal device determines third time information according to the time indicated by the fifth timestamp to the time when the first terminal device receives the second data.
可选的,第三时间信息所指示的时长可以等于第一终端设备接收到第二数据的时刻与第二终端设备向UPF网元发送第二数据所指示的时刻的差值。Optionally, the duration indicated by the third time information may be equal to the difference between the time when the first terminal device receives the second data and the time when the second terminal device sends the second data to the UPF network element.
也就是说,第三时间信息可以是第一终端设备根据第二数据在第二终端设备至第一终端设备之间的实际传输时延确定的,第一终端设备接收到第二数据后不缓存第二数据,可以直接向应用层传递第二数据。That is to say, the third time information may be determined by the first terminal device according to the actual transmission delay of the second data between the second terminal device and the first terminal device, and the first terminal device does not buffer the second data after receiving the second data. For the second data, the second data may be directly transmitted to the application layer.
S2303,第一终端设备向UPF网元发送第三时间信息。相应地,UPF网元接收来自第一终端设备的第三时间信息。S2303, the first terminal device sends third time information to the UPF network element. Correspondingly, the UPF network element receives the third time information from the first terminal device.
可选的,第三时间信息可以用于指示根据第三时间信息缓存接收到的数据。示例性地,第三时间信息可用于指示根据第三时间信息缓存第一数据。Optionally, the third time information may be used to indicate that the received data is buffered according to the third time information. Exemplarily, the third time information may be used to indicate that the first data is cached according to the third time information.
在一些实施例中,第三时间信息可以是通过第六数据包发送给UPF网元的。In some embodiments, the third time information may be sent to the UPF network element through the sixth data packet.
示例性地,第三时间信息可置于第六数据包的报头中。Exemplarily, the third time information may be placed in the header of the sixth data packet.
可选的,图23所示的通信方法还可以包括:S2303-1。S2303-1与上述S2203相同,此处不再赘述。Optionally, the communication method shown in FIG. 23 may further include: S2303-1. S2303-1 is the same as the above-mentioned S2203, and will not be repeated here.
可选的,本申请实施例不限定上述S2303-1与上述S2303的先后顺序。Optionally, the embodiment of the present application does not limit the sequence of the foregoing S2303-1 and the foregoing S2303.
可选的,S2303-1与上述S2303可以是在一个步骤中执行的,第一数据、第六时间戳和第三时间信息可以是第一终端设备通过第六数据包向UPF网元发送的。Optionally, S2303-1 and the foregoing S2303 may be performed in one step, and the first data, the sixth timestamp and the third time information may be sent by the first terminal device to the UPF network element through the sixth data packet.
S2304,UPF网元向第二终端设备发送第三时间信息。相应地,第二终端设备接收来自UPF网元的第三时间信息。S2304, the UPF network element sends third time information to the second terminal device. Correspondingly, the second terminal device receives the third time information from the UPF network element.
在一些实施例中,第三时间信息可以是通过第十数据包发送给第二终端设备的。In some embodiments, the third time information may be sent to the second terminal device through the tenth data packet.
示例性地,第三时间信息可置于第十数据包的报头中。Exemplarily, the third time information may be placed in the header of the tenth data packet.
可选的,图23所示的通信方法还可以包括:S2304-1。S2304-1的实现方式与上述S2203相同,此处不再赘述。Optionally, the communication method shown in FIG. 23 may further include: S2304-1. The implementation manner of S2304-1 is the same as the above-mentioned S2203, which is not repeated here.
可选的,本申请实施例不限定上述S2304-1与上述S2304的先后顺序。Optionally, this embodiment of the present application does not limit the sequence of the foregoing S2304-1 and the foregoing S2304.
可选的,S2304-1与上述S2304可以是在一个步骤中执行的,第一数据、第六时间戳和第三时间信息可以是UPF网元通过第六数据包向第二终端设备发送的。Optionally, S2304-1 and the foregoing S2304 may be performed in one step, and the first data, the sixth timestamp and the third time information may be sent by the UPF network element to the second terminal device through the sixth data packet.
S2305,第二终端设备根据第三时间信息,缓存第一数据至第六时刻后,发送第一数据。S2305, the second terminal device sends the first data after buffering the first data to the sixth time according to the third time information.
关于S2305的具体实现方式可参照上述S2204,此处不再赘述。For the specific implementation manner of S2305, reference may be made to the above-mentioned S2204, which will not be repeated here.
在一些实施例中,本申请实施例提供的通信方法,还可以包括:S2306-S2312。其中,S2306-S2308的实现方式与上述S2205-S2207相同,S2309的实现方式与上述S2209相同,S2310的实现方式与上述S2211相同,S2311的实现方式与上述S2213相同,此处不再赘述。In some embodiments, the communication method provided by the embodiments of the present application may further include: S2306-S2312. The implementation of S2306-S2308 is the same as the above S2205-S2207, the implementation of S2309 is the same as the above S2209, the implementation of S2310 is the same as the above S2211, and the implementation of S2311 is the same as the above S2213, and will not be repeated here.
S2312,SMF网元向PCF网元发送确认信息。相应地,PCF网元接收来自SMF网元的确认信息。S2312, the SMF network element sends confirmation information to the PCF network element. Correspondingly, the PCF network element receives the confirmation information from the SMF network element.
示例性地,确认信息可用于指示确认已接收到第一时间戳指示信息和/或第三指示信息。Exemplarily, the acknowledgment information may be used to indicate that the first timestamp indication information and/or the third indication information have been confirmed to have been received.
需要说明的是,本申请实施例不对上述S2310和S2311的先后顺序进行限定。可选的,S2310和S2311可以是在一个步骤中执行的。当上述S2310和S2311单独执行时,可以分别对应执行S2312,如对应S2310,执行一次S2312;对应S2311,执行一次S2312。It should be noted that, this embodiment of the present application does not limit the sequence of the foregoing S2310 and S2311. Optionally, S2310 and S2311 may be performed in one step. When the above S2310 and S2311 are executed independently, S2312 may be executed correspondingly, for example, corresponding to S2310, S2312 is executed once; corresponding to S2311, S2312 is executed once.
需要说明的是,图23所示的通信方法是以第二数据在第二终端设备至第一终端设备之间的传输时延大于或等于第一数据在第一终端设备至第二终端设备之间的传输时延为例进行阐述的。若第一数据在第一终端设备至第二终端设备之间的传输时延大于或等于第二数据在第二终端设备至第一终端设备之间的传输时延,可以由第二终端设备根据第一终端设备发送第一数据的时刻至第二终端设备接收到第一数据的时刻,确定第三时间信息,并向第一终端设备发送第三时间信息。由第一终端设备根据第三时间信息,缓存第二数据至某一时刻后,发送第二数据,从而可以保证传输上行数据的时延与传输下行数据的时延相等。具体实现方式与图23所示的通信方法的实现方式类似,此处不再赘述。It should be noted that, in the communication method shown in FIG. 23, the transmission delay of the second data between the second terminal device and the first terminal device is greater than or equal to the transmission delay of the first data between the first terminal device and the second terminal device. The transmission delay between them is illustrated as an example. If the transmission delay of the first data between the first terminal equipment and the second terminal equipment is greater than or equal to the transmission delay of the second data between the second terminal equipment and the first terminal equipment From the moment when the first terminal device sends the first data to the moment when the second terminal device receives the first data, the third time information is determined, and the third time information is sent to the first terminal device. The first terminal device sends the second data after buffering the second data until a certain time according to the third time information, so that the delay in transmitting the uplink data can be guaranteed to be equal to the delay in transmitting the downlink data. The specific implementation manner is similar to the implementation manner of the communication method shown in FIG. 23 , and details are not repeated here.
基于图23所示的通信方法,第一终端设备根据第二终端设备发送第二数据的时刻和第一终端设备接收到第二数据的时刻,确定第三时间信息,并通过UPF网元发送给第二终端设备,以使第二终端设备接收到第一数据后,根据第三时间信息缓存第一数据一段时间后,再发送第一数据。如此,第一数据在第一终端设备至第二终端设备之间的传输时延等于第二数据在第二终端设备至第一终端设备之间的实际传输时延,从而可以保证传输上行数据的时延与传输下行数据的时延相等。Based on the communication method shown in FIG. 23 , the first terminal device determines the third time information according to the time when the second terminal device sends the second data and the time when the first terminal device receives the second data, and sends it to the user through the UPF network element. The second terminal device, so that after receiving the first data, the second terminal device buffers the first data for a period of time according to the third time information, and then sends the first data. In this way, the transmission delay of the first data between the first terminal device and the second terminal device is equal to the actual transmission delay of the second data between the second terminal device and the first terminal device, thereby ensuring the transmission of uplink data. The delay is equal to the delay of transmitting downlink data.
以上结合图15-图23详细说明了本申请实施例提供的通信方法。以下结合图24-图25详细说明本申请实施例提供的通信装置。The communication method provided by the embodiment of the present application has been described in detail above with reference to FIG. 15 to FIG. 23 . The communication apparatus provided by the embodiments of the present application will be described in detail below with reference to FIGS. 24-25 .
图24为可用于执行本申请实施例提供的通信方法的一种通信装置的结构示意图。 通信装置2400可以是第一终端设备、第二终端设备、(R)AN设备、第一UPF网元、第二UPF网元、第三网元、或第四网元,也可以是应用于第一终端设备、第二终端设备、(R)AN设备、第一UPF网元、第二UPF网元、第三网元、或第四网元中的芯片或者其他具有相应功能的部件。如图24所示,通信装置2400可以包括处理器2401和收发器2403。还可以包括存储器2402。其中,处理器2401与存储器2402和收发器2403耦合,如可以通过通信总线连接,处理器2401也可以单独使用。FIG. 24 is a schematic structural diagram of a communication apparatus that can be used to execute the communication method provided by the embodiment of the present application. The communication apparatus 2400 may be a first terminal device, a second terminal device, a (R)AN device, a first UPF network element, a second UPF network element, a third network element, or a fourth network element, or may be a A chip in a terminal device, a second terminal device, a (R)AN device, the first UPF network element, the second UPF network element, the third network element, or the fourth network element or other components with corresponding functions. As shown in FIG. 24 , the communication apparatus 2400 may include a processor 2401 and a transceiver 2403 . Memory 2402 may also be included. Wherein, the processor 2401 is coupled with the memory 2402 and the transceiver 2403. For example, the processor 2401 can be connected through a communication bus, and the processor 2401 can also be used alone.
下面结合图24对通信装置2400的各个构成部件进行具体的介绍:Each component of the communication device 2400 will be described in detail below with reference to FIG. 24 :
处理器2401是通信装置2400的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器2401是一个或多个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。The processor 2401 is the control center of the communication device 2400, and may be a processor or a general term for multiple processing elements. For example, the processor 2401 is one or more central processing units (CPUs), may also be a specific integrated circuit (application specific integrated circuit, ASIC), or is configured to implement one or more embodiments of the present application An integrated circuit, such as: one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate array (field programmable gate array, FPGA).
其中,处理器2401可以通过运行或执行存储在存储器2402内的软件程序,以及调用存储在存储器2402内的数据,执行通信装置2400的各种功能。The processor 2401 can execute various functions of the communication device 2400 by running or executing software programs stored in the memory 2402 and calling data stored in the memory 2402 .
在具体的实现中,作为一种实施例,处理器2401可以包括一个或多个CPU,例如图24中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 2401 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 24 .
在具体实现中,作为一种实施例,通信装置2400也可以包括多个处理器,例如图24中所示的处理器2401和处理器2404。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication apparatus 2400 may also include multiple processors, for example, the processor 2401 and the processor 2404 shown in FIG. 24 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more communication devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
存储器2402可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储通信设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储通信设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储通信设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器2402可以和处理器2401集成在一起,也可以独立存在,并通过通信装置2400的输入/输出端口(图24中未示出)与处理器2401耦合,本申请实施例对此不作具体限定。The memory 2402 may be read-only memory (ROM) or other type of static storage communication device that can store static information and instructions, random access memory (RAM) or other type of static storage communication device that can store information and instructions. Type of dynamic storage communication device, it 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 disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage communication devices, or capable of carrying or storing desired program code in the form of instructions or data structures and Any other medium that can be accessed by a computer, but is not limited to this. The memory 2402 may be integrated with the processor 2401, or may exist independently, and be coupled to the processor 2401 through an input/output port (not shown in FIG. 24) of the communication device 2400, which is not specifically limited in this embodiment of the present application.
其中,所述存储器2402用于存储执行本申请方案的软件程序,并由处理器2401来控制执行。上述具体实现方式可以参考下述方法实施例,此处不再赘述。Wherein, the memory 2402 is used for storing the software program for executing the solution of the present application, and the execution is controlled by the processor 2401 . For the above specific implementation manner, reference may be made to the following method embodiments, which will not be repeated here.
收发器2403,用于与其他通信装置之间的通信。例如,通信装置2400为第一终端设备或第二终端设备时,收发器2403可以用于与(R)AN设备、第一UPF网元、第三网元通信。又例如,通信装置2400为第一UPF网元时,收发器2403可以用于与第一终端设备、第二终端设备、第二UPF网元、(R)AN设备、第三网元、第四网元通信。又例如,通信装置2400为第二UPF网元时,收发器2403可以用于与第一终端设备、第二终端设备、第一UPF网元、(R)AN设备、第三网元、第四网元通信。又例如,通 信装置2400为(R)AN设备时,收发器2403可以用于与第一终端设备、第二终端设备、第二UPF网元、第一UPF网元、第三网元、第四网元通信。此外,收发器2403可以包括接收器和发送器(图24中未单独示出)。其中,接收器用于实现接收功能,发送器用于实现发送功能。收发器2403可以和处理器2401集成在一起,也可以独立存在,并通过通信装置2400的输入/输出端口(图24中未示出)与处理器2401耦合,本申请实施例对此不作具体限定。The transceiver 2403 is used for communication with other communication devices. For example, when the communication apparatus 2400 is the first terminal device or the second terminal device, the transceiver 2403 may be used to communicate with the (R)AN device, the first UPF network element, and the third network element. For another example, when the communication apparatus 2400 is the first UPF network element, the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the second UPF network element, the (R)AN device, the third network element, the fourth Network element communication. For another example, when the communication apparatus 2400 is the second UPF network element, the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the first UPF network element, the (R)AN device, the third network element, the fourth Network element communication. For another example, when the communication apparatus 2400 is an (R)AN device, the transceiver 2403 can be used to communicate with the first terminal device, the second terminal device, the second UPF network element, the first UPF network element, the third network element, the fourth Network element communication. Additionally, the transceiver 2403 may include a receiver and a transmitter (not shown separately in FIG. 24). Among them, the receiver is used to realize the receiving function, and the transmitter is used to realize the sending function. The transceiver 2403 may be integrated with the processor 2401, or may exist independently, and be coupled to the processor 2401 through an input/output port (not shown in FIG. 24) of the communication device 2400, which is not specifically limited in this embodiment of the present application .
需要说明的是,图24中示出的通信装置2400的结构并不构成对该通信装置的限定,实际的通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure of the communication device 2400 shown in FIG. 24 does not constitute a limitation on the communication device, and an actual communication device may include more or less components than those shown in the figure, or combine some components, or Different component arrangements.
其中,上述步骤S1502、S1603、S1703、S1803、S1903、S2005、S2105、S2202和S2302中第一终端设备的动作可以由图24所示的通信装置2400中的处理器2401调用存储器2402中存储的应用程序代码以指令第一终端设备执行。上述步骤S2010、S2110、S2204和S2304中第二终端设备的动作可以由图24所示的通信装置2400中的处理器2401调用存储器2402中存储的应用程序代码以指令第二终端设备执行,本实施例对此不作任何限制。上述步骤S1504、S1605和S1805中UPF网元的动作可以由图24所示的通信装置2400中的处理器2401调用存储器2402中存储的应用程序代码以指令(R)AN设备执行,本实施例对此不作任何限制。上述步骤S1504、S1605、S1705、S1805、S1905、S2004、S2007、S2104和S2107中第一UPF网元的动作可以由图24所示的通信装置2400中的处理器2401调用存储器2402中存储的应用程序代码以指令第一UPF网元执行,本实施例对此不作任何限制。上述步骤S1504、S1605、S1705、S1805、S1905、S2002、S2009、S2102和S2109中第二UPF网元的动作可以由图24所示的通信装置2400中的处理器2401调用存储器2402中存储的应用程序代码以指令第二UPF网元执行,本实施例对此不作任何限制。The actions of the first terminal device in the above steps S1502, S1603, S1703, S1803, S1903, S2005, S2105, S2202 and S2302 may be called by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 to call the application stored in the memory 2402 The program code is executed by instructing the first terminal device. The actions of the second terminal device in the above steps S2010, S2110, S2204 and S2304 may be executed by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 by calling the application code stored in the memory 2402 to instruct the second terminal device to execute. The example does not impose any restrictions on this. The actions of the UPF network element in the above steps S1504, S1605 and S1805 may be executed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application code stored in the memory 2402 to instruct the (R)AN device. This does not impose any restrictions. The actions of the first UPF network element in the above steps S1504, S1605, S1705, S1805, S1905, S2004, S2007, S2104 and S2107 can be performed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application program stored in the memory 2402 The code is executed by instructing the first UPF network element, which is not limited in this embodiment. The actions of the second UPF network element in the above steps S1504, S1605, S1705, S1805, S1905, S2002, S2009, S2102 and S2109 can be performed by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the application program stored in the memory 2402 The code is executed by instructing the second UPF network element, which is not limited in this embodiment.
图25为本申请实施例提供的另一种通信装置的结构示意图。如图25所示,通信装置2500包括:收发模块2501和处理模块2502。为了便于说明,图25仅示出了该通信装置的主要部件。FIG. 25 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application. As shown in FIG. 25 , the communication apparatus 2500 includes: a transceiver module 2501 and a processing module 2502 . For convenience of explanation, FIG. 25 only shows the main components of the communication device.
该通信装置2500包括收发模块2501和处理模块2502。该通信装置2500可以是前述方法实施例中的第一设备、第一网元、第一终端设备、第二终端设备、第一UPF网元、第二UPF网元、UPF网元或者(R)AN设备。收发模块2501,也可以称为收发单元,用以实现上述任一方法实施例中由第一设备、第一网元、第一终端设备、第二终端设备、第一UPF网元、第二UPF网元、UPF网元或者(R)AN设备执行的发送和/或接收功能。该收发模块2501可以由收发电路,收发机,收发器或者通信接口构成。在一些可能的实现中,收发模块2501包括发送模块和接收模块,分别用以实现上述任一方法实施例中由第一设备、第一网元、第一终端设备、第二终端设备、第一UPF网元、第二UPF网元、UPF网元或者(R)AN设备执行的发送与接收功能。处理模块2502,可以用于实现上述任一方法实施例中由第一设备、第一网元、第一终端设备、第二终端设备、第一UPF网元、第二UPF网元、UPF网元或者(R)AN设备执行的处理功能。该处理模块2502例如可以为处理器。The communication device 2500 includes a transceiver module 2501 and a processing module 2502 . The communication apparatus 2500 may be the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, the second UPF network element, the UPF network element or (R) in the foregoing method embodiments. AN equipment. The transceiver module 2501, which may also be referred to as a transceiver unit, is used to implement any of the above method embodiments from the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, and the second UPF. Sending and/or receiving functions performed by a network element, UPF network element or (R)AN device. The transceiver module 2501 may be composed of a transceiver circuit, a transceiver, a transceiver or a communication interface. In some possible implementations, the transceiver module 2501 includes a sending module and a receiving module, which are respectively used to implement the first device, the first network element, the first terminal device, the second terminal device, the first The sending and receiving functions performed by the UPF network element, the second UPF network element, the UPF network element or the (R)AN device. The processing module 2502 can be configured to implement any of the above method embodiments from the first device, the first network element, the first terminal device, the second terminal device, the first UPF network element, the second UPF network element, and the UPF network element. Or a processing function performed by the (R)AN device. The processing module 2502 can be, for example, a processor.
在本实施例中,该通信装置2500以采用集成的方式划分各个功能模块的形式来呈 现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置2500可以采用图24所示的通信装置2400的形式。In this embodiment, the communication apparatus 2500 is presented in the form of dividing each functional module in an integrated manner. "Module" herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above. In a simple embodiment, those skilled in the art can imagine that the communication apparatus 2500 may take the form of the communication apparatus 2400 shown in FIG. 24 .
比如,图24所示的通信装置2400中的处理器2401可以通过调用存储器2402中存储的计算机执行指令,使得通信装置2400执行上述方法实施例中的通信方法。For example, the processor 2401 in the communication apparatus 2400 shown in FIG. 24 can execute the instructions by calling the computer stored in the memory 2402, so that the communication apparatus 2400 executes the communication method in the above method embodiment.
具体的,图25中的收发模块2501和处理模块2502的功能/实现过程可以通过图24所示的通信装置2400中的处理器2401调用存储器2402中存储的计算机执行指令来实现。或者,图25中的处理模块2502的功能/实现过程可以通过图24所示的通信装置2400中的处理器2401调用存储器2402中存储的计算机执行指令来实现,图25中的收发模块2501的功能/实现过程可以通过图24中所示的通信装置2400中的收发器2403来实现。Specifically, the functions/implementation process of the transceiver module 2501 and the processing module 2502 in FIG. 25 can be implemented by the processor 2401 in the communication apparatus 2400 shown in FIG. 24 calling the computer execution instructions stored in the memory 2402 . Alternatively, the function/implementation process of the processing module 2502 in FIG. 25 can be implemented by the processor 2401 in the communication device 2400 shown in FIG. 24 calling the computer-executed instructions stored in the memory 2402, and the function of the transceiver module 2501 in FIG. 25 The implementation process can be implemented by the transceiver 2403 in the communication device 2400 shown in FIG. 24 .
由于本实施例提供的通信装置2500可执行上述通信方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication apparatus 2500 provided in this embodiment can execute the above communication method, the technical effects that can be obtained by the communication apparatus 2500 can refer to the above method embodiments, and details are not repeated here.
在一种可能的设计方案中,图25所示出的通信装置2500可适用于图6或图7所示出的通信系统中,执行图15、图16以及图17所示的通信方法中第一网元、(R)AN设备、以及UPF网元的功能。In a possible design solution, the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. Functions of a network element, (R)AN equipment, and UPF network element.
收发模块2501,用于接收来自第一设备的第一数据和第一时间戳。The transceiver module 2501 is configured to receive the first data and the first timestamp from the first device.
处理模块2502,用于根据第一时间信息,缓存第一数据至第一时刻。The processing module 2502 is configured to cache the first data to the first time according to the first time information.
收发模块2501,还用于发送第一数据。其中,第一时间戳用于指示第一设备发送第一数据的时刻,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等,第一时间信息所指示的时长等于通信装置2500接收到第二数据至第一设备发送第二数据的时长,第二数据是通信装置2500向第一设备发送的数据。The transceiver module 2501 is further configured to send the first data. The first timestamp is used to indicate the moment when the first device sends the first data, and the duration from the moment indicated by the first timestamp to the first moment is equal to the duration indicated by the first time information. The duration is equal to the duration between the communication apparatus 2500 receiving the second data and the first device sending the second data, where the second data is the data sent by the communication apparatus 2500 to the first device.
可选的,通信装置2500可以为用户面功能网元或接入网网元。Optionally, the communication apparatus 2500 may be a user plane function network element or an access network network element.
需要说明的是,上述收发模块2501可以包括接收模块和发送模块(图25中未示出)。其中,接收模块用于接收来自第一设备、第二网元、第三网元的数据和/或信令;发送模块用于向第一设备、第二网元、第三网元发送数据和/或信令。本申请对于收发模块2501的具体实现方式,不做具体限定。It should be noted that, the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ). The receiving module is used to receive data and/or signaling from the first device, the second network element, and the third network element; the sending module is used to send data and/or signaling to the first device, the second network element, and the third network element. / or signaling. This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图15、图16、以及图17所示的通信方法中第一网元、(R)AN设备、以及UPF网元的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the functions of the first network element, the (R)AN device, and the UPF network element in the communication methods shown in FIG. 15 , FIG. 16 , and FIG. 17 .
需要说明的是,通信装置2500可以是第一网元,如UPF网元,或通信装置2500可以是(R)AN设备,也可以是可设置于第一网元或(R)AN设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be a first network element, such as a UPF network element, or the communication apparatus 2500 may be a (R)AN device, or a chip that can be provided in the first network element or the (R)AN device (system) or other components or assemblies, which are not limited in this application.
此外,通信装置2500的技术效果可以参考图15所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 15 , which will not be repeated here.
在另一种可能的设计方案中,图25所示出的通信装置2500可适用于图6或图7所示出的通信系统中,执行图15、图16以及图17所示的通信方法中第一设备、第一 终端设备的功能。In another possible design solution, the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. 7 , and executes the communication methods shown in FIG. 15 , FIG. 16 and FIG. 17 . Functions of the first device and the first terminal device.
收发模块2501,用于接收来自第一网元的第二数据和第二时间戳。其中,第二时间戳用于指示第一网元接收到第二数据的时刻,第二时间戳所指示的时刻至第二时刻的时长与第一时间信息所指示的时长相等。The transceiver module 2501 is configured to receive the second data and the second time stamp from the first network element. Wherein, the second timestamp is used to indicate the moment when the first network element receives the second data, and the duration from the moment indicated by the second timestamp to the second moment is equal to the duration indicated by the first time information.
处理模块2502,用于根据第一时间信息,缓存第二数据至第二时刻后。The processing module 2502 is configured to cache the second data after the second time according to the first time information.
收发模块2501,还用于发送第二数据。其中,第一时间信息所指示的时长等于通信装置2500向第一网元发送第一数据至第一网元发送第一数据的时长,第一数据是通信装置2500向第一网元发送的数据。The transceiver module 2501 is further configured to send second data. The duration indicated by the first time information is equal to the duration from when the communication device 2500 sends the first data to the first network element until the first network element sends the first data, and the first data is the data sent by the communication device 2500 to the first network element .
可选的,第一时间信息所指示的时长大于或等于通信装置2500接收到第二数据的时刻与第二时间戳所指示的时刻的差值。Optionally, the duration indicated by the first time information is greater than or equal to the difference between the moment when the communication apparatus 2500 receives the second data and the moment indicated by the second timestamp.
需要说明的是,上述收发模块2501可以包括接收模块和发送模块(图25中未示出)。其中,接收模块用于接收来自第一网元、第三网元的数据和/或信令;发送模块用于向第一网元、第三网元发送数据和/或信令。本申请对于收发模块2501的具体实现方式,不做具体限定。It should be noted that, the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ). The receiving module is used for receiving data and/or signaling from the first network element and the third network element; the sending module is used for sending data and/or signaling to the first network element and the third network element. This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图15、图16、以及图17所示的通信方法中第一设备、第一终端设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the functions of the first device and the first terminal device in the communication methods shown in FIG. 15 , FIG. 16 , and FIG. 17 .
需要说明的是,通信装置2500可以是第一设备,如终端设备,也可以是可设置于第一设备、第一终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be a first device, such as a terminal device, or a chip (system) or other components or components that can be provided in the first device or the first terminal device, which is not limited in this application. .
此外,通信装置2500的技术效果可以参考图15所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 15 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图6或图7所示出的通信系统中,执行图18、图19所示的通信方法中第一终端设备的功能。In another possible design solution, the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 6 or FIG. 7 , and the first terminal in the communication method shown in FIG. 18 and FIG. 19 is executed. function of the device.
收发模块2501,用于接收来自第一网元的第二数据和第二时间戳,并发送第二数据。The transceiver module 2501 is configured to receive the second data and the second timestamp from the first network element, and send the second data.
处理模块2502,用于根据第二时间戳所指示的时刻至通信装置2500接收到第二数据的时刻,确定第一时间信息。The processing module 2502 is configured to determine the first time information according to the time indicated by the second time stamp to the time when the communication device 2500 receives the second data.
收发模块2501,还用于向第一网元发送第一时间信息。其中,第二时间戳用于指示第一网元接收到第二数据的时刻。The transceiver module 2501 is further configured to send the first time information to the first network element. The second timestamp is used to indicate the moment when the first network element receives the second data.
可选的,第一时间信息所指示的时长等于通信装置2500接收到第二数据的时刻与第二时间戳所指示的时刻的差值。Optionally, the duration indicated by the first time information is equal to the difference between the moment when the communication apparatus 2500 receives the second data and the moment indicated by the second time stamp.
需要说明的是,上述收发模块2501可以包括接收模块和发送模块(图25中未示出)。其中,接收模块用于接收来自第一网元、第三网元的数据和/或信令;发送模块用于向第一网元、第三网元发送数据和/或信令。本申请对于收发模块2501的具体实现方式,不做具体限定。It should be noted that, the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ). The receiving module is used for receiving data and/or signaling from the first network element and the third network element; the sending module is used for sending data and/or signaling to the first network element and the third network element. This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图18、图19所示的通信方法中第一设备、第一终端设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can execute the functions of the first device and the first terminal device in the communication methods shown in FIG. 18 and FIG. 19 .
需要说明的是,通信装置2500可以是第一设备,如终端设备,也可以是可设置 于第一设备、第一终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be a first device, such as a terminal device, or a chip (system) or other components or components that can be provided in the first device or the first terminal device, which is not limited in this application. .
此外,通信装置2500的技术效果可以参考图18所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 18 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图7所示出的通信系统中,执行图20、图21所示的通信方法中第二UPF网元的功能。In yet another possible design solution, the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 , to perform the second UPF network element in the communication methods shown in FIGS. 20 and 21 . Function.
收发模块2501,用于接收来自第一网元的第一数据和第四时间戳。其中,第四时间戳用于指示第一网元向通信装置2500发送第一数据的时刻。The transceiver module 2501 is configured to receive the first data and the fourth timestamp from the first network element. The fourth timestamp is used to indicate the moment when the first network element sends the first data to the communication apparatus 2500 .
处理模块2502,用于根据第二时间信息,缓存第一数据至第四时刻。其中,第四时间戳所指示的时刻至第四时刻的时长与第二时间信息所指示的时长相等,第二时间信息所指示的时长等于通信装置2500向第一网元发送第二数据至第一网元向第一设备发送第二数据的时长。The processing module 2502 is configured to cache the first data to the fourth time according to the second time information. The duration from the time indicated by the fourth timestamp to the fourth time is equal to the duration indicated by the second time information, and the duration indicated by the second time information is equal to the communication device 2500 sending the second data to the first network element to the first network element. The duration for a network element to send the second data to the first device.
收发模块2501,还用于向第二设备发送第一数据。The transceiver module 2501 is further configured to send the first data to the second device.
可选的,第二时间信息所指示的时长可大于或等于第一网元接收到来自第二网元的第二数据的时刻与通信装置2500向第一网元发送第二数据的时刻的差值。Optionally, the duration indicated by the second time information may be greater than or equal to the difference between the moment when the first network element receives the second data from the second network element and the moment when the communication apparatus 2500 sends the second data to the first network element. value.
可选的,通信装置2500可以为用户面功能网元。Optionally, the communication apparatus 2500 may be a user plane functional network element.
需要说明的是,上述收发模块2501可以包括接收模块和发送模块(图25中未示出)。其中,接收模块用于接收来自第一设备、第一网元、第三网元的数据和/或信令;发送模块用于向第一设备、第一网元、第三网元发送数据和/或信令。本申请对于收发模块2501的具体实现方式,不做具体限定。It should be noted that, the above-mentioned transceiver module 2501 may include a receiving module and a sending module (not shown in FIG. 25 ). The receiving module is used to receive data and/or signaling from the first device, the first network element, and the third network element; the sending module is used to send data and/or signaling to the first device, the first network element, and the third network element. / or signaling. This application does not specifically limit the specific implementation manner of the transceiver module 2501 .
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图20、图21所示的通信方法中第二UPF网元或(R)AN设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the second UPF network element or the (R)AN device in the communication method shown in FIG. 20 and FIG. 21 .
需要说明的是,通信装置2500可以是第二网元,如UPF网元,或(R)AN设备也可以是可设置于第二网元的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be a second network element, such as a UPF network element, or the (R)AN device may also be a chip (system) or other components or components that can be provided in the second network element. This is not limited.
此外,通信装置2500的技术效果可以参考图20、图21所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 20 and FIG. 21 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图7所示出的通信系统中,执行图22、或图23所示的通信方法中第二终端设备的功能。In yet another possible design solution, the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the second terminal device in the communication method shown in FIG. 22 or FIG. 23 . Function.
收发模块2501,用于接收来自第一网元的第一数据和第六时间戳。其中,第六时间戳用于指示第一设备向第一网元发送第一数据的时刻。The transceiver module 2501 is configured to receive the first data and the sixth time stamp from the first network element. The sixth timestamp is used to indicate the moment when the first device sends the first data to the first network element.
处理模块2502,用于根据第三时间信息缓存第一数据至第六时刻。The processing module 2502 is configured to cache the first data to the sixth time according to the third time information.
收发模块2501,还用于发送第一数据。其中,第六时间戳所指示的时刻至第六时刻的时长与第三时间信息所指示的时长相等,第三时间信息所指示的时长等于通信装置2500向第一网元发送第二数据至第一设备发送第二数据的时长,第二数据是通信装置2500向第一网元发送的数据。The transceiver module 2501 is further configured to send the first data. The duration from the time indicated by the sixth timestamp to the sixth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the communication device 2500 sending the second data to the first network element to the first network element. The time period for a device to send the second data, where the second data is the data sent by the communication apparatus 2500 to the first network element.
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图22、或图23所示的通信方法中第二终端设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the second terminal device in the communication method shown in FIG. 22 or FIG. 23 .
需要说明的是,通信装置2500可以是第二终端设备,也可以是可设置于第二终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be the second terminal device, or may be a chip (system) or other components or components that can be provided in the second terminal device, which is not limited in this application.
此外,通信装置2500的技术效果可以参考图22、或图22所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to FIG. 22 or the technical effect of the communication method shown in FIG. 22 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图7所示出的通信系统中,执行图22所示的通信方法中第一终端设备的功能。In another possible design solution, the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the first terminal device in the communication method shown in FIG. 22 .
其中,收发模块2501,用于接收来自第一网元的第二数据和第五时间戳。The transceiver module 2501 is configured to receive the second data and the fifth timestamp from the first network element.
处理模块2502,用于根据第三时间信息缓存第二数据至第五时刻。The processing module 2502 is configured to cache the second data to the fifth time according to the third time information.
收发模块2501,还用于发送第二数据。其中,第五时间戳所指示的时刻至第五时刻的时长与第三时间信息所指示的时长相等,第三时间信息所指示的时长等于通信装置2500向第一网元发送第一数据至第二设备发送第一数据的时长,第一数据是通信装置2500向第一网元发送的数据。The transceiver module 2501 is further configured to send second data. The duration from the time indicated by the fifth timestamp to the fifth time is equal to the duration indicated by the third time information, and the duration indicated by the third time information is equal to the communication device 2500 sending the first data to the first network element to the first network element. The duration of the second device sending the first data, where the first data is the data sent by the communication apparatus 2500 to the first network element.
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图22所示的通信方法中第一终端设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the first terminal device in the communication method shown in FIG. 22 .
需要说明的是,通信装置2500可以是第一终端设备,也可以是可设置于第一终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be the first terminal device, or may be a chip (system) or other components or components that can be provided in the first terminal device, which is not limited in this application.
此外,通信装置2500的技术效果可以参考图22所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 22 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图7所示出的通信系统中,执行图23所示的通信方法中第一终端设备的功能。In another possible design solution, the communication apparatus 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the first terminal device in the communication method shown in FIG. 23 .
收发模块2501,用于接收来自第一网元的第二数据和第五时间戳,并发送第二数据。处理模块2502,还用于根据第五时间戳所指示的时刻至第一设备接收到第二数据的时刻,确定第三时间信息。收发模块2501,还用于向第一网元发送第三时间信息。其中,第五时间戳用于指示第二设备向第一网元发送第二数据的时刻。The transceiver module 2501 is configured to receive the second data and the fifth timestamp from the first network element, and send the second data. The processing module 2502 is further configured to determine third time information according to the time indicated by the fifth timestamp to the time when the first device receives the second data. The transceiver module 2501 is further configured to send third time information to the first network element. The fifth timestamp is used to indicate the moment when the second device sends the second data to the first network element.
可选的,通信装置2500还可以包括存储模块(图25中未示出),该存储模块存储有程序或指令。当处理模块2502执行该程序或指令时,使得通信装置2500可以执行图23所示的通信方法中第一终端设备的功能。Optionally, the communication apparatus 2500 may further include a storage module (not shown in FIG. 25 ), where the storage module stores programs or instructions. When the processing module 2502 executes the program or instruction, the communication apparatus 2500 can perform the function of the first terminal device in the communication method shown in FIG. 23 .
需要说明的是,通信装置2500可以是第一终端设备,也可以是可设置于第一终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication apparatus 2500 may be the first terminal device, or may be a chip (system) or other components or components that can be provided in the first terminal device, which is not limited in this application.
此外,通信装置2500的技术效果可以参考图23所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 23 , which will not be repeated here.
在又一种可能的设计方案中,图25所示出的通信装置2500可适用于图7所示出的通信系统中,执行图22、或图23所示的通信方法中UPF网元的功能。In yet another possible design solution, the communication device 2500 shown in FIG. 25 can be applied to the communication system shown in FIG. 7 to perform the function of the UPF network element in the communication method shown in FIG. 22 or FIG. 23 .
收发模块2501,用于向第一设备发送第二数据和第五时间戳。第五时间戳用于指示第二设备向通信装置2500发送第二数据的时刻。收发模块2501,还用于向第二设备发送第一数据和第六时间戳。其中,第六时间戳用于指示第一设备向通信装置2500发送第一数据的时刻。The transceiver module 2501 is configured to send the second data and the fifth time stamp to the first device. The fifth timestamp is used to indicate the moment when the second device sends the second data to the communication apparatus 2500 . The transceiver module 2501 is further configured to send the first data and the sixth time stamp to the second device. The sixth timestamp is used to indicate the moment when the first device sends the first data to the communication apparatus 2500 .
需要说明的是,通信装置2500可以是UPF网元,也可以是可设置于UPF网元 的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device 2500 may be a UPF network element, or may be a chip (system) or other components or components that can be provided in the UPF network element, which is not limited in this application.
此外,通信装置2500的技术效果可以参考图22、或图23所示的通信方法的技术效果,此处不再赘述。In addition, for the technical effect of the communication apparatus 2500, reference may be made to the technical effect of the communication method shown in FIG. 22 or FIG. 23 , which will not be repeated here.
本申请实施例提供一种通信系统。该通信系统包括:第一网元和接入网网元。Embodiments of the present application provide a communication system. The communication system includes: a first network element and an access network element.
其中,接入网网元,用于向第一网元发送第一数据和第一时间戳。其中,第一时间戳用于指示第一设备发送第一数据的时刻。The network element of the access network is configured to send the first data and the first timestamp to the first network element. The first timestamp is used to indicate the moment when the first device sends the first data.
第一网元,用于接收来自接入网网元的第一数据和第一时间戳,根据第一时间信息,缓存第一数据至第一时刻后,发送第一数据。其中,第一时间戳所指示的时刻至第一时刻的时长与第一时间信息所指示的时长相等,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据。The first network element is configured to receive the first data and the first timestamp from the network element of the access network, and send the first data after buffering the first data to the first time according to the first time information. The duration from the time indicated by the first timestamp to the first time is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the first network element receiving the second data and sending it to the first device The duration of the second data, where the second data is data sent by the first network element to the first device.
其中,第一网元用于执行上述方法实施例中第一网元的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。接入网网元用于执行上述方法实施例中(R)AN设备的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。The first network element is configured to perform the action of the first network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here. The network element of the access network is configured to perform the actions of the (R)AN device in the foregoing method embodiments, and the specific execution method and process may refer to the foregoing method embodiments, which will not be repeated here.
可选的,该通信系统还包括上述实施例提供的第三网元、和第四网元等。本申请实施例提供一种通信系统。该通信系统包括:第一网元和第三网元。Optionally, the communication system further includes the third network element, the fourth network element, and the like provided in the foregoing embodiment. Embodiments of the present application provide a communication system. The communication system includes: a first network element and a third network element.
其中,第三网元,用于向第一网元发送第一时间信息;其中,第一时间信息所指示的时长等于第一网元接收到第二数据至第一设备发送第二数据的时长,第二数据是第一网元向第一设备发送的数据;The third network element is used to send the first time information to the first network element; wherein, the duration indicated by the first time information is equal to the duration of the first network element receiving the second data to the first device sending the second data , the second data is the data sent by the first network element to the first device;
第一网元,用于接收来自第三网元的第一时间信息;其中,第一时间信息用于指示根据第一时间信息缓存接收到的第一数据,第一数据是第一设备向第一网元发送的数据。The first network element is used to receive the first time information from the third network element; wherein the first time information is used to indicate that the first data received is cached according to the first time information, and the first data is sent by the first device to the third network element. Data sent by a network element.
其中,第三网元用于执行上述方法实施例中第三网元的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。第一网元用于执行上述方法实施例中第一网元的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。The third network element is configured to perform the action of the third network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here. The first network element is used to perform the action of the first network element in the foregoing method embodiment, and the specific execution method and process may refer to the foregoing method embodiment, which will not be repeated here.
可选的,该通信系统还包括上述实施例提供的第四网元、和(R)AN设备等。Optionally, the communication system further includes the fourth network element provided in the foregoing embodiment, a (R)AN device, and the like.
本申请实施例提供一种芯片系统,该芯片系统包括处理器和输入/输出端口,所述处理器用于实现本申请实施例提供的通信方法所涉及的处理功能,所述输入/输出端口用于本申请实施例提供的通信方法所涉及的收发功能。An embodiment of the present application provides a chip system, where the chip system includes a processor and an input/output port, where the processor is used to implement the processing functions involved in the communication method provided by the embodiment of the present application, and the input/output port is used for The transceiver function involved in the communication method provided by the embodiment of the present application.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现本申请实施例提供的通信方法所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory, where the memory is used to store program instructions and data for implementing the functions involved in the communication method provided by the embodiment of the present application.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system may be composed of chips, or may include chips and other discrete devices.
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质包括计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行本申请实施例提供的通信方法。An embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program or an instruction, and when the computer program or instruction runs on a computer, enables the computer to execute the communication method provided by the embodiment of the present application.
本申请实施例提供一种计算机程序产品,该计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行本申请实施例提供的通信方法。An embodiment of the present application provides a computer program product, the computer program product includes: a computer program or an instruction, when the computer program or instruction is run on a computer, the computer is made to execute the communication method provided by the embodiment of the present application.
应理解,在本申请实施例中的处理器可以是中央处理单元(central processing unit, CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), dedicated integrated Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (DRAM) Access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory Fetch memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
上述实施例,可以全部或部分地通过软件、硬件(如电路)、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware (eg, circuits), firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server or data center by wire (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that contains one or more sets of available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media. The semiconductor medium may be a solid state drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。It should be understood that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time , there are three cases of B alone, where A and B can be singular or plural. In addition, the character "/" in this document generally indicates that the related objects before and after are an "or" relationship, but may also indicate an "and/or" relationship, which can be understood with reference to the context.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "plurality" means two or more. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺 序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software 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.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause 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), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (37)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一网元接收来自第一设备的第一数据和第一时间戳;其中,所述第一时间戳用于指示所述第一设备发送所述第一数据的时刻;The first network element receives the first data and the first timestamp from the first device; wherein, the first timestamp is used to indicate the moment when the first device sends the first data;
    所述第一网元根据第一时间信息,缓存所述第一数据至第一时刻后,发送所述第一数据;其中,所述第一时间戳所指示的时刻至所述第一时刻的时长与所述第一时间信息所指示的时长相等,所述第一时间信息所指示的时长等于所述第一网元接收到第二数据至所述第一设备发送所述第二数据的时长,所述第二数据是所述第一网元向所述第一设备发送的数据。The first network element sends the first data after buffering the first data to the first time according to the first time information; wherein, the time between the time indicated by the first timestamp and the first time is The duration is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the duration from when the first network element receives the second data to when the first device sends the second data , the second data is data sent by the first network element to the first device.
  2. 根据权利要求1所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 1, wherein the method further comprises:
    所述第一网元向所述第一设备发送所述第二数据和第二时间戳;其中,所述第二时间戳用于指示所述第一网元接收到所述第二数据的时刻。The first network element sends the second data and the second time stamp to the first device; wherein the second time stamp is used to indicate the moment when the first network element received the second data .
  3. 根据权利要求2所述的通信方法,其特征在于,所述第一时间信息所指示的时长等于所述第一设备接收到所述第二数据的时刻与所述第二时间戳所指示的时刻的差值。The communication method according to claim 2, wherein the duration indicated by the first time information is equal to the time when the first device receives the second data and the time indicated by the second time stamp difference value.
  4. 根据权利要求2所述的通信方法,其特征在于,所述第一时间信息所指示的时长大于所述第一设备接收到所述第二数据的时刻与所述第二时间戳所指示的时刻的差值。The communication method according to claim 2, wherein the duration indicated by the first time information is greater than the time when the first device receives the second data and the time indicated by the second time stamp difference value.
  5. 根据权利要求1-3中任一项所述的通信方法,其特征在于,所述第一数据和所述第一时间戳是通过第一数据包发送给所述第一网元的,所述第一数据包中还携带所述第一时间信息。The communication method according to any one of claims 1-3, wherein the first data and the first timestamp are sent to the first network element through a first data packet, and the first data packet is sent to the first network element. The first data packet also carries the first time information.
  6. 根据权利要求1-4中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 1-4, wherein the method further comprises:
    所述第一网元接收来自第三网元的所述第一时间信息。The first network element receives the first time information from the third network element.
  7. 根据权利要求6所述的通信方法,其特征在于,所述第一网元接收来自第三网元的所述第一时间信息,包括:The communication method according to claim 6, wherein the receiving, by the first network element, the first time information from a third network element comprises:
    所述第一网元接收来自所述第三网元的N4会话请求消息;其中,所述N4会话请求消息包括所述第一时间信息。The first network element receives an N4 session request message from the third network element; wherein the N4 session request message includes the first time information.
  8. 根据权利要求6或7所述的通信方法,其特征在于,所述第一网元接收来自第一设备的第一数据和第一时间戳,包括:The communication method according to claim 6 or 7, wherein the first network element receives the first data and the first timestamp from the first device, comprising:
    所述第一网元接收来自所述第一设备的第一数据包;其中,所述第一数据包包括所述第一数据和所述第一时间戳。The first network element receives a first data packet from the first device; wherein the first data packet includes the first data and the first timestamp.
  9. 根据权利要求2-8中任一项所述的通信方法,其特征在于,所述第一网元向所述第一设备发送所述第二数据和第二时间戳,包括:The communication method according to any one of claims 2-8, wherein the sending, by the first network element, the second data and the second time stamp to the first device, comprises:
    所述第一网元根据第一时间戳指示信息,向所述第一设备发送所述第二数据和所述第二时间戳;其中,所述第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送所述至少一个数据包的时刻,所述至少一个数据包包括第二数据包,所述第二数据包包括所述第二数据。The first network element sends the second data and the second time stamp to the first device according to the first time stamp indication information; wherein the first time stamp indication information is used to indicate that at least one The data packet increase corresponds to the moment of receiving or sending the at least one data packet, where the at least one data packet includes a second data packet, and the second data packet includes the second data.
  10. 根据权利要求9所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 9, wherein the method further comprises:
    所述第一网元接收来自第三网元的所述第一时间戳指示信息。The first network element receives the first timestamp indication information from the third network element.
  11. 根据权利要求2-10中任一项所述的通信方法,其特征在于,所述第一网元向所述第一设备发送所述第二数据和第二时间戳,包括:The communication method according to any one of claims 2-10, wherein the sending, by the first network element, the second data and the second time stamp to the first device, comprises:
    所述第一网元向所述第一设备发送第二数据包;其中,所述第二数据包包括所述第二数据和所述第二时间戳。The first network element sends a second data packet to the first device; wherein the second data packet includes the second data and the second time stamp.
  12. 根据权利要求2-11中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 2-11, wherein the method further comprises:
    所述第一网元接收来自第二网元的所述第二数据和第三时间戳;其中,所述第三时间戳用于指示所述第二网元向所述第一网元发送所述第二数据的时刻。The first network element receives the second data and the third time stamp from the second network element; wherein the third time stamp is used to instruct the second network element to send the data to the first network element. the time when the second data is described.
  13. 根据权利要求12所述的通信方法,其特征在于,所述第一网元向所述第一设备发送所述第二数据和第二时间戳,包括:The communication method according to claim 12, wherein the sending, by the first network element, the second data and the second time stamp to the first device comprises:
    所述第一网元根据第二时间信息,缓存所述第二数据至第三时刻后,向所述第一设备发送所述第二数据和所述第二时间戳;其中,所述第三时间戳所指示的时刻至所述第三时刻的时长与所述第二时间信息所指示的时长相等,所述第二时间信息所指示的时长等于所述第一网元向所述第二网元发送所述第一数据至所述第二网元向第二设备发送所述第一数据的时长。The first network element sends the second data and the second time stamp to the first device after buffering the second data to a third time according to the second time information; wherein the third The duration from the time indicated by the time stamp to the third time is equal to the duration indicated by the second time information, and the duration indicated by the second time information is equal to the time indicated by the first network element to the second network element. The element sends the first data to the time period during which the second network element sends the first data to the second device.
  14. 根据权利要求13所述的通信方法,其特征在于,所述第二时间信息所指示的时长大于或等于所述第一网元接收到来自所述第二网元的第二数据的时刻与所述第二网元向所述第一网元发送所述第二数据的时刻的差值。The communication method according to claim 13, wherein the duration indicated by the second time information is greater than or equal to the time when the first network element receives the second data from the second network element and the difference between the times when the second network element sends the second data to the first network element.
  15. 根据权利要求12-14中任一项所述的通信方法,其特征在于,所述第一网元根据第一时间信息,缓存所述第一数据至第一时刻后,发送所述第一数据,包括:The communication method according to any one of claims 12-14, wherein the first network element sends the first data after buffering the first data to a first time according to the first time information ,include:
    所述第一网元根据所述第一时间信息,缓存所述第一数据至所述第一时刻后,向所述第二网元发送所述第一数据和第四时间戳;其中,所述第四时间戳用于指示所述第一网元向所述第二网元发送所述第一数据的时刻。The first network element sends the first data and the fourth time stamp to the second network element after buffering the first data to the first time according to the first time information; wherein, the The fourth time stamp is used to indicate the time when the first network element sends the first data to the second network element.
  16. 根据权利要求15所述的通信方法,其特征在于,所述第一网元向所述第二网元发送所述第一数据和第四时间戳,包括:The communication method according to claim 15, wherein the sending, by the first network element, the first data and the fourth time stamp to the second network element, comprises:
    所述第一网元根据第一时间戳指示信息,向所述第二网元发送所述第一数据和所述第四时间戳;其中,所述第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送所述至少一个数据包的时刻,所述至少一个数据包包括第一数据包,所述第一数据包包括所述第一数据。The first network element sends the first data and the fourth time stamp to the second network element according to the first time stamp indication information; wherein the first time stamp indication information is used to indicate that at least One data packet is added at a time corresponding to receiving or sending the at least one data packet, where the at least one data packet includes a first data packet, and the first data packet includes the first data.
  17. 根据权利要求9或16所述的通信方法,其特征在于,所述至少一个数据包为第一业务数据流对应的至少一个数据包,或者,为第一会话对应的至少一个数据包。The communication method according to claim 9 or 16, wherein the at least one data packet is at least one data packet corresponding to the first service data flow, or is at least one data packet corresponding to the first session.
  18. 根据权利要求9-17中任一项所述的通信方法,其特征在于,所述第一网元接收来自第三网元的所述第一时间戳指示信息,包括:The communication method according to any one of claims 9-17, wherein the first network element receiving the first time stamp indication information from a third network element comprises:
    所述第一网元接收来自所述第三网元的转发规则;其中,所述转发规则包括所述第一时间戳指示信息。The first network element receives the forwarding rule from the third network element; wherein the forwarding rule includes the first timestamp indication information.
  19. 根据权利要求1-18中任一项所述的通信方法,其特征在于,所述第一网元为用户面功能网元或接入网网元。The communication method according to any one of claims 1-18, wherein the first network element is a user plane function network element or an access network network element.
  20. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一设备接收来自第一网元的第二数据和第二时间戳;其中,所述第二时间戳用于指示所述第一网元接收到所述第二数据的时刻;The first device receives the second data and the second timestamp from the first network element; wherein the second timestamp is used to indicate the moment when the first network element received the second data;
    所述第一设备根据第一时间信息,缓存所述第二数据至第二时刻后,发送所述第二数据;其中,所述第二时间戳所指示的时刻至所述第二时刻的时长与所述第一时间信息所指示的时长相等,所述第一时间信息所指示的时长等于所述第一设备向所述第一网元发送第一数据至所述第一网元发送所述第一数据的时长,所述第一数据是所述第一设备向所述第一网元发送的数据。The first device sends the second data after buffering the second data to a second time according to the first time information; wherein, the duration from the time indicated by the second timestamp to the second time is equal to the duration indicated by the first time information, and the duration indicated by the first time information is equal to the first device sending the first data to the first network element to the first network element sending the The duration of the first data, where the first data is data sent by the first device to the first network element.
  21. 根据权利要求20所述的通信方法,其特征在于,所述第一时间信息所指示的时长大于或等于所述第一设备接收到所述第二数据的时刻与所述第二时间戳所指示的时刻的差值。The communication method according to claim 20, wherein the time duration indicated by the first time information is greater than or equal to the time when the first device receives the second data and the time indicated by the second time stamp difference in time.
  22. 根据权利要求20或21所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 20 or 21, wherein the method further comprises:
    所述第一设备接收来自第三网元的所述第一时间信息。The first device receives the first time information from a third network element.
  23. 根据权利要求20-22中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 20-22, wherein the method further comprises:
    所述第一设备向所述第一网元发送所述第一数据和第一时间戳;其中,所述第一时间戳用于指示所述第一设备发送所述第一数据的时刻。The first device sends the first data and the first time stamp to the first network element; wherein the first time stamp is used to indicate the time when the first device sends the first data.
  24. 根据权利要求23所述的通信方法,其特征在于,所述第一设备向所述第一网元发送所述第一数据和第一时间戳,包括:The communication method according to claim 23, wherein the sending, by the first device, the first data and the first time stamp to the first network element comprises:
    所述第一设备根据第一时间戳指示信息,向所述第一网元发送所述第一数据和所述第一时间戳;其中,所述第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送所述至少一个数据包的时刻,所述至少一个数据包包括第一数据包,所述第一数据包包括所述第一数据。The first device sends the first data and the first time stamp to the first network element according to the first time stamp indication information; wherein the first time stamp indication information is used to indicate that at least one The increase in the data packet corresponds to the moment of receiving or sending the at least one data packet, where the at least one data packet includes a first data packet, and the first data packet includes the first data.
  25. 根据权利要求24所述的通信方法,其特征在于,所述至少一个数据包为第一业务数据流对应的至少一个数据包,或者,为第一PDU会话对应的至少一个数据包。The communication method according to claim 24, wherein the at least one data packet is at least one data packet corresponding to the first service data flow, or at least one data packet corresponding to the first PDU session.
  26. 根据权利要求24或25所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 24 or 25, wherein the method further comprises:
    所述第一设备接收来自第三网元的所述第一时间戳指示信息。The first device receives the first timestamp indication information from the third network element.
  27. 根据权利要求23-26中任一项所述的通信方法,其特征在于,所述第一设备向所述第一网元发送所述第一数据和第一时间戳,包括:The communication method according to any one of claims 23-26, wherein the sending, by the first device, the first data and the first time stamp to the first network element comprises:
    所述第一设备向所述第一网元发送第一数据包;其中,所述第一数据包包括所述第一数据和所述第一时间戳。The first device sends a first data packet to the first network element; wherein, the first data packet includes the first data and the first timestamp.
  28. 根据权利要求20-27中任一项所述的通信方法,其特征在于,所述第一设备接收来自第一网元的第二数据和第二时间戳,包括:The communication method according to any one of claims 20-27, wherein the first device receiving the second data and the second time stamp from the first network element comprises:
    所述第一设备接收来自所述第一网元的第二数据包;其中,所述第二数据包包括所述第二数据和所述第二时间戳。The first device receives a second data packet from the first network element; wherein the second data packet includes the second data and the second timestamp.
  29. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一设备接收来自第一网元的第二数据和第二时间戳,并发送所述第二数据;其中,所述第二时间戳用于指示所述第一网元接收到所述第二数据的时刻;The first device receives the second data and the second time stamp from the first network element, and sends the second data; wherein the second time stamp is used to indicate that the first network element receives the second time stamp the moment of the data;
    所述第一设备根据所述第二时间戳所指示的时刻至所述第一设备接收到所述第二数据的时刻,确定第一时间信息;The first device determines the first time information according to the time indicated by the second timestamp to the time when the first device receives the second data;
    所述第一设备向所述第一网元发送所述第一时间信息。The first device sends the first time information to the first network element.
  30. 根据权利要求29所述的通信方法,其特征在于,所述第一时间信息所指示的时长等于所述第一设备接收到所述第二数据的时刻与所述第二时间戳所指示的时刻的 差值。The communication method according to claim 29, wherein the duration indicated by the first time information is equal to the time when the first device receives the second data and the time indicated by the second time stamp difference value.
  31. 根据权利要求29或30所述的通信方法,其特征在于,所述第一时间信息是通过第一数据包发送给所述第一网元的,所述第一数据包中还携带第一数据和第一时间戳,所述第一时间戳用于指示所述第一设备发送所述第一数据的时刻。The communication method according to claim 29 or 30, wherein the first time information is sent to the first network element through a first data packet, and the first data packet further carries first data and a first timestamp, where the first timestamp is used to indicate the moment when the first device sends the first data.
  32. 根据权利要求31所述的通信方法,其特征在于,所述第一数据包是根据第一时间戳指示信息向所述第一网元发送的,所述第一时间戳指示信息用于指示为至少一个数据包增加对应的接收或发送所述至少一个数据包的时刻,所述至少一个数据包括第一数据包,所述第一数据包包括所述第一数据。The communication method according to claim 31, wherein the first data packet is sent to the first network element according to first time stamp indication information, wherein the first time stamp indication information is used to indicate that the At least one data packet is added with a corresponding moment of receiving or sending the at least one data packet, the at least one data packet includes a first data packet, and the first data packet includes the first data.
  33. 根据权利要求32所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 32, wherein the method further comprises:
    所述第一设备接收来自第三网元的所述第一时间戳指示信息。The first device receives the first timestamp indication information from the third network element.
  34. 根据权利要求29-33中任一项所述的通信方法,其特征在于,所述第一设备接收来自第一网元的第二数据和第二时间戳,包括:The communication method according to any one of claims 29-33, wherein the first device receives the second data and the second time stamp from the first network element, comprising:
    所述第一设备接收来自所述第一网元的第二数据包;其中,所述第二数据包包括所述第二数据和所述第二时间戳。The first device receives a second data packet from the first network element; wherein the second data packet includes the second data and the second timestamp.
  35. 一种通信系统,其特征在于,包括第一网元和接入网网元;A communication system, comprising a first network element and an access network network element;
    所述接入网网元,用于向所述第一网元发送第一数据和第一时间戳;其中,所述第一时间戳用于指示第一设备发送所述第一数据的时刻;The access network element is configured to send the first data and the first timestamp to the first network element; wherein the first timestamp is used to indicate the moment when the first device sends the first data;
    所述第一网元,用于接收来自所述接入网网元的所述第一数据和所述第一时间戳;根据第一时间信息,缓存所述第一数据至第一时刻后,发送所述第一数据;其中,所述第一时间戳所指示的时刻至所述第一时刻的时长与所述第一时间信息所指示的时长相等,所述第一时间信息所指示的时长等于所述第一网元接收到第二数据至所述第一设备发送所述第二数据的时长,所述第二数据是所述第一网元向所述第一设备发送的数据。The first network element is configured to receive the first data and the first timestamp from the access network element; according to the first time information, after caching the first data to a first time, Sending the first data; wherein, the duration from the time indicated by the first timestamp to the first time is equal to the duration indicated by the first time information, and the duration indicated by the first time information It is equal to the time period from when the first network element receives the second data to when the first device sends the second data, where the second data is the data sent by the first network element to the first device.
  36. 一种通信装置,其特征在于,包括用于执行如权利要求1至19中任一项所述方法的单元或模块。A communication device, characterized by comprising a unit or module for performing the method according to any one of claims 1 to 19.
  37. 一种通信装置,其特征在于,包括用于执行如权利要求21至28、或权利要求29至34中任一项所述方法的单元或模块。A communication device, characterized by comprising a unit or module for performing the method as claimed in any one of claims 21 to 28 or 29 to 34.
PCT/CN2021/077745 2021-02-24 2021-02-24 Communication method, apparatus, and system WO2022178732A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/077745 WO2022178732A1 (en) 2021-02-24 2021-02-24 Communication method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/077745 WO2022178732A1 (en) 2021-02-24 2021-02-24 Communication method, apparatus, and system

Publications (1)

Publication Number Publication Date
WO2022178732A1 true WO2022178732A1 (en) 2022-09-01

Family

ID=83048604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077745 WO2022178732A1 (en) 2021-02-24 2021-02-24 Communication method, apparatus, and system

Country Status (1)

Country Link
WO (1) WO2022178732A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111162862A (en) * 2019-12-31 2020-05-15 京信通信系统(中国)有限公司 Distributed multi-network element clock transmission system
CN111526577A (en) * 2019-02-01 2020-08-11 华为技术有限公司 Clock synchronization method and equipment
CN112019393A (en) * 2019-05-29 2020-12-01 华为技术服务有限公司 Method and device for determining time delay
US20200389920A1 (en) * 2017-03-02 2020-12-10 Cable Television Laboratories, Inc Systems and methods for wi-fi latency reduction in docsis backhaul

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200389920A1 (en) * 2017-03-02 2020-12-10 Cable Television Laboratories, Inc Systems and methods for wi-fi latency reduction in docsis backhaul
CN111526577A (en) * 2019-02-01 2020-08-11 华为技术有限公司 Clock synchronization method and equipment
CN112019393A (en) * 2019-05-29 2020-12-01 华为技术服务有限公司 Method and device for determining time delay
CN111162862A (en) * 2019-12-31 2020-05-15 京信通信系统(中国)有限公司 Distributed multi-network element clock transmission system

Similar Documents

Publication Publication Date Title
RU2700181C2 (en) Forced release and access control by device-to-device (d2d) type
TWI688231B (en) Priority handling for prose communications
RU2392772C2 (en) Traffic formation in dormant state of user plane
US20150257024A1 (en) Self-optimization of backhaul radio resources and small cell backhaul delay estimation
WO2012107004A1 (en) Scheduling method, device and system based on quality of service
US9432873B2 (en) Differentiation of traffic flows for uplink transmission
KR20200104217A (en) Packet managing method in network and network element performing the same
TWI761499B (en) Method and apparatus for transmitting and receiving bundles of silence indicator (sid) frames during a voice call among a plurality of access terminals
US20230019215A1 (en) TSC-5G QoS MAPPING WITH CONSIDERATION OF ASSISTANCE TRAFFIC INFORMATION AND PCC RULES FOR TSC TRAFFIC MAPPING AND 5G QoS FLOWS BINDING
WO2021097858A1 (en) Communication method and apparatus
WO2013155981A1 (en) Method and device for data shunting
US8199665B2 (en) Apparatus and method for scheduling service based on network delay
US11375024B1 (en) Programmable networking device for user plane function
US20230171014A1 (en) Technique for determining radio device residence time and scheduling
WO2022178732A1 (en) Communication method, apparatus, and system
CN114902776A (en) Communication method, device and system
WO2020103540A1 (en) Synchronization method and apparatus
Thottan et al. Impact of 802.11 e EDCA on mixed TCP-based applications
Zhang et al. Resource, mobility, and security management in wireless networks and mobile communications
WO2019141088A1 (en) Method and apparatus for transmitting information
WO2023185769A1 (en) Communication method, communication apparatus, and communication system
WO2024022158A1 (en) Communication method and apparatus
WO2023185402A1 (en) Communication method and apparatus
WO2024012205A1 (en) Communication method, device and system
US20230254859A1 (en) Downlink Transmission Method and Communication 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: 21927176

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

Country of ref document: EP

Kind code of ref document: A1