WO2021243485A1 - Communication method and communication apparatus - Google Patents

Communication method and communication apparatus Download PDF

Info

Publication number
WO2021243485A1
WO2021243485A1 PCT/CN2020/093614 CN2020093614W WO2021243485A1 WO 2021243485 A1 WO2021243485 A1 WO 2021243485A1 CN 2020093614 W CN2020093614 W CN 2020093614W WO 2021243485 A1 WO2021243485 A1 WO 2021243485A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
upf
information
stream
talker
Prior art date
Application number
PCT/CN2020/093614
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 CN202080100463.9A priority Critical patent/CN115516903A/en
Priority to PCT/CN2020/093614 priority patent/WO2021243485A1/en
Publication of WO2021243485A1 publication Critical patent/WO2021243485A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This application relates to the field of communication technology, and in particular to a communication method and communication device.
  • TSN Time Sensitive Network
  • 5GS 5th generation wireless systems
  • UE user equipment
  • UPF user plane function
  • NW-TT Network-sensitive network
  • TSN bridge equipment and terminal equipment complete functions such as path planning and resource reservation through various distributed protocols.
  • MSRP multiple stream reservation protocol
  • the embodiment of the present application discloses a communication method and a communication device, which can determine the time delay of a stream transmission processing between a 5GS and a TSN device, so as to ensure the transmission quality of the stream.
  • the first aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a user plane function UPF network element, a network device including the UPF network element, or a chip applied to the network device.
  • the following takes the execution subject of UPF as an example for description.
  • the user plane function UPF network element receives first information, the first information is used to indicate a first delay, and the first delay includes the delay of the stream being transmitted from the stream service provider talker to the first terminal device, and the The dwell delay in the first terminal device; the UPF determines to perform a local exchange, the UPF requests a second delay from the session management function SMF network element, and according to the first delay and the second delay Delay to obtain a third delay, and the second delay includes the packet delay budget PDB value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session, and the third delay Including the delay of stream transmission from the talker to the second terminal device; and/or when the UPF determines that no local exchange is required, the UPF requests the SMF for a fourth delay, and according to the first delay and The fourth delay obtains the fifth delay, the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, and the fifth delay includes the transmission of the stream from the talker to the U
  • the first delay is X+a
  • the second delay is b+c
  • the fourth delay is b.
  • UPF determines that local switching is required
  • the third delay is obtained according to the first delay and the second delay.
  • the delay is X+a+b+c
  • UPD determines that local switching is not required.
  • the fifth delay is obtained as X+a+b+txPropogationDelay, where txPropogationDelay represents the flow from UPF to time Transmission delay of sensitive network TSN equipment.
  • the UPF receives the first delay in the first information, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the residence delay in the first terminal device, and determining After the local exchange is performed, according to the first delay and the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF, the delay of the flow from the talker to the second terminal device is obtained. In this simple way, the UPF can obtain the flow from the second terminal device.
  • the delay of the talker transmission to the second terminal device, and/or the UPF receiving the first delay in the first message, and after determining that local exchange is not required, according to the first delay and the PDB corresponding to the UPF uplink PDU session Obtain the delay of the stream from the talker to the UPF, the dwell delay in the UPF, and the transmission delay from the UPF to the TSN device.
  • UPF can obtain the delay of the stream from the talker to the TSN device. , Which can ensure the transmission quality of the stream.
  • the UPF can request the second delay and/or the fourth delay from the SMF.
  • the second delay and/or the fourth delay This is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • the first delay may include the maximum transmission delay of the stream from the streaming service provider talker to the first terminal device, and the residence delay in the first terminal device.
  • the second aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a user plane function UPF network element, a network device including the UPF network element, or a chip applied to the network device.
  • the following takes the execution subject of UPF as an example for description.
  • the user plane function UPF network element receives first information, where the first information is used to indicate a sixth delay, and the sixth delay includes the delay for the stream to be transmitted from the stream service provider talker to the UPF; the UPF Request a seventh delay from the session management function SMF network element, and obtain a third delay according to the sixth delay and the seventh delay, where the seventh delay includes the UPF downlink protocol data unit session PDU.
  • the packet delay budget PDB value corresponding to the session, and the third delay includes the delay of the stream being transmitted from the talker to the terminal device.
  • the sixth delay is X
  • the seventh delay is c
  • the UPF obtains the third delay as X+c according to the sixth delay and the seventh delay.
  • the UPF receives the sixth delay in the first message, that is, the delay for the stream to be transmitted from the talker to the UPF, and after determining that no local exchange is required, it is based on the delay for transmission from the talker to the UPF and the UPF downlink PDU
  • the PDB value corresponding to the session obtains the delay of the stream from the talker to the terminal device.
  • UPF can add the transmission and processing of the stream from the UPF to the terminal device on the basis of the delay of the stream from the talker to the UPF. In order to obtain the delay of the stream from the talker to the terminal device, the transmission quality of the stream can be ensured.
  • the UPF can request the seventh delay from the SMF.
  • the seventh delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • the sixth delay may be the maximum transmission delay of the stream from the streaming service provider talker to the UPF.
  • the third aspect of the embodiments of the present application discloses a communication method.
  • An example of the execution subject of the method is: if it is an uplink, the first device may be a terminal device or a chip applied to a terminal device; if it is a downlink
  • the first device may be a UPF, or a network device including the UPF, or a chip applied to the network device.
  • both the first device and the second device may be terminal devices or chips applied to terminal devices.
  • the first device receives first information, the first information is used to indicate delay A, and the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device; the first device sends The session management function SMF network element sends a request message for requesting delay B.
  • the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device; the first A device receives the delay B from the SMF; the first device obtains the delay C according to the delay A and the delay B, and the delay C includes the stream transmitted from the talker to the The delay of the second TSN device; the first device determines second information, and the second information includes the delay C; the first device sends the second information to the second device.
  • the first device according to the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF, and the delay B includes the delay of the bridge and the delay of the stream from the second device to the second TSN device.
  • Transmission delay so as to obtain the delay C of the stream from the talker to the second TSN device, and then the first device sends the second information to the second device.
  • the second information includes the delay C, which is the updated delay.
  • the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the first device can request delay B by sending a request message to SMF.
  • the delay B is the incoming interface device of the 5GS system, such as The transmission delay between the UPF and 5GS system outbound interface devices, such as the UE, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • the sending of the request message by the first device to the session management function SMF network element includes: the request message sent by the first device to the SMF carries the delay A.
  • receiving the delay B from the SMF by the first device includes: receiving the delay B and the delay A from the SMF by the first device.
  • the fourth aspect of the embodiments of the present application discloses a communication method.
  • An example of the execution subject of the method is: if it is an uplink, the second device may be a UPF, or a network device that includes UPF, or is applied to a network The chip in the device; if it is downlink, the second device may be a terminal device or a chip applied to the terminal device.
  • both the first device and the second device may be terminal devices or chips applied to terminal devices.
  • the second device receives the first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device; the second device reports to the session management
  • the functional SMF network element sends a request message for requesting delay B.
  • the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device; the second device Receiving the delay B sent by the SMF; the second device obtains the delay C according to the delay A and the delay B, and the delay C includes the stream being transmitted from the talker to the first Second, the delay of the TSN device; the second device determines second information, and the second information includes the delay C; the second device sends the second information to the second TSN device.
  • the second device is based on the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF.
  • the delay B includes the bridge delay and the delay of the stream from the second device to the second TSN device.
  • Transmission delay so as to obtain the delay C of the stream from the talker to the second TSN device, and then the second device sends the second information to the second TSN device.
  • the second information includes the delay C, which is the updated delay,
  • the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the second device can request delay B by sending a request message to the SMF.
  • the delay B is flowed between the 5GS system inbound interface device and the 5GS.
  • the sending of the request message by the second device to the session management function SMF network element includes: the request message sent by the second device to the SMF carries the delay A.
  • that the second device receives the delay B sent by the SMF includes: the second device receives the delay B and the delay A sent by the SMF.
  • the fifth aspect of the embodiments of the present application discloses a communication method, and the execution subject of the method may be a terminal device or a chip applied to the terminal device.
  • the first terminal device receives first information, where the first information is used to indicate an eighth delay, and the eighth delay includes the delay for the stream to be transmitted from the streaming service provider talker to the first terminal device;
  • the first terminal device determines a first delay according to the eighth delay, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the delay in the first terminal device The staying delay of;
  • the first terminal device sends second information to the user plane function UPF network element, and the second information includes the first delay.
  • the eighth delay is X
  • the first terminal device determines that the first delay is X+a according to the eighth delay, and a represents the residence delay of the stream in the first terminal device.
  • the first terminal device determines the first delay according to the eighth delay when the stream is transmitted from the talker to the first terminal device.
  • the first delay includes the stream being transmitted from the talker to the first terminal device.
  • the delay of a terminal device and the delay of staying in the first terminal device and then send the second information to the UPF.
  • the second information includes the first delay, that is, the updated delay. In this simple way, The first terminal device updates the delay to ensure the transmission quality of the stream.
  • the sixth aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a terminal device or a chip applied to the terminal device.
  • the following describes an example where the execution subject is the second terminal device.
  • the second terminal device receives first information, where the first information is used to indicate a third delay, and the third delay includes the delay of the stream being transmitted from the streaming service provider talker to the second terminal device;
  • the second terminal device determines a ninth delay according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, and the delay in the second terminal device. Resident delay and transmission delay from the second terminal device to the time-sensitive network TSN device.
  • the second terminal device sends second information to the TSN device, where the second information includes the ninth time delay.
  • the third delay is X
  • the second terminal device determines the ninth delay as X+a+txPropogationDelay according to the third delay, where a represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents the stream from The transmission delay from the second terminal device to the TSN device.
  • the second terminal device determines the ninth delay according to the third delay when the stream is transmitted from the talker to the second terminal device.
  • the ninth delay includes the stream being transmitted from the talker to the second terminal device.
  • the delay of the terminal device, the dwell delay in the second terminal device, and the transmission delay from the second terminal device to the TSN device and then send the second information to the TSN device, and the second information includes the ninth delay, That is, the updated delay.
  • the second terminal device updates the delay to ensure the transmission quality of the stream.
  • the seventh aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device.
  • the execution subject is SMF as an example for description.
  • the session management function SMF network element receives the request information from the user plane function UPF network element for requesting the second delay and/or the fourth delay; the SMF determines to perform a local exchange, and the SMF sends all the information to the UPF.
  • the second delay, the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the second delay is used for
  • the UPF obtains the third delay according to the first delay and the second delay, and the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and the delay in the first terminal device.
  • the dwell delay in a terminal device includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the SMF determines that no local exchange is required, and the SMF sends the
  • the UPF sends the fourth time delay, and the fourth time delay includes the PDB value corresponding to the uplink PDU session of the UPF.
  • the first delay is X+a
  • the second delay is b+c
  • b represents the PDB value corresponding to the UPF uplink PDU session
  • c represents the PDB value corresponding to the UPF downlink PDU session
  • SMF determines For local exchange, the SMF sends the second delay b+c to the UPF.
  • the SMF determines that no local exchange is required, and sends the fourth delay b to the UPF.
  • the second delay and/or the fourth delay are sent to the UPF to facilitate the UPF to obtain the third delay according to the first delay and the second delay. And/or, obtain a fifth delay according to the first delay and the fourth delay, so as to update the delay to ensure the transmission quality of the stream.
  • the stream is calculated from The delay of UPF transmission to the terminal equipment UE requires clock synchronization between two adjacent nodes between the UPF and the terminal equipment UE, and finally realizes the clock synchronization of all nodes between the UPF and the terminal equipment UE. The solution is complicated.
  • the second delay and/or the fourth delay are directly sent to the UPF through SMF, and the second delay and/or the fourth delay are the transmission between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • the first delay may include the maximum transmission delay of the stream from the streaming service provider talker to the first terminal device, and the residence delay in the first terminal device.
  • the eighth aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device.
  • the execution subject is SMF as an example for description.
  • the session management function SMF network element receives request information from the user plane function UPF for requesting the seventh delay; the SMF sends the seventh delay to the UPF, and the seventh delay includes the UPF downlink protocol
  • the packet delay budget PDB value corresponding to the data unit session PDU session, the seventh delay is used by the UPF to obtain the third delay according to the sixth delay and the seventh delay, and the sixth delay It includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the seventh delay is c
  • the sixth delay is X
  • the SMF sends the seventh delay c to the UPF.
  • the UPF obtains the third delay as X+c according to the sixth delay and the seventh delay.
  • the UPF obtains the third delay according to the sixth delay and the seventh delay of the flow from the talker to the UPF.
  • the seventh delay includes the PDB value corresponding to the downlink PDU session of the UPF.
  • the three delay includes the delay of the stream from the talker to the second terminal device. Then send the second information to the terminal device.
  • the second information includes the third delay, that is, the updated delay. The delay is updated in such a simple way to ensure the transmission quality of the stream.
  • the seventh delay is sent directly to the UPF through SMF.
  • the seventh delay is the transmission delay between the UPF and the terminal equipment UE.
  • the sixth delay may include the maximum transmission delay of the stream from the streaming service provider talker to the UPF.
  • the ninth aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device.
  • the execution subject is SMF as an example for description.
  • the session management function SMF network element receives a request message from the first device. The request message is used to request delay B.
  • the delay B includes bridge delay and flow from the second device to the second time-sensitive network TSN Transmission delay of the device; the SMF sends the delay B to the first device, and the delay B is used by the first device to obtain the delay C according to the delay A and the delay B
  • the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device
  • the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
  • the first device according to the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF, and the delay B includes the delay of the bridge and the delay of the stream from the second device to the second TSN device.
  • Transmission delay so as to obtain the delay C of the stream from the talker to the second TSN device, and then the first device sends the second information to the second device.
  • the second information includes the delay C, which is the updated delay.
  • the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the request message of the first device carries the time delay A.
  • sending the delay B by the SMF to the first device includes: sending the SMF to the first device The time delay B and the time delay A.
  • the tenth aspect of the embodiments of the present application discloses a communication method.
  • the execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device.
  • the execution subject is SMF as an example for description.
  • the session management function SMF network element receives a request message from the second device. The request message is used to request delay B.
  • the delay B includes bridge delay and flow from the second device to the second time sensitive Transmission delay of the network TSN device; the SMF sends the delay B to the second device; the delay B is used by the second device to obtain the delay C according to the delay A and the delay B
  • the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device
  • the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
  • the second device is based on the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF.
  • the delay B includes the bridge delay and the delay of the stream from the second device to the second TSN device.
  • Transmission delay so as to obtain the delay C of the stream from the talker to the second TSN device, and then the second device sends the second information to the second TSN device.
  • the second information includes the delay C, which is the updated delay,
  • the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the request message of the second device carries the time delay A.
  • the SMF sending the delay B to the second device includes: sending the SMF to the second device The time delay B and the time delay A.
  • the eleventh aspect of the embodiments of the present application discloses a communication device.
  • the communication device has the function of realizing the behaviors in the method examples of the first aspect, the second aspect, the third aspect, the fourth aspect, the seventh aspect, the eighth aspect, the ninth aspect, or the tenth aspect.
  • the functions can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate a first delay, and the first delay includes a streaming service provider talker The delay of transmission to the first terminal device and the delay of staying in the first terminal device; the processing module is used to perform a local exchange when determining to request the second delay from the session management function SMF network element, according to The first delay and the second delay obtain a third delay, and the second delay includes the packet time corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the device Delay budget PDB value, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or it is determined that no local exchange is required, the fourth delay is requested from the SMF, and the fourth delay is determined according to the first A delay and the fourth delay acquire a fifth delay, where the fourth delay includes the PDB value corresponding to the uplink PDU session of the device, and the fifth delay includes the stream transmitted from the talk
  • the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate a sixth delay, and the sixth delay includes a streaming service provider The delay of the talker transmission to the device; the processing module is configured to request the seventh delay from the session management function SMF network element, and obtain the third delay according to the sixth delay and the seventh delay,
  • the seventh delay includes the packet delay budget PDB value corresponding to the downlink protocol data unit session PDU session of the device, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the device; the transceiver module is configured to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the flow from the second device to the The transmission delay to the second time-sensitive network TSN device and the reception of the delay B from the SMF; the processing module is configured to obtain the delay C according to the delay A and the delay B, The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; the apparatus determines second information, and the second information includes the delay C; the transceiver module also uses Yu sends the second information to the second device.
  • These modules can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the first device; the transceiver module is also used to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the flow from the device The transmission delay to the second time-sensitive network TSN device and the delay B for receiving the SMF transmission; a processing module for obtaining the delay C according to the delay A and the delay B ,
  • the delay C includes the delay of the stream being transmitted from the talker to the second TSN device; and is used to determine second information, the second information includes the delay C; the transceiver module, and Used to send the second information to the second TSN device.
  • the communication device includes: a transceiver module, configured to receive request information from a user plane function UPF network element, for requesting the second delay and/or the fourth delay; a processing module, using When it is determined to perform a local exchange, the transceiver module is configured to send the second delay to the UPF, and the second delay includes the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF.
  • the corresponding packet delay budget PDB value is used by the UPF to obtain the third delay according to the first delay and the second delay
  • the first delay includes streaming service provision The delay of the talker transmission to the first terminal device and the residence delay in the first terminal device, the third delay including the delay of the stream being transmitted from the talker to the second terminal device; and /
  • the processing module is configured to determine that no local exchange is required
  • the transceiver module is configured to send the fourth delay to the UPF, and the fourth delay includes the uplink PDU session of the UPF
  • the corresponding PDB value can perform the corresponding functions in the method example of the seventh aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the communication device includes: a transceiver module for receiving request information from the user plane function UPF and for requesting a seventh time delay; the transceiver module sends the seventh time to the UPF
  • the seventh delay includes the packet delay budget PDB value corresponding to the session PDU session of the UPF downlink protocol data unit, and the seventh delay is used by the UPF according to the sixth delay and the first Seven delays: Obtain a third delay, where the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device Time delay.
  • the communication device includes: a transceiver module, configured to receive a request message from the first device, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the flow from the second device to the second time-sensitive network TSN device; the transceiver module is configured to send the delay B to the first device, and the delay B is used for the first device.
  • the device obtains the delay C according to the delay A and the delay B, where the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device, and the delay C includes the streaming slave The transmission delay of the talker to the second TSN device.
  • the communication device includes: a transceiver module, configured to receive a request message from a second device, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the stream from the second device to the second time-sensitive network TSN device; the transceiver module is used to send the delay B to the second device; the delay B is used for the The second device obtains the delay C according to the delay A and the delay B, where the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream from the The delay of talker transmission to the second TSN device.
  • These modules can perform the corresponding functions in the method example of the tenth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the twelfth aspect of the embodiments of the present application discloses a communication device.
  • the communication device has the function of realizing the behaviors in the method examples of the third aspect, the fourth aspect, the fifth aspect, or the sixth aspect.
  • the functions can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate an eighth delay, and the eighth delay includes a streaming service provider talker The delay of transmission to the device; a processing module, configured to determine a first delay according to the eighth delay, the first delay including the delay of the stream being transmitted from the talker to the first terminal device , And the residence delay in the device; the transceiver module is configured to send second information to a user plane function UPF network element, the second information includes the first delay.
  • These modules can perform the corresponding functions in the above-mentioned method example of the fifth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a third delay, and the third delay includes a streaming service provider talker The delay of transmission to the device; the processing module is configured to determine a ninth delay according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the device, The residence delay in the device and the transmission delay from the device to the time-sensitive network TSN device.
  • These modules can perform the corresponding functions in the above-mentioned method example of the sixth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the device; the transceiver module is configured to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the flow from the second device to the The transmission delay to the second time-sensitive network TSN device and the reception of the delay B from the SMF; the processing module is configured to obtain the delay C according to the delay A and the delay B, The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; the apparatus determines second information, and the second information includes the delay C; the transceiver module also uses Yu sends the second information to the second device.
  • These modules can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
  • the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the first device; the transceiver module is also used to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the flow from the device The transmission delay to the second time-sensitive network TSN device and the delay B for receiving the SMF transmission; a processing module for obtaining the delay C according to the delay A and the delay B ,
  • the delay C includes the delay of the stream being transmitted from the talker to the second TSN device; and is used to determine second information, the second information includes the delay C; the transceiver module, and Used to send the second information to the second TSN device.
  • the thirteenth aspect of the embodiments of the present application discloses a communication device.
  • the communication device may be the terminal device in the foregoing method embodiment, or a chip set in the terminal device.
  • the communication device includes a communication interface, a processor, and optionally, a memory.
  • the memory is used to store a computer program or instruction
  • the processor is coupled with the memory and a communication interface.
  • the communication device executes the method executed by the terminal device in the foregoing aspects.
  • the fourteenth aspect of the embodiments of the present application discloses a communication device.
  • the communication device may be the network device in the above aspects, or a chip set in the network device, or a network device including UPF network elements, or UPF network elements are either SMF network elements or network equipment including SMF network elements.
  • the communication device includes a communication interface, a processor, and optionally, a memory.
  • the memory is used to store a computer program or instruction, and the processor is coupled with the memory and a communication interface.
  • the communication device executes the method executed by the network device in the above aspects.
  • the fifteenth aspect of the embodiments of the present application discloses a computer program product.
  • the computer program product includes a computer program, which, when the computer program is executed, causes the methods executed by the terminal device in the foregoing aspects to be executed.
  • the sixteenth aspect of the embodiments of the present application discloses a computer program product.
  • the computer program product includes: a computer program.
  • the computer program When the computer program is executed, the network equipment, the UPF network element, or the SMF The method executed by the network element is executed.
  • the seventeenth aspect of the embodiments of the present application discloses a chip system.
  • the chip system includes a processor for implementing the functions of the terminal-side device in the methods of the foregoing aspects.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the eighteenth aspect of the embodiments of the present application discloses a chip system, which includes a processor, and is configured to implement the functions of the network side device in the methods of the foregoing aspects.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the nineteenth aspect of the embodiments of the present application discloses a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the terminal-side device in the above aspects is implemented.
  • the twentieth aspect of the embodiments of the present application discloses a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the network-side device in the above aspects is implemented.
  • the twenty-first aspect of the embodiments of the present application discloses a communication system, which includes the devices described in the eleventh aspect and the twelfth aspect, or includes the devices described in the thirteenth aspect and the fourteenth aspect.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • FIG. 2 is a flow chart of an MSRP provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a delay update of an MSRP process provided by an embodiment of the present application.
  • Figure 4-a is a 5GS system architecture diagram provided by an embodiment of the present application.
  • Figure 4-b is a 5GS system architecture diagram provided by an embodiment of the present application.
  • Figure 4-c is a 5GS system architecture diagram provided by an embodiment of the present application.
  • Figure 4-d is a 5GS system architecture diagram provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 10 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 11 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a communication system 1000 provided by an embodiment of the present application.
  • the communication system 1000 includes a time-sensitive network (time-sensitive network, TSN) device 1001, and a fifth-generation mobile communication technology system (the 5th generation wireless systems, 5GS) 1008 and TSN equipment 1007, TSN equipment 1001 and TSN equipment 1007 can be programmable logic controllers, data acquisition devices, etc. that can be connected to the Ethernet, except for 5GS between TSN equipment 1001 and TSN equipment 1007
  • the stream can reach the TSN device 1007 from the TSN device 1001 via the 5GS system, and can also reach the TSN device 1001 from the TSN device 1007 via the 5GS system.
  • the 5GS system 1008 includes a device-side time-sensitive network translator (DS-TT) 1002, a user equipment (UE) 1003, and the UE may also be called a terminal device or a user plane.
  • DS-TT can be embedded or externally hung in the UE
  • NW-TT can be embedded or externally hung in the UPF, this method is not limited.
  • UPF is a data plane network element, and access and mobility management functions (AMF) and SMF are control plane network elements.
  • the UE can establish multiple protocol data unit (protocol data unit, PDU) sessions (sessions), and data belonging to the session is transmitted between the radio access network function entity (radio access network, RAN) and the UPF through the PDU session.
  • AMF is responsible for mobility management and is connected to the RAN.
  • SMF is responsible for session management and is connected to UPF.
  • the policy control function (PCF) network element is responsible for policy control and is connected to the SMF.
  • the flow involved in the embodiment of this application may be a quality of service (QoS) flow.
  • the QoS flow may be a QoS flow with deterministic transmission requirements.
  • the embodiment of the present application is not limited to the system architecture shown in FIG. 1.
  • the communication system to which the communication method of the embodiment of the present application can be applied may include more or fewer network elements or devices.
  • the device or network element in Figure 1 can be hardware, software that is functionally divided, or a combination of the two.
  • the devices or network elements in Figure 1 can communicate with other devices or network elements.
  • Time-sensitive network TSN is a new-generation network standard based on Ethernet, with functions such as time synchronization and delay guarantee to ensure real-time performance.
  • 3GPP 3rd generation partnership project
  • the 5GS system as a whole is regarded as a virtual TSN bridge (virtual TSN bridge).
  • NW-TT virtual TSN bridge
  • TSN bridge equipment including traditional TSN bridges and 5GS systems that are virtual TSN bridges
  • terminal equipment complete functions such as path planning and resource reservation through various distributed protocols.
  • An important distributed resource reservation protocol in the TSN system is the multiple stream reservation protocol (MSRP).
  • MSRP The working principle of MSRP is as follows:
  • the streaming service provider talker can use MSRP to reserve bandwidth resources of all bridges experienced along the way from the talker to the listener before sending the stream to the streaming service receiver listener.
  • talker and listener can be terminal devices, as shown in Figure 2, which shows the flow chart of MSRP, as follows:
  • the talker sends a Talker Advertise Declaration (Talker Advertise Declaration) message.
  • the message includes one or more parameters. Among them, the message includes the traffic characteristic TrafficSpec of the stream, such as the amount of bandwidth required by the stream, the sending period, etc. Etc., the message may also include an accumulated delay field (Accumulated Latency), which is used to describe accumulated delay information.
  • bridge 1, bridge 2, or other bridges on the path between talker and listener receive the talker's streaming service provider broadcast statement message, and judge whether the local remaining available resources meet the resource reservation requirements according to the TrafficSpec .
  • the stream service provider that forwards the talker no longer broadcasts the announcement message; if the demand for resource reservation can be met, the value of the cumulative delay field is updated, and the talker continues to be forwarded downstream
  • the streaming service provider broadcasts an announcement message. After the listener receives the broadcast announcement message from the talker's streaming service provider, it judges whether the time spent on the path from the talker to the listener can be accepted by the application layer according to the value of the cumulative delay field. If it can be accepted, the listener replies back along the path with a Listener Ready Declaration (Listener Ready Declaration) message.
  • Listener Ready Declaration Listener Ready Declaration
  • bridge 1, bridge 2, or other bridges on the path between talker and listener perform the actual resource reservation after receiving the stream service receiver ready to declare message, and continue to forward the stream service receiver upstream Prepare to declare the message.
  • the talker receives the ready announcement message from the stream service recipient, it determines that the resource reservation process has ended, and the talker starts to send the stream.
  • Figure 3 shows the delay update of the MSRP process. From talker to listener, go through bridge 1 (ordinary bridge) and 5G bridge (5GS system). Talker sends a stream service provider broadcast statement message to bridge 1.
  • the initial value of the cumulative delay field in the message is a, a represents the maximum possible time-consuming flow from the outgoing interface of talker to the incoming interface of bridge 1.
  • bridge 1 After bridge 1 receives the broadcast announcement message from the streaming service provider, it adds b to the initial value a of the accumulated delay domain.
  • b represents the maximum possibility of the flow from the inbound interface of bridge 1 to the inbound interface of 5G bridge Time-consuming; after the 5G bridge receives the broadcast announcement message from the streaming service provider, it adds c to the a+b of the accumulated delay domain, where c represents the flow from the inbound interface of the 5G bridge to the inbound interface of the listener Most likely to be time-consuming.
  • the 5GS system as a whole, after receiving the broadcast announcement message from the streaming service provider, needs to accumulate from the 5GS system’s inbound interface to the next hop device’s inbound interface on the basis of the accumulated delay threshold.
  • the maximum time consumption between the next hop device can be the next hop of the 5GS system, and the maximum time consumption from the inbound interface of the 5GS system to the inbound interface of the next hop device can be recorded as T.
  • Figure 4-a shows the flow from UE in to UPF
  • Figure 4- b indicates that the flow enters from the UPF to the UE
  • Figure 4-c indicates that the flow enters from the UE, and then exits from the same UE after bypassing the UPF
  • Figure 4-d indicates that the flow enters from UE1, and then exits from UE2 after bypassing the UPF.
  • the value of T is different in different architectures.
  • the control plane network element AMF and SMF in 5GS determine all the components
  • the elements of T include UE-DS-TT Residence Time, packet delay budget (PDB) value, bridge delay 5GS bridge delay and txPropogationDelay.
  • UE-DS-TTresidence time is flow in DS- The total time consumed for transmission and processing between TT and UE.
  • the PDB value is the transmission and processing delay between the UPF and the UE (which may include the processing delay within the UPF), as shown in Figure 4-c and Figure 4.
  • the 5GS bridge delay is the sum of the PDB value corresponding to the UPF uplink PDU session and downlink PDU session and the two UE-DS-TT Residence Time of the inbound and outbound interfaces, as shown in Figure 4-a and Figure 4-
  • 5GS bridge delay is the sum of the PDB value corresponding to the uplink or downlink PDU session and the inbound or outbound interface UE-DS-TT Residence Time
  • txPropogationDelay is the flow from the outbound interface of the 5GS system to the inbound interface of the next hop device The biggest time-consuming.
  • the network element UPF (including NW-TT) or UE (including DS-TT) corresponding to the outbound interface in the 5GS system can use the IEEE 802.1Q protocol to obtain the value of txPropogationDelay. Therefore, txPropogationDelay is known information for the outgoing interface network element in the 5GS system.
  • each UE knows its own UE-DS-TT residence time value, so the data plane network element UE and UPF in 5GS do not know the PDB value and the 5GS bridge delay value. Therefore, how to determine the transmission processing delay of the stream between the 5GS system and the TSN device when the 5GS and TSN networks are interoperable, so as to ensure the transmission quality of the stream, is a technical problem to be solved by those skilled in the art.
  • FIG. 5 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 5 can be applied to the architecture of FIG. 4-c or FIG. 4-d.
  • the method includes but is not limited to the following steps:
  • Step S501 The time-sensitive network TSN device or the streaming service provider talker sends the first information to the first terminal device.
  • Step S502 The first terminal device receives the first information from the time-sensitive network TSN device or the streaming service provider talker.
  • the first information is used to indicate the eighth delay
  • the eighth delay includes the delay for the stream to be transmitted from the talker of the streaming service provider to the first terminal device.
  • the eighth delay is the delay for the stream to be transmitted from the talker to the first terminal device.
  • Talker refers to the host or server that provides the stream, and is the source of the stream.
  • the first terminal device refers to the inbound interface device streaming in the 5GS system.
  • the first information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
  • the stream service provider broadcast declaration message may also carry a stream identity (Stream ID).
  • the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
  • the first terminal device receives first information, and the first information is used to indicate the eighth delay X.
  • Step S503 The first terminal device determines the first time delay according to the eighth time delay.
  • the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the resident delay in the first terminal device.
  • the first delay is the maximum transmission delay for the stream to be transmitted from the talker to the first terminal device and the residence delay in the first terminal device.
  • the residency delay of the stream in the first terminal device refers to the transmission and processing delay of the stream in the first terminal device. It can also be referred to as the maximum time consumption of the stream in the first terminal device. It can also be the stream in the device.
  • the total time consumed for transmission and processing between the side delay-sensitive network converter DS-TT and the UE, for example, the residency delay in the first terminal device is UE-DS-TT residence time.
  • a possible manner for the first terminal device to determine the first delay according to the eighth delay includes: the first terminal device adds a predefined or default value to the eighth delay to obtain the first delay.
  • the predefined or default value may be the residence delay of the stream in the first terminal device.
  • the first terminal device may also determine the first delay according to the eighth delay in other ways, which is not limited in the embodiment of the present application.
  • the first terminal device adds a to the eighth delay X, so that the first delay is X+a, where X represents the stream transmitted from the talker to the first The delay of the terminal device, a represents the resident delay of the stream in the first terminal device.
  • Step S504 The first terminal device sends the second information to the user plane function UPF network element.
  • the second information includes the first time delay.
  • the second information may be carried in a Talker Advertise Declaration message of the streaming service provider.
  • the eighth delay in the streaming service provider announcement message received by the first terminal device may be modified to the first delay, and then the first terminal device sends the modification to the UPF The subsequent streaming service provider broadcasts the announcement message. That is, the first terminal device may send the second information to the UPF through the streaming service provider broadcast announcement message, and the second information includes the first delay.
  • Step S505 The UPF receives the second information from the first terminal device.
  • the second information is used to indicate the first delay
  • the first delay includes the delay of the stream being transmitted from the talker to the first terminal device and the residence delay in the first terminal device.
  • the UPF receives the second information from the first terminal device, the second information is used to indicate the first delay, and the first delay is (X+a), where X refers to the stream transmitted from the talker to the first terminal The delay of the device, a refers to the resident delay of the stream in the first terminal device.
  • Step S506 UPF determines to perform local exchange.
  • the local exchange may mean that the UPF receives the second information from the first terminal device and sends the third information to the first terminal device, where the second information includes the delay of the stream from the talker to the first terminal device, and The resident delay in the first terminal device, and the third information includes the delay of the stream being transmitted from the talker to the outbound interface device of the 5GS, that is, the first terminal device.
  • the local exchange may also mean that the UPF receives the second information from the first terminal device and sends the third information to the second terminal device, where the second information includes the delay of the stream transmitting from the talker to the first terminal device, and the The resident delay in the first terminal device, and the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the UPF receives the second information from the terminal equipment UE and sends the third information to the terminal equipment UE, and the second information includes the delay of the stream from the talker to the terminal equipment UE. , And the staying delay in the terminal equipment UE, the third information includes the delay of the flow from the talker to the UE, and the UPF determines to perform the local exchange.
  • the UPF determines to perform the local exchange.
  • Step S507 UPF sends a request message to the session management function SMF network element to request the second delay.
  • Step S508 The SMF receives the request message from the UPF, and sends the second time delay to the UPF.
  • the second delay includes a packet delay budget (PDB) value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session.
  • the PDB value is the transmission delay of the flow between the UPF and the UE as determined by the 5G QoS identifier (5G QoS identifier, 5QI).
  • the PDB value corresponding to the uplink PDU session can be the maximum transmission of the flow from the UE to the UPF.
  • the PDB value corresponding to the downlink PDUsession may be the maximum transmission delay for the stream to be transmitted from the UPF to the UE.
  • the PDB value corresponding to the uplink PDU session or the PDB value corresponding to the downlink PDU session may include the processing delay of the flow within the UPF.
  • UPF sends request information to SMF.
  • the request information is used to request a second delay.
  • SMF sends the second delay to UPF.
  • the second delay can be the uplink of UPF.
  • the sum of the PDB value b corresponding to the PDU session and the PDB value c corresponding to the downlink PDU session of the UPF, namely (b+c), or the second delay can be the PDB value b and UPF corresponding to the uplink PDU session of the UPF
  • the PDB value c corresponding to the downlink PDU session is (b, c).
  • Step S509 UPF receives the second time delay from SMF.
  • Step S510 The UPF obtains the third time delay according to the first time delay and the second time delay.
  • the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and the resident delay in the first terminal device.
  • the second delay includes the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF
  • the third delay includes the delay of the flow from the talker to the second terminal device.
  • the third delay is the maximum transmission delay for the stream to be transmitted from the talker to the second terminal device.
  • a possible implementation manner in which the UPF obtains the third delay according to the first delay and the second delay may include: the UPF determines the sum of the first delay and the second delay as the third delay , So as to obtain the third time delay.
  • UPF can also obtain the third delay based on the first delay and the second delay in other ways. For example, after the UPF adds the first delay and the second delay, the sum obtained by the addition can be performed Correct (for example, add a specified or default value) to obtain the third delay.
  • Correct for example, add a specified or default value
  • the embodiment of the present application does not limit the manner of obtaining the third delay based on the first delay and the second delay.
  • UPF obtains the third delay as X+a+b according to the first delay X+a and the second delay b+c +c.
  • Step S511 The UPF sends the third information to the second terminal device.
  • the third information is used to indicate the third delay, where the second terminal device may be the outbound interface device UE that flows in the 5GS system.
  • the third information may be carried in the broadcast announcement message of the streaming service provider.
  • UPF determines the third delay
  • it can modify the first delay in the streaming service provider announcement message received by UPF to the third delay, and then UPF sends the modified streaming service provider to the second terminal device Broadcast announcement message.
  • the UPF network element may send the third information to the second terminal device through the broadcast announcement message of the streaming service provider, and the third information includes the third delay.
  • Step S512 The second terminal device receives the third information from the UPF.
  • the third information is used to indicate the third delay
  • the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the third delay is the maximum transmission delay for the stream to be transmitted from the talker to the second terminal device.
  • the second terminal device receives the third information from the UPF, and the third information is used to indicate the third delay X+a+b+c.
  • Step S513 The second terminal device determines a ninth time delay according to the third time delay.
  • the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, the resident delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device.
  • the ninth delay is the maximum transmission delay of the stream from the talker to the second terminal device, the residence delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device.
  • the resident delay of the stream in the second terminal device can be the transmission and processing delay of the stream in the second terminal device, or the maximum time consumption of the stream in the second terminal device, or it can be the stream on the device side.
  • a possible way for the second terminal device to determine the ninth delay according to the third delay includes: the second terminal device adds a predefined or default value to the third delay to obtain the ninth delay.
  • the predefined or default value may be the residence delay of the stream in the second terminal device and the transmission delay from the second terminal device to the TSN device.
  • the second terminal device may also determine the ninth delay based on the third delay in other ways, which is not limited in the embodiment of the present application.
  • the second terminal device adds d+txPropogationDelay to the third delay X+a+b+c to obtain the ninth delay X+ a+b+c+d+txPropogationDelay, where X+a+b+c represents the delay of the stream from the talker to the second terminal device, d represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents The transmission delay of the stream from the second terminal device to the TSN device.
  • Step S514 The second terminal device sends the fourth information to the time-sensitive network TSN device.
  • the fourth information includes the ninth time delay, where the TSN device may be the TSN device 2 in FIG. 4-c, and may also be the TSN device 2 in FIG. 4-d.
  • the fourth information may be carried in a Talker Advertise Declaration message of the streaming service provider.
  • the third delay in the streaming service provider broadcast announcement message received by the second terminal device may be modified to the ninth delay, and then the second terminal device sends to the TSN device
  • the modified streaming service provider broadcasts an announcement message. That is, the second terminal device may send the fourth information to the TSN device through the streaming service provider broadcast announcement message, and the fourth information includes the ninth time delay.
  • Step S515 The TSN device receives the fourth information from the second terminal device.
  • the fourth information includes the ninth time delay.
  • the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF.
  • the second information includes the first delay.
  • the UPF receives the first delay from the The second information of a terminal device, and the third delay is obtained according to the first delay in the second information and the second delay from the SMF, and then the UPF sends the third information to the second terminal device.
  • the third information includes The third delay, correspondingly, the second terminal device receives the third delay from the UPF, determines the ninth delay according to the third delay, and then sends the fourth information to the TSN device, and the fourth information includes the ninth delay , Through such a simple way to update the delay, thereby ensuring the quality of stream transmission.
  • the SMF directly sends the second delay to the UPF.
  • the second delay is the transmission delay between the UPF and the terminal equipment UE.
  • FIG. 6 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 6 can be applied to the architecture of FIG. 4-a.
  • the method includes but is not limited to the following steps:
  • Step S601-Step S605 can refer to step S501-Step S505, which will not be repeated here.
  • Step S606 UPF determines that no local exchange is needed.
  • local exchange may mean that the UPF receives the first information from the first terminal device and sends the second information to the first terminal device, where the first information includes the stream transmitted from the talker to the inbound interface device of the 5GS, that is, the first The delay of a terminal device and the resident delay in the first terminal device.
  • the second information includes the delay of the stream transmitted from the talker to the outbound interface device of the 5GS, that is, the delay of the first terminal device.
  • local exchange may also mean that the UPF receives the first information from the first terminal device and sends the second information to the second terminal device, where the first information includes the delay of the stream transmitting from the talker to the first terminal device, and The resident delay in the first terminal device, and the second information includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the UPF receives the first information from the first terminal device, where the first information includes the inbound interface device of the stream transmitted from the talker to the 5GS, that is, the delay of the first terminal device and the The resident delay in the first terminal device, but the second information is not sent to a terminal device, or the second information is not sent to the second terminal device.
  • the second information includes the stream transmitted from the talker to the outbound interface device of the 5GS, That is, the delay of the first terminal device or the delay of the stream transmission from the talker to the second terminal device, the UPF determines that no local exchange is required.
  • Step S607 UPF sends a request message to the session management function SMF network element to request the fourth delay.
  • Step S608 The SMF receives the request message from the UPF, and sends the fourth time delay to the UPF.
  • the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, where the PDB value is the transmission delay between the UPF and the UE as determined by the 5G QoS identifier (5QI).
  • the PDB value corresponding to the PDU session may be the maximum transmission delay of the flow from the UE to the UPF.
  • the PDB value may include the processing delay of the flow inside the UPF.
  • UPF sends request information to SMF, the request information is used to request the fourth delay, SMF receives the request information, and sends the fourth delay b to UPF, correspondingly, UPF receives the fourth delay b from SMF.
  • Step S609 UPF receives the fourth time delay from SMF.
  • Step S610 the UPF obtains the fifth time delay according to the first time delay and the fourth time delay.
  • the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the resident delay in the first terminal device.
  • the fifth delay includes the transmission delay of the stream from the talker to the UPF, the residence delay in the UPF, and the transmission delay from the UPF to the time-sensitive network TSN device.
  • a possible implementation manner in which the UPF obtains the fifth delay according to the first delay and the fourth delay may include: after the UPF adds the first delay and the fourth delay, the sum can be obtained by adding The sum is corrected (for example, a specified or default value is added) to obtain the fifth delay.
  • the embodiment of the present application does not limit the manner of obtaining the fifth delay based on the first delay and the fourth delay.
  • the UPF calculates the sum of the first delay and the fourth delay as X+a+b. Since the UPF is an outgoing interface network element, txPropogationDelay is added on the basis of X+a+b, where txPropogationDelay represents the flow from The transmission delay from the UPF to the TSN device is finally obtained as the fifth delay as X+a+b+txPropogationDelay.
  • Step S611 UPF sends fifth information to the time-sensitive network TSN device.
  • the fifth information includes the fifth time delay, where the TSN device may be the TSN device 2 in FIG. 4-a.
  • the fifth information may be carried in a Talker Advertise Declaration message of the streaming service provider.
  • UPF determines the fifth delay
  • it can modify the first delay in the streaming service provider broadcast announcement message received by UPF to the fifth delay, and then UPF sends the modified streaming service provider broadcast announcement to the TSN device information.
  • the UPF network element may send the fifth information to the TSN device through the broadcast announcement message of the streaming service provider, and the fifth information includes the fifth time delay.
  • Step S612 The TSN device receives the fifth information from the UPF.
  • the fifth information includes the fifth time delay.
  • the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF.
  • the second information includes the first delay.
  • the UPF receives the first delay from the The second information of a terminal device, and the fifth delay is obtained according to the first delay in the second information and the fourth delay from the SMF, and then the UPF sends the fifth information to the TSN device, and the fifth information includes the fifth Delay, the delay is updated in such a simple way to ensure the transmission quality of the stream.
  • the UPF can request a fourth delay from the SMF.
  • the fourth delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • FIG. 7 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 7 can be applied to the architecture of FIG. 4-b.
  • the method includes but is not limited to the following steps:
  • Step S701 The time-sensitive network TSN device or the streaming service provider talker sends the sixth information to the user plane function UPF network element.
  • Step S702 The user plane function UPF network element receives the sixth information from the time-sensitive network TSN device or the streaming service provider talker.
  • the sixth information is used to indicate the sixth delay
  • the sixth delay includes the delay for the stream to be transmitted from the stream service provider talker to the UPF.
  • the sixth delay is the maximum transmission of the stream from the talker to the UPF.
  • Time delay. Talker refers to the host or server that provides the stream, and is the source of the stream.
  • the sixth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
  • the stream service provider broadcast declaration message may also carry a stream identity (Stream ID).
  • the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
  • the UPF receives the sixth message
  • the sixth information is used to indicate the sixth delay
  • the sixth delay is X.
  • Step S703 The UPF sends a request message to the session management function SMF network element for requesting the seventh time delay.
  • Step S704 The SMF receives the request message and sends the seventh time delay to the UPF.
  • the seventh delay includes the PDB value corresponding to the downlink PDU session of the UPF, where the PDB value is the transmission delay of the flow between the UPF and the UE determined by the 5G QoS identifier (5G QoS identifier, 5QI).
  • the PDB value corresponding to the PDU session may be the maximum transmission delay of the flow from the UPF to the UE.
  • the PDB value may include the processing delay of the flow inside the UPF.
  • the UPF sends a request message to the SMF, and the request message is used to request the seventh delay.
  • the SMF receives the request message from the UPF, sends the seventh delay c to the UPF, and the UPF receives the seventh delay c.
  • Step S705 UPF receives the seventh time delay from SMF.
  • Step S706 The UPF obtains the third time delay according to the sixth time delay and the seventh time delay.
  • the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the third delay is the maximum transmission delay of the stream being transmitted from the talker to the second terminal device.
  • a possible implementation manner in which the UPF obtains the third delay according to the sixth delay and the seventh delay may include: the UPF determines the sum of the sixth delay and the seventh delay as the third delay , So as to obtain the third time delay.
  • UPF can also obtain the third delay based on the sixth delay and the seventh delay in other ways. For example, after the UPF adds the sixth delay and the seventh delay, the sum obtained by the addition can be performed Correct (for example, add a specified or default value) to obtain the third delay.
  • Correct for example, add a specified or default value
  • the embodiment of the present application does not limit the manner of obtaining the third delay based on the sixth delay and the seventh delay.
  • the UPF determines that the third delay is X+c according to the sixth delay X and the seventh delay c.
  • Step S707 UPF sends seventh information to the second terminal device.
  • the seventh information is used to indicate the third time delay.
  • the second terminal device may be the UE in Figure 4-b.
  • the seventh information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • UPF determines the third delay
  • it can modify the sixth delay in the streaming service provider announcement message received by UPF to the third delay, and then UPF sends the modified streaming service provider to the second terminal device Broadcast announcement message. That is to say, the UPF network element may send the seventh information to the second terminal device through the broadcast announcement message of the streaming service provider, and the seventh information includes the third time delay.
  • Step S708 The second terminal device receives the seventh information from the UPF.
  • the seventh information is used to indicate the third delay
  • the third delay includes the delay of the stream being transmitted from the talker of the streaming service provider to the second terminal device.
  • the third delay is the transmission of the stream from the talker to the second terminal device. 2. Maximum transmission delay of terminal equipment.
  • the second terminal device receives the seventh information from the UPF, and the seventh information is used to indicate the third delay X+c.
  • Step S709 The second terminal device determines a ninth time delay according to the third time delay.
  • the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, the resident delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device.
  • the resident delay of the stream in the second terminal device may include the transmission and processing delay of the stream in the second terminal device, it can also be the maximum time consumption of the stream in the second terminal device, or it can be the stream on the device side. The total time-consuming transmission and processing between the delay-sensitive network converter DS-TT and the UE.
  • a possible way for the second terminal device to determine the ninth delay according to the third delay includes: the second terminal device adds a predefined or default value to the third delay to obtain the ninth delay.
  • the predefined or default value may be the residence delay of the stream in the second terminal device and the transmission delay from the second terminal device to the TSN device.
  • the second terminal device may also determine the ninth delay based on the third delay in other ways, which is not limited in the embodiment of the present application.
  • the second terminal device adds d+txPropogationDelay to the third delay X+c to obtain the ninth delay X+c+d+txPropogationDelay, where, X+c represents the transmission delay of the stream from the talker to the second terminal device, d represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents the transmission delay of the stream from the second terminal device to the TSN device.
  • Step S710 The second terminal device sends the eighth information to the time-sensitive network TSN device.
  • the eighth information includes the ninth time delay, where the TSN device may be the TSN device 2 in FIG. 4-b.
  • the eighth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the third delay in the streaming service provider broadcast announcement message received by the second terminal device may be modified to the ninth delay, and then the second terminal device sends to the TSN device
  • the modified streaming service provider broadcasts an announcement message. That is, the second terminal device may send the eighth information to the TSN device through the streaming service provider broadcast announcement message, and the eighth information includes the ninth time delay.
  • Step S711 The TSN device receives the eighth information from the second terminal device.
  • the eighth information includes the ninth time delay.
  • the UPF receives the sixth delay in the sixth information from the TSN device or talker, sends a request message to the SMF to request the seventh delay, and determines the third delay based on the sixth delay and the seventh delay , And then send the seventh information to the second terminal device.
  • the seventh information includes the third delay.
  • the second terminal device receives the third delay from the UPF and determines the ninth delay according to the third delay, Then the eighth information is sent to the TSN device, and the eighth information includes the ninth delay.
  • the delay is updated in such a simple way to ensure the transmission quality of the stream.
  • the UPF can request the seventh delay by sending a request message to the SMF.
  • the seventh delay flows between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • FIG. 8 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 8 is applied to the architecture of FIG. 4-c or FIG. 4-d.
  • the method includes but is not limited to the following steps:
  • step S801-step 805 refer to step S501-step 505, which will not be repeated here.
  • Step S806 UPF sends request information to the session management function SMF network element.
  • the request information is used to request the second delay.
  • Step S807 The SMF receives the request information from the UPF.
  • Step S808 SMF determines to perform local exchange.
  • the SMF determining to perform the local exchange may mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the first terminal device, and the second information includes the streaming service provider talker. Transmitted to the inbound interface device in the 5GS system, that is, the delay of the first terminal device and the resident delay in the first terminal device.
  • the third information includes the stream transmitted from the talker to the outbound interface device in the 5GS system, namely The delay of the first terminal device.
  • the SMF determination to perform a local exchange may also mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the second terminal device, where the second information includes the stream transmitted from the talker to the first terminal device The delay of, and the delay of staying in the first terminal device, the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the UPF receives the second information from the terminal equipment UE and sends the third information to the terminal equipment UE, and the second information includes the delay of the stream from the talker to the terminal equipment UE. , And the staying delay in the terminal equipment UE, the third information includes the delay of the flow from the talker to the UE, and the UPF determines to perform the local exchange.
  • the UPF receives the second information from the terminal device UE1 and sends the third information to the terminal device UE2, the second information includes the delay of the stream from the talker to the terminal device UE1, and For the dwell time delay in the terminal equipment UE1, the third information includes the time delay for the stream to be transmitted from the talker to the UE2, and the SMF determines to perform the local exchange.
  • Step S809 The SMF sends the second time delay to the UPF.
  • the second delay includes the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF, where the PDB value is the time when the flow is determined by the 5G QoS identifier (5G QoS identifier, 5QI) between the UPF and the UE.
  • the PDB value corresponding to the uplink PDU session may be the maximum transmission delay of the flow from the UE to the UPF
  • the PDB value corresponding to the downlink PDU session may be the maximum transmission delay of the flow from the UPF to the UE.
  • the PDB value corresponding to the uplink PDU session or the PDB value corresponding to the downlink PDU session may include the processing delay of the flow within the UPF.
  • the SMF sends the second Delay b+c
  • the second delay may be the PDB value b corresponding to the UPF uplink PDU session and the PDB value c corresponding to the UPF downlink PDU session, namely (b, c)
  • the SMF sends the second Time delay (b, c).
  • the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF.
  • the second information includes the first delay.
  • the UPF receives the first delay from the The second information of a terminal device, and the third delay is obtained according to the first delay in the second information and the second delay from the SMF, and then the UPF sends the third information to the second terminal device.
  • the third information includes The third delay, correspondingly, the second terminal device receives the third delay from the UPF, determines the ninth delay according to the third delay, and then sends the fourth information to the TSN device, and the fourth information includes the ninth delay , Through such a simple way to update the delay, thereby ensuring the quality of stream transmission.
  • the SMF directly sends the second delay to the UPF.
  • the second delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • FIG. 9 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 9 is applied to the architecture of FIG. 4-c or FIG. 4-d.
  • the method includes but is not limited to the following steps:
  • steps S901-905 refer to steps S501-505, which will not be repeated here.
  • Step S906 UPF sends the request information to the session management function SMF network element.
  • the request information is used to request the fourth time delay.
  • Step S907 The SMF receives the request information from the UPF.
  • Step S908 The SMF determines that no local exchange is required.
  • determining the local exchange may mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the first terminal device.
  • the second information includes the stream transmitted from the stream service provider talker to the The inbound interface device in the 5GS system, that is, the delay of the first terminal device and the resident delay in the first terminal device.
  • the third information includes the stream transmitted from the talker to the outbound interface device in the 5GS system, that is, the first The delay of the terminal equipment.
  • determining the local exchange may also mean that the SMF determines that the UPF receives the second information from the first terminal device and sends the third information to the second terminal device, where the second information includes the delay of the stream transmitting from the talker to the first terminal device , And the resident delay in the first terminal device, the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the UPF receives the first information from the first terminal device, where the first information includes the inbound interface device of the stream transmitted from the talker to the 5GS, that is, the delay of the first terminal device and the The resident delay in the first terminal device, but the second information is not sent to a terminal device, or the second information is not sent to the second terminal device.
  • the second information includes the stream transmitted from the talker to the outbound interface device of the 5GS, That is, the delay of the first terminal device or the delay of the stream being transmitted from the talker to the second terminal device, the SMF determines that no local exchange is required.
  • Step S909 The SMF sends the fourth time delay to the UPF.
  • the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, where the PDB value is the transmission delay of the flow between the UPF and the UE determined by the 5G QoS identifier (5G QoS identifier, 5QI), where The PDB value corresponding to the uplink PDU session may be the maximum transmission delay of the flow from the UE to the UPF, and the PDB value corresponding to the uplink PDU session may include the processing delay of the flow inside the UPF.
  • the SMF sends the fourth delay b to the UPF.
  • step S910-step S913 reference may be made to step S609-step S612, which will not be repeated here.
  • the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF.
  • the second information includes the first delay.
  • the UPF receives the first delay from the The second information of a terminal device, and the fifth delay is obtained according to the first delay in the second information and the fourth delay from the SMF, and then the UPF sends the fifth information to the TSN device, and the fifth information includes the fifth Delay, the delay is updated in such a simple way to ensure the transmission quality of the stream.
  • the UPF can request a fourth delay from the SMF.
  • the fourth delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • FIG. 10 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 10 is applied to the above-mentioned architectures of FIG. 4-a, FIG.
  • the method includes but is not limited to the following steps:
  • Step S1001 The time-sensitive network TSN device or the streaming service provider talker sends the ninth information to the first device.
  • Step S1002 The first device receives the ninth information from the time-sensitive network TSN device or the streaming service provider talker.
  • the ninth information is used to indicate the delay A, and the delay A includes the delay for the stream to be transmitted from the stream service provider talker to the first device.
  • the delay A is the maximum delay for the stream to be transmitted from the talker to the first device.
  • Transmission delay, talker refers to the host or server that provides the stream, and is the source of the stream.
  • the first device is the inbound interface device of the stream in the 5GS system, and the first device can be a UE or a UPF.
  • the first device may be the UE in FIG. 4-a
  • the first device may be the UPF in FIG. 4-b
  • the first device may be the UE in FIG. 4-c
  • the first device may be the UE in FIG. 4-d UE1 in.
  • the ninth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
  • the stream service provider broadcast declaration message can also carry a stream identity (Stream ID).
  • the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
  • the first device receives the ninth information from the TSN device or the talker.
  • the ninth information is used to indicate the delay A, and the value of the delay A is X.
  • Step S1003 The first device sends a request message to the session management function SMF network element.
  • the request message is used to request time delay B, and time delay B includes the bridge delay and the transmission delay of the flow from the second device to the second TSN device.
  • the second device is an outgoing interface device streaming in the 5GS system, and the second device may be a UE or a UPF.
  • the second device can be the UPF in Figure 4-a
  • the second device can be the UE in Figure 4-b
  • the second device can be the UE in Figure 4-c
  • the second device can be the UE in Figure 4-d.
  • the first device sending the request message to the session management function SMF network element includes: the request message sent by the first device to the SMF carries the delay A.
  • the first device sends a request message to the SMF, and the request message carries a delay A. If the delay A is X, the request message carries a delay of X when the stream is transmitted from the talker to the first device.
  • Step S1004 The SMF receives the request message from the first device.
  • the request message of the first device carries the time delay A.
  • the request message carries the delay A. If the delay A is X, the SMF receives the request message from the first device, and the request message carries the stream transmitted from the talker to the first The delay of the device is X.
  • Step S1005 SMF sends time delay B to the first device.
  • the delay B includes the bridge delay and the transmission delay of the stream from the second device to the second TSN device.
  • the value of bridge delay (5GS bridge delay) is different.
  • 5GS bridge delay corresponds to UPF's uplink PDU session and downlink PDU session.
  • 5GS bridge delay is the PDB corresponding to the UPF uplink PDU session or downlink PDU session
  • the SMF sending delay B to the first device is 5GS bridge delay+txPropogationDelay.
  • the SMF when the request message of the first device carries the delay A, the SMF sends the delay B to the first device, including: the SMF sends the delay B and the delay A to the first device.
  • the SMF when the SMF receives the request message from the first device and carries the delay A, the SMF can send the sum of the delay B and the delay A to the first device, or it can send the delay B and the delay A to the first device.
  • the first device receives the sum of the delay B and the delay A from the SMF, and may also receive the delay B and the delay A from the SMF.
  • the SMF sending delay B to the first device is 5GS bridge delay+txPropogationDelay
  • the delay A is X
  • the sum of the delay B and the delay A may be sent to the first device as 5GS bridge delay+txPropogationDelay+X.
  • Step S1006 The first device receives the time delay B from the SMF.
  • the delay B sent by the SMF to the first device is 5GS bridge delay+txPropogationDelay
  • the delay B received by the first device from the SMF is 5GS bridge delay+txPropogationDelay.
  • the first device receiving the delay B from the SMF includes: the first device receives the delay B and the delay A from the SMF.
  • the first device receiving SMF sending delay B is 5GS bridge delay+txPropogationDelay
  • the delay A is X
  • the sum of the delay B and the delay A sent by the SMF to the first device is 5GS bridge delay+txPropogationDelay+X
  • the sum of the delay B and the delay A received from the SMF by the first device is 5GS bridge delay+txPropogationDelay+ X.
  • Step S1007 The first device obtains the time delay C according to the time delay A and the time delay B.
  • the delay C includes the delay of the stream being transmitted from the talker to the second time-sensitive network TSN device.
  • the delay C is the maximum transmission delay of the stream being transmitted from the talker to the second TSN device.
  • a possible implementation manner in which the first device obtains the delay C according to the delay A and the delay B may include: the first device determines the sum of the delay A and the delay B as the delay C, thereby Obtain the delay C.
  • the first device can also obtain delay C based on delay A and delay B in other ways. For example, after adding delay A and delay B, the first device can modify the sum obtained by adding (for example, , Plus a designated or default value) to obtain the time delay C.
  • the embodiment of the present application does not limit the manner of obtaining the time delay C according to the time delay A and the time delay B.
  • the first device determines the value of delay C according to delay A and delay B as X+5GS bridge delay+txPropogationDelay.
  • Step S1008 The first device determines the tenth information.
  • the tenth information includes time delay C.
  • Step S1009 The first device sends the tenth information to the second device.
  • the tenth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the second device is an outgoing interface device streaming in the 5GS system, and the second device may be a UE or a UPF.
  • the second device can be the UPF in Figure 4-a
  • the second device can be the UE in Figure 4-b
  • the second device can be the UE in Figure 4-c
  • the second device can be the UE in Figure 4-d.
  • UE2 in.
  • the first device can modify the delay A in the streaming service provider announcement message received by the first device to the delay C, and then the first device sends the modified streaming service to the second device
  • the provider broadcasts the announcement message.
  • the first device may send the tenth information to the second device through the broadcast announcement message of the streaming service provider, and the tenth information includes the delay C.
  • Step S1010 The second device receives the tenth information from the first device.
  • Step S1011 The second device sends the tenth information to the TSN device.
  • the tenth information includes time delay C.
  • the TSN device can be the TSN device 2 in Figure 4-a, the TSN device 2 in Figure 4-b, or the TSN device 2 in Figure 4-c, or it can also be the TSN device 2 in Figure 4-d. TSN equipment in 2.
  • Step S1012 The TSN device receives the tenth information of the second device.
  • the tenth information includes time delay C.
  • the first device receives the ninth information from the TSN device or Talker.
  • the ninth information includes the delay A, requests the delay B from the SMF, determines the delay C according to the delay A and the delay B, and then sends it to the first
  • the second device sends tenth information, and the tenth information includes time delay C.
  • the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the first device can request delay B by sending a request message to SMF.
  • the delay B is the incoming interface device of the 5GS system, such as The transmission delay between the UPF and 5GS system outbound interface devices, such as the UE, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
  • FIG. 11 is a communication method provided by an embodiment of the present application.
  • the method shown in FIG. 11 is applied to the architecture of FIG. 4-a, FIG. 4-b, FIG. 4-c, or FIG. 4-d.
  • the method includes but is not limited to the following steps:
  • Step S1101 The time-sensitive network TSN device or the streaming service provider talker sends the ninth information to the first device.
  • Step S1002 The first device receives the ninth information from the time-sensitive network TSN device or the streaming service provider talker.
  • Step S1003 The first device sends the ninth information to the second device.
  • Step S1104 The second device receives the ninth information from the first device.
  • the ninth information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, where the delay A can be the stream being transmitted from the stream service provider talker to the first device.
  • the talker refers to the host or server that provides the stream, and is the source of the stream.
  • the second device is the outgoing interface device of the stream in the 5GS system.
  • the second device can be a UE or a UPF.
  • the second device can be the UPF in Figure 4-a
  • the second device can be the UE in Figure 4-b
  • the second device can be the UE in Figure 4-c
  • the second device can be the UE in Figure 4-d.
  • the first device is an inbound interface device streaming in the 5GS system, and the first device may be a UE or a UPF.
  • the first device may be the UE in FIG. 4-a
  • the first device may be the UPF in FIG. 4-b
  • the first device may be the UE in FIG. 4-c
  • the first device may be the UE in FIG. 4-d UE1 in.
  • the ninth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
  • the stream service provider broadcast declaration message can also carry a stream identity (Stream ID).
  • the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source_address, maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
  • the second device receives the ninth information, and the ninth information is used to indicate the time delay A, and the time delay A is X.
  • Step S1105 The second device sends a request message to the session management function SMF network element.
  • the request message is used to request time delay B, which includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device.
  • the second device sending the request message to the session management function SMF network element includes: the request message sent by the second device to the SMF carries the delay A.
  • the second device sends a request message to the SMF, and the request message carries the delay A. If the delay A is X, the request message carries the delay X of the flow from the talker to the first device.
  • Step S1106 The SMF receives the request message from the second device.
  • the request message of the second device carries the time delay A.
  • the request message carries a delay A
  • the delay A is X
  • the SMF receives a request message from the second device, and the request message carries a stream transmitted from the talker to the first
  • the delay of the device is X.
  • Step S1107 SMF sends time delay B to the second device.
  • the delay B includes the bridge delay and the transmission delay of the stream from the second device to the second TSN device.
  • the value of bridge delay (5GS bridge delay) is different.
  • 5GS bridge delay corresponds to UPF's uplink PDU session and downlink PDU session.
  • 5GS bridge delay is the PDB corresponding to the UPF uplink PDU session or downlink PDU session
  • the SMF sending delay B to the second device is 5GS bridge delay+txPropogationDelay.
  • the SMF when the request message of the second device carries the delay A, the SMF sends the delay B to the second device, including: the SMF sends the delay B and the delay A to the second device.
  • the SMF can send the sum of the delay B and the delay A to the second device, or it can send the delay B and the delay A to the second device.
  • the second device receives the sum of the delay B and the delay A from the SMF, and may also receive the delay B and the delay A from the SMF.
  • the delay B is 5GS bridge delay+txPropogationDelay and the delay A is X
  • the SMF sending delay B to the second device is 5GS bridge delay+txPropogationDelay
  • the delay A is X.
  • the sum of the delay B and the delay A may be sent to the second device as 5GS bridge delay+txPropogationDelay+X.
  • Step S1108 The second device receives the time delay B sent by the SMF.
  • the delay B sent by the SMF to the second device is 5GS bridge delay+txPropogationDelay
  • the delay B received by the second device from the SMF is 5GS bridge delay+txPropogationDelay.
  • the time delay B for receiving the SMF transmission by the second device includes: the time delay B and the time delay A for receiving the SMF transmission by the second device.
  • SMF can send the sum of delay B and delay A to the second device, or send delay B and delay A to the second device.
  • the second device receives delay B and time delay from SMF.
  • the sum of delay A can also receive delay B and delay A from SMF.
  • the second device receiving SMF sending delay B is 5GS bridge delay+txPropogationDelay
  • the delay A is X
  • the sum of the delay B and the delay A sent by the SMF to the second device is 5GS bridge delay+txPropogationDelay+X
  • the sum of the delay B and the delay A received from the SMF by the second device is 5GS bridge delay+txPropogationDelay+ X.
  • Step S1109 The second device obtains the time delay C according to the time delay A and the time delay B.
  • the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
  • a possible implementation manner in which the second device obtains the delay C according to the delay A and the delay B may include: the second device determines the sum of the delay A and the delay B as the delay C, and thus Obtain the delay C.
  • the second device can also obtain delay C based on delay A and delay B in other ways. For example, after adding delay A and delay B, the second device can modify the sum obtained by adding (for example, , Plus a designated or default value) to obtain the time delay C.
  • the embodiment of the present application does not limit the manner of obtaining the time delay C according to the time delay A and the time delay B.
  • the second device determines that delay C is X+5GS bridge delay+txPropogationDelay according to delay A and delay B.
  • Step S1110 The second device determines the tenth information.
  • the tenth information includes time delay C.
  • Step S1111 The second device sends the tenth information to the TSN device.
  • the tenth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
  • the second device can modify the delay A in the streaming service provider announcement message received by the second device to the delay C, and then the second device sends the modified streaming service to the TSN device.
  • Step S1112 The second TSN device receives the tenth information from the second device.
  • the tenth information includes time delay C.
  • the second device receives the ninth information from the first device.
  • the ninth information includes delay A, requests delay B from SMF, determines delay C according to delay A and delay B, and then sends it to the TSN device Send the tenth message, the tenth message includes the time delay C.
  • the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
  • the second device can request delay B by sending a request message to the SMF.
  • the delay B is flowed between the 5GS system inbound interface device and the 5GS.
  • FIG. 12 is a schematic structural diagram of a communication device 1200 provided by an embodiment of the present application.
  • the communication device may include a transceiver module 1201 and a processing module 1202. The detailed description of each module is as follows.
  • the communication device 1200 can be used to implement the user plane function UPF network element and the network device of the UPF network element in the method described in any one of FIG. 5 to FIG. 11.
  • the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a first delay, and the first delay includes the delay of the stream being transmitted from the stream service provider talker to the first terminal device, And the resident delay in the first terminal device; a processing module 1202, configured to determine to perform a local exchange, request a second delay from the session management function SMF network element, and according to the first delay and the first delay The second delay obtains the third delay, and the second delay includes the packet delay budget PDB value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session, and the third time delay The delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the processing module 1202 is further configured to determine that no local exchange is required, request the SMF for a fourth delay, and according to the first The fifth delay is obtained by the delay and the fourth delay, the fourth delay includes the PDB value corresponding to the UPF uplink PDU session, and the fifth delay includes the flow
  • the communication device 1200 can be used to implement the user plane function UPF network element, the network device of the UPF network element in the method described in any one of FIG. 5 to FIG. 11.
  • the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a sixth delay, and the sixth delay includes the delay of stream transmission from the stream service provider talker to the UPF; processing The module 1202 is configured to request a seventh delay from the session management function SMF network element, and obtain a third delay according to the sixth delay and the seventh delay, where the seventh delay includes the downlink of the UPF.
  • the packet delay budget PDB value corresponding to the session of the protocol data unit PDU session, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the communication device 1200 can be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
  • the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a time delay A, and the time delay A includes the time delay for the stream to be transmitted from the stream service provider talker to the device;
  • the module 1201 is used to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the transmission of the flow from the second device to the second time-sensitive network TSN device Time delay, and receiving the time delay B from the SMF; the processing module 1202 is configured to obtain the time delay C according to the time delay A and the time delay B, and the time delay C includes the flow from the The delay of the talker transmission to the second TSN device; the processing module 1202 is configured to determine second information, and the second information includes the delay C; the transceiver module 1201 is also configured to communicate to the The second device sends the second information.
  • the transceiver module 1201 is further configured to carry the time delay A in a request message sent to the SMF.
  • the transceiver module 1201 is further configured to receive the delay B and the delay A from the SMF.
  • the communication device 1200 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
  • the transceiver module 1201 is configured to receive first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device; the transceiver module 1201 uses In sending a request message to the session management function SMF network element for requesting delay B, the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device.
  • the transceiver module 1201 is also used to receive the time delay B sent by the SMF; the processing module 1202 is used to obtain the time delay C according to the time delay A and the time delay B, and the time delay C It includes the delay of the stream being transmitted from the talker to the second TSN device; the processing module 1202 is also used to determine second information, the second information includes the delay C; the transceiver module 1201, It is also used to send the second information to the second TSN device.
  • the transceiver module 1201 is further configured to carry the time delay A in a request message sent
  • the communication device 1200 may be used to execute the SMF network element in the method described in any one of FIG. 5 to FIG. 11, or the network device of the SMF network element.
  • the transceiver module 1201 is configured to receive request information from the user plane function UPF network element, and is used to request the second delay and/or the fourth delay;
  • the UPF sends the second delay, and the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the second
  • the delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and The resident delay in the first terminal device, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the processing module 1202 is configured to determine that it is not required For local exchange, the fourth delay is sent to the UPF through the transceiver module 1201, and the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF.
  • the communication device 1200 can be used to implement the user plane function SMF network element, the network device of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
  • the processing module 1202 is configured to receive request information from the user plane function UPF through the transceiver module 1201 for requesting the seventh delay; the processing module 1202 is configured to transmit the seventh delay to the UPF through the transceiver module 1201, the The seventh delay includes the packet delay budget PDB value corresponding to the session PDU session of the UPF downlink protocol data unit, and the seventh delay is used by the UPF to obtain according to the sixth delay and the seventh delay.
  • the third delay, the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the communication device 1200 can be used to execute the SMF network element and the network equipment of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
  • the processing module 1202 is configured to receive a request message from the first device through the transceiver module 1201.
  • the request message is used to request delay B.
  • the delay B includes the bridge delay and the flow from the second device to the second device.
  • the transmission delay of the time-sensitive network TSN device; the processing module 1202 is configured to send the delay B to the first device through the transceiver module 1201, and the delay B is used by the first device according to the delay A and the delay B obtain the delay C.
  • the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream being transmitted from the talker to the first device. Describe the time delay of the second TSN device.
  • the request message of the first device carries the time delay A.
  • the processing module 1202 is further configured to send the delay B and the delay A to the first device through the transceiver module 1201 when the request message of the first device carries the delay A.
  • the time delay A is a configurable period of the
  • the communication device 1200 can be used to execute the SMF network element and the network equipment of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
  • the processing module 1202 is configured to receive a request message from the second device through the transceiver module 1201, the request message is used to request a delay B, and the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the processing module 1202 is configured to send the delay B to the second device through the transceiver module 1201; the delay B is used by the second device according to the The delay A and the delay B obtain the delay C.
  • the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream being transmitted from the talker to the first device. Describe the time delay of the second TSN device.
  • the request message of the second device carries the time delay A.
  • the processing module 1202 is further configured to send the delay B and the delay A to the second device through the transceiver module 1201 when the request message of the second device carries the delay A.
  • the time delay A is
  • FIG. 13 is a schematic structural diagram of a communication device 1300 according to an embodiment of the present application.
  • the communication device may include a transceiver module 1301 and a processing module 1302. The detailed description of each module is as follows.
  • the communication device 1300 may be used to execute the first terminal device in the method described in any one of FIG. 5 to FIG. 11.
  • the transceiver module 1301 is configured to receive first information, where the first information is used to indicate an eighth delay, and the eighth delay includes the delay of stream transmission from the streaming service provider talker to the first terminal device;
  • the processing module 1302 is configured to determine a first delay according to the eighth delay, where the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the delay at the first terminal Resident delay in the device;
  • the transceiver module 1301 is configured to send second information to a user plane function UPF network element, where the second information includes the first delay.
  • the communication device 1300 may be used to execute the second terminal device in the method described in any one of FIG. 5 to FIG. 11.
  • the transceiver module 1301 is configured to receive first information, where the first information is used to indicate a third delay, and the third delay includes the delay of the stream being transmitted from the streaming service provider talker to the second terminal device;
  • the processing module 1302 is configured to determine a ninth delay according to the third delay, where the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, The resident delay and the transmission delay from the second terminal device to the time-sensitive network TSN device; the transceiver module 1301 is configured to send second information to the TSN device, and the second information includes the first Nine time delay.
  • the communication device 1300 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
  • the transceiver module 1301 is configured to receive first information, where the first information is used to indicate time delay A, and the time delay A includes the time delay for the stream to be transmitted from the stream service provider talker to the device;
  • the module 1301 is used to send a request message to the session management function SMF network element for requesting delay B.
  • the delay B includes the bridge delay and the transmission of the flow from the second device to the second time-sensitive network TSN device Time delay, and receiving the time delay B from the SMF; the processing module 1302 is configured to obtain the time delay C according to the time delay A and the time delay B, and the time delay C includes the flow from the The delay of the talker transmission to the second TSN device; the processing module 1302 is configured to determine second information, and the second information includes the delay C; the transceiver module 1301 is also configured to The second device sends the second information.
  • the transceiver module 1301 is further configured to send the request message to the SMF to carry the delay A.
  • the transceiver module 1301 is further configured to receive the delay B and the delay A from the SMF.
  • the communication device 1300 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be a UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
  • the transceiver module 1301 is configured to receive first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device; the transceiver module 1301 uses In sending a request message to the session management function SMF network element for requesting delay B, the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device.
  • the transceiver module 1301 is also used to receive the time delay B sent by the SMF; the processing module 1302 is used to obtain the time delay C according to the time delay A and the time delay B, and the time delay C It includes the delay of the stream being transmitted from the talker to the second TSN device; the processing module 1302 is further configured to determine second information, the second information includes the delay C; the transceiver module 1301, It is also used to send the second information to the second TSN device.
  • the transceiver module 1301 is further configured to send the request message to the SMF to carry the
  • FIG. 14 is a schematic structural diagram of a communication device 1400 according to an embodiment of the present application.
  • the communication device 1400 includes an interface circuit 1401 and a processor 1402, and optionally, a memory 1403.
  • the interface circuit 1401 may be a transceiver or an input/output interface
  • the memory 1403 is used to store a computer program
  • the processor 1402 is coupled with the memory 1403 and the interface circuit 1401.
  • the communication device 1400 can be used to perform the user plane function UPF network element, the network device of the UPF network element, or the network device applied to the network device in the method described in any one of FIGS. 5 to 11 chip.
  • the processor 1402 executes the computer program, it performs the following operations: receiving first information, where the first information is used to indicate a first delay, and the first delay includes stream transmission from the streaming service provider talker to the first delay.
  • the delay of a terminal device and the staying delay in the first terminal device determine to perform a local exchange, request a second delay from the session management function SMF network element, and according to the first delay and the The second delay obtains the third delay, and the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the third
  • the time delay includes the time delay for the stream to be transmitted from the talker to the second terminal device; and/or it is determined that no local exchange is required, and the SMF is requested for a fourth time delay, according to the first time delay and the fourth time delay.
  • the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF
  • the fifth delay includes the delay of the flow from the talker to the UPF, and the The residence delay in the UPF and the transmission delay from the UPF to the time-sensitive network TSN device.
  • the communication device 1400 can be used to perform the user plane function UPF network element, the network device of the UPF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
  • the processor 1402 executes the computer program, it performs the following operations: receiving first information, where the first information is used to indicate a sixth time delay, and the sixth time delay includes stream transmission from the streaming service provider talker to all The delay of the UPF; a seventh delay is requested from the session management function SMF network element, and the third delay is obtained according to the sixth delay and the seventh delay, and the seventh delay includes the UPF The packet delay budget PDB value corresponding to the session PDU session of the downlink protocol data unit, where the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  • the communication device 1400 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
  • the processor 1402 executes the computer program, it performs the following operations: receives first information through the interface circuit 1401, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1401 to request the delay B.
  • the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; receiving the delay B from the SMF through the interface circuit 1401; obtaining the delay C according to the delay A and the delay B, the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the second device to the second device through the interface circuit 1401 information.
  • the processor 1402 is further configured to send the request message to the SMF through the interface circuit 1401 to carry the time delay A.
  • the processor 1402 is further configured to receive the delay B and the delay A from the SMF through the interface circuit 1401.
  • the communication device 1400 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF, or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
  • the processor 1402 executes the computer program, it performs the following operations: receives first information through the interface circuit 1401, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1401 to request the delay B.
  • the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the delay B sent by the SMF is received through the interface circuit 1401; the delay C is obtained according to the delay A and the delay B, and the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the first TSN device to the second TSN device through the interface circuit 1401 Two information.
  • the processor 1402 is further configured to send the request message to the SMF through the interface circuit 1401 to carry the time delay A.
  • the processor 1402 is further configured to receive the delay B and the delay A sent by the SMF through the interface circuit 1401.
  • the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
  • the processor 1402 executes the computer program, it performs the following operations: receiving request information from a user plane function UPF network element through the interface circuit 1401 for requesting the second delay and/or the fourth delay; determining to perform a local exchange , Sending the second delay to the UPF through the interface circuit 1401, the second delay including the UPF uplink protocol data unit session PDU session and the packet delay budget corresponding to the downlink protocol data unit session PDU session PDB value, the second delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes stream transmission from the streaming service provider talker to the first The delay of the terminal device and the delay of staying in the first terminal device, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the determination does not need to be performed For local switching, the fourth delay is sent to the UPF through the interface circuit 1401, where the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF.
  • the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
  • the processor 1402 executes the computer program, it performs the following operations: receiving request information from the user plane function UPF through the interface circuit 1401 for requesting the seventh time delay; and sending the seventh time delay to the UPF through the interface circuit 1401
  • the seventh delay includes the packet delay budget PDB value corresponding to the PDU session of the UPF downlink protocol data unit session, and the seventh delay is used by the UPF according to the sixth delay and the The seventh delay obtains the third delay, the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the stream being transmitted from the talker to the second terminal The delay of the device.
  • the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
  • the processor 1402 executes the computer program, it performs the following operations: receives a request message from the first device through the interface circuit 1401, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the stream from the second device to the second time-sensitive network TSN device;
  • the time delay B is sent to the first device through the interface circuit 1401, and the time delay B is used by the first device to obtain the time delay C according to the time delay A and the time delay B, and the time delay A includes the delay of stream transmission from the stream service provider talker to the first device, and the delay C includes the delay of stream transmission from the talker to the second TSN device.
  • the request message of all the first device carries the time delay A.
  • the processor 1402 is further configured to send the delay B and the delay A to the first device through the interface circuit 1401 when the request message of the first device carries the delay A. The time delay A.
  • the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
  • the processor 1402 executes the computer program, it performs the following operations: receives a request message from the second device through the interface circuit 1401, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the flow from the second device to the second time-sensitive network TSN device; the delay B is sent to the second device through the interface circuit 1401; the delay B is used for the second device Obtain the time delay C according to the time delay A and the time delay B.
  • the time delay A includes the time delay of the flow from the streaming service provider talker to the first device, and the time delay C includes the flow from the talker. Transmission delay to the second TSN device.
  • the request message of the second device carries the time delay A.
  • the processor 1402 is further configured to send the delay B and the delay A to the second device through the interface circuit 1401 when the request message of the second device carries the delay A.
  • the time delay A receives a request message from the second device through the interface circuit 1401, the request message is used to request delay B, and the
  • FIG. 15 is a schematic structural diagram of a communication device 1500 according to an embodiment of the present application.
  • the communication device 1500 includes an interface circuit 1501 and a processor 1502, and optionally, a memory 1503.
  • the interface circuit 1501 may be a transceiver or an input/output interface
  • the memory 1503 is used to store a computer program
  • the processor 1502 is coupled with the memory 1503 and the interface circuit 1501.
  • the communication device 1500 may be used to execute the first terminal device in the method described in any one of FIG. 5 to FIG. 11, or applied to a chip in the first terminal device.
  • the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate an eighth delay, and the eighth delay includes the streaming service provider The delay of talker transmission to the first terminal device; the first delay is determined according to the eighth delay, and the first delay includes the delay of stream transmission from the talker to the first terminal device, And the resident delay in the first terminal device; sending second information to the user plane function UPF network element through the interface circuit 1501, and the second information includes the first delay.
  • the communication device 1500 may be used to execute the second terminal device in the method described in any one of FIG. 5 to FIG. 11, or applied to a chip in the second terminal device.
  • the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate a third delay, and the third delay includes the streaming service provider The delay of the talker transmission to the second terminal device; the ninth delay is determined according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, The residence delay in the second terminal device and the transmission delay from the second terminal device to the time-sensitive network TSN device; the second information is sent to the TSN device through the interface circuit 1501, and the second The information includes the ninth time delay.
  • the communication device 1500 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
  • the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1501 to request the delay B.
  • the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; receiving the delay B from the SMF through the interface circuit 1501; obtaining the delay C according to the delay A and the delay B, the delay C Including the time delay for stream transmission from the talker to the second TSN device; determining second information, where the second information includes the time delay C; sending the second device to the second device through the interface circuit 1501 information.
  • the processor 1502 is further configured to send the request message to the SMF through the interface circuit 1501 to carry the time delay A.
  • the processor 1502 is further configured to receive the delay B and the delay A from the SMF through the interface circuit 1501.
  • the communication device 1500 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
  • the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1501 to request the delay B, and the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the delay B sent by the SMF is received through the interface circuit 1501; the delay C is obtained according to the delay A and the delay B, the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the first TSN device to the second TSN device through the interface circuit 1501 Two information.
  • the processor 1502 is further configured to send the request message to the SMF through the interface circuit 1501 to carry the time delay A. In another example, the processor 1502 is further configured to receive the delay B and the delay A sent by the SMF through the interface circuit 1501.
  • the embodiment of the present application also provides a computer product, and provides a computer program product.
  • the computer program product includes: a computer program. When the computer program runs, the method executed by the terminal device in the above method embodiment is implement.
  • the embodiment of the application provides a computer program product, the computer program product includes: a computer program, when the computer program is executed, the above method embodiment is executed by a network device, a UPF network element, or an SMF network element The method is executed.
  • the embodiment of the present application provides a chip system, which includes a processor, and is configured to implement the functions of the terminal-side device in the foregoing method embodiment.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiment of the present application provides a chip system, which includes a processor, and is configured to implement the functions of the network side device in the foregoing method embodiment.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiment of the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the terminal-side device in the foregoing method embodiment is implemented.
  • the embodiment of the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the network-side device in the foregoing method embodiment is implemented.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, 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 the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • 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, DSPs), and application-specific integrated circuits. (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

Provided are a communication method and a communication apparatus. The method comprises: a UPF determining to perform local exchange, and the UPF requesting a second delay from an SMF and acquiring a third delay according to a first delay and the second delay, wherein the third delay comprises the delay of a stream transmitting from a talker to a second terminal device; and/or, the UPF determining that local exchange does not need to be performed, requesting a fourth delay from the SMF, and acquiring a fifth delay according to the first delay and the fourth delay, wherein the fifth delay comprises the delay of the stream from the talker to the UPF, a resident delay thereof in the UPF, and the delay thereof from the UPF to a TSN device. By using the embodiments of the present application, the delay of a stream transmitting from a talker to a second terminal device and/or the delay of the stream from the talker to a TSN device can be determined in a simple way, thereby determining the delay of transmission processing of the stream between a 5GS and the TSN device, and guaranteeing the transmission quality of the stream.

Description

一种通信方法和通信装置Communication method and communication device 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通信方法和通信装置。This application relates to the field of communication technology, and in particular to a communication method and communication device.
背景技术Background technique
在第三代合作伙伴计划(3rd generation partnership project,3GPP)时延敏感网络(Time Sensitive Network,TSN)课题中将第五代移动通信技术系统(the 5th generation wireless systems,5GS)整体视为一个虚拟的时间敏感网络(time-sensitive networking,TSN)的网桥。通过分别在用户设备(user equipment,UE)侧叠加设备侧TSN转换器(device side TSN translator,DS-TT),以及用户面功能(user planefunction,UPF)侧叠加网络侧TSN转换器(network side TSN translator,NW-TT)的形式,适配外部的TSN网络。在分布式TSN网络中,TSN网桥设备和终端设备通过各类分布式协议完成路径规划、资源预留等功能。In the 3rd generation partnership project (3GPP) Time Sensitive Network (TSN) project, the 5th generation wireless systems (5GS) as a whole is regarded as a virtual Time-sensitive network (TSN) bridge. By superimposing the device side TSN translator (DS-TT) on the user equipment (UE) side and the network side TSN converter (network side TSN) on the user plane function (UPF) side respectively Translator, NW-TT) form, adapt to the external TSN network. In a distributed TSN network, TSN bridge equipment and terminal equipment complete functions such as path planning and resource reservation through various distributed protocols.
TSN网络中一个重要的分布式资源预留协议便是多流保留协议(multiple stream reservationprotocol,MSRP)。但是,在5GS与TSN网络互通时,需要计算流在5GS与TSN设备之间传输处理的时延,因此,5GS与TSN网络互通时确定流在5GS与TSN设备之间传输处理的时延,从而保证流的传输质量是本领域技术人员正在解决的技术问题。An important distributed resource reservation protocol in the TSN network is the multiple stream reservation protocol (MSRP). However, when the 5GS and TSN networks are interoperable, it is necessary to calculate the transmission and processing delay of the stream between the 5GS and TSN equipment. Therefore, when the 5GS and TSN networks are interoperable, determine the transmission and processing delay of the stream between the 5GS and TSN equipment, thus Ensuring the transmission quality of a stream is a technical problem being solved by those skilled in the art.
发明内容Summary of the invention
本申请实施例公开了一种通信方法和通信装置,能够确定流在5GS与TSN设备之间传输处理的时延,从而保证流的传输质量。The embodiment of the present application discloses a communication method and a communication device, which can determine the time delay of a stream transmission processing between a 5GS and a TSN device, so as to ensure the transmission quality of the stream.
本申请实施例第一方面公开了一种通信方法,该方法的执行主体可以为用户面功能UPF网元,也可以为包括UPF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是UPF为例进行描述。用户面功能UPF网元接收第一信息,所述第一信息用于指示第一时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延;在所述UPF确定进行本地交换,所述UPF向会话管理功能SMF网元请求第二时延,根据所述第一时延和所述第二时延获取第三时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或在所述UPF确定不需要本地交换,所述UPF向所述SMF请求第四时延,根据所述第一时延和所述第四时延获取第五时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值,所述第五时延包括流从所述talker传输至所述UPF的时延、在所述UPF内的驻留时延和从所述UPF至时间敏感网络TSN设备的传输时延。The first aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a user plane function UPF network element, a network device including the UPF network element, or a chip applied to the network device. The following takes the execution subject of UPF as an example for description. The user plane function UPF network element receives first information, the first information is used to indicate a first delay, and the first delay includes the delay of the stream being transmitted from the stream service provider talker to the first terminal device, and the The dwell delay in the first terminal device; the UPF determines to perform a local exchange, the UPF requests a second delay from the session management function SMF network element, and according to the first delay and the second delay Delay to obtain a third delay, and the second delay includes the packet delay budget PDB value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session, and the third delay Including the delay of stream transmission from the talker to the second terminal device; and/or when the UPF determines that no local exchange is required, the UPF requests the SMF for a fourth delay, and according to the first delay and The fourth delay obtains the fifth delay, the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, and the fifth delay includes the transmission of the stream from the talker to the UPF Time delay, residence time delay in the UPF, and transmission time delay from the UPF to a time-sensitive network TSN device.
例如,第一时延为X+a,第二时延为b+c,第四时延为b,相应的,UPF确定需要本地交换,根据第一时延和第二时延获取第三时延为X+a+b+c;UPD确定不需要本地交换,根据第一时延和第四时延获取第五时延为X+a+b+txPropogationDelay,其中,txPropogationDelay表示流从UPF至时间敏感网络TSN设备的传输时延。For example, the first delay is X+a, the second delay is b+c, and the fourth delay is b. Correspondingly, UPF determines that local switching is required, and the third delay is obtained according to the first delay and the second delay. The delay is X+a+b+c; UPD determines that local switching is not required. According to the first delay and the fourth delay, the fifth delay is obtained as X+a+b+txPropogationDelay, where txPropogationDelay represents the flow from UPF to time Transmission delay of sensitive network TSN equipment.
在上述方法中,UPF接收第一信息中的第一时延,第一时延包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延,以及确定进行本地交换之后,根据第一时延和UPF的上行PDU session和下行PDU session所对应的PDB值获取流从talker传输至第二终端设备的时延,通过这样简单的方式,UPF能够获得流从talker传输至第二终端设备的时延,和/或,UPF接收第一信息中的第一时延,以及确定不需要本地交换之后,根据第一时延和UPF的上行PDU session所对应的PDB值获取流从talker传输至UPF的时延、在UPF内的驻留时延和从UPF至TSN设备的传输时延,通过这样简单的方式,UPF能够获得流从talker传输至TSN设备的时延,进而可以保证流的传输质量。In the above method, the UPF receives the first delay in the first information, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the residence delay in the first terminal device, and determining After the local exchange is performed, according to the first delay and the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF, the delay of the flow from the talker to the second terminal device is obtained. In this simple way, the UPF can obtain the flow from the second terminal device. The delay of the talker transmission to the second terminal device, and/or the UPF receiving the first delay in the first message, and after determining that local exchange is not required, according to the first delay and the PDB corresponding to the UPF uplink PDU session Obtain the delay of the stream from the talker to the UPF, the dwell delay in the UPF, and the transmission delay from the UPF to the TSN device. In this simple way, UPF can obtain the delay of the stream from the talker to the TSN device. , Which can ensure the transmission quality of the stream.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,UPF可以通过向SMF请求第二时延和/或第四时延,该第二时延和/或第四时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the UPF can request the second delay and/or the fourth delay from the SMF. The second delay and/or the fourth delay This is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
例如,所述第一时延可以包括流从流服务提供者talker至第一终端设备的最大传输时延、以及在所述第一终端设备内的驻留时延。For example, the first delay may include the maximum transmission delay of the stream from the streaming service provider talker to the first terminal device, and the residence delay in the first terminal device.
本申请实施例第二方面公开了一种通信方法,该方法的执行主体可以为用户面功能UPF网元,也可以为包括UPF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是UPF为例进行描述。用户面功能UPF网元接收第一信息,所述第一信息用于指示第六时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延;所述UPF向会话管理功能SMF网元请求第七时延,根据所述第六时延和所述第七时延获取第三时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至终端设备的时延。The second aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a user plane function UPF network element, a network device including the UPF network element, or a chip applied to the network device. The following takes the execution subject of UPF as an example for description. The user plane function UPF network element receives first information, where the first information is used to indicate a sixth delay, and the sixth delay includes the delay for the stream to be transmitted from the stream service provider talker to the UPF; the UPF Request a seventh delay from the session management function SMF network element, and obtain a third delay according to the sixth delay and the seventh delay, where the seventh delay includes the UPF downlink protocol data unit session PDU The packet delay budget PDB value corresponding to the session, and the third delay includes the delay of the stream being transmitted from the talker to the terminal device.
例如,第六时延为X,第七时延为c,UPF根据第六时延和第七时延获取第三时延为X+c。For example, the sixth delay is X, the seventh delay is c, and the UPF obtains the third delay as X+c according to the sixth delay and the seventh delay.
在上述方法中,UPF接收第一信息中的第六时延,即流从talker传输至UPF的时延,以及确定不需要本地交换之后,根据从talker传输至UPF的时延和UPF的下行PDU session所对应的PDB值获取流从talker传输至终端设备的时延,通过这样简单的方式,UPF能够在流从talker传输至UPF的时延的基础上加上流从UPF至终端设备的传输和处理的时延,从而获得流从talker传输至终端设备的时延,进而保证流的传输质量。In the above method, the UPF receives the sixth delay in the first message, that is, the delay for the stream to be transmitted from the talker to the UPF, and after determining that no local exchange is required, it is based on the delay for transmission from the talker to the UPF and the UPF downlink PDU The PDB value corresponding to the session obtains the delay of the stream from the talker to the terminal device. In this simple way, UPF can add the transmission and processing of the stream from the UPF to the terminal device on the basis of the delay of the stream from the talker to the UPF. In order to obtain the delay of the stream from the talker to the terminal device, the transmission quality of the stream can be ensured.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,UPF可以通过向SMF请求第七时延,该第七时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the UPF can request the seventh delay from the SMF. The seventh delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
例如,所述第六时延可以为流从流服务提供者talker至所述UPF的最大传输时延。For example, the sixth delay may be the maximum transmission delay of the stream from the streaming service provider talker to the UPF.
本申请实施例第三方面公开了一种通信方法,该方法的执行主体的一个示例为:如果是上行,所述第一设备可为终端设备或者为应用于终端设备中的芯片;如果是下行,所述第一设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片。The third aspect of the embodiments of the present application discloses a communication method. An example of the execution subject of the method is: if it is an uplink, the first device may be a terminal device or a chip applied to a terminal device; if it is a downlink The first device may be a UPF, or a network device including the UPF, or a chip applied to the network device.
本申请实施例第三方面公开方法中的执行主体的另一个示例为:第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。Another example of the execution subject in the method disclosed in the third aspect of the embodiments of the present application is: both the first device and the second device may be terminal devices or chips applied to terminal devices.
下面以执行主体是第一设备为例进行描述。第一设备接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延;所述第一设备向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;所述第一设备接收来自所述SMF的所述时延B;所述第一设备根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述第一设备确定第二信息,所述第二信息包括所述时延C;所述第一设备向所述第二设备发送所述第二信息。The following describes an example where the execution subject is the first device. The first device receives first information, the first information is used to indicate delay A, and the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device; the first device sends The session management function SMF network element sends a request message for requesting delay B. The delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device; the first A device receives the delay B from the SMF; the first device obtains the delay C according to the delay A and the delay B, and the delay C includes the stream transmitted from the talker to the The delay of the second TSN device; the first device determines second information, and the second information includes the delay C; the first device sends the second information to the second device.
在上述方法中,第一设备根据流从talker传输至第一设备的时延A和来自SMF的时延B,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延,从而获取流从talker传输至第二TSN设备的时延C,然后第一设备向第二设备发送第二信息,第二信息包括时延C,也就是更新后的时延。通过这样简单的方式,第一设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第一设备即5GS系统中的入接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the first device according to the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF, and the delay B includes the delay of the bridge and the delay of the stream from the second device to the second TSN device. Transmission delay, so as to obtain the delay C of the stream from the talker to the second TSN device, and then the first device sends the second information to the second device. The second information includes the delay C, which is the updated delay. In this simple way, the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,第一设备可以通过向SMF发送请求消息,请求时延B,该时延B为流在5GS系统入接口设备,如UPF和5GS系统出接口设备,如UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,更容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the first device can request delay B by sending a request message to SMF. The delay B is the incoming interface device of the 5GS system, such as The transmission delay between the UPF and 5GS system outbound interface devices, such as the UE, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
在一个示例中,所述第一设备向会话管理功能SMF网元发送请求消息,包括:所述第一设备向所述SMF发送的请求消息携带所述时延A。In an example, the sending of the request message by the first device to the session management function SMF network element includes: the request message sent by the first device to the SMF carries the delay A.
在另一个示例中,所述第一设备接收来自所述SMF的所述时延B,包括:所述第一设备接收来自所述SMF的所述时延B和所述时延A。In another example, receiving the delay B from the SMF by the first device includes: receiving the delay B and the delay A from the SMF by the first device.
本申请实施例第四方面公开了一种通信方法,该方法的执行主体的一个示例为:如果是上行,所述第二设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片;如果是下行,所述第二设备可为终端设备或者为应用于终端设备中的芯片。The fourth aspect of the embodiments of the present application discloses a communication method. An example of the execution subject of the method is: if it is an uplink, the second device may be a UPF, or a network device that includes UPF, or is applied to a network The chip in the device; if it is downlink, the second device may be a terminal device or a chip applied to the terminal device.
本申所述实施例第四方面公开方法中的执行主体的另一个示例为:第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。Another example of the execution subject in the method disclosed in the fourth aspect of the embodiments of the present application is: both the first device and the second device may be terminal devices or chips applied to terminal devices.
下面以执行主体是第二设备为例进行描述。第二设备接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;所述第二设备向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;所述第二设备接收所述SMF发送的所述时延B;所述第二设备根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述第二设备确定第二信息,所述第二信息包括所述时延C;所述第二设备向所述第二TSN设备发送所述第二信息。The following describes an example where the execution subject is the second device. The second device receives the first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device; the second device reports to the session management The functional SMF network element sends a request message for requesting delay B. The delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device; the second device Receiving the delay B sent by the SMF; the second device obtains the delay C according to the delay A and the delay B, and the delay C includes the stream being transmitted from the talker to the first Second, the delay of the TSN device; the second device determines second information, and the second information includes the delay C; the second device sends the second information to the second TSN device.
在上述方法中,第二设备根据流从talker传输至第一设备的时延A和来自SMF的时延 B,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延,从而获取流从talker传输至第二TSN设备的时延C,然后第二设备向第二TSN设备发送第二信息,第二信息包括时延C,也就是更新后的时延,通过这样简单的方式,第二设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第二设备即5GS系统中的出接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the second device is based on the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF. The delay B includes the bridge delay and the delay of the stream from the second device to the second TSN device. Transmission delay, so as to obtain the delay C of the stream from the talker to the second TSN device, and then the second device sends the second information to the second TSN device. The second information includes the delay C, which is the updated delay, In such a simple way, the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,第二设备可以通过向SMF发送请求消息,请求时延B,该时延B为流在5GS系统入接口设备和5GS系统出接口设备之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the second device can request delay B by sending a request message to the SMF. The delay B is flowed between the 5GS system inbound interface device and the 5GS The transmission delay between the outbound interface devices of the system, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
在一个示例中,所述第二设备向会话管理功能SMF网元发送请求消息,包括:所述第二设备向所述SMF发送的请求消息携带所述时延A。In an example, the sending of the request message by the second device to the session management function SMF network element includes: the request message sent by the second device to the SMF carries the delay A.
在另一个示例中,所述第二设备接收所述SMF发送的所述时延B,包括:所述第二设备接收所述SMF发送的所述时延B与所述时延A。In another example, that the second device receives the delay B sent by the SMF includes: the second device receives the delay B and the delay A sent by the SMF.
本申请实施例第五方面公开了一种通信方法,该方法的执行主体可以是终端设备,也可以是应用于终端设备中的芯片。下面以执行主体是第一终端设备为例进行描述。第一终端设备接收第一信息,所述第一信息用于指示第八时延,所述第八时延包括流从流服务提供者talker传输至所述第一终端设备的时延;所述第一终端设备根据所述第八时延确定第一时延,所述第一时延包括流从所述talker传输至所述第一终端设备的时延、以及在所述第一终端设备内的驻留时延;所述第一终端设备向用户面功能UPF网元发送第二信息,所述第二信息包括所述第一时延。The fifth aspect of the embodiments of the present application discloses a communication method, and the execution subject of the method may be a terminal device or a chip applied to the terminal device. The following describes an example where the execution subject is the first terminal device. The first terminal device receives first information, where the first information is used to indicate an eighth delay, and the eighth delay includes the delay for the stream to be transmitted from the streaming service provider talker to the first terminal device; The first terminal device determines a first delay according to the eighth delay, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the delay in the first terminal device The staying delay of; the first terminal device sends second information to the user plane function UPF network element, and the second information includes the first delay.
例如,第八时延为X,第一终端设备根据第八时延确定第一时延为X+a,a表示流在第一终端设备内的驻留时延。For example, the eighth delay is X, and the first terminal device determines that the first delay is X+a according to the eighth delay, and a represents the residence delay of the stream in the first terminal device.
在上述方法中,第一终端设备即5GS系统中的入接口设备,根据流从talker传输至第一终端设备的第八时延确定第一时延,第一时延包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延,然后向UPF发送第二信息,第二信息包括第一时延,即更新后的时延,通过这样简单的方式,第一终端设备对时延进行了更新,从而保证流的传输质量。In the above method, the first terminal device, that is, the inbound interface device in the 5GS system, determines the first delay according to the eighth delay when the stream is transmitted from the talker to the first terminal device. The first delay includes the stream being transmitted from the talker to the first terminal device. The delay of a terminal device and the delay of staying in the first terminal device, and then send the second information to the UPF. The second information includes the first delay, that is, the updated delay. In this simple way, The first terminal device updates the delay to ensure the transmission quality of the stream.
本申请实施例第六方面公开了一种通信方法,该方法的执行主体可以是终端设备,也可以是应用于终端设备中的芯片。下面以执行主体是第二终端设备为例进行描述。第二终端设备接收第一信息,所述第一信息用于指示第三时延,所述第三时延包括流从流服务提供者talker传输至所述第二终端设备的时延;所述第二终端设备根据所述第三时延确定第九时延,所述第九时延包括流从所述talker传输至所述第二终端设备的时延、在所述第二终端设备内的驻留时延和从所述第二终端设备至时间敏感网络TSN设备的传输时延。The sixth aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a terminal device or a chip applied to the terminal device. The following describes an example where the execution subject is the second terminal device. The second terminal device receives first information, where the first information is used to indicate a third delay, and the third delay includes the delay of the stream being transmitted from the streaming service provider talker to the second terminal device; The second terminal device determines a ninth delay according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, and the delay in the second terminal device. Resident delay and transmission delay from the second terminal device to the time-sensitive network TSN device.
所述第二终端设备向所述TSN设备发送第二信息,所述第二信息包括所述第九时延。The second terminal device sends second information to the TSN device, where the second information includes the ninth time delay.
例如,第三时延为X,第二终端设备根据第三时延确定第九时延为X+a+txPropogationDelay,其中a表示流在第二终端设备内的驻留时延,txPropogationDelay表示流从第二终端设备至TSN设备的传输时延。For example, the third delay is X, and the second terminal device determines the ninth delay as X+a+txPropogationDelay according to the third delay, where a represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents the stream from The transmission delay from the second terminal device to the TSN device.
在上述方法中,第二终端设备即5GS系统中的出接口设备,根据流从talker传输至第二终端设备的第三时延确定第九时延,第九时延包括流从talker传输至第二终端设备的时延、在第二终端设备内的驻留时延和从第二终端设备至TSN设备的传输时延,然后向TSN设备发送第二信息,第二信息包括第九时延,即更新后的时延,通过这样简单的方式,第二终端设备对时延进行了更新,从而保证流的传输质量。In the above method, the second terminal device, that is, the outgoing interface device in the 5GS system, determines the ninth delay according to the third delay when the stream is transmitted from the talker to the second terminal device. The ninth delay includes the stream being transmitted from the talker to the second terminal device. Second, the delay of the terminal device, the dwell delay in the second terminal device, and the transmission delay from the second terminal device to the TSN device, and then send the second information to the TSN device, and the second information includes the ninth delay, That is, the updated delay. In such a simple manner, the second terminal device updates the delay to ensure the transmission quality of the stream.
本申请实施例第七方面公开了一种通信方法,该方法的执行主体可以为会话管理功能SMF,也可以为包括SMF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是SMF为例进行描述。会话管理功能SMF网元接收来自用户面功能UPF网元的请求信息,用于请求第二时延和/或第四时延;所述SMF确定进行本地交换,所述SMF向所述UPF发送所述第二时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第二时延用于所述UPF根据第一时延和所述第二时延获取第三时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或所述SMF确定不需要进行本地交换,所述SMF向所述UPF发送所述第四时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值。The seventh aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device. In the following, the execution subject is SMF as an example for description. The session management function SMF network element receives the request information from the user plane function UPF network element for requesting the second delay and/or the fourth delay; the SMF determines to perform a local exchange, and the SMF sends all the information to the UPF The second delay, the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the second delay is used for The UPF obtains the third delay according to the first delay and the second delay, and the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and the delay in the first terminal device. The dwell delay in a terminal device, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the SMF determines that no local exchange is required, and the SMF sends the The UPF sends the fourth time delay, and the fourth time delay includes the PDB value corresponding to the uplink PDU session of the UPF.
例如,第一时延为X+a,第二时延为b+c,其中,b表示UPF的上行PDU session所对应的PDB值,c表示UPF的下行PDU session所对应的PDB值,SMF确定进行本地交换,SMF向UPF发送第二时延b+c,相应的,SMF确定不需要进行本地交换,向UPF发送第四时延b。For example, the first delay is X+a, and the second delay is b+c, where b represents the PDB value corresponding to the UPF uplink PDU session, and c represents the PDB value corresponding to the UPF downlink PDU session, SMF determines For local exchange, the SMF sends the second delay b+c to the UPF. Correspondingly, the SMF determines that no local exchange is required, and sends the fourth delay b to the UPF.
在上述方法中,通过SMF确定是否需要进行本地交换后,向UPF发送第二时延和/或第四时延的方式,方便UPF根据第一时延和第二时延获取第三时延,和/或,根据所述第一时延和所述第四时延获取第五时延,从而对时延进行更新,进而保证流的传输质量,另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,直接通过SMF向UPF发送第二时延和/或第四时延,该第二时延和/或第四时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In the above method, after determining whether a local exchange is required through SMF, the second delay and/or the fourth delay are sent to the UPF to facilitate the UPF to obtain the third delay according to the first delay and the second delay. And/or, obtain a fifth delay according to the first delay and the fourth delay, so as to update the delay to ensure the transmission quality of the stream. In addition, in the prior art, if the stream is calculated from The delay of UPF transmission to the terminal equipment UE requires clock synchronization between two adjacent nodes between the UPF and the terminal equipment UE, and finally realizes the clock synchronization of all nodes between the UPF and the terminal equipment UE. The solution is complicated. It is not easy to implement, but in this solution, the second delay and/or the fourth delay are directly sent to the UPF through SMF, and the second delay and/or the fourth delay are the transmission between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
例如,所述第一时延可以包括流从流服务提供者talker至第一终端设备的最大传输时延、以及在所述第一终端设备内的驻留时延。For example, the first delay may include the maximum transmission delay of the stream from the streaming service provider talker to the first terminal device, and the residence delay in the first terminal device.
本申请实施例第八方面公开了一种通信方法,该方法的执行主体可以为会话管理功能SMF,也可以为包括SMF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是SMF为例进行描述。会话管理功能SMF网元接收来自用户面功能UPF的请求信息,用于请求第七时延;所述SMF向UPF发送所述第七时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第七时延用于所述UPF根据第六时延和所述第七时延获取第三时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延,所述第三时延包括流从所述talker传输至第二终端设备的时延。The eighth aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device. In the following, the execution subject is SMF as an example for description. The session management function SMF network element receives request information from the user plane function UPF for requesting the seventh delay; the SMF sends the seventh delay to the UPF, and the seventh delay includes the UPF downlink protocol The packet delay budget PDB value corresponding to the data unit session PDU session, the seventh delay is used by the UPF to obtain the third delay according to the sixth delay and the seventh delay, and the sixth delay It includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
例如,第七时延为c,第六时延为X,SMF向UPF发送第七时延c,相应的,UPF根据第六时延和第七时延获取第三时延为X+c。For example, the seventh delay is c, the sixth delay is X, and the SMF sends the seventh delay c to the UPF. Accordingly, the UPF obtains the third delay as X+c according to the sixth delay and the seventh delay.
在上述方法中,UPF根据流从talker传输至所述UPF的第六时延和第七时延获取第三时延,第七时延包括所述UPF的下行PDU session所对应的PDB值,第三时延包括流从talker传输至第二终端设备的时延。然后向终端设备发送第二信息,第二信息中包括第三时延,即更新后的时延,通过这样简单的方式对时延进行了更新,保证流的传输质量,另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,直接通过SMF向UPF发送第七时延,该第七时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In the above method, the UPF obtains the third delay according to the sixth delay and the seventh delay of the flow from the talker to the UPF. The seventh delay includes the PDB value corresponding to the downlink PDU session of the UPF. The three delay includes the delay of the stream from the talker to the second terminal device. Then send the second information to the terminal device. The second information includes the third delay, that is, the updated delay. The delay is updated in such a simple way to ensure the transmission quality of the stream. In addition, in the prior art If the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the synchronization of all nodes between the UPF and the terminal equipment UE. Clock synchronization is complicated and difficult to implement. In this solution, the seventh delay is sent directly to the UPF through SMF. The seventh delay is the transmission delay between the UPF and the terminal equipment UE. Compared with technology, the solution of the embodiment of the present application is simpler and easier to implement.
例如,所述第六时延可以包括流从流服务提供者talker至所述UPF的最大传输时延。For example, the sixth delay may include the maximum transmission delay of the stream from the streaming service provider talker to the UPF.
本申请实施例第九方面公开了一种通信方法,该方法的执行主体可以为会话管理功能SMF,也可以为包括SMF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是SMF为例进行描述。会话管理功能SMF网元接收来自第一设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;所述SMF向所述第一设备发送所述时延B,所述时延B用于所述第一设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。The ninth aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device. In the following, the execution subject is SMF as an example for description. The session management function SMF network element receives a request message from the first device. The request message is used to request delay B. The delay B includes bridge delay and flow from the second device to the second time-sensitive network TSN Transmission delay of the device; the SMF sends the delay B to the first device, and the delay B is used by the first device to obtain the delay C according to the delay A and the delay B The delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
在上述方法中,第一设备根据流从talker传输至第一设备的时延A和来自SMF的时延B,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延,从而获取流从talker传输至第二TSN设备的时延C,然后第一设备向第二设备发送第二信息,第二信息包括时延C,也就是更新后的时延。通过这样简单的方式,第一设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第一设备即5GS系统中的入接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the first device according to the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF, and the delay B includes the delay of the bridge and the delay of the stream from the second device to the second TSN device. Transmission delay, so as to obtain the delay C of the stream from the talker to the second TSN device, and then the first device sends the second information to the second device. The second information includes the delay C, which is the updated delay. In this simple way, the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,SMF直接通过向第一设备发送请求时延B,该时延B为流在5GS系统入接口设备,如UPF和5GS系统出接口设备,如UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, SMF directly sends a request to the first device for delay B. This delay B is the incoming interface device of the 5GS system, such as UPF and 5GS. The transmission delay between system outbound interface devices, such as UEs, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
在一个示例中,所述第一设备的请求消息携带所述时延A。In an example, the request message of the first device carries the time delay A.
在另一个示例中,所述第一设备的请求消息携带所述时延A时,所述SMF向所述第一设备发送所述时延B,包括:所述SMF向所述第一设备发送所述时延B和所述时延A。In another example, when the request message of the first device carries the delay A, sending the delay B by the SMF to the first device includes: sending the SMF to the first device The time delay B and the time delay A.
本申请实施例第十方面公开了一种通信方法,该方法的执行主体可以为会话管理功能SMF,也可以为包括SMF网元的网络设备,还可以是应用于网络设备中的芯片。下面以执行主体是SMF为例进行描述。会话管理功能SMF网元接收来自第二设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间 敏感网络TSN设备的传输时延;所述SMF向所述第二设备发送所述时延B;所述时延B用于所述第二设备根据时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。The tenth aspect of the embodiments of the present application discloses a communication method. The execution subject of the method may be a session management function SMF, a network device including an SMF network element, or a chip applied to the network device. In the following, the execution subject is SMF as an example for description. The session management function SMF network element receives a request message from the second device. The request message is used to request delay B. The delay B includes bridge delay and flow from the second device to the second time sensitive Transmission delay of the network TSN device; the SMF sends the delay B to the second device; the delay B is used by the second device to obtain the delay C according to the delay A and the delay B The delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
在上述方法中,第二设备根据流从talker传输至第一设备的时延A和来自SMF的时延B,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延,从而获取流从talker传输至第二TSN设备的时延C,然后第二设备向第二TSN设备发送第二信息,第二信息包括时延C,也就是更新后的时延,通过这样简单的方式,第二设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第二设备即5GS系统中的出接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the second device is based on the delay A of the stream transmitted from the talker to the first device and the delay B from the SMF. The delay B includes the bridge delay and the delay of the stream from the second device to the second TSN device. Transmission delay, so as to obtain the delay C of the stream from the talker to the second TSN device, and then the second device sends the second information to the second TSN device. The second information includes the delay C, which is the updated delay, In such a simple way, the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,SMF直接通过向第二设备发送请求时延B,该时延B为流在5GS系统入接口设备,如UPF和5GS系统出接口设备,如UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, SMF directly sends a request delay B to the second device. The delay B is the incoming interface device of the 5GS system, such as UPF and 5GS. The transmission delay between system outbound interface devices, such as UEs, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
在一个示例中,所述第二设备的请求消息携带所述时延A。In an example, the request message of the second device carries the time delay A.
在另一个示例中,所述第二设备的请求消息携带所述时延A时,所述SMF向所述第二设备发送所述时延B,包括:所述SMF向所述第二设备发送所述时延B与所述时延A。In another example, when the request message of the second device carries the delay A, the SMF sending the delay B to the second device includes: sending the SMF to the second device The time delay B and the time delay A.
本申请实施例第十一方面公开了一种通信装置,有益效果可以参见第一方面、第二方面、第三方面、第四方面、第七方面、第八方面、第九方面或第十方面的描述此处不再赘述。所述通信装置具有实现上述第一方面、第二方面、第三方面、第四方面、第七方面、第八方面、第九方面或第十方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。The eleventh aspect of the embodiments of the present application discloses a communication device. For beneficial effects, see the first aspect, the second aspect, the third aspect, the fourth aspect, the seventh aspect, the eighth aspect, the ninth aspect, or the tenth aspect. The description of is not repeated here. The communication device has the function of realizing the behaviors in the method examples of the first aspect, the second aspect, the third aspect, the fourth aspect, the seventh aspect, the eighth aspect, the ninth aspect, or the tenth aspect. The functions can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示第一时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延;处理模块,用于在确定进行本地交换,向会话管理功能SMF网元请求第二时延,根据所述第一时延和所述第二时延获取第三时延,所述第二时延包括所述装置的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或确定不需要本地交换,向所述SMF请求第四时延,根据所述第一时延和所述第四时延获取第五时延,所述第四时延包括所述装置的上行PDU session所对应的PDB值,所述第五时延包括流从所述talker传输至所述装置的时延、在所述装置内的驻留时延和从所述装置至时间敏感网络TSN设备的传输时延。这些模块可以执行上述第一方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate a first delay, and the first delay includes a streaming service provider talker The delay of transmission to the first terminal device and the delay of staying in the first terminal device; the processing module is used to perform a local exchange when determining to request the second delay from the session management function SMF network element, according to The first delay and the second delay obtain a third delay, and the second delay includes the packet time corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the device Delay budget PDB value, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or it is determined that no local exchange is required, the fourth delay is requested from the SMF, and the fourth delay is determined according to the first A delay and the fourth delay acquire a fifth delay, where the fourth delay includes the PDB value corresponding to the uplink PDU session of the device, and the fifth delay includes the stream transmitted from the talker to The delay of the device, the residence delay in the device, and the transmission delay from the device to the time-sensitive network TSN device. These modules can perform the corresponding functions in the method example of the first aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示第六时延,所述第六时延包括流从流服务提供者talker传输至所述装置的时延;所述处理模块,用于向会话管理功能SMF网元请求第七时延,根据所述第六时延和 所述第七时延获取第三时延,所述第七时延包括所述装置的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延。这些模块可以执行上述第二方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate a sixth delay, and the sixth delay includes a streaming service provider The delay of the talker transmission to the device; the processing module is configured to request the seventh delay from the session management function SMF network element, and obtain the third delay according to the sixth delay and the seventh delay, The seventh delay includes the packet delay budget PDB value corresponding to the downlink protocol data unit session PDU session of the device, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device. These modules can perform the corresponding functions in the above-mentioned method example of the second aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述装置的时延;所述收发模块,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延,以及接收来自所述SMF的所述时延B;所述处理模块,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述装置确定第二信息,所述第二信息包括所述时延C;所述收发模块,还用于向所述第二设备发送所述第二信息。这些模块可以执行上述第三方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the device; the transceiver module is configured to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the flow from the second device to the The transmission delay to the second time-sensitive network TSN device and the reception of the delay B from the SMF; the processing module is configured to obtain the delay C according to the delay A and the delay B, The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; the apparatus determines second information, and the second information includes the delay C; the transceiver module also uses Yu sends the second information to the second device. These modules can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;所述收发模块,还用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述装置至到第二时间敏感网络TSN设备的传输时延,以及用于接收所述SMF发送的所述时延B;处理模块,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;以及用于确定第二信息,所述第二信息包括所述时延C;所述收发模块,还用于向所述第二TSN设备发送所述第二信息。这些模块可以执行上述第四方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the first device; the transceiver module is also used to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the flow from the device The transmission delay to the second time-sensitive network TSN device and the delay B for receiving the SMF transmission; a processing module for obtaining the delay C according to the delay A and the delay B , The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; and is used to determine second information, the second information includes the delay C; the transceiver module, and Used to send the second information to the second TSN device. These modules can perform the corresponding functions in the above-mentioned method example of the fourth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收来自用户面功能UPF网元的请求信息,用于请求第二时延和/或第四时延;处理模块,用于确定进行本地交换,收发模块,用于向所述UPF发送所述第二时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第二时延用于所述UPF根据第一时延和所述第二时延获取第三时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或所述处理模块,用于确定不需要进行本地交换,所述收发模块,用于向所述UPF发送所述第四时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值。这些模块可以执行上述第七方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive request information from a user plane function UPF network element, for requesting the second delay and/or the fourth delay; a processing module, using When it is determined to perform a local exchange, the transceiver module is configured to send the second delay to the UPF, and the second delay includes the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF. The corresponding packet delay budget PDB value, the second delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes streaming service provision The delay of the talker transmission to the first terminal device and the residence delay in the first terminal device, the third delay including the delay of the stream being transmitted from the talker to the second terminal device; and / Or the processing module is configured to determine that no local exchange is required, the transceiver module is configured to send the fourth delay to the UPF, and the fourth delay includes the uplink PDU session of the UPF The corresponding PDB value. These modules can perform the corresponding functions in the method example of the seventh aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收来自用户面功能UPF的请求信息,以及用于请求第七时延;所述收发模块向UPF发送所述第七时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第七时延用于所述UPF根据第六时延和所述第七时延获取第三时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延,所述第三时延包括流从所述talker传输至第二终端设备的时延。这些模块可以执行上述第八方面方法示例中的相应功能,具体参 见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module for receiving request information from the user plane function UPF and for requesting a seventh time delay; the transceiver module sends the seventh time to the UPF The seventh delay includes the packet delay budget PDB value corresponding to the session PDU session of the UPF downlink protocol data unit, and the seventh delay is used by the UPF according to the sixth delay and the first Seven delays: Obtain a third delay, where the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device Time delay. These modules can perform the corresponding functions in the method example of the eighth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收来自第一设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;所述收发模块,用于向所述第一设备发送所述时延B,所述时延B用于所述第一设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。这些模块可以执行上述第九方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive a request message from the first device, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the flow from the second device to the second time-sensitive network TSN device; the transceiver module is configured to send the delay B to the first device, and the delay B is used for the first device. The device obtains the delay C according to the delay A and the delay B, where the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device, and the delay C includes the streaming slave The transmission delay of the talker to the second TSN device. These modules can perform the corresponding functions in the above-mentioned method example of the ninth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收来自第二设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;所述收发模块,用于向所述第二设备发送所述时延B;所述时延B用于所述第二设备根据时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。这些模块可以执行上述第十方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive a request message from a second device, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the stream from the second device to the second time-sensitive network TSN device; the transceiver module is used to send the delay B to the second device; the delay B is used for the The second device obtains the delay C according to the delay A and the delay B, where the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream from the The delay of talker transmission to the second TSN device. These modules can perform the corresponding functions in the method example of the tenth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
本申请实施例第十二方面公开了一种通信装置,有益效果可以参见第三方面,第四方面、第五方面或第六方面的描述此处不再赘述。所述通信装置具有实现上述第三方面,第四方面、第五方面或第六方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。The twelfth aspect of the embodiments of the present application discloses a communication device. For beneficial effects, reference may be made to the third aspect, and the description of the fourth, fifth, or sixth aspect will not be repeated here. The communication device has the function of realizing the behaviors in the method examples of the third aspect, the fourth aspect, the fifth aspect, or the sixth aspect. The functions can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示第八时延,所述第八时延包括流从流服务提供者talker传输至所述装置的时延;处理模块,用于根据所述第八时延确定第一时延,所述第一时延包括流从所述talker传输至所述第一终端设备的时延、以及在所述装置内的驻留时延;所述收发模块,用于向用户面功能UPF网元发送第二信息,所述第二信息包括所述第一时延。这些模块可以执行上述第五方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the communication device includes: a transceiver module, configured to receive first information, where the first information is used to indicate an eighth delay, and the eighth delay includes a streaming service provider talker The delay of transmission to the device; a processing module, configured to determine a first delay according to the eighth delay, the first delay including the delay of the stream being transmitted from the talker to the first terminal device , And the residence delay in the device; the transceiver module is configured to send second information to a user plane function UPF network element, the second information includes the first delay. These modules can perform the corresponding functions in the above-mentioned method example of the fifth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示第三时延,所述第三时延包括流从流服务提供者talker传输至所述装置的时延;所述处理模块,用于根据所述第三时延确定第九时延,所述第九时延包括流从所述talker传输至所述装置的时延、在所述装置内的驻留时延和从所述装置至时间敏感网络TSN设备的传输时延。这些模块可以执行上述第六方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a third delay, and the third delay includes a streaming service provider talker The delay of transmission to the device; the processing module is configured to determine a ninth delay according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the device, The residence delay in the device and the transmission delay from the device to the time-sensitive network TSN device. These modules can perform the corresponding functions in the above-mentioned method example of the sixth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述装置的时延;所述收发模块,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延,以及接收来自所述SMF的所述时延B;所述处理模块,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述装置确定第二信息, 所述第二信息包括所述时延C;所述收发模块,还用于向所述第二设备发送所述第二信息。这些模块可以执行上述第三方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the device; the transceiver module is configured to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the flow from the second device to the The transmission delay to the second time-sensitive network TSN device and the reception of the delay B from the SMF; the processing module is configured to obtain the delay C according to the delay A and the delay B, The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; the apparatus determines second information, and the second information includes the delay C; the transceiver module also uses Yu sends the second information to the second device. These modules can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
在另一个可能的设计中,所述通信装置包括:收发模块,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;所述收发模块,还用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述装置至到第二时间敏感网络TSN设备的传输时延,以及用于接收所述SMF发送的所述时延B;处理模块,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;以及用于确定第二信息,所述第二信息包括所述时延C;所述收发模块,还用于向所述第二TSN设备发送所述第二信息。这些模块可以执行上述第四方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In another possible design, the communication device includes: a transceiver module, configured to receive first information, the first information is used to indicate a delay A, and the delay A includes stream transmission from a streaming service provider talker The delay to the first device; the transceiver module is also used to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the flow from the device The transmission delay to the second time-sensitive network TSN device and the delay B for receiving the SMF transmission; a processing module for obtaining the delay C according to the delay A and the delay B , The delay C includes the delay of the stream being transmitted from the talker to the second TSN device; and is used to determine second information, the second information includes the delay C; the transceiver module, and Used to send the second information to the second TSN device. These modules can perform the corresponding functions in the above-mentioned method example of the fourth aspect. For details, please refer to the detailed description in the method example, which will not be repeated here.
本申请实施例第十三方面公开了一种通信装置,该通信装置可以为上述方法实施例中的终端设备,或者为设置在终端设备中的芯片。该通信装置包括通信接口以及处理器,可选的,还包括存储器。其中,该存储器用于存储计算机程序或指令,处理器与存储器、通信接口耦合,当处理器执行所述计算机程序或指令时,使通信装置执行上述各方面中由终端设备所执行的方法。The thirteenth aspect of the embodiments of the present application discloses a communication device. The communication device may be the terminal device in the foregoing method embodiment, or a chip set in the terminal device. The communication device includes a communication interface, a processor, and optionally, a memory. Wherein, the memory is used to store a computer program or instruction, and the processor is coupled with the memory and a communication interface. When the processor executes the computer program or instruction, the communication device executes the method executed by the terminal device in the foregoing aspects.
本申请实施例第十四方面公开了一种通信装置,该通信装置可以为上述各方面中的网络设备,或者为设置在网络设备中的芯片,或者为包括UPF网元的网络设备,或者为UPF网元,或者为SMF网元,或者为包括SMF网元的网络设备。该通信装置包括通信接口以及处理器,可选的,还包括存储器。其中,该存储器用于存储计算机程序或指令,处理器与存储器、通信接口耦合,当处理器执行所述计算机程序或指令时,使通信装置执行上述各方面中由网络设备所执行的方法。The fourteenth aspect of the embodiments of the present application discloses a communication device. The communication device may be the network device in the above aspects, or a chip set in the network device, or a network device including UPF network elements, or UPF network elements are either SMF network elements or network equipment including SMF network elements. The communication device includes a communication interface, a processor, and optionally, a memory. The memory is used to store a computer program or instruction, and the processor is coupled with the memory and a communication interface. When the processor executes the computer program or instruction, the communication device executes the method executed by the network device in the above aspects.
本申请实施例第十五方面公开了一种计算机程序产品,所述计算机程序产品包括:计算机程序,当所述计算机程序被运行时,使得上述各方面中由终端设备执行的方法被执行。The fifteenth aspect of the embodiments of the present application discloses a computer program product. The computer program product includes a computer program, which, when the computer program is executed, causes the methods executed by the terminal device in the foregoing aspects to be executed.
本申请实施例第十六方面公开了一种计算机程序产品,所述计算机程序产品包括:计算机程序,当所述计算机程序被运行时,使得上述各方面中由网络设备、UPF网元,或者SMF网元执行的方法被执行。The sixteenth aspect of the embodiments of the present application discloses a computer program product. The computer program product includes: a computer program. When the computer program is executed, the network equipment, the UPF network element, or the SMF The method executed by the network element is executed.
本申请实施例第十七方面公开了一种芯片系统,该芯片系统包括处理器,用于实现上述各方面的方法中终端侧设备的功能。在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。The seventeenth aspect of the embodiments of the present application discloses a chip system. The chip system includes a processor for implementing the functions of the terminal-side device in the methods of the foregoing aspects. In a possible design, the chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请实施例第十八方面公开了一种芯片系统,该芯片系统包括处理器,用于实现上述各方面的方法中网络侧设备的功能。在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。The eighteenth aspect of the embodiments of the present application discloses a chip system, which includes a processor, and is configured to implement the functions of the network side device in the methods of the foregoing aspects. In a possible design, the chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请实施例第十九方面公开了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述各方面中由终端侧设备执行的方法。The nineteenth aspect of the embodiments of the present application discloses a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the terminal-side device in the above aspects is implemented.
本申请实施例第二十方面公开了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述各方面中由网络侧设备执行的方法。The twentieth aspect of the embodiments of the present application discloses a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the network-side device in the above aspects is implemented.
本申请实施例第二十一方面公开了一种通信系统,包括上述第十一方面和第十二方面所述的设备,或者包括,第十三方面和第十四方面所述的设备。The twenty-first aspect of the embodiments of the present application discloses a communication system, which includes the devices described in the eleventh aspect and the twelfth aspect, or includes the devices described in the thirteenth aspect and the fourteenth aspect.
附图说明Description of the drawings
图1是本申请实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种MSRP的流程图;Figure 2 is a flow chart of an MSRP provided by an embodiment of the present application;
图3是本申请实施例提供的一种MSRP过程的时延更新示意图;FIG. 3 is a schematic diagram of a delay update of an MSRP process provided by an embodiment of the present application;
图4-a是本申请实施例提供的一种5GS系统架构图;Figure 4-a is a 5GS system architecture diagram provided by an embodiment of the present application;
图4-b是本申请实施例提供的一种5GS系统架构图;Figure 4-b is a 5GS system architecture diagram provided by an embodiment of the present application;
图4-c是本申请实施例提供的一种5GS系统架构图;Figure 4-c is a 5GS system architecture diagram provided by an embodiment of the present application;
图4-d是本申请实施例提供的一种5GS系统架构图;Figure 4-d is a 5GS system architecture diagram provided by an embodiment of the present application;
图5是本申请实施例提供的一种通信方法的流程图;FIG. 5 is a flowchart of a communication method provided by an embodiment of the present application;
图6是本申请实施例提供的一种通信方法的流程图;FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application;
图7是本申请实施例提供的一种通信方法的流程图;FIG. 7 is a flowchart of a communication method provided by an embodiment of the present application;
图8是本申请实施例提供的一种通信方法的流程图;FIG. 8 is a flowchart of a communication method provided by an embodiment of the present application;
图9是本申请实施例提供的一种通信方法的流程图;FIG. 9 is a flowchart of a communication method provided by an embodiment of the present application;
图10是本申请实施例提供的一种通信方法的流程图;FIG. 10 is a flowchart of a communication method provided by an embodiment of the present application;
图11是本申请实施例提供的一种通信方法的流程图;FIG. 11 is a flowchart of a communication method provided by an embodiment of the present application;
图12是本申请实施例提供的一种通信装置的结构示意图;FIG. 12 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图13是本申请实施例提供的一种通信装置的结构示意图;FIG. 13 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图14是本申请实施例提供的一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图15是本申请实施例提供的一种通信装置的结构示意图。FIG. 15 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
具体实施方式detailed description
下面结合本申请实施例中的附图对本申请实施例进行描述。The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
请参见图1,图1是本申请实施例提供的一种通信系统1000的结构示意图,该通信系统1000包括时间敏感网络(time-sensitive networking,TSN)设备1001、第五代移动通信技术系统(the 5th generation wireless systems,5GS)1008和TSN设备1007,TSN设备1001和TSN设备1007可以是能够接入以太网的编程逻辑控制器、数据采集装置等,TSN设备1001和TSN设备1007之间除了5GS系统之外还可以有具有时间敏感网络功能的交换机、路由器、网桥等,且数量可以为零个、一个或者多个。流可以从TSN设备1001经由5GS系统到达TSN设备1007,也可以从TSN设备1007经由5GS系统到达TSN设备1001。其中,5GS系统1008中包括设备侧时延敏感网络转换器(device side time sensitive network translator,DS-TT)1002、用户设备(user equipment,UE)1003,其中UE也可以称为终端设备、用户面功能(user plane function,UPF)网元1004、网络侧时延敏感网络转换器(network  side time sensitive network translator,NW-TT)1005和会话管理(session management function,SMF)网元1006。DS-TT可以内嵌或者外挂在UE中,NW-TT可以内嵌或外挂在UPF中,本方法不做限定。UPF为数据面网元,接入和移动性管理功能(access and mobility management function,AMF)和SMF为控制面网元。UE可以建立多个协议数据单元(protocol data unit,PDU)会话(session),属于该会话的数据通过该PDUsession在无线接入网功能实体(radio access network,RAN)和UPF之间传输。AMF负责移动性管理,并与RAN相连。SMF负责会话管理,并与UPF相连。策略控制功能(policy control function,PCF)网元负责策略控制,并与SMF相连。本申请实施例中所涉及的流可以是服务质量(quality of service,QoS)流。该QoS流可以是具有确定性传输需求的QoS流。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a communication system 1000 provided by an embodiment of the present application. The communication system 1000 includes a time-sensitive network (time-sensitive network, TSN) device 1001, and a fifth-generation mobile communication technology system ( the 5th generation wireless systems, 5GS) 1008 and TSN equipment 1007, TSN equipment 1001 and TSN equipment 1007 can be programmable logic controllers, data acquisition devices, etc. that can be connected to the Ethernet, except for 5GS between TSN equipment 1001 and TSN equipment 1007 In addition to the system, there can be switches, routers, bridges, etc. with time-sensitive network functions, and the number can be zero, one, or more. The stream can reach the TSN device 1007 from the TSN device 1001 via the 5GS system, and can also reach the TSN device 1001 from the TSN device 1007 via the 5GS system. Among them, the 5GS system 1008 includes a device-side time-sensitive network translator (DS-TT) 1002, a user equipment (UE) 1003, and the UE may also be called a terminal device or a user plane. Function (user plane function, UPF) network element 1004, network side time sensitive network translator (NW-TT) 1005, and session management (session management function, SMF) network element 1006. DS-TT can be embedded or externally hung in the UE, NW-TT can be embedded or externally hung in the UPF, this method is not limited. UPF is a data plane network element, and access and mobility management functions (AMF) and SMF are control plane network elements. The UE can establish multiple protocol data unit (protocol data unit, PDU) sessions (sessions), and data belonging to the session is transmitted between the radio access network function entity (radio access network, RAN) and the UPF through the PDU session. AMF is responsible for mobility management and is connected to the RAN. SMF is responsible for session management and is connected to UPF. The policy control function (PCF) network element is responsible for policy control and is connected to the SMF. The flow involved in the embodiment of this application may be a quality of service (QoS) flow. The QoS flow may be a QoS flow with deterministic transmission requirements.
应理解,本申请实施例并不限于图1所示的系统架构中。例如,可以应用本申请实施例的通信方法的通信系统中可以包括更多或更少的网元或设备。图1中的设备或网元可以是硬件,也可以是从功能上划分的软件或者以上二者的结合。图1中的设备或网元之间可以通过其他设备或网元通信。It should be understood that the embodiment of the present application is not limited to the system architecture shown in FIG. 1. For example, the communication system to which the communication method of the embodiment of the present application can be applied may include more or fewer network elements or devices. The device or network element in Figure 1 can be hardware, software that is functionally divided, or a combination of the two. The devices or network elements in Figure 1 can communicate with other devices or network elements.
时间敏感网络TSN是以以太网为基础的新一代网络标准,具有时间同步、时延保证等确保实时性的功能。在第三代合作伙伴计划(3rd generation partnership project,3GPP)TSN中将5GS系统整体视为一个虚拟的TSN网桥(virtual TSN bridge)。通过分别在UE侧叠加功能模块DS-TT及UPF侧叠加功能模块NW-TT的形式,适配外部的TSN系统。在分布式TSN系统中,TSN网桥设备(包括传统TSN网桥和5GS系统即虚拟的TSN网桥)和终端设备通过各类分布式协议完成路径规划、资源预留等功能。TSN系统中一个重要的分布式资源预留协议便是多流保留协议(multiplestreamreservationprotocol,MSRP)。Time-sensitive network TSN is a new-generation network standard based on Ethernet, with functions such as time synchronization and delay guarantee to ensure real-time performance. In the 3rd generation partnership project (3GPP) TSN, the 5GS system as a whole is regarded as a virtual TSN bridge (virtual TSN bridge). By superimposing the functional module DS-TT on the UE side and the UPF side superimposing the functional module NW-TT, it adapts to the external TSN system. In a distributed TSN system, TSN bridge equipment (including traditional TSN bridges and 5GS systems that are virtual TSN bridges) and terminal equipment complete functions such as path planning and resource reservation through various distributed protocols. An important distributed resource reservation protocol in the TSN system is the multiple stream reservation protocol (MSRP).
MSRP的工作原理如下:为了保证数据传输的质量,流服务提供者talker在向流服务接受者listener发送流之前可以利用MSRP将从talker到listener沿途所经历的所有网桥的带宽资源进行预留。为了理解方便,talker和listener可以为终端设备,如图2所示,图2表示MSRP的流程图,具体如下:The working principle of MSRP is as follows: In order to ensure the quality of data transmission, the streaming service provider talker can use MSRP to reserve bandwidth resources of all bridges experienced along the way from the talker to the listener before sending the stream to the streaming service receiver listener. For the convenience of understanding, talker and listener can be terminal devices, as shown in Figure 2, which shows the flow chart of MSRP, as follows:
首先,talker发送一个流服务提供者广播声明(Talker Advertise Declaration)消息,该消息中包括一个或多个参数,其中,该消息包括流的流量特征TrafficSpec,如流所需的带宽量,发送周期等等,该消息还可以包括累积时延域(Accumulated Latency),用于描述累积时延信息。然后网桥1、网桥2或者talker和listener之间的路径上的其他网桥收到该talker的流服务提供者广播声明消息后,根据该TrafficSpec判断本地剩余可用资源是否满足资源预留的需求。如果无法满足资源预留的需求则不再向下游转发该talker的流服务提供者广播声明消息;如果可以满足资源预留的需求,则更新累积时延域的值,并继续向下游转发该talker的流服务提供者广播声明消息。listener收到该talker的流服务提供者广播声明消息之后,根据累积时延域的值判断从talker到listener该条路径所耗时间是否可以被应用层接受。如果可以被接受,则listener沿着该路径反向回复流服务接受者准备声明(Listener Ready Declaration)消息。然后网桥1、网桥2或者talker和listener之间的路径上的其他网桥在收到该流服务接受者准备声明消息后执行实际的资源预留,并继续向上游转发该流服务接受者准备声明消息。talker在收到该流服务接受者准备声明消息后则确定资源预留过程已经结束,talker开始发送流。First, the talker sends a Talker Advertise Declaration (Talker Advertise Declaration) message. The message includes one or more parameters. Among them, the message includes the traffic characteristic TrafficSpec of the stream, such as the amount of bandwidth required by the stream, the sending period, etc. Etc., the message may also include an accumulated delay field (Accumulated Latency), which is used to describe accumulated delay information. Then bridge 1, bridge 2, or other bridges on the path between talker and listener receive the talker's streaming service provider broadcast statement message, and judge whether the local remaining available resources meet the resource reservation requirements according to the TrafficSpec . If the demand for resource reservation cannot be met, the stream service provider that forwards the talker no longer broadcasts the announcement message; if the demand for resource reservation can be met, the value of the cumulative delay field is updated, and the talker continues to be forwarded downstream The streaming service provider broadcasts an announcement message. After the listener receives the broadcast announcement message from the talker's streaming service provider, it judges whether the time spent on the path from the talker to the listener can be accepted by the application layer according to the value of the cumulative delay field. If it can be accepted, the listener replies back along the path with a Listener Ready Declaration (Listener Ready Declaration) message. Then bridge 1, bridge 2, or other bridges on the path between talker and listener perform the actual resource reservation after receiving the stream service receiver ready to declare message, and continue to forward the stream service receiver upstream Prepare to declare the message. After the talker receives the ready announcement message from the stream service recipient, it determines that the resource reservation process has ended, and the talker starts to send the stream.
如图3所示,图3表示MSRP过程的时延更新。从talker到listener之间经过网桥1(普通网桥)和5G网桥(5GS系统)。talker向网桥1发送流服务提供者广播声明消息,该消息中的累积时延域的初始值为a,a表示流从talker的出接口到网桥1的入接口的最大可能耗时;网桥1收到该流服务提供者广播声明消息后,在累积时延域的初始值a的基础上加上b,b表示流从网桥1的入接口到5G网桥的入接口的最大可能耗时;5G网桥收到该流服务提供者广播声明消息后,在累积时延域的a+b的基础上加上c,c表示流从5G网桥的入接口到listener的入接口的最大可能耗时。As shown in Figure 3, Figure 3 shows the delay update of the MSRP process. From talker to listener, go through bridge 1 (ordinary bridge) and 5G bridge (5GS system). Talker sends a stream service provider broadcast statement message to bridge 1. The initial value of the cumulative delay field in the message is a, a represents the maximum possible time-consuming flow from the outgoing interface of talker to the incoming interface of bridge 1. After bridge 1 receives the broadcast announcement message from the streaming service provider, it adds b to the initial value a of the accumulated delay domain. b represents the maximum possibility of the flow from the inbound interface of bridge 1 to the inbound interface of 5G bridge Time-consuming; after the 5G bridge receives the broadcast announcement message from the streaming service provider, it adds c to the a+b of the accumulated delay domain, where c represents the flow from the inbound interface of the 5G bridge to the inbound interface of the listener Most likely to be time-consuming.
如上所述,5GS系统整体作为一个虚拟的网桥在收到流服务提供者广播声明消息后,需要在累积时延域值的基础上累加从5GS系统的入接口到下一跳设备入接口之间的最大耗时,下一跳设备可以为5GS系统的下一跳,从5GS系统的入接口到下一跳设备入接口之间的最大耗时可以记为T。由于5GS系统内部存在多种可能的架构,如图4-a、图4-b、图4-c和图4-d所示,图4-a表示流从UE入到UPF出;图4-b表示流从UPF入到UE出;图4-c表示流从UE入,绕经UPF之后再从同一个UE出;图4-d表示流从UE1入,绕经UPF之后再从UE2出。不同的架构中T的值不同,基于第三代合作伙伴计划版本16(3rd generation partnership project release 16,3GPP Rel-16)协议的已有研究,5GS中的控制面网元AMF和SMF确定所有组成T的元素,包括UE-DS-TT Residence Time、包时延预算(packet delay budget,PDB)值、网桥时延5GS bridge delay和txPropogationDelay,其中,UE-DS-TT residence time是流在DS-TT与UE之间的传输及处理的总耗时,PDB值是流在UPF和UE之间的传输及处理的时延(可以包括UPF内部的处理时延),在图4-c和图4-d的架构中,5GS bridge delay为UPF的上行PDU session和下行PDU session所对应的PDB值和入、出接口两个UE-DS-TT Residence Time之和,在图4-a和图4-b的架构中,5GS bridge delay为上或下行PDU session所对应的PDB值和入或出接口UE-DS-TT Residence Time之和,txPropogationDelay为流从5GS系统的出接口到下一跳设备入接口的最大耗时。基于3GPP Release 16协议已有的研究结果,5GS系统中的出接口对应的网元UPF(含NW-TT)或UE(含DS-TT)可以利用IEEE 802.1Q协议获取txPropogationDelay的值。因此txPropogationDelay对于5GS系统中的出接口网元是已知信息。此外,每个UE知道自己的UE-DS-TT residence time值,因此对于5GS中的数据面网元UE和UPF不知道PDB值和5GS bridge delay的值。因此如何在5GS和TSN网络互通时确定流在5GS系统与TSN设备之间传输处理的时延,从而保证流的传输质量是本领域人员要解决的技术问题。As mentioned above, as a virtual bridge, the 5GS system as a whole, after receiving the broadcast announcement message from the streaming service provider, needs to accumulate from the 5GS system’s inbound interface to the next hop device’s inbound interface on the basis of the accumulated delay threshold. The maximum time consumption between the next hop device can be the next hop of the 5GS system, and the maximum time consumption from the inbound interface of the 5GS system to the inbound interface of the next hop device can be recorded as T. Since there are multiple possible architectures in the 5GS system, as shown in Figure 4-a, Figure 4-b, Figure 4-c, and Figure 4-d, Figure 4-a shows the flow from UE in to UPF; Figure 4- b indicates that the flow enters from the UPF to the UE; Figure 4-c indicates that the flow enters from the UE, and then exits from the same UE after bypassing the UPF; Figure 4-d indicates that the flow enters from UE1, and then exits from UE2 after bypassing the UPF. The value of T is different in different architectures. Based on the existing research of the 3rd generation partnership project release 16, 3GPP Rel-16, the control plane network element AMF and SMF in 5GS determine all the components The elements of T include UE-DS-TT Residence Time, packet delay budget (PDB) value, bridge delay 5GS bridge delay and txPropogationDelay. Among them, UE-DS-TTresidence time is flow in DS- The total time consumed for transmission and processing between TT and UE. The PDB value is the transmission and processing delay between the UPF and the UE (which may include the processing delay within the UPF), as shown in Figure 4-c and Figure 4. In the -d architecture, the 5GS bridge delay is the sum of the PDB value corresponding to the UPF uplink PDU session and downlink PDU session and the two UE-DS-TT Residence Time of the inbound and outbound interfaces, as shown in Figure 4-a and Figure 4- In the architecture of b, 5GS bridge delay is the sum of the PDB value corresponding to the uplink or downlink PDU session and the inbound or outbound interface UE-DS-TT Residence Time, and txPropogationDelay is the flow from the outbound interface of the 5GS system to the inbound interface of the next hop device The biggest time-consuming. Based on the existing research results of the 3GPP Release 16 protocol, the network element UPF (including NW-TT) or UE (including DS-TT) corresponding to the outbound interface in the 5GS system can use the IEEE 802.1Q protocol to obtain the value of txPropogationDelay. Therefore, txPropogationDelay is known information for the outgoing interface network element in the 5GS system. In addition, each UE knows its own UE-DS-TT residence time value, so the data plane network element UE and UPF in 5GS do not know the PDB value and the 5GS bridge delay value. Therefore, how to determine the transmission processing delay of the stream between the 5GS system and the TSN device when the 5GS and TSN networks are interoperable, so as to ensure the transmission quality of the stream, is a technical problem to be solved by those skilled in the art.
请参见图5,图5是本申请实施例提供的一种通信方法,图5所示的方法可以应用于上述图4-c或图4-d架构中,该方法包括但不限于如下步骤:Please refer to FIG. 5. FIG. 5 is a communication method provided by an embodiment of the present application. The method shown in FIG. 5 can be applied to the architecture of FIG. 4-c or FIG. 4-d. The method includes but is not limited to the following steps:
步骤S501:时间敏感网络TSN设备或流服务提供者talker向第一终端设备发送第一信息。Step S501: The time-sensitive network TSN device or the streaming service provider talker sends the first information to the first terminal device.
步骤S502:第一终端设备接收来自时间敏感网络TSN设备或者流服务提供者talker的第一信息。Step S502: The first terminal device receives the first information from the time-sensitive network TSN device or the streaming service provider talker.
具体地,第一信息用于指示第八时延,第八时延包括流从流服务提供者talker传输至第一终端设备的时延,例如,第八时延为流从talker传输至第一终端设备的最大传输时延。 talker是指提供流的主机或服务器,是流的源(Source)。其中,该第一终端设备是指流在5GS系统中的入接口设备。Specifically, the first information is used to indicate the eighth delay, and the eighth delay includes the delay for the stream to be transmitted from the talker of the streaming service provider to the first terminal device. For example, the eighth delay is the delay for the stream to be transmitted from the talker to the first terminal device. The maximum transmission delay of the terminal device. Talker refers to the host or server that provides the stream, and is the source of the stream. Among them, the first terminal device refers to the inbound interface device streaming in the 5GS system.
具体地,该第一信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。流服务提供者广播声明消息可以用于广播流对应的QoS需求。Specifically, the first information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message. The stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
具体地,流服务提供者广播声明消息中除了可以携带第一信息,还可以携带流标识(stream identity,Stream ID)。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址(destination_address)、源地址(source_address)、最大帧的大小(MaxFrameSize)、最大帧间隔(MaxIntervalFrames)、帧的优先级(PriorityAndRank)、流的单个帧从talker传输到listener的最大允许时延、流的可靠性需求或资源预留失败原因(FailureInformation)。Specifically, in addition to the first information, the stream service provider broadcast declaration message may also carry a stream identity (Stream ID). In addition, the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
例如,第一终端设备接收第一信息,第一信息用于指示第八时延X。For example, the first terminal device receives first information, and the first information is used to indicate the eighth delay X.
步骤S503:第一终端设备根据第八时延确定第一时延。Step S503: The first terminal device determines the first time delay according to the eighth time delay.
具体地,第一时延包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延。例如,第一时延为流从talker传输至第一终端设备的最大传输时延、以及在第一终端设备内的驻留时延。流在第一终端设备内的驻留时延是指流在第一终端设备内的传输和处理时延,也可以称为流在第一终端设备内的最大耗时,也可以为流在设备侧时延敏感网络转换器DS-TT与UE之间的传输及处理的总耗时,例如,该第一终端设备内的驻留时延为UE-DS-TT residence time。Specifically, the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the resident delay in the first terminal device. For example, the first delay is the maximum transmission delay for the stream to be transmitted from the talker to the first terminal device and the residence delay in the first terminal device. The residency delay of the stream in the first terminal device refers to the transmission and processing delay of the stream in the first terminal device. It can also be referred to as the maximum time consumption of the stream in the first terminal device. It can also be the stream in the device. The total time consumed for transmission and processing between the side delay-sensitive network converter DS-TT and the UE, for example, the residency delay in the first terminal device is UE-DS-TT residence time.
具体地,第一终端设备根据第八时延确定第一时延的一种可能的方式包括:第一终端设备在第八时延的基础上加上一个预定义或者默认的值从而得到第一时延,该预定义或者默认的值可以为流在第一终端设备内的驻留时延。当然第一终端设备也可以通过其他的方式根据第八时延确定第一时延,本申请实施例不做限定。Specifically, a possible manner for the first terminal device to determine the first delay according to the eighth delay includes: the first terminal device adds a predefined or default value to the eighth delay to obtain the first delay. Delay, the predefined or default value may be the residence delay of the stream in the first terminal device. Of course, the first terminal device may also determine the first delay according to the eighth delay in other ways, which is not limited in the embodiment of the present application.
例如,假若第八时延为X,则第一终端设备在第八时延X的基础上加上a,从而得到第一时延为X+a,其中,X表示流从talker传输至第一终端设备的时延,a表示流在第一终端设备内的驻留时延。For example, if the eighth delay is X, then the first terminal device adds a to the eighth delay X, so that the first delay is X+a, where X represents the stream transmitted from the talker to the first The delay of the terminal device, a represents the resident delay of the stream in the first terminal device.
步骤S504:第一终端设备向用户面功能UPF网元发送第二信息。Step S504: The first terminal device sends the second information to the user plane function UPF network element.
具体地,第二信息包括第一时延。该第二信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。Specifically, the second information includes the first time delay. The second information may be carried in a Talker Advertise Declaration message of the streaming service provider.
例如,第一终端设备确定第一时延之后,可以将第一终端设备接收的流服务提供者广播声明消息中的第八时延修改为第一时延,然后第一终端设备向UPF发送修改后的流服务提供者广播声明消息。也就是说,第一终端设备可以通过流服务提供者广播声明消息向UPF发送第二信息,第二信息中包括第一时延。For example, after the first terminal device determines the first delay, the eighth delay in the streaming service provider announcement message received by the first terminal device may be modified to the first delay, and then the first terminal device sends the modification to the UPF The subsequent streaming service provider broadcasts the announcement message. That is, the first terminal device may send the second information to the UPF through the streaming service provider broadcast announcement message, and the second information includes the first delay.
步骤S505:UPF接收来自第一终端设备的第二信息。Step S505: The UPF receives the second information from the first terminal device.
具体地,第二信息用于指示第一时延,第一时延包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延。Specifically, the second information is used to indicate the first delay, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device and the residence delay in the first terminal device.
例如,UPF接收来自第一终端设备的第二信息,第二信息用于指示第一时延,该第一时延为(X+a),其中,X是指流从talker传输至第一终端设备的时延,a是指流在第一终端设备内的驻留时延。For example, the UPF receives the second information from the first terminal device, the second information is used to indicate the first delay, and the first delay is (X+a), where X refers to the stream transmitted from the talker to the first terminal The delay of the device, a refers to the resident delay of the stream in the first terminal device.
步骤S506:UPF确定进行本地交换。Step S506: UPF determines to perform local exchange.
具体地,本地交换可以是指UPF接收来自第一终端设备的第二信息,并向第一终端设备发送第三信息,其中第二信息包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至该5GS的出接口设备,即第一终端设备的时延。或者,本地交换还可以是指UPF接收来自第一终端设备的第二信息,并向第二终端设备发送第三信息,其中第二信息包括流从talker传输第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至第二终端设备的时延。Specifically, the local exchange may mean that the UPF receives the second information from the first terminal device and sends the third information to the first terminal device, where the second information includes the delay of the stream from the talker to the first terminal device, and The resident delay in the first terminal device, and the third information includes the delay of the stream being transmitted from the talker to the outbound interface device of the 5GS, that is, the first terminal device. Alternatively, the local exchange may also mean that the UPF receives the second information from the first terminal device and sends the third information to the second terminal device, where the second information includes the delay of the stream transmitting from the talker to the first terminal device, and the The resident delay in the first terminal device, and the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
例如,如图4-c所示,假若UPF接收来自终端设备UE的第二信息,并向该终端设备UE发送第三信息,且第二信息中包括流从talker传输至终端设备UE的时延、以及在终端设备UE内的驻留时延,第三信息中包括流从talker传输至UE的时延,则该UPF确定进行本地交换。或者,如图4-d所示,假若UPF接收来自终端设备UE1的第二信息,并向终端设备UE2发送第三信息,第二信息中包括流从talker传输至终端设备UE1的时延、以及在终端设备UE1内的驻留时延,第三信息包括流从talker传输至UE2的时延,则该UPF确定进行本地交换。For example, as shown in Figure 4-c, suppose the UPF receives the second information from the terminal equipment UE and sends the third information to the terminal equipment UE, and the second information includes the delay of the stream from the talker to the terminal equipment UE. , And the staying delay in the terminal equipment UE, the third information includes the delay of the flow from the talker to the UE, and the UPF determines to perform the local exchange. Or, as shown in Figure 4-d, if the UPF receives the second information from the terminal device UE1 and sends the third information to the terminal device UE2, the second information includes the delay of the stream from the talker to the terminal device UE1, and The staying delay in the terminal equipment UE1, and the third information includes the delay of the flow from the talker to the UE2, then the UPF determines to perform the local exchange.
步骤S507:UPF向会话管理功能SMF网元发送请求消息,请求第二时延。Step S507: UPF sends a request message to the session management function SMF network element to request the second delay.
步骤S508:SMF接收来自UPF的请求消息,向UPF发送第二时延。Step S508: The SMF receives the request message from the UPF, and sends the second time delay to the UPF.
具体地,第二时延包括UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算(packet delay budget,PDB)值。其中,PDB值是由5G QoS标识(5G QoS identifier,5QI)确定的流在UPF和UE之间的传输时延,其中上行PDU session所对应的PDB值可以为流从UE传输至UPF的最大传输时延,下行PDUsession所对应的PDB值可以为流从UPF传输至UE的最大传输时延。上行PDU session所对应的PDB值或者下行PDUsession所对应的PDB值可以包括流在UPF内部的处理时延。Specifically, the second delay includes a packet delay budget (PDB) value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session. Among them, the PDB value is the transmission delay of the flow between the UPF and the UE as determined by the 5G QoS identifier (5G QoS identifier, 5QI). The PDB value corresponding to the uplink PDU session can be the maximum transmission of the flow from the UE to the UPF. Delay, the PDB value corresponding to the downlink PDUsession may be the maximum transmission delay for the stream to be transmitted from the UPF to the UE. The PDB value corresponding to the uplink PDU session or the PDB value corresponding to the downlink PDU session may include the processing delay of the flow within the UPF.
例如,UPF向SMF发送请求信息,该请求信息用于请求第二时延,相应的,SMF向UPF接收到该请求信息后,向UPF发送第二时延,第二时延可以为UPF的上行PDU session所对应的PDB值b与UPF的下行PDU session所对应的PDB值c之和,即(b+c),或者第二时延可以为UPF的上行PDU session所对应的PDB值b和UPF的下行PDU session所对应的PDB值c,即(b,c),相应的,UPF接收SMF的第二时延(b+c)或者(b,c)。For example, UPF sends request information to SMF. The request information is used to request a second delay. Correspondingly, after receiving the request information from UPF, SMF sends the second delay to UPF. The second delay can be the uplink of UPF. The sum of the PDB value b corresponding to the PDU session and the PDB value c corresponding to the downlink PDU session of the UPF, namely (b+c), or the second delay can be the PDB value b and UPF corresponding to the uplink PDU session of the UPF The PDB value c corresponding to the downlink PDU session is (b, c). Correspondingly, the second delay (b+c) or (b, c) for the UPF to receive the SMF.
步骤S509:UPF接收来自SMF的第二时延。Step S509: UPF receives the second time delay from SMF.
步骤S510:UPF根据第一时延和第二时延获取第三时延。Step S510: The UPF obtains the third time delay according to the first time delay and the second time delay.
具体地,第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延。第二时延包括UPF的上行PDU session和下行PDU session所对应的PDB值,第三时延包括流从talker传输至第二终端设备的时延。例如,该第三时延为流从talker传输至第二终端设备的最大传输时延。Specifically, the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and the resident delay in the first terminal device. The second delay includes the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF, and the third delay includes the delay of the flow from the talker to the second terminal device. For example, the third delay is the maximum transmission delay for the stream to be transmitted from the talker to the second terminal device.
具体地,UPF根据第一时延和第二时延获取第三时延的一种可能的实现方式中可以包括:UPF将第一时延和第二时延之和,确定为第三时延,从而获取第三时延。当然,UPF也可以通过其他的方式根据第一时延和第二时延获取第三时延,例如,UPF将第一时延和第二时延相加之后,可以对相加所得的和进行修正(例如,加上一个指定或者默认的值),从而得到第三时延。本申请实施例对根据第一时延和该第二时延获取第三时延的方式不作 限定。Specifically, a possible implementation manner in which the UPF obtains the third delay according to the first delay and the second delay may include: the UPF determines the sum of the first delay and the second delay as the third delay , So as to obtain the third time delay. Of course, UPF can also obtain the third delay based on the first delay and the second delay in other ways. For example, after the UPF adds the first delay and the second delay, the sum obtained by the addition can be performed Correct (for example, add a specified or default value) to obtain the third delay. The embodiment of the present application does not limit the manner of obtaining the third delay based on the first delay and the second delay.
例如,假若第一时延为X+a,第二时延为b+c,则UPF根据第一时延X+a和第二时延b+c获取第三时延为X+a+b+c。For example, if the first delay is X+a and the second delay is b+c, then UPF obtains the third delay as X+a+b according to the first delay X+a and the second delay b+c +c.
步骤S511:UPF向第二终端设备发送第三信息。Step S511: The UPF sends the third information to the second terminal device.
具体地,第三信息用于指示第三时延,其中,第二终端设备可以为流在5GS系统中的出接口设备UE。Specifically, the third information is used to indicate the third delay, where the second terminal device may be the outbound interface device UE that flows in the 5GS system.
具体地,该第三信息可以携带在流服务提供者广播声明消息中。Specifically, the third information may be carried in the broadcast announcement message of the streaming service provider.
例如,UPF确定第三时延之后,可以将UPF接收的流服务提供者广播声明消息中的第一时延修改为第三时延,然后UPF向第二终端设备发送修改后的流服务提供者广播声明消息。也就是说,UPF网元可以通过流服务提供者广播声明消息向第二终端设备发送第三信息,第三信息中包括第三时延。For example, after UPF determines the third delay, it can modify the first delay in the streaming service provider announcement message received by UPF to the third delay, and then UPF sends the modified streaming service provider to the second terminal device Broadcast announcement message. In other words, the UPF network element may send the third information to the second terminal device through the broadcast announcement message of the streaming service provider, and the third information includes the third delay.
步骤S512:第二终端设备接收来自UPF的第三信息。Step S512: The second terminal device receives the third information from the UPF.
具体地,第三信息用于指示第三时延,第三时延包括流从talker传输至第二终端设备的时延。例如,该第三时延为流从talker传输至第二终端设备的最大传输时延。Specifically, the third information is used to indicate the third delay, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device. For example, the third delay is the maximum transmission delay for the stream to be transmitted from the talker to the second terminal device.
例如,第二终端设备接收来自UPF的第三信息,第三信息用于指示第三时延X+a+b+c。For example, the second terminal device receives the third information from the UPF, and the third information is used to indicate the third delay X+a+b+c.
步骤S513:第二终端设备根据第三时延确定第九时延。Step S513: The second terminal device determines a ninth time delay according to the third time delay.
具体地,第九时延包括流从talker传输至第二终端设备的时延、在第二终端设备内的驻留时延和从第二终端设备至时间敏感网络TSN设备的传输时延。例如,第九时延为流从talker传输至第二终端设备的最大传输时延、在第二终端设备内的驻留时延和从第二终端设备至时间敏感网络TSN设备的传输时延。流在第二终端设备内的驻留时延可以为流在第二终端设备内的传输和处理时延,也可以为流在第二终端设备内的最大耗时,也可以为流在设备侧时延敏感网络转换器DS-TT与UE之间的传输及处理的总耗时。Specifically, the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, the resident delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device. For example, the ninth delay is the maximum transmission delay of the stream from the talker to the second terminal device, the residence delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device. The resident delay of the stream in the second terminal device can be the transmission and processing delay of the stream in the second terminal device, or the maximum time consumption of the stream in the second terminal device, or it can be the stream on the device side. The total time-consuming transmission and processing between the delay-sensitive network converter DS-TT and the UE.
具体地,第二终端设备根据第三时延确定第九时延的一种可能的方式包括:第二终端设备在第三时延的基础上加上一个预定义或者默认的值从而得到第九时延,该预定义或者默认的值可以为流在第二终端设备内的驻留时延和从第二终端设备至TSN设备的传输时延。当然第二终端设备也可以通过其他的方式根据第三时延确定第九时延,本申请实施例不做限定。Specifically, a possible way for the second terminal device to determine the ninth delay according to the third delay includes: the second terminal device adds a predefined or default value to the third delay to obtain the ninth delay. Delay, the predefined or default value may be the residence delay of the stream in the second terminal device and the transmission delay from the second terminal device to the TSN device. Of course, the second terminal device may also determine the ninth delay based on the third delay in other ways, which is not limited in the embodiment of the present application.
例如,假若第三时延为X+a+b+c,则第二终端设备在第三时延X+a+b+c的基础上加上d+txPropogationDelay,从而得到第九时延X+a+b+c+d+txPropogationDelay,其中,X+a+b+c表示流从talker传输至第二终端设备的时延,d表示流在第二终端设备内的驻留时延,txPropogationDelay表示流从第二终端设备至TSN设备的传输时延。For example, if the third delay is X+a+b+c, the second terminal device adds d+txPropogationDelay to the third delay X+a+b+c to obtain the ninth delay X+ a+b+c+d+txPropogationDelay, where X+a+b+c represents the delay of the stream from the talker to the second terminal device, d represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents The transmission delay of the stream from the second terminal device to the TSN device.
步骤S514:第二终端设备向时间敏感网络TSN设备发送第四信息。Step S514: The second terminal device sends the fourth information to the time-sensitive network TSN device.
具体地,第四信息包括第九时延,其中,TSN设备可以为图4-c中的TSN设备2,还可以为图4-d中的TSN设备2。该第四信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。Specifically, the fourth information includes the ninth time delay, where the TSN device may be the TSN device 2 in FIG. 4-c, and may also be the TSN device 2 in FIG. 4-d. The fourth information may be carried in a Talker Advertise Declaration message of the streaming service provider.
例如,第二终端设备确定第九时延之后,可以将第二终端设备接收的流服务提供者广播声明消息中的第三时延修改为第九时延,然后第二终端设备向TSN设备发送修改后的流服务提供者广播声明消息。也就是说,第二终端设备可以通过流服务提供者广播声明消息 向TSN设备发送第四信息,第四信息中包括第九时延。For example, after the second terminal device determines the ninth delay, the third delay in the streaming service provider broadcast announcement message received by the second terminal device may be modified to the ninth delay, and then the second terminal device sends to the TSN device The modified streaming service provider broadcasts an announcement message. That is, the second terminal device may send the fourth information to the TSN device through the streaming service provider broadcast announcement message, and the fourth information includes the ninth time delay.
步骤S515:TSN设备接收来自第二终端设备的第四信息。Step S515: The TSN device receives the fourth information from the second terminal device.
具体地,第四信息包括第九时延。Specifically, the fourth information includes the ninth time delay.
在上述方法中,第一终端设备根据来自第一信息中的第八时延确定第一时延,然后向UPF发送第二信息,第二信息包括第一时延,相应的,UPF接收来自第一终端设备的第二信息,并根据第二信息中的第一时延、以及来自SMF的第二时延获取第三时延,然后UPF向第二终端设备发送第三信息,第三信息包括第三时延,相应的,第二终端设备接收来自UPF的第三时延,并根据第三时延确定第九时延,然后向TSN设备发送第四信息,第四信息包括第九时延,通过这样简单的方式对时延进行更新,进而保证流的传输质量。In the above method, the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF. The second information includes the first delay. Accordingly, the UPF receives the first delay from the The second information of a terminal device, and the third delay is obtained according to the first delay in the second information and the second delay from the SMF, and then the UPF sends the third information to the second terminal device. The third information includes The third delay, correspondingly, the second terminal device receives the third delay from the UPF, determines the ninth delay according to the third delay, and then sends the fourth information to the TSN device, and the fourth information includes the ninth delay , Through such a simple way to update the delay, thereby ensuring the quality of stream transmission.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,SMF直接向UPF发送第二时延,该第二时延为流在UPF和终端设备UE之间的传输时延,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the SMF directly sends the second delay to the UPF. The second delay is the transmission delay between the UPF and the terminal equipment UE. Compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图6,图6是本申请实施例提供的一种通信方法,图6所示的方法可以应用于上述图4-a架构中,该方法包括但不限于如下步骤:Please refer to FIG. 6. FIG. 6 is a communication method provided by an embodiment of the present application. The method shown in FIG. 6 can be applied to the architecture of FIG. 4-a. The method includes but is not limited to the following steps:
步骤S601-步骤S605可以参考步骤S501-步骤S505,此处不再赘述。Step S601-Step S605 can refer to step S501-Step S505, which will not be repeated here.
步骤S606:UPF确定不需要本地交换。Step S606: UPF determines that no local exchange is needed.
具体地,本地交换可以是指UPF接收来自第一终端设备的第一信息,并向第一终端设备发送第二信息,其中第一信息包括流从talker传输至该5GS的入接口设备,即第一终端设备的时延、以及在第一终端设备内的驻留时延,第二信息包括流从talker传输至该5GS的出接口设备,即第一终端设备的时延。或者,本地交换还可以是指UPF接收来自第一终端设备的第一信息,并向第二终端设备发送第二信息,其中第一信息包括流从talker传输第一终端设备的时延、以及在第一终端设备内的驻留时延,第二信息包括流从talker传输至第二终端设备的时延。Specifically, local exchange may mean that the UPF receives the first information from the first terminal device and sends the second information to the first terminal device, where the first information includes the stream transmitted from the talker to the inbound interface device of the 5GS, that is, the first The delay of a terminal device and the resident delay in the first terminal device. The second information includes the delay of the stream transmitted from the talker to the outbound interface device of the 5GS, that is, the delay of the first terminal device. Alternatively, local exchange may also mean that the UPF receives the first information from the first terminal device and sends the second information to the second terminal device, where the first information includes the delay of the stream transmitting from the talker to the first terminal device, and The resident delay in the first terminal device, and the second information includes the delay of the stream being transmitted from the talker to the second terminal device.
例如,如图4-a所示,UPF接收来自第一终端设备的第一信息,其中第一信息包括流从talker传输至该5GS的入接口设备,即第一终端设备的时延、以及在第一终端设备内的驻留时延,但不向一终端设备发送第二信息,或者不向第二终端设备发送第二信息,第二信息包括流从talker传输至该5GS的出接口设备,即第一终端设备的时延,或者流从talker传输至第二终端设备的时延,则该UPF确定不需要进行本地交换。For example, as shown in Figure 4-a, the UPF receives the first information from the first terminal device, where the first information includes the inbound interface device of the stream transmitted from the talker to the 5GS, that is, the delay of the first terminal device and the The resident delay in the first terminal device, but the second information is not sent to a terminal device, or the second information is not sent to the second terminal device. The second information includes the stream transmitted from the talker to the outbound interface device of the 5GS, That is, the delay of the first terminal device or the delay of the stream transmission from the talker to the second terminal device, the UPF determines that no local exchange is required.
步骤S607:UPF向会话管理功能SMF网元发送请求消息,请求第四时延。Step S607: UPF sends a request message to the session management function SMF network element to request the fourth delay.
步骤S608:SMF接收来自UPF的请求消息,向UPF发送第四时延。Step S608: The SMF receives the request message from the UPF, and sends the fourth time delay to the UPF.
具体地,第四时延包括UPF的上行PDU session所对应的PDB值,其中,PDB值是由5G QoS标识(5G QoS identifier,5QI)确定的流在UPF和UE之间的传输时延,上行PDU session所对应的PDB值可以为流从UE传输至UPF的最大传输时延。PDB值可以包括流在UPF内部的处理时延。Specifically, the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, where the PDB value is the transmission delay between the UPF and the UE as determined by the 5G QoS identifier (5QI). The PDB value corresponding to the PDU session may be the maximum transmission delay of the flow from the UE to the UPF. The PDB value may include the processing delay of the flow inside the UPF.
例如,UPF向SMF发送请求信息,该请求信息用于请求第四时延,SMF接收该请求 信息,向UPF发送第四时延b,相应的,UPF接收来自SMF的第四时延b。For example, UPF sends request information to SMF, the request information is used to request the fourth delay, SMF receives the request information, and sends the fourth delay b to UPF, correspondingly, UPF receives the fourth delay b from SMF.
步骤S609:UPF接收来自SMF的第四时延。Step S609: UPF receives the fourth time delay from SMF.
步骤S610:UPF根据第一时延和第四时延获取第五时延。Step S610: the UPF obtains the fifth time delay according to the first time delay and the fourth time delay.
具体地,第一时延包括流从talker传输至第一终端设备的时延、以及在第一终端设备内的驻留时延。第五时延包括流从talker传输至UPF的时延、在UPF内的驻留时延和从UPF至时间敏感网络TSN设备的传输时延。Specifically, the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the resident delay in the first terminal device. The fifth delay includes the transmission delay of the stream from the talker to the UPF, the residence delay in the UPF, and the transmission delay from the UPF to the time-sensitive network TSN device.
具体地,UPF根据第一时延和第四时延获取第五时延的一种可能的实现方式中可以包括:UPF将第一时延和第四时延相加之后,可以对相加所得的和进行修正(例如,加上一个指定或者默认的值),从而得到第五时延。本申请实施例对根据第一时延和该第四时延获取第五时延的方式不作限定。Specifically, a possible implementation manner in which the UPF obtains the fifth delay according to the first delay and the fourth delay may include: after the UPF adds the first delay and the fourth delay, the sum can be obtained by adding The sum is corrected (for example, a specified or default value is added) to obtain the fifth delay. The embodiment of the present application does not limit the manner of obtaining the fifth delay based on the first delay and the fourth delay.
例如,假若第一时延为X+a,第四时延为b,其中,X表示流从talker传输至第一终端设备的时延,a表示流在第一终端设备内的驻留时延,则UPF计算第一时延和第四时延之和为X+a+b,由于该UPF为出接口网元,则在X+a+b基础上加上txPropogationDelay,其中,txPropogationDelay表示流从UPF至TSN设备的传输时延,最终获取第五时延为X+a+b+txPropogationDelay。For example, if the first delay is X+a, and the fourth delay is b, where X represents the delay of the stream being transmitted from the talker to the first terminal device, and a represents the residence delay of the stream in the first terminal device. , The UPF calculates the sum of the first delay and the fourth delay as X+a+b. Since the UPF is an outgoing interface network element, txPropogationDelay is added on the basis of X+a+b, where txPropogationDelay represents the flow from The transmission delay from the UPF to the TSN device is finally obtained as the fifth delay as X+a+b+txPropogationDelay.
步骤S611:UPF向时间敏感网络TSN设备发送第五信息。Step S611: UPF sends fifth information to the time-sensitive network TSN device.
具体地,第五信息包括第五时延,其中,该TSN设备可以为图4-a中TSN设备2。该第五信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。Specifically, the fifth information includes the fifth time delay, where the TSN device may be the TSN device 2 in FIG. 4-a. The fifth information may be carried in a Talker Advertise Declaration message of the streaming service provider.
例如,UPF确定第五时延之后,可以将UPF接收的流服务提供者广播声明消息中的第一时延修改为第五时延,然后UPF向TSN设备发送修改后的流服务提供者广播声明消息。也就是说,UPF网元可以通过流服务提供者广播声明消息向TSN设备发送第五信息,第五信息中包括第五时延。For example, after UPF determines the fifth delay, it can modify the first delay in the streaming service provider broadcast announcement message received by UPF to the fifth delay, and then UPF sends the modified streaming service provider broadcast announcement to the TSN device information. In other words, the UPF network element may send the fifth information to the TSN device through the broadcast announcement message of the streaming service provider, and the fifth information includes the fifth time delay.
步骤S612:TSN设备接收来自UPF的第五信息。Step S612: The TSN device receives the fifth information from the UPF.
具体地,第五信息包括第五时延。Specifically, the fifth information includes the fifth time delay.
在上述方法中,第一终端设备根据来自第一信息中的第八时延确定第一时延,然后向UPF发送第二信息,第二信息包括第一时延,相应的,UPF接收来自第一终端设备的第二信息,并根据第二信息中的第一时延、以及来自SMF的第四时延获取第五时延,然后UPF向TSN设备发送第五信息,第五信息包括第五时延,通过这样简单的方式对时延进行更新,进而保证流的传输质量。In the above method, the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF. The second information includes the first delay. Accordingly, the UPF receives the first delay from the The second information of a terminal device, and the fifth delay is obtained according to the first delay in the second information and the fourth delay from the SMF, and then the UPF sends the fifth information to the TSN device, and the fifth information includes the fifth Delay, the delay is updated in such a simple way to ensure the transmission quality of the stream.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,UPF可以通过向SMF请求第四时延,该第四时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the UPF can request a fourth delay from the SMF. The fourth delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图7,图7是本申请实施例提供的一种通信方法,图7所示的方法可以应用于上述图4-b架构中,该方法包括但不限于如下步骤:Please refer to FIG. 7. FIG. 7 is a communication method provided by an embodiment of the present application. The method shown in FIG. 7 can be applied to the architecture of FIG. 4-b. The method includes but is not limited to the following steps:
步骤S701:时间敏感网络TSN设备或者流服务提供者talker向用户面功能UPF网元 发送第六信息。Step S701: The time-sensitive network TSN device or the streaming service provider talker sends the sixth information to the user plane function UPF network element.
步骤S702:用户面功能UPF网元接收来自时间敏感网络TSN设备或者流服务提供者talker的第六信息。Step S702: The user plane function UPF network element receives the sixth information from the time-sensitive network TSN device or the streaming service provider talker.
具体地,第六信息用于指示第六时延,第六时延包括流从流服务提供者talker传输至UPF的时延,例如,该第六时延为流从talker传输至UPF的最大传输时延。talker是指提供流的主机或服务器,是流的源(Source)。Specifically, the sixth information is used to indicate the sixth delay, and the sixth delay includes the delay for the stream to be transmitted from the stream service provider talker to the UPF. For example, the sixth delay is the maximum transmission of the stream from the talker to the UPF. Time delay. Talker refers to the host or server that provides the stream, and is the source of the stream.
具体地,该第六信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。流服务提供者广播声明消息可以用于广播流对应的QoS需求。Specifically, the sixth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message. The stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
具体地,流服务提供者广播声明消息中除了可以携带第六信息,还可以携带流标识(stream identity,Stream ID)。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址(destination_address)、源地址(source_address)、最大帧的大小(MaxFrameSize)、最大帧间隔(MaxIntervalFrames)、帧的优先级(PriorityAndRank)、流的单个帧从talker传输到listener的最大允许时延、流的可靠性需求或资源预留失败原因(FailureInformation)。Specifically, in addition to the sixth information, the stream service provider broadcast declaration message may also carry a stream identity (Stream ID). In addition, the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
例如,UPF接收第六消息,第六信息用于指示第六时延,第六时延为X。For example, the UPF receives the sixth message, the sixth information is used to indicate the sixth delay, and the sixth delay is X.
步骤S703:UPF向会话管理功能SMF网元发送请求消息,用于请求第七时延。Step S703: The UPF sends a request message to the session management function SMF network element for requesting the seventh time delay.
步骤S704:SMF接收请求消息,向UPF发送第七时延。Step S704: The SMF receives the request message and sends the seventh time delay to the UPF.
具体地,第七时延包括UPF的下行PDU session所对应的PDB值,其中,PDB值是由5G QoS标识(5G QoS identifier,5QI)确定的流在UPF和UE之间的传输时延,下行PDU session所对应的PDB值可以为流从UPF传输至UE的最大传输时延。PDB值可以包括流在UPF内部的处理时延。Specifically, the seventh delay includes the PDB value corresponding to the downlink PDU session of the UPF, where the PDB value is the transmission delay of the flow between the UPF and the UE determined by the 5G QoS identifier (5G QoS identifier, 5QI). The PDB value corresponding to the PDU session may be the maximum transmission delay of the flow from the UPF to the UE. The PDB value may include the processing delay of the flow inside the UPF.
例如,UPF向SMF发送请求消息,该请求消息用于请求第七时延,相应的,SMF接收来自UPF的请求消息,向UPF发送第七时延c,UPF接收第七时延c。For example, the UPF sends a request message to the SMF, and the request message is used to request the seventh delay. Correspondingly, the SMF receives the request message from the UPF, sends the seventh delay c to the UPF, and the UPF receives the seventh delay c.
步骤S705:UPF接收来自SMF的第七时延。Step S705: UPF receives the seventh time delay from SMF.
步骤S706:UPF根据第六时延和第七时延获取第三时延。Step S706: The UPF obtains the third time delay according to the sixth time delay and the seventh time delay.
具体地,第三时延包括流从talker传输至第二终端设备的时延,例如,第三时延为流从talker传输至第二终端设备的最大传输时延。Specifically, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device. For example, the third delay is the maximum transmission delay of the stream being transmitted from the talker to the second terminal device.
具体地,UPF根据第六时延和第七时延获取第三时延的一种可能的实现方式中可以包括:UPF将第六时延和第七时延之和,确定为第三时延,从而获取第三时延。当然,UPF也可以通过其他的方式根据第六时延和第七时延获取第三时延,例如,UPF将第六时延和第七时延相加之后,可以对相加所得的和进行修正(例如,加上一个指定或者默认的值),从而得到第三时延。本申请实施例对根据第六时延和该第七时延获取第三时延的方式不作限定。Specifically, a possible implementation manner in which the UPF obtains the third delay according to the sixth delay and the seventh delay may include: the UPF determines the sum of the sixth delay and the seventh delay as the third delay , So as to obtain the third time delay. Of course, UPF can also obtain the third delay based on the sixth delay and the seventh delay in other ways. For example, after the UPF adds the sixth delay and the seventh delay, the sum obtained by the addition can be performed Correct (for example, add a specified or default value) to obtain the third delay. The embodiment of the present application does not limit the manner of obtaining the third delay based on the sixth delay and the seventh delay.
例如,假若第六时延为X,第七时延为c,则UPF根据第六时延X和第七时延c确定第三时延为X+c。For example, if the sixth delay is X and the seventh delay is c, the UPF determines that the third delay is X+c according to the sixth delay X and the seventh delay c.
步骤S707:UPF向第二终端设备发送第七信息。Step S707: UPF sends seventh information to the second terminal device.
具体地,第七信息用于指示第三时延。其中,第二终端设备可以为图4-b中的UE。Specifically, the seventh information is used to indicate the third time delay. Wherein, the second terminal device may be the UE in Figure 4-b.
具体地,该第七信息可以携带在流服务提供者广播声明(Talker Advertise Declaration) 消息中。Specifically, the seventh information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
例如,UPF确定第三时延之后,可以将UPF接收的流服务提供者广播声明消息中的第六时延修改为第三时延,然后UPF向第二终端设备发送修改后的流服务提供者广播声明消息。也就是说,UPF网元可以通过流服务提供者广播声明消息向第二终端设备发送第七信息,第七信息中包括第三时延。For example, after UPF determines the third delay, it can modify the sixth delay in the streaming service provider announcement message received by UPF to the third delay, and then UPF sends the modified streaming service provider to the second terminal device Broadcast announcement message. That is to say, the UPF network element may send the seventh information to the second terminal device through the broadcast announcement message of the streaming service provider, and the seventh information includes the third time delay.
步骤S708:第二终端设备接收来自UPF的第七信息。Step S708: The second terminal device receives the seventh information from the UPF.
具体地,第七信息用于指示第三时延,第三时延包括流从流服务提供者talker传输至第二终端设备的时延,例如,该第三时延为流从talker传输至第二终端设备的最大传输时延。Specifically, the seventh information is used to indicate the third delay, and the third delay includes the delay of the stream being transmitted from the talker of the streaming service provider to the second terminal device. For example, the third delay is the transmission of the stream from the talker to the second terminal device. 2. Maximum transmission delay of terminal equipment.
例如,第二终端设备接收来自UPF的第七信息,第七信息用于指示第三时延X+c。For example, the second terminal device receives the seventh information from the UPF, and the seventh information is used to indicate the third delay X+c.
步骤S709:第二终端设备根据第三时延确定第九时延。Step S709: The second terminal device determines a ninth time delay according to the third time delay.
具体地,第九时延包括流从talker传输至第二终端设备的时延、在第二终端设备内的驻留时延和从第二终端设备至时间敏感网络TSN设备的传输时延。流在第二终端设备内的驻留时延可以包括流在第二终端设备内的传输和处理时延,也可以为流在第二终端设备内的最大耗时,也可以为流在设备侧时延敏感网络转换器DS-TT与UE之间的传输及处理的总耗时。Specifically, the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, the resident delay in the second terminal device, and the transmission delay from the second terminal device to the time-sensitive network TSN device. The resident delay of the stream in the second terminal device may include the transmission and processing delay of the stream in the second terminal device, it can also be the maximum time consumption of the stream in the second terminal device, or it can be the stream on the device side. The total time-consuming transmission and processing between the delay-sensitive network converter DS-TT and the UE.
具体地,第二终端设备根据第三时延确定第九时延的一种可能的方式包括:第二终端设备在第三时延的基础上加上一个预定义或者默认的值从而得到第九时延,该预定义或者默认的值可以为流在第二终端设备内的驻留时延和从第二终端设备至TSN设备的传输时延。当然第二终端设备也可以通过其他的方式根据第三时延确定第九时延,本申请实施例不做限定。Specifically, a possible way for the second terminal device to determine the ninth delay according to the third delay includes: the second terminal device adds a predefined or default value to the third delay to obtain the ninth delay. Delay, the predefined or default value may be the residence delay of the stream in the second terminal device and the transmission delay from the second terminal device to the TSN device. Of course, the second terminal device may also determine the ninth delay based on the third delay in other ways, which is not limited in the embodiment of the present application.
例如,假若第三时延为X+c,则第二终端设备在第三时延X+c的基础上加上d+txPropogationDelay,从而得到第九时延X+c+d+txPropogationDelay,其中,X+c表示流从talker传输至第二终端设备的时延,d表示流在第二终端设备内的驻留时延,txPropogationDelay表示流从第二终端设备至TSN设备的传输时延。For example, if the third delay is X+c, the second terminal device adds d+txPropogationDelay to the third delay X+c to obtain the ninth delay X+c+d+txPropogationDelay, where, X+c represents the transmission delay of the stream from the talker to the second terminal device, d represents the residence delay of the stream in the second terminal device, and txPropogationDelay represents the transmission delay of the stream from the second terminal device to the TSN device.
步骤S710:第二终端设备向时间敏感网络TSN设备发送第八信息。Step S710: The second terminal device sends the eighth information to the time-sensitive network TSN device.
具体地,第八信息包括第九时延,其中,TSN设备可以为图4-b中的TSN设备2。Specifically, the eighth information includes the ninth time delay, where the TSN device may be the TSN device 2 in FIG. 4-b.
具体地,该第八信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。Specifically, the eighth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
例如,第二终端设备确定第九时延之后,可以将第二终端设备接收的流服务提供者广播声明消息中的第三时延修改为第九时延,然后第二终端设备向TSN设备发送修改后的流服务提供者广播声明消息。也就是说,第二终端设备可以通过流服务提供者广播声明消息向TSN设备发送第八信息,第八信息中包括第九时延。For example, after the second terminal device determines the ninth delay, the third delay in the streaming service provider broadcast announcement message received by the second terminal device may be modified to the ninth delay, and then the second terminal device sends to the TSN device The modified streaming service provider broadcasts an announcement message. That is, the second terminal device may send the eighth information to the TSN device through the streaming service provider broadcast announcement message, and the eighth information includes the ninth time delay.
步骤S711:TSN设备接收来自第二终端设备的第八信息。Step S711: The TSN device receives the eighth information from the second terminal device.
具体地,第八信息包括第九时延。Specifically, the eighth information includes the ninth time delay.
在上述方法中,UPF接收来自TSN设备或者talker的第六信息中的第六时延,向SMF发送请求消息,请求第七时延,根据第六时延和第七时延确定第三时延,然后向第二终端设备发送第七信息,第七信息包括第三时延,相应的,第二终端设备接收来自UPF的第三 时延,并根据第第三时延确定第九时延,然后向TSN设备发送第八信息,第八信息包括第九时延,通过这样简单的方式对时延进行更新,进而保证流的传输质量。In the above method, the UPF receives the sixth delay in the sixth information from the TSN device or talker, sends a request message to the SMF to request the seventh delay, and determines the third delay based on the sixth delay and the seventh delay , And then send the seventh information to the second terminal device. The seventh information includes the third delay. Correspondingly, the second terminal device receives the third delay from the UPF and determines the ninth delay according to the third delay, Then the eighth information is sent to the TSN device, and the eighth information includes the ninth delay. The delay is updated in such a simple way to ensure the transmission quality of the stream.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,UPF可以通过向SMF发送请求消息,请求第七时延,该第七时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the UPF can request the seventh delay by sending a request message to the SMF. The seventh delay flows between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图8,图8是本申请实施例提供的一种通信方法,图8所示的方法应用于上述图4-c或图4-d架构中,该方法包括但不限于如下步骤:Please refer to FIG. 8. FIG. 8 is a communication method provided by an embodiment of the present application. The method shown in FIG. 8 is applied to the architecture of FIG. 4-c or FIG. 4-d. The method includes but is not limited to the following steps:
步骤S801-步骤805参考步骤S501-步骤505,此处不再赘述。For step S801-step 805, refer to step S501-step 505, which will not be repeated here.
步骤S806:UPF向会话管理功能SMF网元发送请求信息。Step S806: UPF sends request information to the session management function SMF network element.
具体地,该请求信息用于请求第二时延。Specifically, the request information is used to request the second delay.
步骤S807:SMF接收来自UPF的请求信息。Step S807: The SMF receives the request information from the UPF.
步骤S808:SMF确定进行本地交换。Step S808: SMF determines to perform local exchange.
具体地,SMF确定进行本地交换可以是指SMF确定UPF接收来自第一终端设备的第二信息,并且UPF向第一终端设备发送第三信息,该第二信息中包括流从流服务提供者talker传输至5GS系统中的入接口设备,即第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至5GS系统中的出接口设备,即第一终端设备的时延。或者,SMF确定进行本地交换还可以是指SMF确定UPF接收来自第一终端设备的第二信息,并且UPF向第二终端设备发送第三信息,其中第二信息包括流从talker传输第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至第二终端设备的时延。Specifically, the SMF determining to perform the local exchange may mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the first terminal device, and the second information includes the streaming service provider talker. Transmitted to the inbound interface device in the 5GS system, that is, the delay of the first terminal device and the resident delay in the first terminal device. The third information includes the stream transmitted from the talker to the outbound interface device in the 5GS system, namely The delay of the first terminal device. Alternatively, the SMF determination to perform a local exchange may also mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the second terminal device, where the second information includes the stream transmitted from the talker to the first terminal device The delay of, and the delay of staying in the first terminal device, the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
例如,如图4-c所示,假若UPF接收来自终端设备UE的第二信息,并向该终端设备UE发送第三信息,且第二信息中包括流从talker传输至终端设备UE的时延、以及在终端设备UE内的驻留时延,第三信息中包括流从talker传输至UE的时延,则该UPF确定进行本地交换。或者,如图4-d所示,假若UPF接收来自终端设备UE1的第二信息,并向终端设备UE2发送第三信息,第二信息中包括流从talker传输至终端设备UE1的时延、以及在终端设备UE1内的驻留时延,第三信息包括流从talker传输至UE2的时延,则SMF确定进行本地交换。For example, as shown in Figure 4-c, suppose the UPF receives the second information from the terminal equipment UE and sends the third information to the terminal equipment UE, and the second information includes the delay of the stream from the talker to the terminal equipment UE. , And the staying delay in the terminal equipment UE, the third information includes the delay of the flow from the talker to the UE, and the UPF determines to perform the local exchange. Or, as shown in Figure 4-d, if the UPF receives the second information from the terminal device UE1 and sends the third information to the terminal device UE2, the second information includes the delay of the stream from the talker to the terminal device UE1, and For the dwell time delay in the terminal equipment UE1, the third information includes the time delay for the stream to be transmitted from the talker to the UE2, and the SMF determines to perform the local exchange.
步骤S809:SMF向UPF发送第二时延。Step S809: The SMF sends the second time delay to the UPF.
具体地,第二时延包括UPF的上行PDU session和下行PDU session所对应的PDB值,其中,PDB值是由5G QoS标识(5G QoS identifier,5QI)确定的流在UPF和UE之间的时延。其中上行PDU session所对应的PDB值可以为流从UE传输至UPF的最大传输时延,下行PDUsession所对应的PDB值可以为流从UPF传输至UE的最大传输时延。上行PDU session所对应的PDB值或者下行PDUsession所对应的PDB值可以包括流在UPF内部的处理时延。Specifically, the second delay includes the PDB value corresponding to the uplink PDU session and the downlink PDU session of the UPF, where the PDB value is the time when the flow is determined by the 5G QoS identifier (5G QoS identifier, 5QI) between the UPF and the UE. Extension. The PDB value corresponding to the uplink PDU session may be the maximum transmission delay of the flow from the UE to the UPF, and the PDB value corresponding to the downlink PDU session may be the maximum transmission delay of the flow from the UPF to the UE. The PDB value corresponding to the uplink PDU session or the PDB value corresponding to the downlink PDU session may include the processing delay of the flow within the UPF.
例如,假若该第二时延可以为UPF的上行PDU session所对应的PDB值b和UPF的下行PDU session所对应的PDB值c之和,即(b+c),则SMF向UPF发送第二时延b+c, 或者,第二时延可以为UPF上行PDU session所对应的PDB值b和UPF下行PDU session所对应的PDB值c,即(b,c),则SMF向UPF发送第二时延(b,c)。For example, if the second delay can be the sum of the PDB value b corresponding to the UPF uplink PDU session and the PDB value c corresponding to the UPF downlink PDU session, namely (b+c), the SMF sends the second Delay b+c, or the second delay may be the PDB value b corresponding to the UPF uplink PDU session and the PDB value c corresponding to the UPF downlink PDU session, namely (b, c), then the SMF sends the second Time delay (b, c).
步骤S810-步骤S816可以参考步骤S509-步骤S515,此处不再赘述。For step S810-step S816, reference may be made to step S509-step S515, which will not be repeated here.
在上述方法中,第一终端设备根据来自第一信息中的第八时延确定第一时延,然后向UPF发送第二信息,第二信息包括第一时延,相应的,UPF接收来自第一终端设备的第二信息,并根据第二信息中的第一时延、以及来自SMF的第二时延获取第三时延,然后UPF向第二终端设备发送第三信息,第三信息包括第三时延,相应的,第二终端设备接收来自UPF的第三时延,并根据第三时延确定第九时延,然后向TSN设备发送第四信息,第四信息包括第九时延,通过这样简单的方式对时延进行更新,进而保证流的传输质量。In the above method, the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF. The second information includes the first delay. Accordingly, the UPF receives the first delay from the The second information of a terminal device, and the third delay is obtained according to the first delay in the second information and the second delay from the SMF, and then the UPF sends the third information to the second terminal device. The third information includes The third delay, correspondingly, the second terminal device receives the third delay from the UPF, determines the ninth delay according to the third delay, and then sends the fourth information to the TSN device, and the fourth information includes the ninth delay , Through such a simple way to update the delay, thereby ensuring the quality of stream transmission.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,SMF直接向UPF发送第二时延,该第二时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the SMF directly sends the second delay to the UPF. The second delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图9,图9是本申请实施例提供的一种通信方法,图9所示的方法应用于上述图4-c或图4-d架构中,该方法包括但不限于如下步骤:Please refer to FIG. 9. FIG. 9 is a communication method provided by an embodiment of the present application. The method shown in FIG. 9 is applied to the architecture of FIG. 4-c or FIG. 4-d. The method includes but is not limited to the following steps:
步骤S901-步骤905参考步骤S501-步骤505,此处不再赘述。For steps S901-905, refer to steps S501-505, which will not be repeated here.
步骤S906:UPF向会话管理功能SMF网元发送请求信息。Step S906: UPF sends the request information to the session management function SMF network element.
具体地,该请求信息用于请求第四时延。Specifically, the request information is used to request the fourth time delay.
步骤S907:SMF接收来自UPF的请求信息。Step S907: The SMF receives the request information from the UPF.
步骤S908:SMF确定不需要进行本地交换。Step S908: The SMF determines that no local exchange is required.
具体地,确定本地交换可以是指SMF确定UPF接收来自第一终端设备的第二信息,且UPF向第一终端设备发送第三信息,该第二信息中包括流从流服务提供者talker传输至5GS系统中的入接口设备,即第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至5GS系统中的出接口设备,即第一终端设备的时延。或者,确定本地交换还可以是指SMF确定UPF接收来自第一终端设备的第二信息,并向第二终端设备发送第三信息,其中第二信息包括流从talker传输第一终端设备的时延、以及在第一终端设备内的驻留时延,第三信息包括流从talker传输至第二终端设备的时延。Specifically, determining the local exchange may mean that the SMF determines that the UPF receives the second information from the first terminal device, and the UPF sends the third information to the first terminal device. The second information includes the stream transmitted from the stream service provider talker to the The inbound interface device in the 5GS system, that is, the delay of the first terminal device and the resident delay in the first terminal device. The third information includes the stream transmitted from the talker to the outbound interface device in the 5GS system, that is, the first The delay of the terminal equipment. Alternatively, determining the local exchange may also mean that the SMF determines that the UPF receives the second information from the first terminal device and sends the third information to the second terminal device, where the second information includes the delay of the stream transmitting from the talker to the first terminal device , And the resident delay in the first terminal device, the third information includes the delay of the stream being transmitted from the talker to the second terminal device.
例如,如图4-a所示,UPF接收来自第一终端设备的第一信息,其中第一信息包括流从talker传输至该5GS的入接口设备,即第一终端设备的时延、以及在第一终端设备内的驻留时延,但不向一终端设备发送第二信息,或者不向第二终端设备发送第二信息,第二信息包括流从talker传输至该5GS的出接口设备,即第一终端设备的时延,或者流从talker传输至第二终端设备的时延,则SMF确定不需要进行本地交换。For example, as shown in Figure 4-a, the UPF receives the first information from the first terminal device, where the first information includes the inbound interface device of the stream transmitted from the talker to the 5GS, that is, the delay of the first terminal device and the The resident delay in the first terminal device, but the second information is not sent to a terminal device, or the second information is not sent to the second terminal device. The second information includes the stream transmitted from the talker to the outbound interface device of the 5GS, That is, the delay of the first terminal device or the delay of the stream being transmitted from the talker to the second terminal device, the SMF determines that no local exchange is required.
步骤S909:SMF向UPF发送第四时延。Step S909: The SMF sends the fourth time delay to the UPF.
具体地,第四时延包括UPF的上行PDU session所对应的PDB值,其中,PDB值是由5G QoS标识(5G QoS identifier,5QI)确定的流在UPF和UE之间的传输时延,其中上行PDU session所对应的PDB值可以为流从UE传输至UPF的最大传输时延,上行PDU session所 对应的PDB值可以包括流在UPF内部的处理时延。Specifically, the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, where the PDB value is the transmission delay of the flow between the UPF and the UE determined by the 5G QoS identifier (5G QoS identifier, 5QI), where The PDB value corresponding to the uplink PDU session may be the maximum transmission delay of the flow from the UE to the UPF, and the PDB value corresponding to the uplink PDU session may include the processing delay of the flow inside the UPF.
例如,假若第四时延为b,则SMF向UPF发送第四时延b。For example, if the fourth delay is b, the SMF sends the fourth delay b to the UPF.
步骤S910-步骤S913可以参考步骤S609-步骤S612,此处不再赘述。For step S910-step S913, reference may be made to step S609-step S612, which will not be repeated here.
在上述方法中,第一终端设备根据来自第一信息中的第八时延确定第一时延,然后向UPF发送第二信息,第二信息包括第一时延,相应的,UPF接收来自第一终端设备的第二信息,并根据第二信息中的第一时延、以及来自SMF的第四时延获取第五时延,然后UPF向TSN设备发送第五信息,第五信息包括第五时延,通过这样简单的方式对时延进行更新,进而保证流的传输质量。In the above method, the first terminal device determines the first delay according to the eighth delay from the first information, and then sends the second information to the UPF. The second information includes the first delay. Accordingly, the UPF receives the first delay from the The second information of a terminal device, and the fifth delay is obtained according to the first delay in the second information and the fourth delay from the SMF, and then the UPF sends the fifth information to the TSN device, and the fifth information includes the fifth Delay, the delay is updated in such a simple way to ensure the transmission quality of the stream.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,UPF可以通过向SMF请求第四时延,该第四时延为流在UPF和终端设备UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the UPF can request a fourth delay from the SMF. The fourth delay is the transmission delay between the UPF and the terminal equipment UE. Therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图10,图10是本申请实施例提供的一种通信方法,图10所示的方法应用于上述图4-a、图4-b、4-c或图4-d架构中,该方法包括但不限于如下步骤:Please refer to FIG. 10, which is a communication method provided by an embodiment of the present application. The method shown in FIG. 10 is applied to the above-mentioned architectures of FIG. 4-a, FIG. The method includes but is not limited to the following steps:
步骤S1001:时间敏感网络TSN设备或者流服务提供者talker向第一设备发送第九信息。Step S1001: The time-sensitive network TSN device or the streaming service provider talker sends the ninth information to the first device.
步骤S1002:第一设备接收来自时间敏感网络TSN设备或者流服务提供者talker的第九信息。Step S1002: The first device receives the ninth information from the time-sensitive network TSN device or the streaming service provider talker.
具体地,第九信息用于指示时延A,时延A包括流从流服务提供者talker传输至第一设备的时延,例如,该时延A为流从talker传输至第一设备的最大传输时延,talker是指提供流的主机或服务器,是流的源(Source),第一设备为流在5GS系统中的入接口设备,该第一设备可以为UE或者UPF。例如,第一设备可以为图4-a中的UE,第一设备可以为图4-b中的UPF,第一设备可以为图4-c中的UE,第一设备可以为图4-d中的UE1。Specifically, the ninth information is used to indicate the delay A, and the delay A includes the delay for the stream to be transmitted from the stream service provider talker to the first device. For example, the delay A is the maximum delay for the stream to be transmitted from the talker to the first device. Transmission delay, talker refers to the host or server that provides the stream, and is the source of the stream. The first device is the inbound interface device of the stream in the 5GS system, and the first device can be a UE or a UPF. For example, the first device may be the UE in FIG. 4-a, the first device may be the UPF in FIG. 4-b, the first device may be the UE in FIG. 4-c, and the first device may be the UE in FIG. 4-d UE1 in.
具体地,该第九信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。流服务提供者广播声明消息可以用于广播流对应的QoS需求。Specifically, the ninth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message. The stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
具体地,流服务提供者广播声明消息中除了可以携带第九信息,还可以携带流标识(stream identity,Stream ID)。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址(destination_address)、源地址(source_address)、最大帧的大小(MaxFrameSize)、最大帧间隔(MaxIntervalFrames)、帧的优先级(PriorityAndRank)、流的单个帧从talker传输到listener的最大允许时延、流的可靠性需求或资源预留失败原因(FailureInformation)。Specifically, in addition to the ninth information, the stream service provider broadcast declaration message can also carry a stream identity (Stream ID). In addition, the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
例如,假若流从talker传输至第一设备的时延为X,第一设备接收来自TSN设备或者talker的第九信息,第九信息用于指示时延A,该时延A的值为X。For example, if the transmission delay of the stream from the talker to the first device is X, the first device receives the ninth information from the TSN device or the talker. The ninth information is used to indicate the delay A, and the value of the delay A is X.
步骤S1003:第一设备向会话管理功能SMF网元发送请求消息。Step S1003: The first device sends a request message to the session management function SMF network element.
具体地,该请求消息用于请求时延B,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延。其中,第二设备为流在5GS系统的出接口设备,该第二设备可以为 UE或者UPF。例如,第二设备可以为图4-a中的UPF,第二设备可以为图4-b中的UE,第二设备可以为图4-c中的UE,第二设备可以为图4-d中的UE2。Specifically, the request message is used to request time delay B, and time delay B includes the bridge delay and the transmission delay of the flow from the second device to the second TSN device. Among them, the second device is an outgoing interface device streaming in the 5GS system, and the second device may be a UE or a UPF. For example, the second device can be the UPF in Figure 4-a, the second device can be the UE in Figure 4-b, the second device can be the UE in Figure 4-c, and the second device can be the UE in Figure 4-d. UE2 in.
在一个示例中,第一设备向会话管理功能SMF网元发送请求消息,包括:第一设备向SMF发送的请求消息携带时延A。In an example, the first device sending the request message to the session management function SMF network element includes: the request message sent by the first device to the SMF carries the delay A.
例如,第一设备向SMF发送请求消息,该请求消息携带时延A,如时延A为X,则请求消息中携带流从talker传输至第一设备的时延为X。For example, the first device sends a request message to the SMF, and the request message carries a delay A. If the delay A is X, the request message carries a delay of X when the stream is transmitted from the talker to the first device.
步骤S1004:SMF接收来自第一设备的请求消息。Step S1004: The SMF receives the request message from the first device.
在一个示例中,第一设备的请求消息携带时延A。In an example, the request message of the first device carries the time delay A.
例如,假若第一设备向SMF发送请求消息,该请求消息携带时延A,如时延A为X,则SMF接收来自第一设备的请求消息,且请求消息中携带流从talker传输至第一设备的时延为X。For example, if the first device sends a request message to the SMF, the request message carries the delay A. If the delay A is X, the SMF receives the request message from the first device, and the request message carries the stream transmitted from the talker to the first The delay of the device is X.
步骤S1005:SMF向第一设备发送时延B。Step S1005: SMF sends time delay B to the first device.
具体地,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延。在不同的架构中,网桥时延(5GS bridge delay)的值不同,如在图4-c和图4-d的架构中,5GS bridge delay为UPF的上行PDU session和下行PDU session所对应的PDB值和入、出接口两个UE-DS-TT Residence Time之和,在图4-a和图4-b的架构中,5GS bridge delay为UPF的上行PDU session或下行PDU session所对应的PDB值和入或出接口UE-DS-TT Residence Time之和,其中,UE-DS-TT residence time是流在DS-TT与UE之间的传输及处理的总耗时。Specifically, the delay B includes the bridge delay and the transmission delay of the stream from the second device to the second TSN device. In different architectures, the value of bridge delay (5GS bridge delay) is different. For example, in the architectures of Figure 4-c and Figure 4-d, 5GS bridge delay corresponds to UPF's uplink PDU session and downlink PDU session. The PDB value and the sum of the two UE-DS-TT Residence Time of the inbound and outbound interfaces. In the architecture of Figure 4-a and Figure 4-b, 5GS bridge delay is the PDB corresponding to the UPF uplink PDU session or downlink PDU session The sum of the value and the UE-DS-TT Residence Time of the incoming or outgoing interface, where the UE-DS-TT residence time is the total time consumed for transmission and processing between the DS-TT and the UE.
例如,假若时延B为5GS bridge delay+txPropogationDelay,其中,txPropogationDelay表示流从第二设备至到第二TSN设备的传输时延,则SMF向第一设备发送时延B为5GS bridge delay+txPropogationDelay。For example, if the delay B is 5GS bridge delay+txPropogationDelay, where txPropogationDelay represents the transmission delay of the stream from the second device to the second TSN device, then the SMF sending delay B to the first device is 5GS bridge delay+txPropogationDelay.
在一个示例中,当第一设备的请求消息携带时延A时,SMF向第一设备发送时延B,包括:SMF向第一设备发送时延B和时延A。In an example, when the request message of the first device carries the delay A, the SMF sends the delay B to the first device, including: the SMF sends the delay B and the delay A to the first device.
具体地,当SMF接收第一设备的请求消息中携带时延A时,SMF可以向第一设备发送时延B与时延A之和,也可以向第一设备发送时延B,时延A,相应的,第一设备接收来自SMF的时延B与时延A之和,也可以接收来自SMF的时延B,时延A。Specifically, when the SMF receives the request message from the first device and carries the delay A, the SMF can send the sum of the delay B and the delay A to the first device, or it can send the delay B and the delay A to the first device. Correspondingly, the first device receives the sum of the delay B and the delay A from the SMF, and may also receive the delay B and the delay A from the SMF.
例如,假若时延B为5GS bridge delay+txPropogationDelay,时延A为X,则SMF向第一设备发送时延B为5GS bridge delay+txPropogationDelay,时延A为X。或者也可以向第一设备发送时延B和时延A之和为5GS bridge delay+txPropogationDelay+X。For example, if the delay B is 5GS bridge delay+txPropogationDelay and the delay A is X, the SMF sending delay B to the first device is 5GS bridge delay+txPropogationDelay, and the delay A is X. Or, the sum of the delay B and the delay A may be sent to the first device as 5GS bridge delay+txPropogationDelay+X.
步骤S1006:第一设备接收来自SMF的时延B。Step S1006: The first device receives the time delay B from the SMF.
例如,假若SMF发送给第一设备的时延B为5GS bridge delay+txPropogationDelay,则第一设备接收来自SMF的时延B为5GS bridge delay+txPropogationDelay。For example, if the delay B sent by the SMF to the first device is 5GS bridge delay+txPropogationDelay, the delay B received by the first device from the SMF is 5GS bridge delay+txPropogationDelay.
在一个示例中,第一设备接收来自SMF的时延B,包括:第一设备接收来自SMF的时延B和时延A。In an example, the first device receiving the delay B from the SMF includes: the first device receives the delay B and the delay A from the SMF.
例如,假若SMF向第一设备发送时延B为5GS bridge delay+txPropogationDelay,时延A为X,则第一设备接收SMF发送的时延B为5GS bridge delay+txPropogationDelay,时延A为X。或者假若SMF向第一设备发送时延B和时延A之和为5GS bridge  delay+txPropogationDelay+X,则第一设备接收来自SMF的时延B和时延A之和为5GS bridge delay+txPropogationDelay+X。For example, if the SMF sending delay B to the first device is 5GS bridge delay+txPropogationDelay, and the delay A is X, then the first device receiving SMF sending delay B is 5GS bridge delay+txPropogationDelay, and the delay A is X. Or if the sum of the delay B and the delay A sent by the SMF to the first device is 5GS bridge delay+txPropogationDelay+X, the sum of the delay B and the delay A received from the SMF by the first device is 5GS bridge delay+txPropogationDelay+ X.
步骤S1007:第一设备根据时延A和时延B获取时延C。Step S1007: The first device obtains the time delay C according to the time delay A and the time delay B.
具体地,时延C包括流从talker传输至第二时间敏感网络TSN设备的时延,例如,时延C为流从talker传输至第二TSN设备的最大传输时延。Specifically, the delay C includes the delay of the stream being transmitted from the talker to the second time-sensitive network TSN device. For example, the delay C is the maximum transmission delay of the stream being transmitted from the talker to the second TSN device.
具体地,第一设备根据时延A和时延B获取时延C的一种可能的实现方式中可以包括:第一设备将时延A与时延B之和,确定为时延C,从而获取时延C。当然第一设备也可以通过其他的方式根据时延A和时延B获取时延C,例如,第一设备将时延A与时延B相加之后可以对相加所得的和进行修正(例如,加上一个指定或者默认的值),从而得到时延C,本申请实施例对根据时延A与时延B获取时延C的方式不做限定。Specifically, a possible implementation manner in which the first device obtains the delay C according to the delay A and the delay B may include: the first device determines the sum of the delay A and the delay B as the delay C, thereby Obtain the delay C. Of course, the first device can also obtain delay C based on delay A and delay B in other ways. For example, after adding delay A and delay B, the first device can modify the sum obtained by adding (for example, , Plus a designated or default value) to obtain the time delay C. The embodiment of the present application does not limit the manner of obtaining the time delay C according to the time delay A and the time delay B.
例如,时延A的值为X,时延B的值为5GS bridge delay+txPropogationDelay,则第一设备根据时延A和时延B确定时延C的值为X+5GS bridge delay+txPropogationDelay。For example, if the value of delay A is X and the value of delay B is 5GS bridge delay+txPropogationDelay, the first device determines the value of delay C according to delay A and delay B as X+5GS bridge delay+txPropogationDelay.
步骤S1008:第一设备确定第十信息。Step S1008: The first device determines the tenth information.
具体地,第十信息包括时延C。Specifically, the tenth information includes time delay C.
步骤S1009:第一设备向第二设备发送第十信息。Step S1009: The first device sends the tenth information to the second device.
具体地,该第十信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。其中,第二设备为流在5GS系统的出接口设备,该第二设备可以为UE或者UPF。例如,第二设备可以为图4-a中的UPF,第二设备可以为图4-b中的UE,第二设备可以为图4-c中的UE,第二设备可以为图4-d中的UE2。Specifically, the tenth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message. Among them, the second device is an outgoing interface device streaming in the 5GS system, and the second device may be a UE or a UPF. For example, the second device can be the UPF in Figure 4-a, the second device can be the UE in Figure 4-b, the second device can be the UE in Figure 4-c, and the second device can be the UE in Figure 4-d. UE2 in.
例如,第一设备确定时延C之后,可以将第一设备接收的流服务提供者广播声明消息中的时延A修改为时延C,然后第一设备向第二设备发送修改后的流服务提供者广播声明消息。也就是说,第一设备可以通过流服务提供者广播声明消息向第二设备发送第十信息,第十信息中包括时延C。For example, after the first device determines the delay C, it can modify the delay A in the streaming service provider announcement message received by the first device to the delay C, and then the first device sends the modified streaming service to the second device The provider broadcasts the announcement message. In other words, the first device may send the tenth information to the second device through the broadcast announcement message of the streaming service provider, and the tenth information includes the delay C.
步骤S1010:第二设备接收来自第一设备的第十信息。Step S1010: The second device receives the tenth information from the first device.
步骤S1011:第二设备向TSN设备发送第十信息。Step S1011: The second device sends the tenth information to the TSN device.
具体地,第十信息包括时延C。其中,TSN设备可以为图4-a中的TSN设备2,也可以为图4-b中的TSN设备2,也可以为图4-c中的TSN设备2,或者也可以为图4-d中的TSN设备2。Specifically, the tenth information includes time delay C. Among them, the TSN device can be the TSN device 2 in Figure 4-a, the TSN device 2 in Figure 4-b, or the TSN device 2 in Figure 4-c, or it can also be the TSN device 2 in Figure 4-d. TSN equipment in 2.
步骤S1012:TSN设备接收第二设备的第十信息。Step S1012: The TSN device receives the tenth information of the second device.
具体地,第十信息包括时延C。Specifically, the tenth information includes time delay C.
在上述方法中,第一设备接收来自TSN设备或Talker的第九信息,第九信息包括时延A,向SMF请求时延B,根据时延A和时延B确定时延C,然后向第二设备发送第十信息,第十信息包括时延C。通过这样简单的方式,第一设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第一设备即5GS系统中的入接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the first device receives the ninth information from the TSN device or Talker. The ninth information includes the delay A, requests the delay B from the SMF, determines the delay C according to the delay A and the delay B, and then sends it to the first The second device sends tenth information, and the tenth information includes time delay C. In this simple way, the first device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the first device, that is, the inbound interface device in the 5GS system is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,第一设备可以通过向SMF发送请 求消息,请求时延B,该时延B为流在5GS系统入接口设备,如UPF和5GS系统出接口设备,如UE之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the first device can request delay B by sending a request message to SMF. The delay B is the incoming interface device of the 5GS system, such as The transmission delay between the UPF and 5GS system outbound interface devices, such as the UE, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
请参见图11,图11是本申请实施例提供的一种通信方法,图11所示的方法应用于上述图4-a、图4-b、图4-c或图4-d架构中,该方法包括但不限于如下步骤:Please refer to FIG. 11. FIG. 11 is a communication method provided by an embodiment of the present application. The method shown in FIG. 11 is applied to the architecture of FIG. 4-a, FIG. 4-b, FIG. 4-c, or FIG. 4-d. The method includes but is not limited to the following steps:
步骤S1101:时间敏感网络TSN设备或者流服务提供者talker向第一设备发送第九信息。Step S1101: The time-sensitive network TSN device or the streaming service provider talker sends the ninth information to the first device.
步骤S1002:第一设备接收来自时间敏感网络TSN设备或者流服务提供者talker的第九信息。Step S1002: The first device receives the ninth information from the time-sensitive network TSN device or the streaming service provider talker.
步骤S1003:第一设备向第二设备发送第九信息。Step S1003: The first device sends the ninth information to the second device.
步骤S1104:第二设备接收来自第一设备的第九信息。Step S1104: The second device receives the ninth information from the first device.
具体地,第九信息用于指示时延A,时延A包括流从流服务提供者talker传输至第一设备的时延,其中,该时延A可以为流从流服务提供者talker传输至第一设备的最大传输时延。talker是指提供流的主机或服务器,是流的源(Source),第二设备为流在5GS系统中的出接口设备,该第二设备可以为UE或者UPF。例如,第二设备可以为图4-a中的UPF,第二设备可以为图4-b中的UE,第二设备可以为图4-c中的UE,第二设备可以为图4-d中的UE2。第一设备为流在5GS系统中的入接口设备,该第一设备可以为UE或者UPF。例如,第一设备可以为图4-a中的UE,第一设备可以为图4-b中的UPF,第一设备可以为图4-c中的UE,第一设备可以为图4-d中的UE1。Specifically, the ninth information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, where the delay A can be the stream being transmitted from the stream service provider talker to the first device. The maximum transmission delay of the first device. The talker refers to the host or server that provides the stream, and is the source of the stream. The second device is the outgoing interface device of the stream in the 5GS system. The second device can be a UE or a UPF. For example, the second device can be the UPF in Figure 4-a, the second device can be the UE in Figure 4-b, the second device can be the UE in Figure 4-c, and the second device can be the UE in Figure 4-d. UE2 in. The first device is an inbound interface device streaming in the 5GS system, and the first device may be a UE or a UPF. For example, the first device may be the UE in FIG. 4-a, the first device may be the UPF in FIG. 4-b, the first device may be the UE in FIG. 4-c, and the first device may be the UE in FIG. 4-d UE1 in.
具体地,该第九信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。流服务提供者广播声明消息可以用于广播流对应的QoS需求。Specifically, the ninth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message. The stream service provider's broadcast announcement message can be used to broadcast the corresponding QoS requirements of the stream.
具体地,流服务提供者广播声明消息中除了可以携带第九信息,还可以携带流标识(stream identity,Stream ID)。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址(destination_address)、源地址(source_address)、最大帧的大小(MaxFrameSize)、最大帧间隔(MaxIntervalFrames)、帧的优先级(PriorityAndRank)、流的单个帧从talker传输到listener的最大允许时延、流的可靠性需求或资源预留失败原因(FailureInformation)。Specifically, in addition to the ninth information, the stream service provider broadcast declaration message can also carry a stream identity (Stream ID). In addition, the streaming service provider broadcast statement message can also carry one or more of the following information: destination_address, source_address, maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame information Priority (PriorityAndRank), the maximum allowable delay for a single frame of the stream to be transmitted from the talker to the listener, the reliability requirements of the stream or the reason for the failure of resource reservation (FailureInformation).
例如,假若流从talker传输至第一设备的时延为X,第二设备接收第九信息,第九信息用于指示时延A,该时延A为X。For example, if the time delay for the stream to be transmitted from the talker to the first device is X, the second device receives the ninth information, and the ninth information is used to indicate the time delay A, and the time delay A is X.
步骤S1105:第二设备向会话管理功能SMF网元发送请求消息。Step S1105: The second device sends a request message to the session management function SMF network element.
具体地,该请求消息用于请求时延B,时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延。Specifically, the request message is used to request time delay B, which includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device.
在一个示例中,第二设备向会话管理功能SMF网元发送请求消息,包括:第二设备向SMF发送的请求消息携带时延A。In an example, the second device sending the request message to the session management function SMF network element includes: the request message sent by the second device to the SMF carries the delay A.
例如,第二设备向SMF发送请求消息,该请求消息携带时延A,如时延A为X,则请求消息中携带流从talker传输至第一设备的时延X。For example, the second device sends a request message to the SMF, and the request message carries the delay A. If the delay A is X, the request message carries the delay X of the flow from the talker to the first device.
步骤S1106:SMF接收来自第二设备的请求消息。Step S1106: The SMF receives the request message from the second device.
在一个示例中,第二设备的请求消息携带时延A。In an example, the request message of the second device carries the time delay A.
例如,假若第二设备向SMF发送请求消息,该请求消息携带时延A,如时延A为X,则SMF接收来自第二设备的请求消息,且请求消息中携带流从talker传输至第一设备的时延为X。For example, if the second device sends a request message to the SMF, the request message carries a delay A, if the delay A is X, the SMF receives a request message from the second device, and the request message carries a stream transmitted from the talker to the first The delay of the device is X.
步骤S1107:SMF向第二设备发送时延B。Step S1107: SMF sends time delay B to the second device.
具体地,时延B包括网桥时延与流从第二设备至到第二TSN设备的传输时延。在不同的架构中,网桥时延(5GS bridge delay)的值不同,如在图4-c和图4-d的架构中,5GS bridge delay为UPF的上行PDU session和下行PDU session所对应的PDB值和入、出接口两个UE-DS-TT Residence Time之和,在图4-a和图4-b的架构中,5GS bridge delay为UPF的上行PDU session或下行PDU session所对应的PDB值和入或出接口UE-DS-TT Residence Time之和,其中,UE-DS-TT residence time是流在DS-TT与UE之间的传输及处理的总耗时。Specifically, the delay B includes the bridge delay and the transmission delay of the stream from the second device to the second TSN device. In different architectures, the value of bridge delay (5GS bridge delay) is different. For example, in the architectures of Figure 4-c and Figure 4-d, 5GS bridge delay corresponds to UPF's uplink PDU session and downlink PDU session. The PDB value and the sum of the two UE-DS-TT Residence Time of the inbound and outbound interfaces. In the architecture of Figure 4-a and Figure 4-b, 5GS bridge delay is the PDB corresponding to the UPF uplink PDU session or downlink PDU session The sum of the value and the UE-DS-TT Residence Time of the incoming or outgoing interface, where the UE-DS-TT residence time is the total time consumed for transmission and processing between the DS-TT and the UE.
例如,假若时延B为5GS bridge delay+txPropogationDelay,则SMF向第二设备发送时延B为5GS bridge delay+txPropogationDelay。For example, if the delay B is 5GS bridge delay+txPropogationDelay, the SMF sending delay B to the second device is 5GS bridge delay+txPropogationDelay.
在一个示例中,当第二设备的请求消息携带时延A时,SMF向第二设备发送时延B,包括:SMF向第二设备发送时延B与时延A。In an example, when the request message of the second device carries the delay A, the SMF sends the delay B to the second device, including: the SMF sends the delay B and the delay A to the second device.
具体地,当SMF接收第二设备的请求消息中携带时延A时,SMF可以向第二设备发送时延B与时延A之和,也可以向第二设备发送时延B,时延A,相应的,第二设备接收来自SMF的时延B与时延A之和,也可以接收来自SMF的时延B,时延A。例如,假若时延B为5GS bridge delay+txPropogationDelay,时延A为X,则SMF向第二设备发送时延B为5GS bridge delay+txPropogationDelay,时延A为X。或者也可以向第二设备发送时延B和时延A之和为5GS bridge delay+txPropogationDelay+X。Specifically, when the SMF receives the request message from the second device and carries the delay A, the SMF can send the sum of the delay B and the delay A to the second device, or it can send the delay B and the delay A to the second device. Correspondingly, the second device receives the sum of the delay B and the delay A from the SMF, and may also receive the delay B and the delay A from the SMF. For example, if the delay B is 5GS bridge delay+txPropogationDelay and the delay A is X, the SMF sending delay B to the second device is 5GS bridge delay+txPropogationDelay, and the delay A is X. Or, the sum of the delay B and the delay A may be sent to the second device as 5GS bridge delay+txPropogationDelay+X.
步骤S1108:第二设备接收SMF发送的时延B。Step S1108: The second device receives the time delay B sent by the SMF.
例如,假若SMF发送给第二设备的时延B为5GS bridge delay+txPropogationDelay,则第二设备接收来自SMF的时延B为5GS bridge delay+txPropogationDelay。For example, if the delay B sent by the SMF to the second device is 5GS bridge delay+txPropogationDelay, the delay B received by the second device from the SMF is 5GS bridge delay+txPropogationDelay.
在一个示例中,第二设备接收SMF发送的时延B,包括:第二设备接收SMF发送的时延B与时延A。In an example, the time delay B for receiving the SMF transmission by the second device includes: the time delay B and the time delay A for receiving the SMF transmission by the second device.
具体地,SMF可以向第二设备发送时延B与时延A之和,也可以向第二设备发送时延B,时延A,相应的,第二设备接收来自SMF的时延B与时延A之和,也可以接收来自SMF的时延B,时延A。Specifically, SMF can send the sum of delay B and delay A to the second device, or send delay B and delay A to the second device. Correspondingly, the second device receives delay B and time delay from SMF. The sum of delay A can also receive delay B and delay A from SMF.
例如,假若SMF向第二设备发送时延B为5GS bridge delay+txPropogationDelay,时延A为X,则第二设备接收SMF发送的时延B为5GS bridge delay+txPropogationDelay,时延A为X。或者假若SMF向第二设备发送时延B和时延A之和为5GS bridge delay+txPropogationDelay+X,则第二设备接收来自SMF的时延B和时延A之和为5GS bridge delay+txPropogationDelay+X。For example, if the SMF sending delay B to the second device is 5GS bridge delay+txPropogationDelay, and the delay A is X, then the second device receiving SMF sending delay B is 5GS bridge delay+txPropogationDelay, and the delay A is X. Or if the sum of the delay B and the delay A sent by the SMF to the second device is 5GS bridge delay+txPropogationDelay+X, the sum of the delay B and the delay A received from the SMF by the second device is 5GS bridge delay+txPropogationDelay+ X.
步骤S1109:第二设备根据时延A和时延B获取时延C。Step S1109: The second device obtains the time delay C according to the time delay A and the time delay B.
具体地,时延C包括流从talker传输至第二TSN设备的时延。Specifically, the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
具体地,第二设备根据时延A和时延B获取时延C的一种可能的实现方式中可以包括: 第二设备将时延A与时延B之和,确定为时延C,从而获取时延C。当然第二设备也可以通过其他的方式根据时延A和时延B获取时延C,例如,第二设备将时延A与时延B相加之后可以对相加所得的和进行修正(例如,加上一个指定或者默认的值),从而得到时延C,本申请实施例对根据时延A与时延B获取时延C的方式不做限定。Specifically, a possible implementation manner in which the second device obtains the delay C according to the delay A and the delay B may include: the second device determines the sum of the delay A and the delay B as the delay C, and thus Obtain the delay C. Of course, the second device can also obtain delay C based on delay A and delay B in other ways. For example, after adding delay A and delay B, the second device can modify the sum obtained by adding (for example, , Plus a designated or default value) to obtain the time delay C. The embodiment of the present application does not limit the manner of obtaining the time delay C according to the time delay A and the time delay B.
例如,时延A的值为X,时延B的值为5GS bridge delay+txPropogationDelay,则第二设备根据时延A和时延B确定时延C为X+5GS bridge delay+txPropogationDelay。For example, if the value of delay A is X and the value of delay B is 5GS bridge delay+txPropogationDelay, the second device determines that delay C is X+5GS bridge delay+txPropogationDelay according to delay A and delay B.
步骤S1110:第二设备确定第十信息。Step S1110: The second device determines the tenth information.
具体地,第十信息包括时延C。Specifically, the tenth information includes time delay C.
步骤S1111:第二设备向TSN设备发送第十信息。Step S1111: The second device sends the tenth information to the TSN device.
具体地,该第十信息可以携带在流服务提供者广播声明(Talker Advertise Declaration)消息中。Specifically, the tenth information may be carried in a streaming service provider broadcast declaration (Talker Advertise Declaration) message.
例如,第二设备确定时延C之后,可以将第二设备接收的流服务提供者广播声明消息中的时延A修改为时延C,然后第二设备向TSN设备发送修改后的流服务提供者广播声明消息。也就是说,第二设备可以通过流服务提供者广播声明消息向TSN设备发送第十信息,第十信息中包括时延C。For example, after the second device determines the delay C, it can modify the delay A in the streaming service provider announcement message received by the second device to the delay C, and then the second device sends the modified streaming service to the TSN device. The person broadcasts the announcement message. That is, the second device may send the tenth information to the TSN device through the streaming service provider broadcast announcement message, and the tenth information includes the delay C.
步骤S1112:第二TSN设备接收来自第二设备的第十信息。Step S1112: The second TSN device receives the tenth information from the second device.
具体地,第十信息包括时延C。Specifically, the tenth information includes time delay C.
在上述方法中,第二设备接收来自第一设备的第九信息,第九信息包括时延A,向SMF请求时延B,根据时延A和时延B确定时延C,然后向TSN设备发送第十信息,第十信息包括时延C。通过这样简单的方式,第二设备确定流从5GS系统的入接口处至到第二TSN设备的时延,也就是说只需要第二设备即5GS系统中的出接口设备对时延进行更新,无需5GS系统中的其他网元或设备进行操作,简单方便。In the above method, the second device receives the ninth information from the first device. The ninth information includes delay A, requests delay B from SMF, determines delay C according to delay A and delay B, and then sends it to the TSN device Send the tenth message, the tenth message includes the time delay C. In such a simple way, the second device determines the delay of the flow from the inbound interface of the 5GS system to the second TSN device, that is to say, only the second device, that is, the outbound interface device in the 5GS system, is required to update the delay. No other network elements or equipment in the 5GS system are required for operation, which is simple and convenient.
另外,在现有技术中,若计算流从UPF传输至终端设备UE的时延,需要在UPF至终端设备UE之间的两两相邻节点之间做时钟同步,最终实现UPF至终端设备UE之间所有的节点的时钟同步,方案复杂,不易实现,而本方案中,第二设备可以通过向SMF发送请求消息,请求时延B,该时延B为流在5GS系统入接口设备和5GS系统出接口设备之间的传输时延,因此,与现有技术相比,本申请实施例方案更加简单,容易实现。In addition, in the prior art, if the calculation flow is transmitted from the UPF to the terminal equipment UE, it is necessary to synchronize the clocks between the two adjacent nodes between the UPF and the terminal equipment UE, and finally realize the UPF to the terminal equipment UE. The clock synchronization between all nodes is complicated and difficult to implement. In this solution, the second device can request delay B by sending a request message to the SMF. The delay B is flowed between the 5GS system inbound interface device and the 5GS The transmission delay between the outbound interface devices of the system, therefore, compared with the prior art, the solution of the embodiment of the present application is simpler and easier to implement.
上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的装置。The foregoing describes the method of the embodiment of the present application in detail, and the device of the embodiment of the present application is provided below.
请参见图12,图12是本申请实施例提供的一种通信装置1200的结构示意图,该通信装置可以包括收发模块1201,处理模块1202,其中,各个模块的详细描述如下。Please refer to FIG. 12, which is a schematic structural diagram of a communication device 1200 provided by an embodiment of the present application. The communication device may include a transceiver module 1201 and a processing module 1202. The detailed description of each module is as follows.
在一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的用户面功能UPF网元,UPF网元的网络设备。In a possible design, the communication device 1200 can be used to implement the user plane function UPF network element and the network device of the UPF network element in the method described in any one of FIG. 5 to FIG. 11.
例如,收发模块1201,用于接收第一信息,所述第一信息用于指示第一时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延;处理模块1202,用于确定进行本地交换,向会话管理功能SMF网元请求第二时延,根据所述第一时延和所述第二时延获取第三时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时 延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或所述处理模块1202,还用于确定不需要本地交换,向所述SMF请求第四时延,根据所述第一时延和所述第四时延获取第五时延,所述第四时延包括所述UPF上行的PDU session所对应的PDB值,所述第五时延包括流从所述talker传输至所述UPF的时延、在所述UPF内的驻留时延和从所述UPF至时间敏感网络TSN设备的传输时延。For example, the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a first delay, and the first delay includes the delay of the stream being transmitted from the stream service provider talker to the first terminal device, And the resident delay in the first terminal device; a processing module 1202, configured to determine to perform a local exchange, request a second delay from the session management function SMF network element, and according to the first delay and the first delay The second delay obtains the third delay, and the second delay includes the packet delay budget PDB value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session, and the third time delay The delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the processing module 1202 is further configured to determine that no local exchange is required, request the SMF for a fourth delay, and according to the first The fifth delay is obtained by the delay and the fourth delay, the fourth delay includes the PDB value corresponding to the UPF uplink PDU session, and the fifth delay includes the flow transmitted from the talker to the The time delay of the UPF, the residence time delay in the UPF, and the transmission time delay from the UPF to the time-sensitive network TSN device.
在另一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的用户面功能UPF网元,UPF网元的网络设备。In another possible design, the communication device 1200 can be used to implement the user plane function UPF network element, the network device of the UPF network element in the method described in any one of FIG. 5 to FIG. 11.
例如,收发模块1201,用于接收第一信息,所述第一信息用于指示第六时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延;处理模块1202,用于向会话管理功能SMF网元请求第七时延,根据所述第六时延和所述第七时延获取第三时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延。For example, the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a sixth delay, and the sixth delay includes the delay of stream transmission from the stream service provider talker to the UPF; processing The module 1202 is configured to request a seventh delay from the session management function SMF network element, and obtain a third delay according to the sixth delay and the seventh delay, where the seventh delay includes the downlink of the UPF The packet delay budget PDB value corresponding to the session of the protocol data unit PDU session, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
在另一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的第一设备,如果是上行,所述第一设备可为终端设备或者为应用于终端设备中的芯片;如果是下行,所述第一设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1200 can be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
例如,收发模块1201,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述装置的时延;所述收发模块1201,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延,以及接收来自所述SMF的所述时延B;所述处理模块1202,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述处理模块1202,用于确定第二信息,所述第二信息包括所述时延C;所述收发模块1201,还用于向所述第二设备发送所述第二信息。在一个示例中,所述收发模块1201,还用于向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述收发模块1201,还用于接收来自所述SMF的所述时延B和所述时延A。For example, the transceiver module 1201 is configured to receive first information, where the first information is used to indicate a time delay A, and the time delay A includes the time delay for the stream to be transmitted from the stream service provider talker to the device; The module 1201 is used to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the transmission of the flow from the second device to the second time-sensitive network TSN device Time delay, and receiving the time delay B from the SMF; the processing module 1202 is configured to obtain the time delay C according to the time delay A and the time delay B, and the time delay C includes the flow from the The delay of the talker transmission to the second TSN device; the processing module 1202 is configured to determine second information, and the second information includes the delay C; the transceiver module 1201 is also configured to communicate to the The second device sends the second information. In an example, the transceiver module 1201 is further configured to carry the time delay A in a request message sent to the SMF. In another example, the transceiver module 1201 is further configured to receive the delay B and the delay A from the SMF.
在另一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的第二设备,如果是上行,所述第二设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片;如果是下行,所述第二设备可为终端设备或者为应用于终端设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1200 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
收发模块1201,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;收发模块1201,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;所述收发模块1201,还用于接收所述SMF发送的所述时延B;处理模块1202,用于根据所述时延A和所述时延B获取时延C,所述时延 C包括流从所述talker传输至所述第二TSN设备的时延;所述处理模块1202,还用于确定第二信息,所述第二信息包括所述时延C;所述收发模块1201,还用于向所述第二TSN设备发送所述第二信息。在一个示例中,所述收发模块1201,还用于向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述收发模块1201,还用于接收所述SMF发送的所述时延B与所述时延A。The transceiver module 1201 is configured to receive first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device; the transceiver module 1201 uses In sending a request message to the session management function SMF network element for requesting delay B, the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device The transceiver module 1201 is also used to receive the time delay B sent by the SMF; the processing module 1202 is used to obtain the time delay C according to the time delay A and the time delay B, and the time delay C It includes the delay of the stream being transmitted from the talker to the second TSN device; the processing module 1202 is also used to determine second information, the second information includes the delay C; the transceiver module 1201, It is also used to send the second information to the second TSN device. In an example, the transceiver module 1201 is further configured to carry the time delay A in a request message sent to the SMF. In another example, the transceiver module 1201 is further configured to receive the delay B and the delay A sent by the SMF.
在一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的SMF网元,或者SMF网元的网络设备。In a possible design, the communication device 1200 may be used to execute the SMF network element in the method described in any one of FIG. 5 to FIG. 11, or the network device of the SMF network element.
收发模块1201,用于接收来自用户面功能UPF网元的请求信息,用于请求第二时延和/或第四时延;处理模块1202,用于确定进行本地交换,通过收发模块1201向所述UPF发送所述第二时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第二时延用于所述UPF根据第一时延和所述第二时延获取第三时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或所述处理模块1202,用于确定不需要进行本地交换,通过收发模块1201向所述UPF发送所述第四时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值。The transceiver module 1201 is configured to receive request information from the user plane function UPF network element, and is used to request the second delay and/or the fourth delay; The UPF sends the second delay, and the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the second The delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes the delay of the stream being transmitted from the streaming service provider talker to the first terminal device, and The resident delay in the first terminal device, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the processing module 1202 is configured to determine that it is not required For local exchange, the fourth delay is sent to the UPF through the transceiver module 1201, and the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF.
在一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的用户面功能SMF网元,SMF网元的网络设备。In a possible design, the communication device 1200 can be used to implement the user plane function SMF network element, the network device of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
处理模块1202,用于通过收发模块1201接收来自用户面功能UPF的请求信息,用于请求第七时延;处理模块1202,用于通过收发模块1201向UPF发送所述第七时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第七时延用于所述UPF根据第六时延和所述第七时延获取第三时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延,所述第三时延包括流从talker传输至第二终端设备的时延。The processing module 1202 is configured to receive request information from the user plane function UPF through the transceiver module 1201 for requesting the seventh delay; the processing module 1202 is configured to transmit the seventh delay to the UPF through the transceiver module 1201, the The seventh delay includes the packet delay budget PDB value corresponding to the session PDU session of the UPF downlink protocol data unit, and the seventh delay is used by the UPF to obtain according to the sixth delay and the seventh delay The third delay, the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
在一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的SMF网元,SMF网元的网络设备。In a possible design, the communication device 1200 can be used to execute the SMF network element and the network equipment of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
处理模块1202,用于通过收发模块1201接收来自第一设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;处理模块1202,用于通过收发模块1201向所述第一设备发送所述时延B,所述时延B用于所述第一设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。在一个示例中,所述第一设备的请求消息携带所述时延A。在另一个示例中,所述处理模块1202,还用于当所述第一设备的请求消息携带所述时延A时,通过收发模块1201向所述第一设备发送所述时延B和所述时延A。The processing module 1202 is configured to receive a request message from the first device through the transceiver module 1201. The request message is used to request delay B. The delay B includes the bridge delay and the flow from the second device to the second device. The transmission delay of the time-sensitive network TSN device; the processing module 1202 is configured to send the delay B to the first device through the transceiver module 1201, and the delay B is used by the first device according to the delay A and the delay B obtain the delay C. The delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream being transmitted from the talker to the first device. Describe the time delay of the second TSN device. In an example, the request message of the first device carries the time delay A. In another example, the processing module 1202 is further configured to send the delay B and the delay A to the first device through the transceiver module 1201 when the request message of the first device carries the delay A. The time delay A.
在一个可能的设计中,该通信装置1200可以用于执行图5至图11中任意一个所描述的方法中的SMF网元,SMF网元的网络设备。In a possible design, the communication device 1200 can be used to execute the SMF network element and the network equipment of the SMF network element in the method described in any one of FIG. 5 to FIG. 11.
处理模块1202,用于通过收发模块1201接收来自第二设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络 TSN设备的传输时延;处理模块1202,用于通过收发模块1201向所述第二设备发送所述时延B;所述时延B用于所述第二设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。在一个示例中,所述第二设备的请求消息携带所述时延A。在另一个示例中,所述处理模块1202,还用于当所述第二设备的请求消息携带所述时延A时,通过收发模块1201向所述第二设备发送所述时延B与所述时延A。The processing module 1202 is configured to receive a request message from the second device through the transceiver module 1201, the request message is used to request a delay B, and the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the processing module 1202 is configured to send the delay B to the second device through the transceiver module 1201; the delay B is used by the second device according to the The delay A and the delay B obtain the delay C. The delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device, and the delay C includes the stream being transmitted from the talker to the first device. Describe the time delay of the second TSN device. In an example, the request message of the second device carries the time delay A. In another example, the processing module 1202 is further configured to send the delay B and the delay A to the second device through the transceiver module 1201 when the request message of the second device carries the delay A. The time delay A.
请参见图13,图13是本申请实施例提供的一种通信装置1300的结构示意图,该通信装置可以包括收发模块1301,处理模块1302,其中,各个模块的详细描述如下。Please refer to FIG. 13, which is a schematic structural diagram of a communication device 1300 according to an embodiment of the present application. The communication device may include a transceiver module 1301 and a processing module 1302. The detailed description of each module is as follows.
在一个可能的设计中,该通信装置1300可以用于执行图5至图11中任意一个所描述的方法中的第一终端设备。In a possible design, the communication device 1300 may be used to execute the first terminal device in the method described in any one of FIG. 5 to FIG. 11.
收发模块1301,用于接收第一信息,所述第一信息用于指示第八时延,所述第八时延包括流从流服务提供者talker传输至所述第一终端设备的时延;处理模块1302,用于根据所述第八时延确定第一时延,所述第一时延包括流从所述talker传输至所述第一终端设备的时延、以及在所述第一终端设备内的驻留时延;收发模块1301,用于向用户面功能UPF网元发送第二信息,所述第二信息包括所述第一时延。The transceiver module 1301 is configured to receive first information, where the first information is used to indicate an eighth delay, and the eighth delay includes the delay of stream transmission from the streaming service provider talker to the first terminal device; The processing module 1302 is configured to determine a first delay according to the eighth delay, where the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the delay at the first terminal Resident delay in the device; the transceiver module 1301 is configured to send second information to a user plane function UPF network element, where the second information includes the first delay.
在另一个可能的设计中,该通信装置1300可以用于执行图5至图11中任意一个所描述的方法中的第二终端设备。In another possible design, the communication device 1300 may be used to execute the second terminal device in the method described in any one of FIG. 5 to FIG. 11.
收发模块1301,用于接收第一信息,所述第一信息用于指示第三时延,所述第三时延包括流从流服务提供者talker传输至所述第二终端设备的时延;处理模块1302,用于根据所述第三时延确定第九时延,所述第九时延包括流从所述talker传输至所述第二终端设备的时延、在所述第二终端设备内的驻留时延和从所述第二终端设备至时间敏感网络TSN设备的传输时延;收发模块1301,用于向所述TSN设备发送第二信息,所述第二信息包括所述第九时延。The transceiver module 1301 is configured to receive first information, where the first information is used to indicate a third delay, and the third delay includes the delay of the stream being transmitted from the streaming service provider talker to the second terminal device; The processing module 1302 is configured to determine a ninth delay according to the third delay, where the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, The resident delay and the transmission delay from the second terminal device to the time-sensitive network TSN device; the transceiver module 1301 is configured to send second information to the TSN device, and the second information includes the first Nine time delay.
在另一个可能的设计中,该通信装置1300可以用于执行图5至图11中任意一个所描述的方法中的第一设备,如果是上行,所述第一设备可为终端设备或者为应用于终端设备中的芯片;如果是下行,所述第一设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1300 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
例如,收发模块1301,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述装置的时延;所述收发模块1301,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延,以及接收来自所述SMF的所述时延B;所述处理模块1302,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述处理模块1302,用于确定第二信息,所述第二信息包括所述时延C;所述收发模块1301,还用于向所述第二设备发送所述第二信息。在一个示例中,所述收发模块1301,还用于向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述收发模块1301,还用于接收来自所述SMF的所述时延B 和所述时延A。For example, the transceiver module 1301 is configured to receive first information, where the first information is used to indicate time delay A, and the time delay A includes the time delay for the stream to be transmitted from the stream service provider talker to the device; The module 1301 is used to send a request message to the session management function SMF network element for requesting delay B. The delay B includes the bridge delay and the transmission of the flow from the second device to the second time-sensitive network TSN device Time delay, and receiving the time delay B from the SMF; the processing module 1302 is configured to obtain the time delay C according to the time delay A and the time delay B, and the time delay C includes the flow from the The delay of the talker transmission to the second TSN device; the processing module 1302 is configured to determine second information, and the second information includes the delay C; the transceiver module 1301 is also configured to The second device sends the second information. In an example, the transceiver module 1301 is further configured to send the request message to the SMF to carry the delay A. In another example, the transceiver module 1301 is further configured to receive the delay B and the delay A from the SMF.
在另一个可能的设计中,该通信装置1300可以用于执行图5至图11中任意一个所描述的方法中的第二设备,如果是上行,所述第二设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片;如果是下行,所述第二设备可为终端设备或者为应用于终端设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1300 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be a UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
收发模块1301,用于接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;收发模块1301,用于向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;所述收发模块1301,还用于接收所述SMF发送的所述时延B;处理模块1302,用于根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;所述处理模块1302,还用于确定第二信息,所述第二信息包括所述时延C;所述收发模块1301,还用于向所述第二TSN设备发送所述第二信息。在一个示例中,所述收发模块1301,还用于向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述收发模块1301,还用于接收所述SMF发送的所述时延B与所述时延A。The transceiver module 1301 is configured to receive first information, the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the stream service provider talker to the first device; the transceiver module 1301 uses In sending a request message to the session management function SMF network element for requesting delay B, the delay B includes the bridge delay and the transmission delay of the flow from the second device to the second time-sensitive network TSN device The transceiver module 1301 is also used to receive the time delay B sent by the SMF; the processing module 1302 is used to obtain the time delay C according to the time delay A and the time delay B, and the time delay C It includes the delay of the stream being transmitted from the talker to the second TSN device; the processing module 1302 is further configured to determine second information, the second information includes the delay C; the transceiver module 1301, It is also used to send the second information to the second TSN device. In an example, the transceiver module 1301 is further configured to send the request message to the SMF to carry the delay A. In another example, the transceiver module 1301 is further configured to receive the delay B and the delay A sent by the SMF.
请参见图14,图14是本申请实施例提供的一种通信装置1400的结构示意图,该通信装置1400包括接口电路1401以及处理器1402,可选的,还包括存储器1403。其中,该接口电路1401可以为收发器或输入输出接口,该存储器1403用于存储计算机程序,处理器1402与存储器1403、接口电路1401耦合。Please refer to FIG. 14, which is a schematic structural diagram of a communication device 1400 according to an embodiment of the present application. The communication device 1400 includes an interface circuit 1401 and a processor 1402, and optionally, a memory 1403. Wherein, the interface circuit 1401 may be a transceiver or an input/output interface, the memory 1403 is used to store a computer program, and the processor 1402 is coupled with the memory 1403 and the interface circuit 1401.
在一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能UPF网元,UPF网元的网络设备,或者应用于网络设备中的芯片。In a possible design, the communication device 1400 can be used to perform the user plane function UPF network element, the network device of the UPF network element, or the network device applied to the network device in the method described in any one of FIGS. 5 to 11 chip.
当处理器1402执行所述计算机程序时,执行以下操作:接收第一信息,所述第一信息用于指示第一时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延;确定进行本地交换,向会话管理功能SMF网元请求第二时延,根据所述第一时延和所述第二时延获取第三时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或确定不需要本地交换,向所述SMF请求第四时延,根据所述第一时延和所述第四时延获取第五时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值,所述第五时延包括流从所述talker传输至所述UPF的时延、在所述UPF内的驻留时延和从所述UPF至时间敏感网络TSN设备的传输时延。When the processor 1402 executes the computer program, it performs the following operations: receiving first information, where the first information is used to indicate a first delay, and the first delay includes stream transmission from the streaming service provider talker to the first delay. The delay of a terminal device and the staying delay in the first terminal device; determine to perform a local exchange, request a second delay from the session management function SMF network element, and according to the first delay and the The second delay obtains the third delay, and the second delay includes the packet delay budget PDB value corresponding to the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF, and the third The time delay includes the time delay for the stream to be transmitted from the talker to the second terminal device; and/or it is determined that no local exchange is required, and the SMF is requested for a fourth time delay, according to the first time delay and the fourth time delay. Obtain the fifth delay, the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF, and the fifth delay includes the delay of the flow from the talker to the UPF, and the The residence delay in the UPF and the transmission delay from the UPF to the time-sensitive network TSN device.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能UPF网元,UPF网元的网络设备,或者应用于网络设备中的芯片。In another possible design, the communication device 1400 can be used to perform the user plane function UPF network element, the network device of the UPF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
当处理器1402执行所述计算机程序时,执行以下操作:接收第一信息,所述第一信息用于指示第六时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延;向会话管理功能SMF网元请求第七时延,根据所述第六时延和所述第七时延获取第三时延, 所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延。When the processor 1402 executes the computer program, it performs the following operations: receiving first information, where the first information is used to indicate a sixth time delay, and the sixth time delay includes stream transmission from the streaming service provider talker to all The delay of the UPF; a seventh delay is requested from the session management function SMF network element, and the third delay is obtained according to the sixth delay and the seventh delay, and the seventh delay includes the UPF The packet delay budget PDB value corresponding to the session PDU session of the downlink protocol data unit, where the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的第一设备,如果是上行,所述第一设备可为终端设备或者为应用于终端设备中的芯片;如果是下行,所述第一设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1400 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延;通过接口电路1401向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;通过接口电路1401接收来自所述SMF的所述时延B;根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;确定第二信息,所述第二信息包括所述时延C;通过接口电路1401向所述第二设备发送所述第二信息。在一个示例中,所述处理器1402,还用于通过接口电路1401向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述处理器1402,还用于通过接口电路1401接收来自所述SMF的所述时延B和所述时延A。When the processor 1402 executes the computer program, it performs the following operations: receives first information through the interface circuit 1401, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1401 to request the delay B. The delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; receiving the delay B from the SMF through the interface circuit 1401; obtaining the delay C according to the delay A and the delay B, the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the second device to the second device through the interface circuit 1401 information. In an example, the processor 1402 is further configured to send the request message to the SMF through the interface circuit 1401 to carry the time delay A. In another example, the processor 1402 is further configured to receive the delay B and the delay A from the SMF through the interface circuit 1401.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的第二设备,如果是上行,所述第二设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片;如果是下行,所述第二设备可为终端设备或者为应用于终端设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1400 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF, or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;通过接口电路1401向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;通过接口电路1401接收所述SMF发送的所述时延B;根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;确定第二信息,所述第二信息包括所述时延C;通过接口电路1401向所述第二TSN设备发送所述第二信息。在一个示例中,所述处理器1402,还用于通过接口电路1401向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述处理器1402,还用于通过接口电路1401接收所述SMF发送的所述时延B与所述时延A。When the processor 1402 executes the computer program, it performs the following operations: receives first information through the interface circuit 1401, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1401 to request the delay B. The delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the delay B sent by the SMF is received through the interface circuit 1401; the delay C is obtained according to the delay A and the delay B, and the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the first TSN device to the second TSN device through the interface circuit 1401 Two information. In an example, the processor 1402 is further configured to send the request message to the SMF through the interface circuit 1401 to carry the time delay A. In another example, the processor 1402 is further configured to receive the delay B and the delay A sent by the SMF through the interface circuit 1401.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能SMF网元,SMF网元的网络设备,或者应用于网络设备中的芯片。In another possible design, the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收来自用户面功能UPF网元的请求信息,用于请求第二时延和/或第四时延;确定进行本地交换,通过接口电路1401向所述UPF发送所述第二时延,所述第二时延包括所述UPF的上行协 议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第二时延用于所述UPF根据第一时延和所述第二时延获取第三时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或确定不需要进行本地交换,通过接口电路1401向所述UPF发送所述第四时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值。When the processor 1402 executes the computer program, it performs the following operations: receiving request information from a user plane function UPF network element through the interface circuit 1401 for requesting the second delay and/or the fourth delay; determining to perform a local exchange , Sending the second delay to the UPF through the interface circuit 1401, the second delay including the UPF uplink protocol data unit session PDU session and the packet delay budget corresponding to the downlink protocol data unit session PDU session PDB value, the second delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes stream transmission from the streaming service provider talker to the first The delay of the terminal device and the delay of staying in the first terminal device, the third delay includes the delay of the stream being transmitted from the talker to the second terminal device; and/or the determination does not need to be performed For local switching, the fourth delay is sent to the UPF through the interface circuit 1401, where the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能SMF网元,SMF网元的网络设备,或者应用于网络设备中的芯片。In another possible design, the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收来自用户面功能UPF的请求信息,用于请求第七时延;通过接口电路1401向所述UPF发送所述第七时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第七时延用于所述UPF根据第六时延和所述第七时延获取第三时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延,所述第三时延包括流从所述talker传输至第二终端设备的时延。When the processor 1402 executes the computer program, it performs the following operations: receiving request information from the user plane function UPF through the interface circuit 1401 for requesting the seventh time delay; and sending the seventh time delay to the UPF through the interface circuit 1401 The seventh delay includes the packet delay budget PDB value corresponding to the PDU session of the UPF downlink protocol data unit session, and the seventh delay is used by the UPF according to the sixth delay and the The seventh delay obtains the third delay, the sixth delay includes the delay of the stream being transmitted from the stream service provider talker to the UPF, and the third delay includes the stream being transmitted from the talker to the second terminal The delay of the device.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能SMF网元,SMF网元的网络设备,或者应用于网络设备中的芯片。In another possible design, the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收来自第一设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;When the processor 1402 executes the computer program, it performs the following operations: receives a request message from the first device through the interface circuit 1401, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the stream from the second device to the second time-sensitive network TSN device;
通过接口电路1401向所述第一设备发送所述时延B,所述时延B用于所述第一设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。在一个示例中,所第一设备的请求消息携带所述时延A。在另一个示例中,所述处理器1402,还用于当所述第一设备的请求消息携带所述时延A时,通过接口电路1401向所述第一设备发送所述时延B和所述时延A。The time delay B is sent to the first device through the interface circuit 1401, and the time delay B is used by the first device to obtain the time delay C according to the time delay A and the time delay B, and the time delay A includes the delay of stream transmission from the stream service provider talker to the first device, and the delay C includes the delay of stream transmission from the talker to the second TSN device. In an example, the request message of all the first device carries the time delay A. In another example, the processor 1402 is further configured to send the delay B and the delay A to the first device through the interface circuit 1401 when the request message of the first device carries the delay A. The time delay A.
在另一个可能的设计中,该通信装置1400可以用于执行图5至图11中任意一个所描述的方法中的用户面功能SMF网元,SMF网元的网络设备,或者应用于网络设备中的芯片。In another possible design, the communication device 1400 can be used to perform the user plane function SMF network element, the network device of the SMF network element, or the network device in the method described in any one of FIGS. 5 to 11 Chip.
当处理器1402执行所述计算机程序时,执行以下操作:通过接口电路1401接收来自第二设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;通过接口电路1401向所述第二设备发送所述时延B;所述时延B用于所述第二设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。在一个示例中,所述第二设备的请求消息携带所述时延A。在另一个示例中,所述处理器1402,还用于当所述第二设备的请求消 息携带所述时延A时,通过接口电路1401向所述第二设备发送所述时延B与所述时延A。When the processor 1402 executes the computer program, it performs the following operations: receives a request message from the second device through the interface circuit 1401, the request message is used to request delay B, and the delay B includes bridge delay and The transmission delay of the flow from the second device to the second time-sensitive network TSN device; the delay B is sent to the second device through the interface circuit 1401; the delay B is used for the second device Obtain the time delay C according to the time delay A and the time delay B. The time delay A includes the time delay of the flow from the streaming service provider talker to the first device, and the time delay C includes the flow from the talker. Transmission delay to the second TSN device. In an example, the request message of the second device carries the time delay A. In another example, the processor 1402 is further configured to send the delay B and the delay A to the second device through the interface circuit 1401 when the request message of the second device carries the delay A. The time delay A.
请参见图15,图15是本申请实施例提供的一种通信装置1500的结构示意图,该通信装置1500包括接口电路1501以及处理器1502,可选的,还包括存储器1503。其中,该接口电路1501可以为收发器或输入输出接口,该存储器1503用于存储计算机程序,处理器1502与存储器1503、接口电路1501耦合。Please refer to FIG. 15, which is a schematic structural diagram of a communication device 1500 according to an embodiment of the present application. The communication device 1500 includes an interface circuit 1501 and a processor 1502, and optionally, a memory 1503. Wherein, the interface circuit 1501 may be a transceiver or an input/output interface, the memory 1503 is used to store a computer program, and the processor 1502 is coupled with the memory 1503 and the interface circuit 1501.
在一个可能的设计中,该通信装置1500可以用于执行图5至图11中任意一个所描述的方法中的第一终端设备,或者应用于第一终端设备中的芯片。In a possible design, the communication device 1500 may be used to execute the first terminal device in the method described in any one of FIG. 5 to FIG. 11, or applied to a chip in the first terminal device.
当处理器1502执行所述计算机程序时,执行以下操作:通过接口电路1501接收第一信息,所述第一信息用于指示第八时延,所述第八时延包括流从流服务提供者talker传输至所述第一终端设备的时延;根据所述第八时延确定第一时延,所述第一时延包括流从所述talker传输至所述第一终端设备的时延、以及在所述第一终端设备内的驻留时延;通过接口电路1501向用户面功能UPF网元发送第二信息,所述第二信息包括所述第一时延。When the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate an eighth delay, and the eighth delay includes the streaming service provider The delay of talker transmission to the first terminal device; the first delay is determined according to the eighth delay, and the first delay includes the delay of stream transmission from the talker to the first terminal device, And the resident delay in the first terminal device; sending second information to the user plane function UPF network element through the interface circuit 1501, and the second information includes the first delay.
在另一个可能的设计中,该通信装置1500可以用于执行图5至图11中任意一个所描述的方法中的第二终端设备,或者应用于第二终端设备中的芯片。In another possible design, the communication device 1500 may be used to execute the second terminal device in the method described in any one of FIG. 5 to FIG. 11, or applied to a chip in the second terminal device.
当处理器1502执行所述计算机程序时,执行以下操作:通过接口电路1501接收第一信息,所述第一信息用于指示第三时延,所述第三时延包括流从流服务提供者talker传输至所述第二终端设备的时延;根据所述第三时延确定第九时延,所述第九时延包括流从所述talker传输至所述第二终端设备的时延、在所述第二终端设备内的驻留时延和从所述第二终端设备至时间敏感网络TSN设备的传输时延;通过接口电路1501向所述TSN设备发送第二信息,所述第二信息包括所述第九时延。When the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate a third delay, and the third delay includes the streaming service provider The delay of the talker transmission to the second terminal device; the ninth delay is determined according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device, The residence delay in the second terminal device and the transmission delay from the second terminal device to the time-sensitive network TSN device; the second information is sent to the TSN device through the interface circuit 1501, and the second The information includes the ninth time delay.
在另一个可能的设计中,该通信装置1500可以用于执行图5至图11中任意一个所描述的方法中的第一设备,如果是上行,所述第一设备可为终端设备或者为应用于终端设备中的芯片;如果是下行,所述第一设备可以为UPF,或者为包括UPF的网络设备,或者为应用于网络设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1500 may be used to execute the first device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the first device may be a terminal device or an application. A chip in a terminal device; if it is downlink, the first device can be a UPF, or a network device that includes UPF, or a chip applied to a network device, or both the first device and the second device can be terminals A device or a chip used in a terminal device.
当处理器1502执行所述计算机程序时,执行以下操作:通过接口电路1501接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延;通过接口电路1501向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;通过接口电路1501接收来自所述SMF的所述时延B;根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;确定第二信息,所述第二信息包括所述时延C;通过接口电路1501向所述第二设备发送所述第二信息。在一个示例中,所述处理器1502,还用于通过接口电路1501向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述处理器1502,还用于通过接口电路1501接收来自所述SMF的所述时延B和所述时延A。When the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1501 to request the delay B. The delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; receiving the delay B from the SMF through the interface circuit 1501; obtaining the delay C according to the delay A and the delay B, the delay C Including the time delay for stream transmission from the talker to the second TSN device; determining second information, where the second information includes the time delay C; sending the second device to the second device through the interface circuit 1501 information. In an example, the processor 1502 is further configured to send the request message to the SMF through the interface circuit 1501 to carry the time delay A. In another example, the processor 1502 is further configured to receive the delay B and the delay A from the SMF through the interface circuit 1501.
在另一个可能的设计中,该通信装置1500可以用于执行图5至图11中任意一个所描述的方法中的第二设备,如果是上行,所述第二设备可以为UPF,或者为包括UPF的网络 设备,或者为应用于网络设备中的芯片;如果是下行,所述第二设备可为终端设备或者为应用于终端设备中的芯片,或者第一设备和第二设备均可以为终端设备或者为应用于终端设备中的芯片。In another possible design, the communication device 1500 may be used to execute the second device in the method described in any one of FIG. 5 to FIG. 11. If it is uplink, the second device may be UPF or include UPF network equipment, or a chip applied to a network device; if it is downlink, the second device may be a terminal device or a chip applied to a terminal device, or both the first device and the second device may be terminals A device or a chip used in a terminal device.
当处理器1502执行所述计算机程序时,执行以下操作:通过接口电路1501接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;通过接口电路1501向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;通过接口电路1501接收所述SMF发送的所述时延B;根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;确定第二信息,所述第二信息包括所述时延C;通过接口电路1501向所述第二TSN设备发送所述第二信息。在一个示例中,所述处理器1502,还用于通过接口电路1501向所述SMF发送的请求消息携带所述时延A。在另一个示例中,所述处理器1502,还用于通过接口电路1501接收所述SMF发送的所述时延B与所述时延A。When the processor 1502 executes the computer program, it performs the following operations: receives first information through the interface circuit 1501, the first information is used to indicate the delay A, and the delay A includes stream transmission from the streaming service provider talker The delay to the first device; a request message is sent to the session management function SMF network element through the interface circuit 1501 to request the delay B, and the delay B includes the bridge delay and the flow from the second device to the The transmission delay of the second time-sensitive network TSN device; the delay B sent by the SMF is received through the interface circuit 1501; the delay C is obtained according to the delay A and the delay B, the delay C Including the delay of stream transmission from the talker to the second TSN device; determining second information, where the second information includes the delay C; sending the first TSN device to the second TSN device through the interface circuit 1501 Two information. In an example, the processor 1502 is further configured to send the request message to the SMF through the interface circuit 1501 to carry the time delay A. In another example, the processor 1502 is further configured to receive the delay B and the delay A sent by the SMF through the interface circuit 1501.
本申请实施例还提供一种计算机产品,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序,当所述计算机程序运行时,使得上述方法实施例中由终端设备执行的方法被执行。The embodiment of the present application also provides a computer product, and provides a computer program product. The computer program product includes: a computer program. When the computer program runs, the method executed by the terminal device in the above method embodiment is implement.
本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序,当所述计算机程序被运行时,使得上述方法实施例中由网络设备、UPF网元,或者SMF网元执行的方法被执行。The embodiment of the application provides a computer program product, the computer program product includes: a computer program, when the computer program is executed, the above method embodiment is executed by a network device, a UPF network element, or an SMF network element The method is executed.
本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于实现上述方法实施例中终端侧设备的功能。在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。The embodiment of the present application provides a chip system, which includes a processor, and is configured to implement the functions of the terminal-side device in the foregoing method embodiment. In a possible design, the chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于实现上述方法实施例中网络侧设备的功能。在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。The embodiment of the present application provides a chip system, which includes a processor, and is configured to implement the functions of the network side device in the foregoing method embodiment. In a possible design, the chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述方法实施例中由终端侧设备执行的方法。The embodiment of the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the terminal-side device in the foregoing method embodiment is implemented.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述方法实施例中由网络侧设备执行的方法。The embodiment of the present application provides a computer-readable storage medium that stores a computer program, and when the computer program is executed, the method executed by the network-side device in the foregoing method embodiment is implemented.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, 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 the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
应理解,本申请实施例中的处理器可以为中央处理单元(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, DSPs), and application-specific integrated circuits. (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (22)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    用户面功能UPF网元接收第一信息,所述第一信息用于指示第一时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延;The user plane function UPF network element receives first information, the first information is used to indicate a first delay, and the first delay includes the delay of the stream being transmitted from the stream service provider talker to the first terminal device, and the The residency delay in the first terminal device;
    在所述UPF确定进行本地交换,所述UPF向会话管理功能SMF网元请求第二时延,根据所述第一时延和所述第二时延获取第三时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或When the UPF determines to perform a local exchange, the UPF requests a second time delay from the session management function SMF network element, and obtains the third time delay according to the first time delay and the second time delay, and the second time delay The delay includes the packet delay budget PDB value corresponding to the UPF uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session, and the third delay includes stream transmission from the talker to the second terminal device. Time delay; and/or
    在所述UPF确定不需要本地交换,所述UPF向所述SMF请求第四时延,根据所述第一时延和所述第四时延获取第五时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值,所述第五时延包括流从所述talker传输至所述UPF的时延、在所述UPF内的驻留时延和从所述UPF至时间敏感网络TSN设备的传输时延。When the UPF determines that no local exchange is required, the UPF requests a fourth delay from the SMF, and obtains a fifth delay according to the first delay and the fourth delay, and the fourth delay includes The PDB value corresponding to the uplink PDU session of the UPF, the fifth delay includes the delay of the flow from the talker to the UPF, the staying delay in the UPF, and the delay from the UPF to the UPF. Time-sensitive network TSN equipment transmission delay.
  2. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    用户面功能UPF网元接收第一信息,所述第一信息用于指示第六时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延;The user plane function UPF network element receives first information, where the first information is used to indicate a sixth delay, and the sixth delay includes the delay of stream transmission from the stream service provider talker to the UPF;
    所述UPF向会话管理功能SMF网元请求第七时延,根据所述第六时延和所述第七时延获取第三时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第三时延包括流从所述talker传输至第二终端设备的时延。The UPF requests a seventh delay from the session management function SMF network element, and obtains a third delay according to the sixth delay and the seventh delay, and the seventh delay includes the UPF downlink protocol data The packet delay budget PDB value corresponding to the unit session PDU session, where the third delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  3. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第一设备接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延;The first device receives first information, where the first information is used to indicate a time delay A, and the time delay A includes the time delay for the stream to be transmitted from the streaming service provider talker to the first device;
    所述第一设备向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;The first device sends a request message to the session management function SMF network element for requesting delay B. The delay B includes bridge delay and flow transmission from the second device to the second time-sensitive network TSN device Time delay
    所述第一设备接收来自所述SMF的所述时延B;Receiving, by the first device, the delay B from the SMF;
    所述第一设备根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;The first device obtains the time delay C according to the time delay A and the time delay B, and the time delay C includes the time delay for the stream to be transmitted from the talker to the second TSN device;
    所述第一设备确定第二信息,所述第二信息包括所述时延C;The first device determines second information, where the second information includes the time delay C;
    所述第一设备向所述第二设备发送所述第二信息。The first device sends the second information to the second device.
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备向会话管理功能SMF网元发送请求消息,包括:The method according to claim 3, wherein the sending of the request message by the first device to the session management function SMF network element comprises:
    所述第一设备向所述SMF发送的请求消息携带所述时延A。The request message sent by the first device to the SMF carries the delay A.
  5. 根据权利要求4所述的方法,其特征在于,所述第一设备接收来自所述SMF的所 述时延B,包括:The method according to claim 4, wherein the first device receiving the delay B from the SMF comprises:
    所述第一设备接收来自所述SMF的所述时延B和所述时延A。The first device receives the time delay B and the time delay A from the SMF.
  6. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第二设备接收第一信息,所述第一信息用于指示时延A,所述时延A包括流从流服务提供者talker传输至第一设备的时延;The second device receives the first information, where the first information is used to indicate the delay A, and the delay A includes the delay of the stream being transmitted from the streaming service provider talker to the first device;
    所述第二设备向会话管理功能SMF网元发送请求消息,用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;The second device sends a request message to the session management function SMF network element for requesting delay B, where the delay B includes bridge delay and flow from the second device to the second time-sensitive network TSN device The transmission delay;
    所述第二设备接收所述SMF发送的所述时延B;Receiving, by the second device, the delay B sent by the SMF;
    所述第二设备根据所述时延A和所述时延B获取时延C,所述时延C包括流从所述talker传输至所述第二TSN设备的时延;The second device obtains the time delay C according to the time delay A and the time delay B, and the time delay C includes the time delay for the stream to be transmitted from the talker to the second TSN device;
    所述第二设备确定第二信息,所述第二信息包括所述时延C;The second device determines second information, where the second information includes the time delay C;
    所述第二设备向所述第二TSN设备发送所述第二信息。The second device sends the second information to the second TSN device.
  7. 根据权利要求6所述的方法,其特征在于,所述第二设备向会话管理功能SMF网元发送请求消息,包括:The method according to claim 6, wherein the sending of the request message by the second device to the session management function SMF network element comprises:
    所述第二设备向所述SMF发送的请求消息携带所述时延A。The request message sent by the second device to the SMF carries the delay A.
  8. 根据权利要求7所述的方法,其特征在于,所述第二设备接收所述SMF发送的所述时延B,包括:The method according to claim 7, wherein the second device receiving the delay B sent by the SMF comprises:
    所述第二设备接收所述SMF发送的所述时延B与所述时延A。The second device receives the time delay B and the time delay A sent by the SMF.
  9. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第一终端设备接收第一信息,所述第一信息用于指示第八时延,所述第八时延包括流从流服务提供者talker传输至所述第一终端设备的时延;The first terminal device receives first information, where the first information is used to indicate an eighth delay, where the eighth delay includes the delay for the stream to be transmitted from the streaming service provider talker to the first terminal device;
    所述第一终端设备根据所述第八时延确定第一时延,所述第一时延包括流从所述talker传输至所述第一终端设备的时延、以及在所述第一终端设备内的驻留时延;The first terminal device determines a first delay according to the eighth delay, and the first delay includes the delay of the stream being transmitted from the talker to the first terminal device, and the delay at the first terminal Resident delay in the equipment;
    所述第一终端设备向用户面功能UPF网元发送第二信息,所述第二信息包括所述第一时延。The first terminal device sends second information to a user plane function UPF network element, where the second information includes the first delay.
  10. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第二终端设备接收第一信息,所述第一信息用于指示第三时延,所述第三时延包括流从流服务提供者talker传输至所述第二终端设备的时延;The second terminal device receives first information, where the first information is used to indicate a third delay, and the third delay includes the delay of the stream being transmitted from the streaming service provider talker to the second terminal device;
    所述第二终端设备根据所述第三时延确定第九时延,所述第九时延包括流从所述talker传输至所述第二终端设备的时延、在所述第二终端设备内的驻留时延和从所述第二终端设备至时间敏感网络TSN设备的传输时延;The second terminal device determines a ninth delay according to the third delay, and the ninth delay includes the delay of the stream being transmitted from the talker to the second terminal device. The residence time delay within and the transmission time delay from the second terminal device to the time-sensitive network TSN device;
    所述第二终端设备向所述TSN设备发送第二信息,所述第二信息包括所述第九时延。The second terminal device sends second information to the TSN device, where the second information includes the ninth time delay.
  11. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    会话管理功能SMF网元接收来自用户面功能UPF网元的请求信息,用于请求第二时延和/或第四时延;The session management function SMF network element receives request information from the user plane function UPF network element for requesting the second delay and/or the fourth delay;
    所述SMF确定进行本地交换,所述SMF向所述UPF发送所述第二时延,所述第二时延包括所述UPF的上行协议数据单元会话PDU session和下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第二时延用于所述UPF根据第一时延和所述第二时延获取第三时延,所述第一时延包括流从流服务提供者talker传输至第一终端设备的时延、以及在所述第一终端设备内的驻留时延,所述第三时延包括流从所述talker传输至第二终端设备的时延;和/或The SMF is determined to be exchanged locally, the SMF sends the second delay to the UPF, and the second delay includes the uplink protocol data unit session PDU session and the downlink protocol data unit session PDU session of the UPF. The corresponding packet delay budget PDB value, the second delay is used by the UPF to obtain the third delay according to the first delay and the second delay, and the first delay includes streaming service provision The delay of the talker transmission to the first terminal device and the residence delay in the first terminal device, the third delay including the delay of the stream being transmitted from the talker to the second terminal device; and /or
    所述SMF确定不需要进行本地交换,所述SMF向所述UPF发送所述第四时延,所述第四时延包括所述UPF的上行PDU session所对应的PDB值。The SMF determines that no local exchange is required, the SMF sends the fourth delay to the UPF, and the fourth delay includes the PDB value corresponding to the uplink PDU session of the UPF.
  12. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    会话管理功能SMF网元接收来自用户面功能UPF的请求信息,用于请求第七时延;The session management function SMF network element receives the request information from the user plane function UPF for requesting the seventh delay;
    所述SMF向所述UPF发送所述第七时延,所述第七时延包括所述UPF的下行协议数据单元会话PDU session所对应的包时延预算PDB值,所述第七时延用于所述UPF根据第六时延和所述第七时延获取第三时延,所述第六时延包括流从流服务提供者talker传输至所述UPF的时延,所述第三时延包括流从所述talker传输至第二终端设备的时延。The SMF sends the seventh delay to the UPF, where the seventh delay includes the packet delay budget PDB value corresponding to the session PDU session of the UPF downlink protocol data unit, and the seventh delay is used When the UPF obtains the third delay according to the sixth delay and the seventh delay, the sixth delay includes the delay of stream transmission from the streaming service provider talker to the UPF, and the third delay The delay includes the delay of the stream being transmitted from the talker to the second terminal device.
  13. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    会话管理功能SMF网元接收来自第一设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从第二设备至到第二时间敏感网络TSN设备的传输时延;The session management function SMF network element receives a request message from the first device. The request message is used to request delay B. The delay B includes bridge delay and flow from the second device to the second time-sensitive network TSN The transmission delay of the equipment;
    所述SMF向所述第一设备发送所述时延B,所述时延B用于所述第一设备根据所述时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至所述第一设备的时延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。The SMF sends the delay B to the first device, and the delay B is used by the first device to obtain the delay C according to the delay A and the delay B, and the delay A It includes the delay of the stream being transmitted from the talker of the streaming service provider to the first device, and the delay C includes the delay of the stream being transmitted from the talker to the second TSN device.
  14. 根据权利要求13所述的方法,其特征在于,所述第一设备的请求消息携带所述时延A。The method according to claim 13, wherein the request message of the first device carries the delay A.
  15. 根据权利要求14所述的方法,其特征在于,所述第一设备的请求消息携带所述时延A时,所述SMF向所述第一设备发送所述时延B,包括:The method according to claim 14, wherein when the request message of the first device carries the delay A, the SMF sending the delay B to the first device comprises:
    所述SMF向所述第一设备发送所述时延B和所述时延A。The SMF sends the time delay B and the time delay A to the first device.
  16. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    会话管理功能SMF网元接收来自第二设备的请求消息,所述请求消息用于请求时延B,所述时延B包括网桥时延与流从所述第二设备至到第二时间敏感网络TSN设备的传输时延;The session management function SMF network element receives a request message from the second device. The request message is used to request delay B. The delay B includes bridge delay and flow from the second device to the second time sensitive Transmission delay of network TSN equipment;
    所述SMF向所述第二设备发送所述时延B;所述时延B用于所述第二设备根据时延A和所述时延B获取时延C,所述时延A包括流从流服务提供者talker传输至第一设备的时 延,所述时延C包括流从所述talker传输至所述第二TSN设备的时延。The SMF sends the delay B to the second device; the delay B is used by the second device to obtain the delay C according to the delay A and the delay B, and the delay A includes flow The delay of transmission from the talker of the streaming service provider to the first device, and the delay C includes the delay of transmission of the stream from the talker to the second TSN device.
  17. 根据权利要求16所述的方法,其特征在于,所述第二设备的请求消息携带所述时延A。The method according to claim 16, wherein the request message of the second device carries the time delay A.
  18. 根据权利要求17所述的方法,其特征在于,所述第二设备的请求消息携带所述时延A时,所述SMF向所述第二设备发送所述时延B,包括:The method according to claim 17, wherein when the request message of the second device carries the delay A, the SMF sending the delay B to the second device comprises:
    所述SMF向所述第二设备发送所述时延B与所述时延A。The SMF sends the time delay B and the time delay A to the second device.
  19. 一种通信装置,其特征在于,包括用于执行如权利要求1、2、3至5、6至8、9、10、11、12、13至15或16至18中的任一项所述方法的模块。A communication device, characterized in that it comprises a device for executing any one of claims 1, 2, 3 to 5, 6 to 8, 9, 10, 11, 12, 13 to 15 or 16 to 18 The module of the method.
  20. 一种通信装置,其特征在于,包括处理器和通信接口,所述通信接口用于接收来自所述通信装置之外的其它通信装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述通信装置之外的其它通信装置,所述处理器通过逻辑电路或执行计算机程序用于实现如权利要求1、2、3至5、6至8、9、10、11、12、13至15或16至18中任一项所述的方法。A communication device, characterized by comprising a processor and a communication interface, the communication interface being used to receive signals from other communication devices other than the communication device and transmit them to or from the processor The signal is sent to other communication devices other than the communication device, and the processor is used to implement claims 1, 2, 3 to 5, 6 to 8, 9, 10, 11, through logic circuits or executing computer programs. 12. The method of any one of 13 to 15 or 16 to 18.
  21. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现如权利要求1、2、3至5、6至8、9、10、11、12、13至15或16至18中任一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed, it realizes the following: , 10, 11, 12, 13 to 15, or 16 to 18.
  22. 一种通信系统,其特征在于,包括:网络设备和终端设备,其中:A communication system is characterized by comprising: network equipment and terminal equipment, wherein:
    所述网络设备为权利要求1、2、11、12、13至15或16至18任一项所述的UPF;The network device is the UPF according to any one of claims 1, 2, 11, 12, 13 to 15 or 16 to 18;
    所述网络设备为权利要求3至5任一项所述的第一设备;The network device is the first device according to any one of claims 3 to 5;
    所述网络设备为权利要求6至8任一项所述的第二设备;The network device is the second device according to any one of claims 6 to 8;
    所述终端设备为权利要求9所述的第一终端设备;The terminal device is the first terminal device according to claim 9;
    所述终端设备为权利要求10所述的第二终端设备;The terminal device is the second terminal device according to claim 10;
    所述终端设备为权利要求3至5任一项所述的第一设备;The terminal device is the first device according to any one of claims 3 to 5;
    所述终端设备为权利要求6至8任一项所述的第二设备。The terminal device is the second device according to any one of claims 6 to 8.
PCT/CN2020/093614 2020-05-30 2020-05-30 Communication method and communication apparatus WO2021243485A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080100463.9A CN115516903A (en) 2020-05-30 2020-05-30 Communication method and communication device
PCT/CN2020/093614 WO2021243485A1 (en) 2020-05-30 2020-05-30 Communication method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/093614 WO2021243485A1 (en) 2020-05-30 2020-05-30 Communication method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2021243485A1 true WO2021243485A1 (en) 2021-12-09

Family

ID=78831438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/093614 WO2021243485A1 (en) 2020-05-30 2020-05-30 Communication method and communication apparatus

Country Status (2)

Country Link
CN (1) CN115516903A (en)
WO (1) WO2021243485A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213007A (en) * 2019-06-24 2019-09-06 腾讯科技(深圳)有限公司 A kind of method, network function network element and the storage medium of clock drift processing
CN110611924A (en) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 Method, related device and medium for realizing data transmission of time-sensitive network
CN110708678A (en) * 2019-09-17 2020-01-17 中国联合网络通信集团有限公司 Communication method and device
WO2020035127A1 (en) * 2018-08-13 2020-02-20 Nokia Solutions And Networks Gmbh & Co.Kg. Supporting the fulfilment of e2e qos requirements in tsn-3gpp network integration
CN110830268A (en) * 2018-08-13 2020-02-21 华为技术有限公司 Communication method and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020035127A1 (en) * 2018-08-13 2020-02-20 Nokia Solutions And Networks Gmbh & Co.Kg. Supporting the fulfilment of e2e qos requirements in tsn-3gpp network integration
CN110830268A (en) * 2018-08-13 2020-02-21 华为技术有限公司 Communication method and communication device
CN110213007A (en) * 2019-06-24 2019-09-06 腾讯科技(深圳)有限公司 A kind of method, network function network element and the storage medium of clock drift processing
CN110708678A (en) * 2019-09-17 2020-01-17 中国联合网络通信集团有限公司 Communication method and device
CN110611924A (en) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 Method, related device and medium for realizing data transmission of time-sensitive network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA, NOKIA SHANGHAI BELL: "Delay budget for TSN", 3GPP DRAFT; S2-1907534-DELAY BUDGET FOR TSN-CR-V2, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Sapporo, Japan; 20190624 - 20190628, 18 June 2019 (2019-06-18), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051752493 *

Also Published As

Publication number Publication date
CN115516903A (en) 2022-12-23

Similar Documents

Publication Publication Date Title
JP7183416B2 (en) Time-dependent networking communication method and apparatus
US11700633B2 (en) Methods and apparatus for scheduling resources in radio access networks
WO2020001585A1 (en) Clock synchronisation method and apparatus
JP2022191337A (en) Quality-of-service monitoring method, system and device
EP3836639B1 (en) Synchronization cycle determination methods and devices
JP7325502B2 (en) Notification control in communication systems
JP2017526296A (en) Data transmission method and base station
WO2022027666A1 (en) Time synchronization method and apparatus
WO2022028087A1 (en) Deterministic transmission method, communication apparatus, and storage medium
WO2021004191A1 (en) Method and apparatus for supporting time sensitive network
WO2018032862A1 (en) Network configuration method and network device
CN114009144A (en) Packet delay budget determination for TSN traffic forwarding
CN111698787B (en) Scheduling rule determining method and device
CN113286326A (en) Communication method and device
WO2021243485A1 (en) Communication method and communication apparatus
TW201935879A (en) A method for transmitting or receiving information, a terminal device, and a network device
US20220321429A1 (en) Application function influenced framework for time sensitive communications
WO2019109983A1 (en) Data transmission method and apparatus
US20230042506A1 (en) Deterministic quality of service
CN111447026B (en) Method and apparatus for processing data
CN113596910A (en) Method and communication device for processing data stream
US20220312258A1 (en) Per-Stream Filtering and Policing for RAN Scheduling Optimization in 5GS Virtual TSN
WO2022160346A1 (en) Communication method and apparatus
CN110475238A (en) A kind of data transmission method and communication device
WO2023174023A1 (en) Communication method and 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: 20939253

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

Country of ref document: EP

Kind code of ref document: A1